Page MenuHomec4science

No OneTemporary

File Metadata

Created
Sat, Aug 31, 00:16
This file is larger than 256 KB, so syntax highlighting was skipped.
diff --git a/Server/Server.js b/Server/Server.js
deleted file mode 100644
index bb59fea..0000000
--- a/Server/Server.js
+++ /dev/null
@@ -1,248 +0,0 @@
-/**
- * Parameters
- */
-var webSocketsServerPort = 8080; // Adapt to the listening port number you want to use
-/**
- * Global variables
- */
-// websocket and http servers
-var webSocketServer = require("websocket").server;
-var http = require("http");
-var teacherID = 0;
-var game_page_counter = 0;
-var login_page_counter = 0;
-var connected_counter = 0;
-var recentenents = [""];
-
-/**
- * HTTP server to implement WebSockets
- */
-var server = http.createServer(function (request, response) {
- // Not important for us. We're writing WebSocket server,
- // not HTTP server
-});
-server.listen(webSocketsServerPort, function () {
- console.log(" Server is listening on port " + webSocketsServerPort);
-});
-
-/**
- * WebSocket server
- */
-var wsServer = new webSocketServer({
- // WebSocket server is tied to a HTTP server. WebSocket
- // request is just an enhanced HTTP request. For more info
- // http://tools.ietf.org/html/rfc6455#page-6
- httpServer: server,
-});
-
-// This callback function is called every time someone
-// tries to connect to the WebSocket server
-wsServer.on("request", function (request) {
- var connection = request.accept(null, request.origin);
- //
- // New Player has connected. So let's record its socket
-
- var student = new Student(request.key, connection);
- // Add the player to the list of all players
- //
- console.log(student.index);
- Students.push(student);
-
- //
- // We need to return the unique id of that player to the player itself
- //
- connection.sendUTF(
- JSON.stringify({ action: "identity", data: student.index })
- );
-
- Students[teacherID].connection.sendUTF(
- JSON.stringify({
- action: "connected",
- data: Students.length,
- })
- );
- // Listen to any message sent by that player
- //
- connection.on("message", function (data) {
- // Process the requested action
-
- var message = JSON.parse(data.utf8Data);
- console.log(message);
- console.log(message.ID);
- switch (message.action) {
- // When the user sends the "join" action, he provides a name.
- // Let's record it and as the player has a name, let's
- // broadcast the list of all the players to everyone
- //
- case "activity_update":
- Students[teacherID].connection.sendUTF(
- JSON.stringify({
- action: "activity_update",
- data: "finished",
- })
- );
-
- game_page_counter = game_page_counter - 1;
-
- Students[teacherID].connection.sendUTF(
- JSON.stringify({
- action: "page_counter",
- data: {
- login_page: login_page_counter,
- game_page: game_page_counter,
- },
- })
- );
-
- break;
-
- case "page_changed":
- Students[student.index].current_page = message.data;
- console.log(Students[student.index].current_page);
- if (message.data === "game_page") {
- game_page_counter = game_page_counter + 1;
- login_page_counter = login_page_counter - 1;
- }
- if (message.data === "login_page") {
- // game_page_counter = game_page_counter - 1;
- login_page_counter = login_page_counter + 1;
- }
- Students[teacherID].connection.sendUTF(
- JSON.stringify({
- action: "page_counter",
- data: {
- login_page: login_page_counter,
- game_page: game_page_counter,
- },
- })
- );
- break;
-
- case "progress_update":
- Students[parseInt(message.ID)].progress_ac8 = message.data;
- Students[teacherID].connection.sendUTF(
- JSON.stringify({
- action: "progress_update",
- data: Students[parseInt(message.ID)].progress_ac8,
- })
- );
- break;
-
- case "identity":
- if (message.data === "teacher") {
- teacherID = student.index;
- }
- console.log("this is teacher ID: " + teacherID);
-
- break;
-
- case "names":
- student.member1name = message.data.member1;
- student.member2name = message.data.member2;
- student.member3name = message.data.member3;
- Students[teacherID].connection.sendUTF(
- JSON.stringify({
- action: "names",
- studentID: message.ID,
- data: {
- mem1: student.member1name,
- mem2: student.member2name,
- mem3: student.member3name,
- },
- })
- );
- console.log("namesreceived");
- break;
-
- //// for teachers
- case "pause":
- // Students[0].connection.sendUTF(message);
- Students[1].connection.sendUTF(
- JSON.stringify({
- action: "paused",
- })
- );
- break;
- case "next":
- // Students[0].connection.sendUTF(message);
- Students[1].connection.sendUTF(
- JSON.stringify({
- action: "next",
- })
- );
- // Students[2].connection.sendUTF(message);
-
- break;
-
- case "next_activity":
- break;
- }
- });
-
- // user disconnected
- connection.on("close", function (connection) {
- // We need to remove the corresponding player
- // TODO
- });
-});
-
-// -----------------------------------------------------------
-// List of all players
-// -----------------------------------------------------------
-var Students = [];
-
-function Student(id, connection) {
- this.id = id;
- this.connection = connection;
- this.member1name = "";
- this.member2name = "";
- this.member3name = "";
- this.teamname = "";
- this.robot1code = "";
- this.robot2code = "";
- this.current_page = "";
- this.current_Ac = "";
- this.current_phase = "";
- this.progress_ac8 = {
- progress: 0.0,
- totalTaps: 0,
- inactivity: 0,
- mistakesSlope: 0,
- mistakesIntrepet: 0,
- };
- this.index = Students.length;
-}
-
-Student.prototype = {
- getId: function () {
- return { name: this.name, id: this.id };
- },
- setOpponent: function (id) {
- var self = this;
- Students.forEach(function (student, index) {
- if (student.id == id) {
- self.opponentIndex = index;
- Students[index].opponentIndex = self.index;
- return false;
- }
- });
- },
-};
-
-function BroadcastPlayersList() {
- var playersList = [];
- Players.forEach(function (player) {
- if (player.name !== "") {
- playersList.push(player.getId());
- }
- });
-
- var message = JSON.stringify({
- action: "players_list",
- data: playersList,
- });
-
- Players.forEach(function (player) {
- player.connection.sendUTF(message);
- });
-}
diff --git a/Server/node_modules/.bin/ejs b/Server/node_modules/.bin/ejs
deleted file mode 120000
index 88e80d0..0000000
--- a/Server/node_modules/.bin/ejs
+++ /dev/null
@@ -1 +0,0 @@
-../ejs/bin/cli.js
\ No newline at end of file
diff --git a/Server/node_modules/.bin/jake b/Server/node_modules/.bin/jake
deleted file mode 120000
index 3626745..0000000
--- a/Server/node_modules/.bin/jake
+++ /dev/null
@@ -1 +0,0 @@
-../jake/bin/cli.js
\ No newline at end of file
diff --git a/Server/node_modules/.bin/mime b/Server/node_modules/.bin/mime
deleted file mode 120000
index fbb7ee0..0000000
--- a/Server/node_modules/.bin/mime
+++ /dev/null
@@ -1 +0,0 @@
-../mime/cli.js
\ No newline at end of file
diff --git a/Server/node_modules/accepts/HISTORY.md b/Server/node_modules/accepts/HISTORY.md
deleted file mode 100644
index 0bf0417..0000000
--- a/Server/node_modules/accepts/HISTORY.md
+++ /dev/null
@@ -1,236 +0,0 @@
-1.3.7 / 2019-04-29
-==================
-
- * deps: negotiator@0.6.2
- - Fix sorting charset, encoding, and language with extra parameters
-
-1.3.6 / 2019-04-28
-==================
-
- * deps: mime-types@~2.1.24
- - deps: mime-db@~1.40.0
-
-1.3.5 / 2018-02-28
-==================
-
- * deps: mime-types@~2.1.18
- - deps: mime-db@~1.33.0
-
-1.3.4 / 2017-08-22
-==================
-
- * deps: mime-types@~2.1.16
- - deps: mime-db@~1.29.0
-
-1.3.3 / 2016-05-02
-==================
-
- * deps: mime-types@~2.1.11
- - deps: mime-db@~1.23.0
- * deps: negotiator@0.6.1
- - perf: improve `Accept` parsing speed
- - perf: improve `Accept-Charset` parsing speed
- - perf: improve `Accept-Encoding` parsing speed
- - perf: improve `Accept-Language` parsing speed
-
-1.3.2 / 2016-03-08
-==================
-
- * deps: mime-types@~2.1.10
- - Fix extension of `application/dash+xml`
- - Update primary extension for `audio/mp4`
- - deps: mime-db@~1.22.0
-
-1.3.1 / 2016-01-19
-==================
-
- * deps: mime-types@~2.1.9
- - deps: mime-db@~1.21.0
-
-1.3.0 / 2015-09-29
-==================
-
- * deps: mime-types@~2.1.7
- - deps: mime-db@~1.19.0
- * deps: negotiator@0.6.0
- - Fix including type extensions in parameters in `Accept` parsing
- - Fix parsing `Accept` parameters with quoted equals
- - Fix parsing `Accept` parameters with quoted semicolons
- - Lazy-load modules from main entry point
- - perf: delay type concatenation until needed
- - perf: enable strict mode
- - perf: hoist regular expressions
- - perf: remove closures getting spec properties
- - perf: remove a closure from media type parsing
- - perf: remove property delete from media type parsing
-
-1.2.13 / 2015-09-06
-===================
-
- * deps: mime-types@~2.1.6
- - deps: mime-db@~1.18.0
-
-1.2.12 / 2015-07-30
-===================
-
- * deps: mime-types@~2.1.4
- - deps: mime-db@~1.16.0
-
-1.2.11 / 2015-07-16
-===================
-
- * deps: mime-types@~2.1.3
- - deps: mime-db@~1.15.0
-
-1.2.10 / 2015-07-01
-===================
-
- * deps: mime-types@~2.1.2
- - deps: mime-db@~1.14.0
-
-1.2.9 / 2015-06-08
-==================
-
- * deps: mime-types@~2.1.1
- - perf: fix deopt during mapping
-
-1.2.8 / 2015-06-07
-==================
-
- * deps: mime-types@~2.1.0
- - deps: mime-db@~1.13.0
- * perf: avoid argument reassignment & argument slice
- * perf: avoid negotiator recursive construction
- * perf: enable strict mode
- * perf: remove unnecessary bitwise operator
-
-1.2.7 / 2015-05-10
-==================
-
- * deps: negotiator@0.5.3
- - Fix media type parameter matching to be case-insensitive
-
-1.2.6 / 2015-05-07
-==================
-
- * deps: mime-types@~2.0.11
- - deps: mime-db@~1.9.1
- * deps: negotiator@0.5.2
- - Fix comparing media types with quoted values
- - Fix splitting media types with quoted commas
-
-1.2.5 / 2015-03-13
-==================
-
- * deps: mime-types@~2.0.10
- - deps: mime-db@~1.8.0
-
-1.2.4 / 2015-02-14
-==================
-
- * Support Node.js 0.6
- * deps: mime-types@~2.0.9
- - deps: mime-db@~1.7.0
- * deps: negotiator@0.5.1
- - Fix preference sorting to be stable for long acceptable lists
-
-1.2.3 / 2015-01-31
-==================
-
- * deps: mime-types@~2.0.8
- - deps: mime-db@~1.6.0
-
-1.2.2 / 2014-12-30
-==================
-
- * deps: mime-types@~2.0.7
- - deps: mime-db@~1.5.0
-
-1.2.1 / 2014-12-30
-==================
-
- * deps: mime-types@~2.0.5
- - deps: mime-db@~1.3.1
-
-1.2.0 / 2014-12-19
-==================
-
- * deps: negotiator@0.5.0
- - Fix list return order when large accepted list
- - Fix missing identity encoding when q=0 exists
- - Remove dynamic building of Negotiator class
-
-1.1.4 / 2014-12-10
-==================
-
- * deps: mime-types@~2.0.4
- - deps: mime-db@~1.3.0
-
-1.1.3 / 2014-11-09
-==================
-
- * deps: mime-types@~2.0.3
- - deps: mime-db@~1.2.0
-
-1.1.2 / 2014-10-14
-==================
-
- * deps: negotiator@0.4.9
- - Fix error when media type has invalid parameter
-
-1.1.1 / 2014-09-28
-==================
-
- * deps: mime-types@~2.0.2
- - deps: mime-db@~1.1.0
- * deps: negotiator@0.4.8
- - Fix all negotiations to be case-insensitive
- - Stable sort preferences of same quality according to client order
-
-1.1.0 / 2014-09-02
-==================
-
- * update `mime-types`
-
-1.0.7 / 2014-07-04
-==================
-
- * Fix wrong type returned from `type` when match after unknown extension
-
-1.0.6 / 2014-06-24
-==================
-
- * deps: negotiator@0.4.7
-
-1.0.5 / 2014-06-20
-==================
-
- * fix crash when unknown extension given
-
-1.0.4 / 2014-06-19
-==================
-
- * use `mime-types`
-
-1.0.3 / 2014-06-11
-==================
-
- * deps: negotiator@0.4.6
- - Order by specificity when quality is the same
-
-1.0.2 / 2014-05-29
-==================
-
- * Fix interpretation when header not in request
- * deps: pin negotiator@0.4.5
-
-1.0.1 / 2014-01-18
-==================
-
- * Identity encoding isn't always acceptable
- * deps: negotiator@~0.4.0
-
-1.0.0 / 2013-12-27
-==================
-
- * Genesis
diff --git a/Server/node_modules/accepts/LICENSE b/Server/node_modules/accepts/LICENSE
deleted file mode 100644
index 0616607..0000000
--- a/Server/node_modules/accepts/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/accepts/README.md b/Server/node_modules/accepts/README.md
deleted file mode 100644
index 66a2f54..0000000
--- a/Server/node_modules/accepts/README.md
+++ /dev/null
@@ -1,142 +0,0 @@
-# accepts
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Higher level content negotiation based on [negotiator](https://www.npmjs.com/package/negotiator).
-Extracted from [koa](https://www.npmjs.com/package/koa) for general use.
-
-In addition to negotiator, it allows:
-
-- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])`
- as well as `('text/html', 'application/json')`.
-- Allows type shorthands such as `json`.
-- Returns `false` when no types match
-- Treats non-existent headers as `*`
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install accepts
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var accepts = require('accepts')
-```
-
-### accepts(req)
-
-Create a new `Accepts` object for the given `req`.
-
-#### .charset(charsets)
-
-Return the first accepted charset. If nothing in `charsets` is accepted,
-then `false` is returned.
-
-#### .charsets()
-
-Return the charsets that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .encoding(encodings)
-
-Return the first accepted encoding. If nothing in `encodings` is accepted,
-then `false` is returned.
-
-#### .encodings()
-
-Return the encodings that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .language(languages)
-
-Return the first accepted language. If nothing in `languages` is accepted,
-then `false` is returned.
-
-#### .languages()
-
-Return the languages that the request accepts, in the order of the client's
-preference (most preferred first).
-
-#### .type(types)
-
-Return the first accepted type (and it is returned as the same text as what
-appears in the `types` array). If nothing in `types` is accepted, then `false`
-is returned.
-
-The `types` array can contain full MIME types or file extensions. Any value
-that is not a full MIME types is passed to `require('mime-types').lookup`.
-
-#### .types()
-
-Return the types that the request accepts, in the order of the client's
-preference (most preferred first).
-
-## Examples
-
-### Simple type negotiation
-
-This simple example shows how to use `accepts` to return a different typed
-respond body based on what the client wants to accept. The server lists it's
-preferences in order and will get back the best match between the client and
-server.
-
-```js
-var accepts = require('accepts')
-var http = require('http')
-
-function app (req, res) {
- var accept = accepts(req)
-
- // the order of this list is significant; should be server preferred order
- switch (accept.type(['json', 'html'])) {
- case 'json':
- res.setHeader('Content-Type', 'application/json')
- res.write('{"hello":"world!"}')
- break
- case 'html':
- res.setHeader('Content-Type', 'text/html')
- res.write('<b>hello, world!</b>')
- break
- default:
- // the fallback is text/plain, so no need to specify it above
- res.setHeader('Content-Type', 'text/plain')
- res.write('hello, world!')
- break
- }
-
- res.end()
-}
-
-http.createServer(app).listen(3000)
-```
-
-You can test this out with the cURL program:
-```sh
-curl -I -H'Accept: text/html' http://localhost:3000/
-```
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/accepts/master
-[coveralls-url]: https://coveralls.io/r/jshttp/accepts?branch=master
-[node-version-image]: https://badgen.net/npm/node/accepts
-[node-version-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/accepts
-[npm-url]: https://npmjs.org/package/accepts
-[npm-version-image]: https://badgen.net/npm/v/accepts
-[travis-image]: https://badgen.net/travis/jshttp/accepts/master
-[travis-url]: https://travis-ci.org/jshttp/accepts
diff --git a/Server/node_modules/accepts/index.js b/Server/node_modules/accepts/index.js
deleted file mode 100644
index e9b2f63..0000000
--- a/Server/node_modules/accepts/index.js
+++ /dev/null
@@ -1,238 +0,0 @@
-/*!
- * accepts
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var Negotiator = require('negotiator')
-var mime = require('mime-types')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = Accepts
-
-/**
- * Create a new Accepts object for the given req.
- *
- * @param {object} req
- * @public
- */
-
-function Accepts (req) {
- if (!(this instanceof Accepts)) {
- return new Accepts(req)
- }
-
- this.headers = req.headers
- this.negotiator = new Negotiator(req)
-}
-
-/**
- * Check if the given `type(s)` is acceptable, returning
- * the best match when true, otherwise `undefined`, in which
- * case you should respond with 406 "Not Acceptable".
- *
- * The `type` value may be a single mime type string
- * such as "application/json", the extension name
- * such as "json" or an array `["json", "html", "text/plain"]`. When a list
- * or array is given the _best_ match, if any is returned.
- *
- * Examples:
- *
- * // Accept: text/html
- * this.types('html');
- * // => "html"
- *
- * // Accept: text/*, application/json
- * this.types('html');
- * // => "html"
- * this.types('text/html');
- * // => "text/html"
- * this.types('json', 'text');
- * // => "json"
- * this.types('application/json');
- * // => "application/json"
- *
- * // Accept: text/*, application/json
- * this.types('image/png');
- * this.types('png');
- * // => undefined
- *
- * // Accept: text/*;q=.5, application/json
- * this.types(['html', 'json']);
- * this.types('html', 'json');
- * // => "json"
- *
- * @param {String|Array} types...
- * @return {String|Array|Boolean}
- * @public
- */
-
-Accepts.prototype.type =
-Accepts.prototype.types = function (types_) {
- var types = types_
-
- // support flattened arguments
- if (types && !Array.isArray(types)) {
- types = new Array(arguments.length)
- for (var i = 0; i < types.length; i++) {
- types[i] = arguments[i]
- }
- }
-
- // no types, return all requested types
- if (!types || types.length === 0) {
- return this.negotiator.mediaTypes()
- }
-
- // no accept header, return first given type
- if (!this.headers.accept) {
- return types[0]
- }
-
- var mimes = types.map(extToMime)
- var accepts = this.negotiator.mediaTypes(mimes.filter(validMime))
- var first = accepts[0]
-
- return first
- ? types[mimes.indexOf(first)]
- : false
-}
-
-/**
- * Return accepted encodings or best fit based on `encodings`.
- *
- * Given `Accept-Encoding: gzip, deflate`
- * an array sorted by quality is returned:
- *
- * ['gzip', 'deflate']
- *
- * @param {String|Array} encodings...
- * @return {String|Array}
- * @public
- */
-
-Accepts.prototype.encoding =
-Accepts.prototype.encodings = function (encodings_) {
- var encodings = encodings_
-
- // support flattened arguments
- if (encodings && !Array.isArray(encodings)) {
- encodings = new Array(arguments.length)
- for (var i = 0; i < encodings.length; i++) {
- encodings[i] = arguments[i]
- }
- }
-
- // no encodings, return all requested encodings
- if (!encodings || encodings.length === 0) {
- return this.negotiator.encodings()
- }
-
- return this.negotiator.encodings(encodings)[0] || false
-}
-
-/**
- * Return accepted charsets or best fit based on `charsets`.
- *
- * Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5`
- * an array sorted by quality is returned:
- *
- * ['utf-8', 'utf-7', 'iso-8859-1']
- *
- * @param {String|Array} charsets...
- * @return {String|Array}
- * @public
- */
-
-Accepts.prototype.charset =
-Accepts.prototype.charsets = function (charsets_) {
- var charsets = charsets_
-
- // support flattened arguments
- if (charsets && !Array.isArray(charsets)) {
- charsets = new Array(arguments.length)
- for (var i = 0; i < charsets.length; i++) {
- charsets[i] = arguments[i]
- }
- }
-
- // no charsets, return all requested charsets
- if (!charsets || charsets.length === 0) {
- return this.negotiator.charsets()
- }
-
- return this.negotiator.charsets(charsets)[0] || false
-}
-
-/**
- * Return accepted languages or best fit based on `langs`.
- *
- * Given `Accept-Language: en;q=0.8, es, pt`
- * an array sorted by quality is returned:
- *
- * ['es', 'pt', 'en']
- *
- * @param {String|Array} langs...
- * @return {Array|String}
- * @public
- */
-
-Accepts.prototype.lang =
-Accepts.prototype.langs =
-Accepts.prototype.language =
-Accepts.prototype.languages = function (languages_) {
- var languages = languages_
-
- // support flattened arguments
- if (languages && !Array.isArray(languages)) {
- languages = new Array(arguments.length)
- for (var i = 0; i < languages.length; i++) {
- languages[i] = arguments[i]
- }
- }
-
- // no languages, return all requested languages
- if (!languages || languages.length === 0) {
- return this.negotiator.languages()
- }
-
- return this.negotiator.languages(languages)[0] || false
-}
-
-/**
- * Convert extnames to mime.
- *
- * @param {String} type
- * @return {String}
- * @private
- */
-
-function extToMime (type) {
- return type.indexOf('/') === -1
- ? mime.lookup(type)
- : type
-}
-
-/**
- * Check if mime is valid.
- *
- * @param {String} type
- * @return {String}
- * @private
- */
-
-function validMime (type) {
- return typeof type === 'string'
-}
diff --git a/Server/node_modules/accepts/package.json b/Server/node_modules/accepts/package.json
deleted file mode 100644
index d11bffb..0000000
--- a/Server/node_modules/accepts/package.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "_from": "accepts@~1.3.7",
- "_id": "accepts@1.3.7",
- "_inBundle": false,
- "_integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
- "_location": "/accepts",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "accepts@~1.3.7",
- "name": "accepts",
- "escapedName": "accepts",
- "rawSpec": "~1.3.7",
- "saveSpec": null,
- "fetchSpec": "~1.3.7"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
- "_shasum": "531bc726517a3b2b41f850021c6cc15eaab507cd",
- "_spec": "accepts@~1.3.7",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "bugs": {
- "url": "https://github.com/jshttp/accepts/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "dependencies": {
- "mime-types": "~2.1.24",
- "negotiator": "0.6.2"
- },
- "deprecated": false,
- "description": "Higher-level content negotiation",
- "devDependencies": {
- "deep-equal": "1.0.1",
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.17.2",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "8.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "mocha": "6.1.4",
- "nyc": "14.0.0"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/accepts#readme",
- "keywords": [
- "content",
- "negotiation",
- "accept",
- "accepts"
- ],
- "license": "MIT",
- "name": "accepts",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/accepts.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --check-leaks --bail test/",
- "test-cov": "nyc --reporter=html --reporter=text npm test",
- "test-travis": "nyc --reporter=text npm test"
- },
- "version": "1.3.7"
-}
diff --git a/Server/node_modules/ansi-styles/index.js b/Server/node_modules/ansi-styles/index.js
deleted file mode 100644
index 90a871c..0000000
--- a/Server/node_modules/ansi-styles/index.js
+++ /dev/null
@@ -1,165 +0,0 @@
-'use strict';
-const colorConvert = require('color-convert');
-
-const wrapAnsi16 = (fn, offset) => function () {
- const code = fn.apply(colorConvert, arguments);
- return `\u001B[${code + offset}m`;
-};
-
-const wrapAnsi256 = (fn, offset) => function () {
- const code = fn.apply(colorConvert, arguments);
- return `\u001B[${38 + offset};5;${code}m`;
-};
-
-const wrapAnsi16m = (fn, offset) => function () {
- const rgb = fn.apply(colorConvert, arguments);
- return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
-};
-
-function assembleStyles() {
- const codes = new Map();
- const styles = {
- modifier: {
- reset: [0, 0],
- // 21 isn't widely supported and 22 does the same thing
- bold: [1, 22],
- dim: [2, 22],
- italic: [3, 23],
- underline: [4, 24],
- inverse: [7, 27],
- hidden: [8, 28],
- strikethrough: [9, 29]
- },
- color: {
- black: [30, 39],
- red: [31, 39],
- green: [32, 39],
- yellow: [33, 39],
- blue: [34, 39],
- magenta: [35, 39],
- cyan: [36, 39],
- white: [37, 39],
- gray: [90, 39],
-
- // Bright color
- redBright: [91, 39],
- greenBright: [92, 39],
- yellowBright: [93, 39],
- blueBright: [94, 39],
- magentaBright: [95, 39],
- cyanBright: [96, 39],
- whiteBright: [97, 39]
- },
- bgColor: {
- bgBlack: [40, 49],
- bgRed: [41, 49],
- bgGreen: [42, 49],
- bgYellow: [43, 49],
- bgBlue: [44, 49],
- bgMagenta: [45, 49],
- bgCyan: [46, 49],
- bgWhite: [47, 49],
-
- // Bright color
- bgBlackBright: [100, 49],
- bgRedBright: [101, 49],
- bgGreenBright: [102, 49],
- bgYellowBright: [103, 49],
- bgBlueBright: [104, 49],
- bgMagentaBright: [105, 49],
- bgCyanBright: [106, 49],
- bgWhiteBright: [107, 49]
- }
- };
-
- // Fix humans
- styles.color.grey = styles.color.gray;
-
- for (const groupName of Object.keys(styles)) {
- const group = styles[groupName];
-
- for (const styleName of Object.keys(group)) {
- const style = group[styleName];
-
- styles[styleName] = {
- open: `\u001B[${style[0]}m`,
- close: `\u001B[${style[1]}m`
- };
-
- group[styleName] = styles[styleName];
-
- codes.set(style[0], style[1]);
- }
-
- Object.defineProperty(styles, groupName, {
- value: group,
- enumerable: false
- });
-
- Object.defineProperty(styles, 'codes', {
- value: codes,
- enumerable: false
- });
- }
-
- const ansi2ansi = n => n;
- const rgb2rgb = (r, g, b) => [r, g, b];
-
- styles.color.close = '\u001B[39m';
- styles.bgColor.close = '\u001B[49m';
-
- styles.color.ansi = {
- ansi: wrapAnsi16(ansi2ansi, 0)
- };
- styles.color.ansi256 = {
- ansi256: wrapAnsi256(ansi2ansi, 0)
- };
- styles.color.ansi16m = {
- rgb: wrapAnsi16m(rgb2rgb, 0)
- };
-
- styles.bgColor.ansi = {
- ansi: wrapAnsi16(ansi2ansi, 10)
- };
- styles.bgColor.ansi256 = {
- ansi256: wrapAnsi256(ansi2ansi, 10)
- };
- styles.bgColor.ansi16m = {
- rgb: wrapAnsi16m(rgb2rgb, 10)
- };
-
- for (let key of Object.keys(colorConvert)) {
- if (typeof colorConvert[key] !== 'object') {
- continue;
- }
-
- const suite = colorConvert[key];
-
- if (key === 'ansi16') {
- key = 'ansi';
- }
-
- if ('ansi16' in suite) {
- styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
- styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
- }
-
- if ('ansi256' in suite) {
- styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
- styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
- }
-
- if ('rgb' in suite) {
- styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
- styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
- }
- }
-
- return styles;
-}
-
-// Make the export immutable
-Object.defineProperty(module, 'exports', {
- enumerable: true,
- get: assembleStyles
-});
diff --git a/Server/node_modules/ansi-styles/license b/Server/node_modules/ansi-styles/license
deleted file mode 100644
index e7af2f7..0000000
--- a/Server/node_modules/ansi-styles/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-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.
diff --git a/Server/node_modules/ansi-styles/package.json b/Server/node_modules/ansi-styles/package.json
deleted file mode 100644
index 7906dd1..0000000
--- a/Server/node_modules/ansi-styles/package.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "_from": "ansi-styles@^3.2.1",
- "_id": "ansi-styles@3.2.1",
- "_inBundle": false,
- "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "_location": "/ansi-styles",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "ansi-styles@^3.2.1",
- "name": "ansi-styles",
- "escapedName": "ansi-styles",
- "rawSpec": "^3.2.1",
- "saveSpec": null,
- "fetchSpec": "^3.2.1"
- },
- "_requiredBy": [
- "/chalk"
- ],
- "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d",
- "_spec": "ansi-styles@^3.2.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/chalk",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "ava": {
- "require": "babel-polyfill"
- },
- "bugs": {
- "url": "https://github.com/chalk/ansi-styles/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "deprecated": false,
- "description": "ANSI escape codes for styling strings in the terminal",
- "devDependencies": {
- "ava": "*",
- "babel-polyfill": "^6.23.0",
- "svg-term-cli": "^2.1.1",
- "xo": "*"
- },
- "engines": {
- "node": ">=4"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/chalk/ansi-styles#readme",
- "keywords": [
- "ansi",
- "styles",
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "cli",
- "string",
- "tty",
- "escape",
- "formatting",
- "rgb",
- "256",
- "shell",
- "xterm",
- "log",
- "logging",
- "command-line",
- "text"
- ],
- "license": "MIT",
- "name": "ansi-styles",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/chalk/ansi-styles.git"
- },
- "scripts": {
- "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor",
- "test": "xo && ava"
- },
- "version": "3.2.1"
-}
diff --git a/Server/node_modules/ansi-styles/readme.md b/Server/node_modules/ansi-styles/readme.md
deleted file mode 100644
index 3158e2d..0000000
--- a/Server/node_modules/ansi-styles/readme.md
+++ /dev/null
@@ -1,147 +0,0 @@
-# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles)
-
-> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
-
-You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
-
-<img src="https://cdn.rawgit.com/chalk/ansi-styles/8261697c95bf34b6c7767e2cbe9941a851d59385/screenshot.svg" width="900">
-
-
-## Install
-
-```
-$ npm install ansi-styles
-```
-
-
-## Usage
-
-```js
-const style = require('ansi-styles');
-
-console.log(`${style.green.open}Hello world!${style.green.close}`);
-
-
-// Color conversion between 16/256/truecolor
-// NOTE: If conversion goes to 16 colors or 256 colors, the original color
-// may be degraded to fit that color palette. This means terminals
-// that do not support 16 million colors will best-match the
-// original color.
-console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close);
-console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close);
-console.log(style.color.ansi16m.hex('#ABCDEF') + 'Hello world!' + style.color.close);
-```
-
-## API
-
-Each style has an `open` and `close` property.
-
-
-## Styles
-
-### Modifiers
-
-- `reset`
-- `bold`
-- `dim`
-- `italic` *(Not widely supported)*
-- `underline`
-- `inverse`
-- `hidden`
-- `strikethrough` *(Not widely supported)*
-
-### Colors
-
-- `black`
-- `red`
-- `green`
-- `yellow`
-- `blue`
-- `magenta`
-- `cyan`
-- `white`
-- `gray` ("bright black")
-- `redBright`
-- `greenBright`
-- `yellowBright`
-- `blueBright`
-- `magentaBright`
-- `cyanBright`
-- `whiteBright`
-
-### Background colors
-
-- `bgBlack`
-- `bgRed`
-- `bgGreen`
-- `bgYellow`
-- `bgBlue`
-- `bgMagenta`
-- `bgCyan`
-- `bgWhite`
-- `bgBlackBright`
-- `bgRedBright`
-- `bgGreenBright`
-- `bgYellowBright`
-- `bgBlueBright`
-- `bgMagentaBright`
-- `bgCyanBright`
-- `bgWhiteBright`
-
-
-## Advanced usage
-
-By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
-
-- `style.modifier`
-- `style.color`
-- `style.bgColor`
-
-###### Example
-
-```js
-console.log(style.color.green.open);
-```
-
-Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values.
-
-###### Example
-
-```js
-console.log(style.codes.get(36));
-//=> 39
-```
-
-
-## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728)
-
-`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors.
-
-To use these, call the associated conversion function with the intended output, for example:
-
-```js
-style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code
-style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code
-
-style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
-style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
-
-style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code
-style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code
-```
-
-
-## Related
-
-- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
-
-
-## Maintainers
-
-- [Sindre Sorhus](https://github.com/sindresorhus)
-- [Josh Junon](https://github.com/qix-)
-
-
-## License
-
-MIT
diff --git a/Server/node_modules/array-flatten/LICENSE b/Server/node_modules/array-flatten/LICENSE
deleted file mode 100644
index 983fbe8..0000000
--- a/Server/node_modules/array-flatten/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
-
-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.
diff --git a/Server/node_modules/array-flatten/README.md b/Server/node_modules/array-flatten/README.md
deleted file mode 100644
index 91fa5b6..0000000
--- a/Server/node_modules/array-flatten/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# Array Flatten
-
-[![NPM version][npm-image]][npm-url]
-[![NPM downloads][downloads-image]][downloads-url]
-[![Build status][travis-image]][travis-url]
-[![Test coverage][coveralls-image]][coveralls-url]
-
-> Flatten an array of nested arrays into a single flat array. Accepts an optional depth.
-
-## Installation
-
-```
-npm install array-flatten --save
-```
-
-## Usage
-
-```javascript
-var flatten = require('array-flatten')
-
-flatten([1, [2, [3, [4, [5], 6], 7], 8], 9])
-//=> [1, 2, 3, 4, 5, 6, 7, 8, 9]
-
-flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2)
-//=> [1, 2, 3, [4, [5], 6], 7, 8, 9]
-
-(function () {
- flatten(arguments) //=> [1, 2, 3]
-})(1, [2, 3])
-```
-
-## License
-
-MIT
-
-[npm-image]: https://img.shields.io/npm/v/array-flatten.svg?style=flat
-[npm-url]: https://npmjs.org/package/array-flatten
-[downloads-image]: https://img.shields.io/npm/dm/array-flatten.svg?style=flat
-[downloads-url]: https://npmjs.org/package/array-flatten
-[travis-image]: https://img.shields.io/travis/blakeembrey/array-flatten.svg?style=flat
-[travis-url]: https://travis-ci.org/blakeembrey/array-flatten
-[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/array-flatten.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/blakeembrey/array-flatten?branch=master
diff --git a/Server/node_modules/array-flatten/array-flatten.js b/Server/node_modules/array-flatten/array-flatten.js
deleted file mode 100644
index 089117b..0000000
--- a/Server/node_modules/array-flatten/array-flatten.js
+++ /dev/null
@@ -1,64 +0,0 @@
-'use strict'
-
-/**
- * Expose `arrayFlatten`.
- */
-module.exports = arrayFlatten
-
-/**
- * Recursive flatten function with depth.
- *
- * @param {Array} array
- * @param {Array} result
- * @param {Number} depth
- * @return {Array}
- */
-function flattenWithDepth (array, result, depth) {
- for (var i = 0; i < array.length; i++) {
- var value = array[i]
-
- if (depth > 0 && Array.isArray(value)) {
- flattenWithDepth(value, result, depth - 1)
- } else {
- result.push(value)
- }
- }
-
- return result
-}
-
-/**
- * Recursive flatten function. Omitting depth is slightly faster.
- *
- * @param {Array} array
- * @param {Array} result
- * @return {Array}
- */
-function flattenForever (array, result) {
- for (var i = 0; i < array.length; i++) {
- var value = array[i]
-
- if (Array.isArray(value)) {
- flattenForever(value, result)
- } else {
- result.push(value)
- }
- }
-
- return result
-}
-
-/**
- * Flatten an array, with the ability to define a depth.
- *
- * @param {Array} array
- * @param {Number} depth
- * @return {Array}
- */
-function arrayFlatten (array, depth) {
- if (depth == null) {
- return flattenForever(array, [])
- }
-
- return flattenWithDepth(array, [], depth)
-}
diff --git a/Server/node_modules/array-flatten/package.json b/Server/node_modules/array-flatten/package.json
deleted file mode 100644
index 5b89882..0000000
--- a/Server/node_modules/array-flatten/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "_from": "array-flatten@1.1.1",
- "_id": "array-flatten@1.1.1",
- "_inBundle": false,
- "_integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=",
- "_location": "/array-flatten",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "array-flatten@1.1.1",
- "name": "array-flatten",
- "escapedName": "array-flatten",
- "rawSpec": "1.1.1",
- "saveSpec": null,
- "fetchSpec": "1.1.1"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
- "_shasum": "9a5f699051b1e7073328f2a008968b64ea2955d2",
- "_spec": "array-flatten@1.1.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Blake Embrey",
- "email": "hello@blakeembrey.com",
- "url": "http://blakeembrey.me"
- },
- "bugs": {
- "url": "https://github.com/blakeembrey/array-flatten/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Flatten an array of nested arrays into a single flat array",
- "devDependencies": {
- "istanbul": "^0.3.13",
- "mocha": "^2.2.4",
- "pre-commit": "^1.0.7",
- "standard": "^3.7.3"
- },
- "files": [
- "array-flatten.js",
- "LICENSE"
- ],
- "homepage": "https://github.com/blakeembrey/array-flatten",
- "keywords": [
- "array",
- "flatten",
- "arguments",
- "depth"
- ],
- "license": "MIT",
- "main": "array-flatten.js",
- "name": "array-flatten",
- "repository": {
- "type": "git",
- "url": "git://github.com/blakeembrey/array-flatten.git"
- },
- "scripts": {
- "test": "istanbul cover _mocha -- -R spec"
- },
- "version": "1.1.1"
-}
diff --git a/Server/node_modules/async/.travis.yml b/Server/node_modules/async/.travis.yml
deleted file mode 100644
index 6064ca0..0000000
--- a/Server/node_modules/async/.travis.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-language: node_js
-node_js:
- - "0.10"
- - "0.12"
- - "iojs"
diff --git a/Server/node_modules/async/LICENSE b/Server/node_modules/async/LICENSE
deleted file mode 100644
index 8f29698..0000000
--- a/Server/node_modules/async/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2010-2014 Caolan McMahon
-
-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.
diff --git a/Server/node_modules/async/README.md b/Server/node_modules/async/README.md
deleted file mode 100644
index 6cfb922..0000000
--- a/Server/node_modules/async/README.md
+++ /dev/null
@@ -1,1647 +0,0 @@
-# Async.js
-
-[![Build Status via Travis CI](https://travis-ci.org/caolan/async.svg?branch=master)](https://travis-ci.org/caolan/async)
-
-
-Async is a utility module which provides straight-forward, powerful functions
-for working with asynchronous JavaScript. Although originally designed for
-use with [Node.js](http://nodejs.org) and installable via `npm install async`,
-it can also be used directly in the browser.
-
-Async is also installable via:
-
-- [bower](http://bower.io/): `bower install async`
-- [component](https://github.com/component/component): `component install
- caolan/async`
-- [jam](http://jamjs.org/): `jam install async`
-- [spm](http://spmjs.io/): `spm install async`
-
-Async provides around 20 functions that include the usual 'functional'
-suspects (`map`, `reduce`, `filter`, `each`…) as well as some common patterns
-for asynchronous control flow (`parallel`, `series`, `waterfall`…). All these
-functions assume you follow the Node.js convention of providing a single
-callback as the last argument of your `async` function.
-
-
-## Quick Examples
-
-```javascript
-async.map(['file1','file2','file3'], fs.stat, function(err, results){
- // results is now an array of stats for each file
-});
-
-async.filter(['file1','file2','file3'], fs.exists, function(results){
- // results now equals an array of the existing files
-});
-
-async.parallel([
- function(){ ... },
- function(){ ... }
-], callback);
-
-async.series([
- function(){ ... },
- function(){ ... }
-]);
-```
-
-There are many more functions available so take a look at the docs below for a
-full list. This module aims to be comprehensive, so if you feel anything is
-missing please create a GitHub issue for it.
-
-## Common Pitfalls
-
-### Binding a context to an iterator
-
-This section is really about `bind`, not about `async`. If you are wondering how to
-make `async` execute your iterators in a given context, or are confused as to why
-a method of another library isn't working as an iterator, study this example:
-
-```js
-// Here is a simple object with an (unnecessarily roundabout) squaring method
-var AsyncSquaringLibrary = {
- squareExponent: 2,
- square: function(number, callback){
- var result = Math.pow(number, this.squareExponent);
- setTimeout(function(){
- callback(null, result);
- }, 200);
- }
-};
-
-async.map([1, 2, 3], AsyncSquaringLibrary.square, function(err, result){
- // result is [NaN, NaN, NaN]
- // This fails because the `this.squareExponent` expression in the square
- // function is not evaluated in the context of AsyncSquaringLibrary, and is
- // therefore undefined.
-});
-
-async.map([1, 2, 3], AsyncSquaringLibrary.square.bind(AsyncSquaringLibrary), function(err, result){
- // result is [1, 4, 9]
- // With the help of bind we can attach a context to the iterator before
- // passing it to async. Now the square function will be executed in its
- // 'home' AsyncSquaringLibrary context and the value of `this.squareExponent`
- // will be as expected.
-});
-```
-
-## Download
-
-The source is available for download from
-[GitHub](http://github.com/caolan/async).
-Alternatively, you can install using Node Package Manager (`npm`):
-
- npm install async
-
-__Development:__ [async.js](https://github.com/caolan/async/raw/master/lib/async.js) - 29.6kb Uncompressed
-
-## In the Browser
-
-So far it's been tested in IE6, IE7, IE8, FF3.6 and Chrome 5.
-
-Usage:
-
-```html
-<script type="text/javascript" src="async.js"></script>
-<script type="text/javascript">
-
- async.map(data, asyncProcess, function(err, results){
- alert(results);
- });
-
-</script>
-```
-
-## Documentation
-
-### Collections
-
-* [`each`](#each)
-* [`eachSeries`](#eachSeries)
-* [`eachLimit`](#eachLimit)
-* [`map`](#map)
-* [`mapSeries`](#mapSeries)
-* [`mapLimit`](#mapLimit)
-* [`filter`](#filter)
-* [`filterSeries`](#filterSeries)
-* [`reject`](#reject)
-* [`rejectSeries`](#rejectSeries)
-* [`reduce`](#reduce)
-* [`reduceRight`](#reduceRight)
-* [`detect`](#detect)
-* [`detectSeries`](#detectSeries)
-* [`sortBy`](#sortBy)
-* [`some`](#some)
-* [`every`](#every)
-* [`concat`](#concat)
-* [`concatSeries`](#concatSeries)
-
-### Control Flow
-
-* [`series`](#seriestasks-callback)
-* [`parallel`](#parallel)
-* [`parallelLimit`](#parallellimittasks-limit-callback)
-* [`whilst`](#whilst)
-* [`doWhilst`](#doWhilst)
-* [`until`](#until)
-* [`doUntil`](#doUntil)
-* [`forever`](#forever)
-* [`waterfall`](#waterfall)
-* [`compose`](#compose)
-* [`seq`](#seq)
-* [`applyEach`](#applyEach)
-* [`applyEachSeries`](#applyEachSeries)
-* [`queue`](#queue)
-* [`priorityQueue`](#priorityQueue)
-* [`cargo`](#cargo)
-* [`auto`](#auto)
-* [`retry`](#retry)
-* [`iterator`](#iterator)
-* [`apply`](#apply)
-* [`nextTick`](#nextTick)
-* [`times`](#times)
-* [`timesSeries`](#timesSeries)
-
-### Utils
-
-* [`memoize`](#memoize)
-* [`unmemoize`](#unmemoize)
-* [`log`](#log)
-* [`dir`](#dir)
-* [`noConflict`](#noConflict)
-
-
-## Collections
-
-<a name="forEach" />
-<a name="each" />
-### each(arr, iterator, callback)
-
-Applies the function `iterator` to each item in `arr`, in parallel.
-The `iterator` is called with an item from the list, and a callback for when it
-has finished. If the `iterator` passes an error to its `callback`, the main
-`callback` (for the `each` function) is immediately called with the error.
-
-Note, that since this function applies `iterator` to each item in parallel,
-there is no guarantee that the iterator functions will complete in order.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `iterator(item, callback)` - A function to apply to each item in `arr`.
- The iterator is passed a `callback(err)` which must be called once it has
- completed. If no error has occurred, the `callback` should be run without
- arguments or with an explicit `null` argument.
-* `callback(err)` - A callback which is called when all `iterator` functions
- have finished, or an error occurs.
-
-__Examples__
-
-
-```js
-// assuming openFiles is an array of file names and saveFile is a function
-// to save the modified contents of that file:
-
-async.each(openFiles, saveFile, function(err){
- // if any of the saves produced an error, err would equal that error
-});
-```
-
-```js
-// assuming openFiles is an array of file names
-
-async.each(openFiles, function(file, callback) {
-
- // Perform operation on file here.
- console.log('Processing file ' + file);
-
- if( file.length > 32 ) {
- console.log('This file name is too long');
- callback('File name too long');
- } else {
- // Do work to process file here
- console.log('File processed');
- callback();
- }
-}, function(err){
- // if any of the file processing produced an error, err would equal that error
- if( err ) {
- // One of the iterations produced an error.
- // All processing will now stop.
- console.log('A file failed to process');
- } else {
- console.log('All files have been processed successfully');
- }
-});
-```
-
----------------------------------------
-
-<a name="forEachSeries" />
-<a name="eachSeries" />
-### eachSeries(arr, iterator, callback)
-
-The same as [`each`](#each), only `iterator` is applied to each item in `arr` in
-series. The next `iterator` is only called once the current one has completed.
-This means the `iterator` functions will complete in order.
-
-
----------------------------------------
-
-<a name="forEachLimit" />
-<a name="eachLimit" />
-### eachLimit(arr, limit, iterator, callback)
-
-The same as [`each`](#each), only no more than `limit` `iterator`s will be simultaneously
-running at any time.
-
-Note that the items in `arr` are not processed in batches, so there is no guarantee that
-the first `limit` `iterator` functions will complete before any others are started.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `limit` - The maximum number of `iterator`s to run at any time.
-* `iterator(item, callback)` - A function to apply to each item in `arr`.
- The iterator is passed a `callback(err)` which must be called once it has
- completed. If no error has occurred, the callback should be run without
- arguments or with an explicit `null` argument.
-* `callback(err)` - A callback which is called when all `iterator` functions
- have finished, or an error occurs.
-
-__Example__
-
-```js
-// Assume documents is an array of JSON objects and requestApi is a
-// function that interacts with a rate-limited REST api.
-
-async.eachLimit(documents, 20, requestApi, function(err){
- // if any of the saves produced an error, err would equal that error
-});
-```
-
----------------------------------------
-
-<a name="map" />
-### map(arr, iterator, callback)
-
-Produces a new array of values by mapping each value in `arr` through
-the `iterator` function. The `iterator` is called with an item from `arr` and a
-callback for when it has finished processing. Each of these callback takes 2 arguments:
-an `error`, and the transformed item from `arr`. If `iterator` passes an error to his
-callback, the main `callback` (for the `map` function) is immediately called with the error.
-
-Note, that since this function applies the `iterator` to each item in parallel,
-there is no guarantee that the `iterator` functions will complete in order.
-However, the results array will be in the same order as the original `arr`.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `iterator(item, callback)` - A function to apply to each item in `arr`.
- The iterator is passed a `callback(err, transformed)` which must be called once
- it has completed with an error (which can be `null`) and a transformed item.
-* `callback(err, results)` - A callback which is called when all `iterator`
- functions have finished, or an error occurs. Results is an array of the
- transformed items from the `arr`.
-
-__Example__
-
-```js
-async.map(['file1','file2','file3'], fs.stat, function(err, results){
- // results is now an array of stats for each file
-});
-```
-
----------------------------------------
-
-<a name="mapSeries" />
-### mapSeries(arr, iterator, callback)
-
-The same as [`map`](#map), only the `iterator` is applied to each item in `arr` in
-series. The next `iterator` is only called once the current one has completed.
-The results array will be in the same order as the original.
-
-
----------------------------------------
-
-<a name="mapLimit" />
-### mapLimit(arr, limit, iterator, callback)
-
-The same as [`map`](#map), only no more than `limit` `iterator`s will be simultaneously
-running at any time.
-
-Note that the items are not processed in batches, so there is no guarantee that
-the first `limit` `iterator` functions will complete before any others are started.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `limit` - The maximum number of `iterator`s to run at any time.
-* `iterator(item, callback)` - A function to apply to each item in `arr`.
- The iterator is passed a `callback(err, transformed)` which must be called once
- it has completed with an error (which can be `null`) and a transformed item.
-* `callback(err, results)` - A callback which is called when all `iterator`
- calls have finished, or an error occurs. The result is an array of the
- transformed items from the original `arr`.
-
-__Example__
-
-```js
-async.mapLimit(['file1','file2','file3'], 1, fs.stat, function(err, results){
- // results is now an array of stats for each file
-});
-```
-
----------------------------------------
-
-<a name="select" />
-<a name="filter" />
-### filter(arr, iterator, callback)
-
-__Alias:__ `select`
-
-Returns a new array of all the values in `arr` which pass an async truth test.
-_The callback for each `iterator` call only accepts a single argument of `true` or
-`false`; it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like `fs.exists`. This operation is
-performed in parallel, but the results array will be in the same order as the
-original.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `iterator(item, callback)` - A truth test to apply to each item in `arr`.
- The `iterator` is passed a `callback(truthValue)`, which must be called with a
- boolean argument once it has completed.
-* `callback(results)` - A callback which is called after all the `iterator`
- functions have finished.
-
-__Example__
-
-```js
-async.filter(['file1','file2','file3'], fs.exists, function(results){
- // results now equals an array of the existing files
-});
-```
-
----------------------------------------
-
-<a name="selectSeries" />
-<a name="filterSeries" />
-### filterSeries(arr, iterator, callback)
-
-__Alias:__ `selectSeries`
-
-The same as [`filter`](#filter) only the `iterator` is applied to each item in `arr` in
-series. The next `iterator` is only called once the current one has completed.
-The results array will be in the same order as the original.
-
----------------------------------------
-
-<a name="reject" />
-### reject(arr, iterator, callback)
-
-The opposite of [`filter`](#filter). Removes values that pass an `async` truth test.
-
----------------------------------------
-
-<a name="rejectSeries" />
-### rejectSeries(arr, iterator, callback)
-
-The same as [`reject`](#reject), only the `iterator` is applied to each item in `arr`
-in series.
-
-
----------------------------------------
-
-<a name="reduce" />
-### reduce(arr, memo, iterator, callback)
-
-__Aliases:__ `inject`, `foldl`
-
-Reduces `arr` into a single value using an async `iterator` to return
-each successive step. `memo` is the initial state of the reduction.
-This function only operates in series.
-
-For performance reasons, it may make sense to split a call to this function into
-a parallel map, and then use the normal `Array.prototype.reduce` on the results.
-This function is for situations where each step in the reduction needs to be async;
-if you can get the data before reducing it, then it's probably a good idea to do so.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `memo` - The initial state of the reduction.
-* `iterator(memo, item, callback)` - A function applied to each item in the
- array to produce the next step in the reduction. The `iterator` is passed a
- `callback(err, reduction)` which accepts an optional error as its first
- argument, and the state of the reduction as the second. If an error is
- passed to the callback, the reduction is stopped and the main `callback` is
- immediately called with the error.
-* `callback(err, result)` - A callback which is called after all the `iterator`
- functions have finished. Result is the reduced value.
-
-__Example__
-
-```js
-async.reduce([1,2,3], 0, function(memo, item, callback){
- // pointless async:
- process.nextTick(function(){
- callback(null, memo + item)
- });
-}, function(err, result){
- // result is now equal to the last value of memo, which is 6
-});
-```
-
----------------------------------------
-
-<a name="reduceRight" />
-### reduceRight(arr, memo, iterator, callback)
-
-__Alias:__ `foldr`
-
-Same as [`reduce`](#reduce), only operates on `arr` in reverse order.
-
-
----------------------------------------
-
-<a name="detect" />
-### detect(arr, iterator, callback)
-
-Returns the first value in `arr` that passes an async truth test. The
-`iterator` is applied in parallel, meaning the first iterator to return `true` will
-fire the detect `callback` with that result. That means the result might not be
-the first item in the original `arr` (in terms of order) that passes the test.
-
-If order within the original `arr` is important, then look at [`detectSeries`](#detectSeries).
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `iterator(item, callback)` - A truth test to apply to each item in `arr`.
- The iterator is passed a `callback(truthValue)` which must be called with a
- boolean argument once it has completed.
-* `callback(result)` - A callback which is called as soon as any iterator returns
- `true`, or after all the `iterator` functions have finished. Result will be
- the first item in the array that passes the truth test (iterator) or the
- value `undefined` if none passed.
-
-__Example__
-
-```js
-async.detect(['file1','file2','file3'], fs.exists, function(result){
- // result now equals the first file in the list that exists
-});
-```
-
----------------------------------------
-
-<a name="detectSeries" />
-### detectSeries(arr, iterator, callback)
-
-The same as [`detect`](#detect), only the `iterator` is applied to each item in `arr`
-in series. This means the result is always the first in the original `arr` (in
-terms of array order) that passes the truth test.
-
-
----------------------------------------
-
-<a name="sortBy" />
-### sortBy(arr, iterator, callback)
-
-Sorts a list by the results of running each `arr` value through an async `iterator`.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `iterator(item, callback)` - A function to apply to each item in `arr`.
- The iterator is passed a `callback(err, sortValue)` which must be called once it
- has completed with an error (which can be `null`) and a value to use as the sort
- criteria.
-* `callback(err, results)` - A callback which is called after all the `iterator`
- functions have finished, or an error occurs. Results is the items from
- the original `arr` sorted by the values returned by the `iterator` calls.
-
-__Example__
-
-```js
-async.sortBy(['file1','file2','file3'], function(file, callback){
- fs.stat(file, function(err, stats){
- callback(err, stats.mtime);
- });
-}, function(err, results){
- // results is now the original array of files sorted by
- // modified date
-});
-```
-
-__Sort Order__
-
-By modifying the callback parameter the sorting order can be influenced:
-
-```js
-//ascending order
-async.sortBy([1,9,3,5], function(x, callback){
- callback(null, x);
-}, function(err,result){
- //result callback
-} );
-
-//descending order
-async.sortBy([1,9,3,5], function(x, callback){
- callback(null, x*-1); //<- x*-1 instead of x, turns the order around
-}, function(err,result){
- //result callback
-} );
-```
-
----------------------------------------
-
-<a name="some" />
-### some(arr, iterator, callback)
-
-__Alias:__ `any`
-
-Returns `true` if at least one element in the `arr` satisfies an async test.
-_The callback for each iterator call only accepts a single argument of `true` or
-`false`; it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like `fs.exists`. Once any iterator
-call returns `true`, the main `callback` is immediately called.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `iterator(item, callback)` - A truth test to apply to each item in the array
- in parallel. The iterator is passed a callback(truthValue) which must be
- called with a boolean argument once it has completed.
-* `callback(result)` - A callback which is called as soon as any iterator returns
- `true`, or after all the iterator functions have finished. Result will be
- either `true` or `false` depending on the values of the async tests.
-
-__Example__
-
-```js
-async.some(['file1','file2','file3'], fs.exists, function(result){
- // if result is true then at least one of the files exists
-});
-```
-
----------------------------------------
-
-<a name="every" />
-### every(arr, iterator, callback)
-
-__Alias:__ `all`
-
-Returns `true` if every element in `arr` satisfies an async test.
-_The callback for each `iterator` call only accepts a single argument of `true` or
-`false`; it does not accept an error argument first!_ This is in-line with the
-way node libraries work with truth tests like `fs.exists`.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `iterator(item, callback)` - A truth test to apply to each item in the array
- in parallel. The iterator is passed a callback(truthValue) which must be
- called with a boolean argument once it has completed.
-* `callback(result)` - A callback which is called after all the `iterator`
- functions have finished. Result will be either `true` or `false` depending on
- the values of the async tests.
-
-__Example__
-
-```js
-async.every(['file1','file2','file3'], fs.exists, function(result){
- // if result is true then every file exists
-});
-```
-
----------------------------------------
-
-<a name="concat" />
-### concat(arr, iterator, callback)
-
-Applies `iterator` to each item in `arr`, concatenating the results. Returns the
-concatenated list. The `iterator`s are called in parallel, and the results are
-concatenated as they return. There is no guarantee that the results array will
-be returned in the original order of `arr` passed to the `iterator` function.
-
-__Arguments__
-
-* `arr` - An array to iterate over.
-* `iterator(item, callback)` - A function to apply to each item in `arr`.
- The iterator is passed a `callback(err, results)` which must be called once it
- has completed with an error (which can be `null`) and an array of results.
-* `callback(err, results)` - A callback which is called after all the `iterator`
- functions have finished, or an error occurs. Results is an array containing
- the concatenated results of the `iterator` function.
-
-__Example__
-
-```js
-async.concat(['dir1','dir2','dir3'], fs.readdir, function(err, files){
- // files is now a list of filenames that exist in the 3 directories
-});
-```
-
----------------------------------------
-
-<a name="concatSeries" />
-### concatSeries(arr, iterator, callback)
-
-Same as [`concat`](#concat), but executes in series instead of parallel.
-
-
-## Control Flow
-
-<a name="series" />
-### series(tasks, [callback])
-
-Run the functions in the `tasks` array in series, each one running once the previous
-function has completed. If any functions in the series pass an error to its
-callback, no more functions are run, and `callback` is immediately called with the value of the error.
-Otherwise, `callback` receives an array of results when `tasks` have completed.
-
-It is also possible to use an object instead of an array. Each property will be
-run as a function, and the results will be passed to the final `callback` as an object
-instead of an array. This can be a more readable way of handling results from
-[`series`](#series).
-
-**Note** that while many implementations preserve the order of object properties, the
-[ECMAScript Language Specifcation](http://www.ecma-international.org/ecma-262/5.1/#sec-8.6)
-explicitly states that
-
-> The mechanics and order of enumerating the properties is not specified.
-
-So if you rely on the order in which your series of functions are executed, and want
-this to work on all platforms, consider using an array.
-
-__Arguments__
-
-* `tasks` - An array or object containing functions to run, each function is passed
- a `callback(err, result)` it must call on completion with an error `err` (which can
- be `null`) and an optional `result` value.
-* `callback(err, results)` - An optional callback to run once all the functions
- have completed. This function gets a results array (or object) containing all
- the result arguments passed to the `task` callbacks.
-
-__Example__
-
-```js
-async.series([
- function(callback){
- // do some stuff ...
- callback(null, 'one');
- },
- function(callback){
- // do some more stuff ...
- callback(null, 'two');
- }
-],
-// optional callback
-function(err, results){
- // results is now equal to ['one', 'two']
-});
-
-
-// an example using an object instead of an array
-async.series({
- one: function(callback){
- setTimeout(function(){
- callback(null, 1);
- }, 200);
- },
- two: function(callback){
- setTimeout(function(){
- callback(null, 2);
- }, 100);
- }
-},
-function(err, results) {
- // results is now equal to: {one: 1, two: 2}
-});
-```
-
----------------------------------------
-
-<a name="parallel" />
-### parallel(tasks, [callback])
-
-Run the `tasks` array of functions in parallel, without waiting until the previous
-function has completed. If any of the functions pass an error to its
-callback, the main `callback` is immediately called with the value of the error.
-Once the `tasks` have completed, the results are passed to the final `callback` as an
-array.
-
-It is also possible to use an object instead of an array. Each property will be
-run as a function and the results will be passed to the final `callback` as an object
-instead of an array. This can be a more readable way of handling results from
-[`parallel`](#parallel).
-
-
-__Arguments__
-
-* `tasks` - An array or object containing functions to run. Each function is passed
- a `callback(err, result)` which it must call on completion with an error `err`
- (which can be `null`) and an optional `result` value.
-* `callback(err, results)` - An optional callback to run once all the functions
- have completed. This function gets a results array (or object) containing all
- the result arguments passed to the task callbacks.
-
-__Example__
-
-```js
-async.parallel([
- function(callback){
- setTimeout(function(){
- callback(null, 'one');
- }, 200);
- },
- function(callback){
- setTimeout(function(){
- callback(null, 'two');
- }, 100);
- }
-],
-// optional callback
-function(err, results){
- // the results array will equal ['one','two'] even though
- // the second function had a shorter timeout.
-});
-
-
-// an example using an object instead of an array
-async.parallel({
- one: function(callback){
- setTimeout(function(){
- callback(null, 1);
- }, 200);
- },
- two: function(callback){
- setTimeout(function(){
- callback(null, 2);
- }, 100);
- }
-},
-function(err, results) {
- // results is now equals to: {one: 1, two: 2}
-});
-```
-
----------------------------------------
-
-<a name="parallelLimit" />
-### parallelLimit(tasks, limit, [callback])
-
-The same as [`parallel`](#parallel), only `tasks` are executed in parallel
-with a maximum of `limit` tasks executing at any time.
-
-Note that the `tasks` are not executed in batches, so there is no guarantee that
-the first `limit` tasks will complete before any others are started.
-
-__Arguments__
-
-* `tasks` - An array or object containing functions to run, each function is passed
- a `callback(err, result)` it must call on completion with an error `err` (which can
- be `null`) and an optional `result` value.
-* `limit` - The maximum number of `tasks` to run at any time.
-* `callback(err, results)` - An optional callback to run once all the functions
- have completed. This function gets a results array (or object) containing all
- the result arguments passed to the `task` callbacks.
-
----------------------------------------
-
-<a name="whilst" />
-### whilst(test, fn, callback)
-
-Repeatedly call `fn`, while `test` returns `true`. Calls `callback` when stopped,
-or an error occurs.
-
-__Arguments__
-
-* `test()` - synchronous truth test to perform before each execution of `fn`.
-* `fn(callback)` - A function which is called each time `test` passes. The function is
- passed a `callback(err)`, which must be called once it has completed with an
- optional `err` argument.
-* `callback(err)` - A callback which is called after the test fails and repeated
- execution of `fn` has stopped.
-
-__Example__
-
-```js
-var count = 0;
-
-async.whilst(
- function () { return count < 5; },
- function (callback) {
- count++;
- setTimeout(callback, 1000);
- },
- function (err) {
- // 5 seconds have passed
- }
-);
-```
-
----------------------------------------
-
-<a name="doWhilst" />
-### doWhilst(fn, test, callback)
-
-The post-check version of [`whilst`](#whilst). To reflect the difference in
-the order of operations, the arguments `test` and `fn` are switched.
-
-`doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript.
-
----------------------------------------
-
-<a name="until" />
-### until(test, fn, callback)
-
-Repeatedly call `fn` until `test` returns `true`. Calls `callback` when stopped,
-or an error occurs.
-
-The inverse of [`whilst`](#whilst).
-
----------------------------------------
-
-<a name="doUntil" />
-### doUntil(fn, test, callback)
-
-Like [`doWhilst`](#doWhilst), except the `test` is inverted. Note the argument ordering differs from `until`.
-
----------------------------------------
-
-<a name="forever" />
-### forever(fn, errback)
-
-Calls the asynchronous function `fn` with a callback parameter that allows it to
-call itself again, in series, indefinitely.
-
-If an error is passed to the callback then `errback` is called with the
-error, and execution stops, otherwise it will never be called.
-
-```js
-async.forever(
- function(next) {
- // next is suitable for passing to things that need a callback(err [, whatever]);
- // it will result in this function being called again.
- },
- function(err) {
- // if next is called with a value in its first parameter, it will appear
- // in here as 'err', and execution will stop.
- }
-);
-```
-
----------------------------------------
-
-<a name="waterfall" />
-### waterfall(tasks, [callback])
-
-Runs the `tasks` array of functions in series, each passing their results to the next in
-the array. However, if any of the `tasks` pass an error to their own callback, the
-next function is not executed, and the main `callback` is immediately called with
-the error.
-
-__Arguments__
-
-* `tasks` - An array of functions to run, each function is passed a
- `callback(err, result1, result2, ...)` it must call on completion. The first
- argument is an error (which can be `null`) and any further arguments will be
- passed as arguments in order to the next task.
-* `callback(err, [results])` - An optional callback to run once all the functions
- have completed. This will be passed the results of the last task's callback.
-
-
-
-__Example__
-
-```js
-async.waterfall([
- function(callback) {
- callback(null, 'one', 'two');
- },
- function(arg1, arg2, callback) {
- // arg1 now equals 'one' and arg2 now equals 'two'
- callback(null, 'three');
- },
- function(arg1, callback) {
- // arg1 now equals 'three'
- callback(null, 'done');
- }
-], function (err, result) {
- // result now equals 'done'
-});
-```
-
----------------------------------------
-<a name="compose" />
-### compose(fn1, fn2...)
-
-Creates a function which is a composition of the passed asynchronous
-functions. Each function consumes the return value of the function that
-follows. Composing functions `f()`, `g()`, and `h()` would produce the result of
-`f(g(h()))`, only this version uses callbacks to obtain the return values.
-
-Each function is executed with the `this` binding of the composed function.
-
-__Arguments__
-
-* `functions...` - the asynchronous functions to compose
-
-
-__Example__
-
-```js
-function add1(n, callback) {
- setTimeout(function () {
- callback(null, n + 1);
- }, 10);
-}
-
-function mul3(n, callback) {
- setTimeout(function () {
- callback(null, n * 3);
- }, 10);
-}
-
-var add1mul3 = async.compose(mul3, add1);
-
-add1mul3(4, function (err, result) {
- // result now equals 15
-});
-```
-
----------------------------------------
-<a name="seq" />
-### seq(fn1, fn2...)
-
-Version of the compose function that is more natural to read.
-Each function consumes the return value of the previous function.
-It is the equivalent of [`compose`](#compose) with the arguments reversed.
-
-Each function is executed with the `this` binding of the composed function.
-
-__Arguments__
-
-* functions... - the asynchronous functions to compose
-
-
-__Example__
-
-```js
-// Requires lodash (or underscore), express3 and dresende's orm2.
-// Part of an app, that fetches cats of the logged user.
-// This example uses `seq` function to avoid overnesting and error
-// handling clutter.
-app.get('/cats', function(request, response) {
- var User = request.models.User;
- async.seq(
- _.bind(User.get, User), // 'User.get' has signature (id, callback(err, data))
- function(user, fn) {
- user.getCats(fn); // 'getCats' has signature (callback(err, data))
- }
- )(req.session.user_id, function (err, cats) {
- if (err) {
- console.error(err);
- response.json({ status: 'error', message: err.message });
- } else {
- response.json({ status: 'ok', message: 'Cats found', data: cats });
- }
- });
-});
-```
-
----------------------------------------
-<a name="applyEach" />
-### applyEach(fns, args..., callback)
-
-Applies the provided arguments to each function in the array, calling
-`callback` after all functions have completed. If you only provide the first
-argument, then it will return a function which lets you pass in the
-arguments as if it were a single function call.
-
-__Arguments__
-
-* `fns` - the asynchronous functions to all call with the same arguments
-* `args...` - any number of separate arguments to pass to the function
-* `callback` - the final argument should be the callback, called when all
- functions have completed processing
-
-
-__Example__
-
-```js
-async.applyEach([enableSearch, updateSchema], 'bucket', callback);
-
-// partial application example:
-async.each(
- buckets,
- async.applyEach([enableSearch, updateSchema]),
- callback
-);
-```
-
----------------------------------------
-
-<a name="applyEachSeries" />
-### applyEachSeries(arr, iterator, callback)
-
-The same as [`applyEach`](#applyEach) only the functions are applied in series.
-
----------------------------------------
-
-<a name="queue" />
-### queue(worker, concurrency)
-
-Creates a `queue` object with the specified `concurrency`. Tasks added to the
-`queue` are processed in parallel (up to the `concurrency` limit). If all
-`worker`s are in progress, the task is queued until one becomes available.
-Once a `worker` completes a `task`, that `task`'s callback is called.
-
-__Arguments__
-
-* `worker(task, callback)` - An asynchronous function for processing a queued
- task, which must call its `callback(err)` argument when finished, with an
- optional `error` as an argument.
-* `concurrency` - An `integer` for determining how many `worker` functions should be
- run in parallel.
-
-__Queue objects__
-
-The `queue` object returned by this function has the following properties and
-methods:
-
-* `length()` - a function returning the number of items waiting to be processed.
-* `started` - a function returning whether or not any items have been pushed and processed by the queue
-* `running()` - a function returning the number of items currently being processed.
-* `idle()` - a function returning false if there are items waiting or being processed, or true if not.
-* `concurrency` - an integer for determining how many `worker` functions should be
- run in parallel. This property can be changed after a `queue` is created to
- alter the concurrency on-the-fly.
-* `push(task, [callback])` - add a new task to the `queue`. Calls `callback` once
- the `worker` has finished processing the task. Instead of a single task, a `tasks` array
- can be submitted. The respective callback is used for every task in the list.
-* `unshift(task, [callback])` - add a new task to the front of the `queue`.
-* `saturated` - a callback that is called when the `queue` length hits the `concurrency` limit,
- and further tasks will be queued.
-* `empty` - a callback that is called when the last item from the `queue` is given to a `worker`.
-* `drain` - a callback that is called when the last item from the `queue` has returned from the `worker`.
-* `paused` - a boolean for determining whether the queue is in a paused state
-* `pause()` - a function that pauses the processing of tasks until `resume()` is called.
-* `resume()` - a function that resumes the processing of queued tasks when the queue is paused.
-* `kill()` - a function that removes the `drain` callback and empties remaining tasks from the queue forcing it to go idle.
-
-__Example__
-
-```js
-// create a queue object with concurrency 2
-
-var q = async.queue(function (task, callback) {
- console.log('hello ' + task.name);
- callback();
-}, 2);
-
-
-// assign a callback
-q.drain = function() {
- console.log('all items have been processed');
-}
-
-// add some items to the queue
-
-q.push({name: 'foo'}, function (err) {
- console.log('finished processing foo');
-});
-q.push({name: 'bar'}, function (err) {
- console.log('finished processing bar');
-});
-
-// add some items to the queue (batch-wise)
-
-q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function (err) {
- console.log('finished processing item');
-});
-
-// add some items to the front of the queue
-
-q.unshift({name: 'bar'}, function (err) {
- console.log('finished processing bar');
-});
-```
-
-
----------------------------------------
-
-<a name="priorityQueue" />
-### priorityQueue(worker, concurrency)
-
-The same as [`queue`](#queue) only tasks are assigned a priority and completed in ascending priority order. There are two differences between `queue` and `priorityQueue` objects:
-
-* `push(task, priority, [callback])` - `priority` should be a number. If an array of
- `tasks` is given, all tasks will be assigned the same priority.
-* The `unshift` method was removed.
-
----------------------------------------
-
-<a name="cargo" />
-### cargo(worker, [payload])
-
-Creates a `cargo` object with the specified payload. Tasks added to the
-cargo will be processed altogether (up to the `payload` limit). If the
-`worker` is in progress, the task is queued until it becomes available. Once
-the `worker` has completed some tasks, each callback of those tasks is called.
-Check out [this animation](https://camo.githubusercontent.com/6bbd36f4cf5b35a0f11a96dcd2e97711ffc2fb37/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130382f62626330636662302d356632392d313165322d393734662d3333393763363464633835382e676966) for how `cargo` and `queue` work.
-
-While [queue](#queue) passes only one task to one of a group of workers
-at a time, cargo passes an array of tasks to a single worker, repeating
-when the worker is finished.
-
-__Arguments__
-
-* `worker(tasks, callback)` - An asynchronous function for processing an array of
- queued tasks, which must call its `callback(err)` argument when finished, with
- an optional `err` argument.
-* `payload` - An optional `integer` for determining how many tasks should be
- processed per round; if omitted, the default is unlimited.
-
-__Cargo objects__
-
-The `cargo` object returned by this function has the following properties and
-methods:
-
-* `length()` - A function returning the number of items waiting to be processed.
-* `payload` - An `integer` for determining how many tasks should be
- process per round. This property can be changed after a `cargo` is created to
- alter the payload on-the-fly.
-* `push(task, [callback])` - Adds `task` to the `queue`. The callback is called
- once the `worker` has finished processing the task. Instead of a single task, an array of `tasks`
- can be submitted. The respective callback is used for every task in the list.
-* `saturated` - A callback that is called when the `queue.length()` hits the concurrency and further tasks will be queued.
-* `empty` - A callback that is called when the last item from the `queue` is given to a `worker`.
-* `drain` - A callback that is called when the last item from the `queue` has returned from the `worker`.
-
-__Example__
-
-```js
-// create a cargo object with payload 2
-
-var cargo = async.cargo(function (tasks, callback) {
- for(var i=0; i<tasks.length; i++){
- console.log('hello ' + tasks[i].name);
- }
- callback();
-}, 2);
-
-
-// add some items
-
-cargo.push({name: 'foo'}, function (err) {
- console.log('finished processing foo');
-});
-cargo.push({name: 'bar'}, function (err) {
- console.log('finished processing bar');
-});
-cargo.push({name: 'baz'}, function (err) {
- console.log('finished processing baz');
-});
-```
-
----------------------------------------
-
-<a name="auto" />
-### auto(tasks, [callback])
-
-Determines the best order for running the functions in `tasks`, based on their
-requirements. Each function can optionally depend on other functions being completed
-first, and each function is run as soon as its requirements are satisfied.
-
-If any of the functions pass an error to their callback, it will not
-complete (so any other functions depending on it will not run), and the main
-`callback` is immediately called with the error. Functions also receive an
-object containing the results of functions which have completed so far.
-
-Note, all functions are called with a `results` object as a second argument,
-so it is unsafe to pass functions in the `tasks` object which cannot handle the
-extra argument.
-
-For example, this snippet of code:
-
-```js
-async.auto({
- readData: async.apply(fs.readFile, 'data.txt', 'utf-8')
-}, callback);
-```
-
-will have the effect of calling `readFile` with the results object as the last
-argument, which will fail:
-
-```js
-fs.readFile('data.txt', 'utf-8', cb, {});
-```
-
-Instead, wrap the call to `readFile` in a function which does not forward the
-`results` object:
-
-```js
-async.auto({
- readData: function(cb, results){
- fs.readFile('data.txt', 'utf-8', cb);
- }
-}, callback);
-```
-
-__Arguments__
-
-* `tasks` - An object. Each of its properties is either a function or an array of
- requirements, with the function itself the last item in the array. The object's key
- of a property serves as the name of the task defined by that property,
- i.e. can be used when specifying requirements for other tasks.
- The function receives two arguments: (1) a `callback(err, result)` which must be
- called when finished, passing an `error` (which can be `null`) and the result of
- the function's execution, and (2) a `results` object, containing the results of
- the previously executed functions.
-* `callback(err, results)` - An optional callback which is called when all the
- tasks have been completed. It receives the `err` argument if any `tasks`
- pass an error to their callback. Results are always returned; however, if
- an error occurs, no further `tasks` will be performed, and the results
- object will only contain partial results.
-
-
-__Example__
-
-```js
-async.auto({
- get_data: function(callback){
- console.log('in get_data');
- // async code to get some data
- callback(null, 'data', 'converted to array');
- },
- make_folder: function(callback){
- console.log('in make_folder');
- // async code to create a directory to store a file in
- // this is run at the same time as getting the data
- callback(null, 'folder');
- },
- write_file: ['get_data', 'make_folder', function(callback, results){
- console.log('in write_file', JSON.stringify(results));
- // once there is some data and the directory exists,
- // write the data to a file in the directory
- callback(null, 'filename');
- }],
- email_link: ['write_file', function(callback, results){
- console.log('in email_link', JSON.stringify(results));
- // once the file is written let's email a link to it...
- // results.write_file contains the filename returned by write_file.
- callback(null, {'file':results.write_file, 'email':'user@example.com'});
- }]
-}, function(err, results) {
- console.log('err = ', err);
- console.log('results = ', results);
-});
-```
-
-This is a fairly trivial example, but to do this using the basic parallel and
-series functions would look like this:
-
-```js
-async.parallel([
- function(callback){
- console.log('in get_data');
- // async code to get some data
- callback(null, 'data', 'converted to array');
- },
- function(callback){
- console.log('in make_folder');
- // async code to create a directory to store a file in
- // this is run at the same time as getting the data
- callback(null, 'folder');
- }
-],
-function(err, results){
- async.series([
- function(callback){
- console.log('in write_file', JSON.stringify(results));
- // once there is some data and the directory exists,
- // write the data to a file in the directory
- results.push('filename');
- callback(null);
- },
- function(callback){
- console.log('in email_link', JSON.stringify(results));
- // once the file is written let's email a link to it...
- callback(null, {'file':results.pop(), 'email':'user@example.com'});
- }
- ]);
-});
-```
-
-For a complicated series of `async` tasks, using the [`auto`](#auto) function makes adding
-new tasks much easier (and the code more readable).
-
-
----------------------------------------
-
-<a name="retry" />
-### retry([times = 5], task, [callback])
-
-Attempts to get a successful response from `task` no more than `times` times before
-returning an error. If the task is successful, the `callback` will be passed the result
-of the successful task. If all attempts fail, the callback will be passed the error and
-result (if any) of the final attempt.
-
-__Arguments__
-
-* `times` - An integer indicating how many times to attempt the `task` before giving up. Defaults to 5.
-* `task(callback, results)` - A function which receives two arguments: (1) a `callback(err, result)`
- which must be called when finished, passing `err` (which can be `null`) and the `result` of
- the function's execution, and (2) a `results` object, containing the results of
- the previously executed functions (if nested inside another control flow).
-* `callback(err, results)` - An optional callback which is called when the
- task has succeeded, or after the final failed attempt. It receives the `err` and `result` arguments of the last attempt at completing the `task`.
-
-The [`retry`](#retry) function can be used as a stand-alone control flow by passing a
-callback, as shown below:
-
-```js
-async.retry(3, apiMethod, function(err, result) {
- // do something with the result
-});
-```
-
-It can also be embeded within other control flow functions to retry individual methods
-that are not as reliable, like this:
-
-```js
-async.auto({
- users: api.getUsers.bind(api),
- payments: async.retry(3, api.getPayments.bind(api))
-}, function(err, results) {
- // do something with the results
-});
-```
-
-
----------------------------------------
-
-<a name="iterator" />
-### iterator(tasks)
-
-Creates an iterator function which calls the next function in the `tasks` array,
-returning a continuation to call the next one after that. It's also possible to
-“peek” at the next iterator with `iterator.next()`.
-
-This function is used internally by the `async` module, but can be useful when
-you want to manually control the flow of functions in series.
-
-__Arguments__
-
-* `tasks` - An array of functions to run.
-
-__Example__
-
-```js
-var iterator = async.iterator([
- function(){ sys.p('one'); },
- function(){ sys.p('two'); },
- function(){ sys.p('three'); }
-]);
-
-node> var iterator2 = iterator();
-'one'
-node> var iterator3 = iterator2();
-'two'
-node> iterator3();
-'three'
-node> var nextfn = iterator2.next();
-node> nextfn();
-'three'
-```
-
----------------------------------------
-
-<a name="apply" />
-### apply(function, arguments..)
-
-Creates a continuation function with some arguments already applied.
-
-Useful as a shorthand when combined with other control flow functions. Any arguments
-passed to the returned function are added to the arguments originally passed
-to apply.
-
-__Arguments__
-
-* `function` - The function you want to eventually apply all arguments to.
-* `arguments...` - Any number of arguments to automatically apply when the
- continuation is called.
-
-__Example__
-
-```js
-// using apply
-
-async.parallel([
- async.apply(fs.writeFile, 'testfile1', 'test1'),
- async.apply(fs.writeFile, 'testfile2', 'test2'),
-]);
-
-
-// the same process without using apply
-
-async.parallel([
- function(callback){
- fs.writeFile('testfile1', 'test1', callback);
- },
- function(callback){
- fs.writeFile('testfile2', 'test2', callback);
- }
-]);
-```
-
-It's possible to pass any number of additional arguments when calling the
-continuation:
-
-```js
-node> var fn = async.apply(sys.puts, 'one');
-node> fn('two', 'three');
-one
-two
-three
-```
-
----------------------------------------
-
-<a name="nextTick" />
-### nextTick(callback), setImmediate(callback)
-
-Calls `callback` on a later loop around the event loop. In Node.js this just
-calls `process.nextTick`; in the browser it falls back to `setImmediate(callback)`
-if available, otherwise `setTimeout(callback, 0)`, which means other higher priority
-events may precede the execution of `callback`.
-
-This is used internally for browser-compatibility purposes.
-
-__Arguments__
-
-* `callback` - The function to call on a later loop around the event loop.
-
-__Example__
-
-```js
-var call_order = [];
-async.nextTick(function(){
- call_order.push('two');
- // call_order now equals ['one','two']
-});
-call_order.push('one')
-```
-
-<a name="times" />
-### times(n, callback)
-
-Calls the `callback` function `n` times, and accumulates results in the same manner
-you would use with [`map`](#map).
-
-__Arguments__
-
-* `n` - The number of times to run the function.
-* `callback` - The function to call `n` times.
-
-__Example__
-
-```js
-// Pretend this is some complicated async factory
-var createUser = function(id, callback) {
- callback(null, {
- id: 'user' + id
- })
-}
-// generate 5 users
-async.times(5, function(n, next){
- createUser(n, function(err, user) {
- next(err, user)
- })
-}, function(err, users) {
- // we should now have 5 users
-});
-```
-
-<a name="timesSeries" />
-### timesSeries(n, callback)
-
-The same as [`times`](#times), only the iterator is applied to each item in `arr` in
-series. The next `iterator` is only called once the current one has completed.
-The results array will be in the same order as the original.
-
-
-## Utils
-
-<a name="memoize" />
-### memoize(fn, [hasher])
-
-Caches the results of an `async` function. When creating a hash to store function
-results against, the callback is omitted from the hash and an optional hash
-function can be used.
-
-The cache of results is exposed as the `memo` property of the function returned
-by `memoize`.
-
-__Arguments__
-
-* `fn` - The function to proxy and cache results from.
-* `hasher` - Tn optional function for generating a custom hash for storing
- results. It has all the arguments applied to it apart from the callback, and
- must be synchronous.
-
-__Example__
-
-```js
-var slow_fn = function (name, callback) {
- // do something
- callback(null, result);
-};
-var fn = async.memoize(slow_fn);
-
-// fn can now be used as if it were slow_fn
-fn('some name', function () {
- // callback
-});
-```
-
-<a name="unmemoize" />
-### unmemoize(fn)
-
-Undoes a [`memoize`](#memoize)d function, reverting it to the original, unmemoized
-form. Handy for testing.
-
-__Arguments__
-
-* `fn` - the memoized function
-
-<a name="log" />
-### log(function, arguments)
-
-Logs the result of an `async` function to the `console`. Only works in Node.js or
-in browsers that support `console.log` and `console.error` (such as FF and Chrome).
-If multiple arguments are returned from the async function, `console.log` is
-called on each argument in order.
-
-__Arguments__
-
-* `function` - The function you want to eventually apply all arguments to.
-* `arguments...` - Any number of arguments to apply to the function.
-
-__Example__
-
-```js
-var hello = function(name, callback){
- setTimeout(function(){
- callback(null, 'hello ' + name);
- }, 1000);
-};
-```
-```js
-node> async.log(hello, 'world');
-'hello world'
-```
-
----------------------------------------
-
-<a name="dir" />
-### dir(function, arguments)
-
-Logs the result of an `async` function to the `console` using `console.dir` to
-display the properties of the resulting object. Only works in Node.js or
-in browsers that support `console.dir` and `console.error` (such as FF and Chrome).
-If multiple arguments are returned from the async function, `console.dir` is
-called on each argument in order.
-
-__Arguments__
-
-* `function` - The function you want to eventually apply all arguments to.
-* `arguments...` - Any number of arguments to apply to the function.
-
-__Example__
-
-```js
-var hello = function(name, callback){
- setTimeout(function(){
- callback(null, {hello: name});
- }, 1000);
-};
-```
-```js
-node> async.dir(hello, 'world');
-{hello: 'world'}
-```
-
----------------------------------------
-
-<a name="noConflict" />
-### noConflict()
-
-Changes the value of `async` back to its original value, returning a reference to the
-`async` object.
diff --git a/Server/node_modules/async/bower.json b/Server/node_modules/async/bower.json
deleted file mode 100644
index 1817688..0000000
--- a/Server/node_modules/async/bower.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "name": "async",
- "description": "Higher-order functions and common patterns for asynchronous code",
- "version": "0.9.2",
- "main": "lib/async.js",
- "keywords": [
- "async",
- "callback",
- "utility",
- "module"
- ],
- "license": "MIT",
- "repository": {
- "type": "git",
- "url": "https://github.com/caolan/async.git"
- },
- "devDependencies": {
- "nodeunit": ">0.0.0",
- "uglify-js": "1.2.x",
- "nodelint": ">0.0.0",
- "lodash": ">=2.4.1"
- },
- "moduleType": [
- "amd",
- "globals",
- "node"
- ],
- "ignore": [
- "**/.*",
- "node_modules",
- "bower_components",
- "test",
- "tests"
- ],
- "authors": [
- "Caolan McMahon"
- ]
-}
\ No newline at end of file
diff --git a/Server/node_modules/async/component.json b/Server/node_modules/async/component.json
deleted file mode 100644
index 5003a7c..0000000
--- a/Server/node_modules/async/component.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "name": "async",
- "description": "Higher-order functions and common patterns for asynchronous code",
- "version": "0.9.2",
- "keywords": [
- "async",
- "callback",
- "utility",
- "module"
- ],
- "license": "MIT",
- "repository": "caolan/async",
- "scripts": [
- "lib/async.js"
- ]
-}
\ No newline at end of file
diff --git a/Server/node_modules/async/lib/async.js b/Server/node_modules/async/lib/async.js
deleted file mode 100644
index 394c41c..0000000
--- a/Server/node_modules/async/lib/async.js
+++ /dev/null
@@ -1,1123 +0,0 @@
-/*!
- * async
- * https://github.com/caolan/async
- *
- * Copyright 2010-2014 Caolan McMahon
- * Released under the MIT license
- */
-/*jshint onevar: false, indent:4 */
-/*global setImmediate: false, setTimeout: false, console: false */
-(function () {
-
- var async = {};
-
- // global on the server, window in the browser
- var root, previous_async;
-
- root = this;
- if (root != null) {
- previous_async = root.async;
- }
-
- async.noConflict = function () {
- root.async = previous_async;
- return async;
- };
-
- function only_once(fn) {
- var called = false;
- return function() {
- if (called) throw new Error("Callback was already called.");
- called = true;
- fn.apply(root, arguments);
- }
- }
-
- //// cross-browser compatiblity functions ////
-
- var _toString = Object.prototype.toString;
-
- var _isArray = Array.isArray || function (obj) {
- return _toString.call(obj) === '[object Array]';
- };
-
- var _each = function (arr, iterator) {
- for (var i = 0; i < arr.length; i += 1) {
- iterator(arr[i], i, arr);
- }
- };
-
- var _map = function (arr, iterator) {
- if (arr.map) {
- return arr.map(iterator);
- }
- var results = [];
- _each(arr, function (x, i, a) {
- results.push(iterator(x, i, a));
- });
- return results;
- };
-
- var _reduce = function (arr, iterator, memo) {
- if (arr.reduce) {
- return arr.reduce(iterator, memo);
- }
- _each(arr, function (x, i, a) {
- memo = iterator(memo, x, i, a);
- });
- return memo;
- };
-
- var _keys = function (obj) {
- if (Object.keys) {
- return Object.keys(obj);
- }
- var keys = [];
- for (var k in obj) {
- if (obj.hasOwnProperty(k)) {
- keys.push(k);
- }
- }
- return keys;
- };
-
- //// exported async module functions ////
-
- //// nextTick implementation with browser-compatible fallback ////
- if (typeof process === 'undefined' || !(process.nextTick)) {
- if (typeof setImmediate === 'function') {
- async.nextTick = function (fn) {
- // not a direct alias for IE10 compatibility
- setImmediate(fn);
- };
- async.setImmediate = async.nextTick;
- }
- else {
- async.nextTick = function (fn) {
- setTimeout(fn, 0);
- };
- async.setImmediate = async.nextTick;
- }
- }
- else {
- async.nextTick = process.nextTick;
- if (typeof setImmediate !== 'undefined') {
- async.setImmediate = function (fn) {
- // not a direct alias for IE10 compatibility
- setImmediate(fn);
- };
- }
- else {
- async.setImmediate = async.nextTick;
- }
- }
-
- async.each = function (arr, iterator, callback) {
- callback = callback || function () {};
- if (!arr.length) {
- return callback();
- }
- var completed = 0;
- _each(arr, function (x) {
- iterator(x, only_once(done) );
- });
- function done(err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- completed += 1;
- if (completed >= arr.length) {
- callback();
- }
- }
- }
- };
- async.forEach = async.each;
-
- async.eachSeries = function (arr, iterator, callback) {
- callback = callback || function () {};
- if (!arr.length) {
- return callback();
- }
- var completed = 0;
- var iterate = function () {
- iterator(arr[completed], function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- completed += 1;
- if (completed >= arr.length) {
- callback();
- }
- else {
- iterate();
- }
- }
- });
- };
- iterate();
- };
- async.forEachSeries = async.eachSeries;
-
- async.eachLimit = function (arr, limit, iterator, callback) {
- var fn = _eachLimit(limit);
- fn.apply(null, [arr, iterator, callback]);
- };
- async.forEachLimit = async.eachLimit;
-
- var _eachLimit = function (limit) {
-
- return function (arr, iterator, callback) {
- callback = callback || function () {};
- if (!arr.length || limit <= 0) {
- return callback();
- }
- var completed = 0;
- var started = 0;
- var running = 0;
-
- (function replenish () {
- if (completed >= arr.length) {
- return callback();
- }
-
- while (running < limit && started < arr.length) {
- started += 1;
- running += 1;
- iterator(arr[started - 1], function (err) {
- if (err) {
- callback(err);
- callback = function () {};
- }
- else {
- completed += 1;
- running -= 1;
- if (completed >= arr.length) {
- callback();
- }
- else {
- replenish();
- }
- }
- });
- }
- })();
- };
- };
-
-
- var doParallel = function (fn) {
- return function () {
- var args = Array.prototype.slice.call(arguments);
- return fn.apply(null, [async.each].concat(args));
- };
- };
- var doParallelLimit = function(limit, fn) {
- return function () {
- var args = Array.prototype.slice.call(arguments);
- return fn.apply(null, [_eachLimit(limit)].concat(args));
- };
- };
- var doSeries = function (fn) {
- return function () {
- var args = Array.prototype.slice.call(arguments);
- return fn.apply(null, [async.eachSeries].concat(args));
- };
- };
-
-
- var _asyncMap = function (eachfn, arr, iterator, callback) {
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- if (!callback) {
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (err) {
- callback(err);
- });
- });
- } else {
- var results = [];
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (err, v) {
- results[x.index] = v;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
- async.map = doParallel(_asyncMap);
- async.mapSeries = doSeries(_asyncMap);
- async.mapLimit = function (arr, limit, iterator, callback) {
- return _mapLimit(limit)(arr, iterator, callback);
- };
-
- var _mapLimit = function(limit) {
- return doParallelLimit(limit, _asyncMap);
- };
-
- // reduce only has a series version, as doing reduce in parallel won't
- // work in many situations.
- async.reduce = function (arr, memo, iterator, callback) {
- async.eachSeries(arr, function (x, callback) {
- iterator(memo, x, function (err, v) {
- memo = v;
- callback(err);
- });
- }, function (err) {
- callback(err, memo);
- });
- };
- // inject alias
- async.inject = async.reduce;
- // foldl alias
- async.foldl = async.reduce;
-
- async.reduceRight = function (arr, memo, iterator, callback) {
- var reversed = _map(arr, function (x) {
- return x;
- }).reverse();
- async.reduce(reversed, memo, iterator, callback);
- };
- // foldr alias
- async.foldr = async.reduceRight;
-
- var _filter = function (eachfn, arr, iterator, callback) {
- var results = [];
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (v) {
- if (v) {
- results.push(x);
- }
- callback();
- });
- }, function (err) {
- callback(_map(results.sort(function (a, b) {
- return a.index - b.index;
- }), function (x) {
- return x.value;
- }));
- });
- };
- async.filter = doParallel(_filter);
- async.filterSeries = doSeries(_filter);
- // select alias
- async.select = async.filter;
- async.selectSeries = async.filterSeries;
-
- var _reject = function (eachfn, arr, iterator, callback) {
- var results = [];
- arr = _map(arr, function (x, i) {
- return {index: i, value: x};
- });
- eachfn(arr, function (x, callback) {
- iterator(x.value, function (v) {
- if (!v) {
- results.push(x);
- }
- callback();
- });
- }, function (err) {
- callback(_map(results.sort(function (a, b) {
- return a.index - b.index;
- }), function (x) {
- return x.value;
- }));
- });
- };
- async.reject = doParallel(_reject);
- async.rejectSeries = doSeries(_reject);
-
- var _detect = function (eachfn, arr, iterator, main_callback) {
- eachfn(arr, function (x, callback) {
- iterator(x, function (result) {
- if (result) {
- main_callback(x);
- main_callback = function () {};
- }
- else {
- callback();
- }
- });
- }, function (err) {
- main_callback();
- });
- };
- async.detect = doParallel(_detect);
- async.detectSeries = doSeries(_detect);
-
- async.some = function (arr, iterator, main_callback) {
- async.each(arr, function (x, callback) {
- iterator(x, function (v) {
- if (v) {
- main_callback(true);
- main_callback = function () {};
- }
- callback();
- });
- }, function (err) {
- main_callback(false);
- });
- };
- // any alias
- async.any = async.some;
-
- async.every = function (arr, iterator, main_callback) {
- async.each(arr, function (x, callback) {
- iterator(x, function (v) {
- if (!v) {
- main_callback(false);
- main_callback = function () {};
- }
- callback();
- });
- }, function (err) {
- main_callback(true);
- });
- };
- // all alias
- async.all = async.every;
-
- async.sortBy = function (arr, iterator, callback) {
- async.map(arr, function (x, callback) {
- iterator(x, function (err, criteria) {
- if (err) {
- callback(err);
- }
- else {
- callback(null, {value: x, criteria: criteria});
- }
- });
- }, function (err, results) {
- if (err) {
- return callback(err);
- }
- else {
- var fn = function (left, right) {
- var a = left.criteria, b = right.criteria;
- return a < b ? -1 : a > b ? 1 : 0;
- };
- callback(null, _map(results.sort(fn), function (x) {
- return x.value;
- }));
- }
- });
- };
-
- async.auto = function (tasks, callback) {
- callback = callback || function () {};
- var keys = _keys(tasks);
- var remainingTasks = keys.length
- if (!remainingTasks) {
- return callback();
- }
-
- var results = {};
-
- var listeners = [];
- var addListener = function (fn) {
- listeners.unshift(fn);
- };
- var removeListener = function (fn) {
- for (var i = 0; i < listeners.length; i += 1) {
- if (listeners[i] === fn) {
- listeners.splice(i, 1);
- return;
- }
- }
- };
- var taskComplete = function () {
- remainingTasks--
- _each(listeners.slice(0), function (fn) {
- fn();
- });
- };
-
- addListener(function () {
- if (!remainingTasks) {
- var theCallback = callback;
- // prevent final callback from calling itself if it errors
- callback = function () {};
-
- theCallback(null, results);
- }
- });
-
- _each(keys, function (k) {
- var task = _isArray(tasks[k]) ? tasks[k]: [tasks[k]];
- var taskCallback = function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- if (err) {
- var safeResults = {};
- _each(_keys(results), function(rkey) {
- safeResults[rkey] = results[rkey];
- });
- safeResults[k] = args;
- callback(err, safeResults);
- // stop subsequent errors hitting callback multiple times
- callback = function () {};
- }
- else {
- results[k] = args;
- async.setImmediate(taskComplete);
- }
- };
- var requires = task.slice(0, Math.abs(task.length - 1)) || [];
- var ready = function () {
- return _reduce(requires, function (a, x) {
- return (a && results.hasOwnProperty(x));
- }, true) && !results.hasOwnProperty(k);
- };
- if (ready()) {
- task[task.length - 1](taskCallback, results);
- }
- else {
- var listener = function () {
- if (ready()) {
- removeListener(listener);
- task[task.length - 1](taskCallback, results);
- }
- };
- addListener(listener);
- }
- });
- };
-
- async.retry = function(times, task, callback) {
- var DEFAULT_TIMES = 5;
- var attempts = [];
- // Use defaults if times not passed
- if (typeof times === 'function') {
- callback = task;
- task = times;
- times = DEFAULT_TIMES;
- }
- // Make sure times is a number
- times = parseInt(times, 10) || DEFAULT_TIMES;
- var wrappedTask = function(wrappedCallback, wrappedResults) {
- var retryAttempt = function(task, finalAttempt) {
- return function(seriesCallback) {
- task(function(err, result){
- seriesCallback(!err || finalAttempt, {err: err, result: result});
- }, wrappedResults);
- };
- };
- while (times) {
- attempts.push(retryAttempt(task, !(times-=1)));
- }
- async.series(attempts, function(done, data){
- data = data[data.length - 1];
- (wrappedCallback || callback)(data.err, data.result);
- });
- }
- // If a callback is passed, run this as a controll flow
- return callback ? wrappedTask() : wrappedTask
- };
-
- async.waterfall = function (tasks, callback) {
- callback = callback || function () {};
- if (!_isArray(tasks)) {
- var err = new Error('First argument to waterfall must be an array of functions');
- return callback(err);
- }
- if (!tasks.length) {
- return callback();
- }
- var wrapIterator = function (iterator) {
- return function (err) {
- if (err) {
- callback.apply(null, arguments);
- callback = function () {};
- }
- else {
- var args = Array.prototype.slice.call(arguments, 1);
- var next = iterator.next();
- if (next) {
- args.push(wrapIterator(next));
- }
- else {
- args.push(callback);
- }
- async.setImmediate(function () {
- iterator.apply(null, args);
- });
- }
- };
- };
- wrapIterator(async.iterator(tasks))();
- };
-
- var _parallel = function(eachfn, tasks, callback) {
- callback = callback || function () {};
- if (_isArray(tasks)) {
- eachfn.map(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- eachfn.each(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.parallel = function (tasks, callback) {
- _parallel({ map: async.map, each: async.each }, tasks, callback);
- };
-
- async.parallelLimit = function(tasks, limit, callback) {
- _parallel({ map: _mapLimit(limit), each: _eachLimit(limit) }, tasks, callback);
- };
-
- async.series = function (tasks, callback) {
- callback = callback || function () {};
- if (_isArray(tasks)) {
- async.mapSeries(tasks, function (fn, callback) {
- if (fn) {
- fn(function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- callback.call(null, err, args);
- });
- }
- }, callback);
- }
- else {
- var results = {};
- async.eachSeries(_keys(tasks), function (k, callback) {
- tasks[k](function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (args.length <= 1) {
- args = args[0];
- }
- results[k] = args;
- callback(err);
- });
- }, function (err) {
- callback(err, results);
- });
- }
- };
-
- async.iterator = function (tasks) {
- var makeCallback = function (index) {
- var fn = function () {
- if (tasks.length) {
- tasks[index].apply(null, arguments);
- }
- return fn.next();
- };
- fn.next = function () {
- return (index < tasks.length - 1) ? makeCallback(index + 1): null;
- };
- return fn;
- };
- return makeCallback(0);
- };
-
- async.apply = function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- return function () {
- return fn.apply(
- null, args.concat(Array.prototype.slice.call(arguments))
- );
- };
- };
-
- var _concat = function (eachfn, arr, fn, callback) {
- var r = [];
- eachfn(arr, function (x, cb) {
- fn(x, function (err, y) {
- r = r.concat(y || []);
- cb(err);
- });
- }, function (err) {
- callback(err, r);
- });
- };
- async.concat = doParallel(_concat);
- async.concatSeries = doSeries(_concat);
-
- async.whilst = function (test, iterator, callback) {
- if (test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.whilst(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.doWhilst = function (iterator, test, callback) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- var args = Array.prototype.slice.call(arguments, 1);
- if (test.apply(null, args)) {
- async.doWhilst(iterator, test, callback);
- }
- else {
- callback();
- }
- });
- };
-
- async.until = function (test, iterator, callback) {
- if (!test()) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- async.until(test, iterator, callback);
- });
- }
- else {
- callback();
- }
- };
-
- async.doUntil = function (iterator, test, callback) {
- iterator(function (err) {
- if (err) {
- return callback(err);
- }
- var args = Array.prototype.slice.call(arguments, 1);
- if (!test.apply(null, args)) {
- async.doUntil(iterator, test, callback);
- }
- else {
- callback();
- }
- });
- };
-
- async.queue = function (worker, concurrency) {
- if (concurrency === undefined) {
- concurrency = 1;
- }
- function _insert(q, data, pos, callback) {
- if (!q.started){
- q.started = true;
- }
- if (!_isArray(data)) {
- data = [data];
- }
- if(data.length == 0) {
- // call drain immediately if there are no tasks
- return async.setImmediate(function() {
- if (q.drain) {
- q.drain();
- }
- });
- }
- _each(data, function(task) {
- var item = {
- data: task,
- callback: typeof callback === 'function' ? callback : null
- };
-
- if (pos) {
- q.tasks.unshift(item);
- } else {
- q.tasks.push(item);
- }
-
- if (q.saturated && q.tasks.length === q.concurrency) {
- q.saturated();
- }
- async.setImmediate(q.process);
- });
- }
-
- var workers = 0;
- var q = {
- tasks: [],
- concurrency: concurrency,
- saturated: null,
- empty: null,
- drain: null,
- started: false,
- paused: false,
- push: function (data, callback) {
- _insert(q, data, false, callback);
- },
- kill: function () {
- q.drain = null;
- q.tasks = [];
- },
- unshift: function (data, callback) {
- _insert(q, data, true, callback);
- },
- process: function () {
- if (!q.paused && workers < q.concurrency && q.tasks.length) {
- var task = q.tasks.shift();
- if (q.empty && q.tasks.length === 0) {
- q.empty();
- }
- workers += 1;
- var next = function () {
- workers -= 1;
- if (task.callback) {
- task.callback.apply(task, arguments);
- }
- if (q.drain && q.tasks.length + workers === 0) {
- q.drain();
- }
- q.process();
- };
- var cb = only_once(next);
- worker(task.data, cb);
- }
- },
- length: function () {
- return q.tasks.length;
- },
- running: function () {
- return workers;
- },
- idle: function() {
- return q.tasks.length + workers === 0;
- },
- pause: function () {
- if (q.paused === true) { return; }
- q.paused = true;
- },
- resume: function () {
- if (q.paused === false) { return; }
- q.paused = false;
- // Need to call q.process once per concurrent
- // worker to preserve full concurrency after pause
- for (var w = 1; w <= q.concurrency; w++) {
- async.setImmediate(q.process);
- }
- }
- };
- return q;
- };
-
- async.priorityQueue = function (worker, concurrency) {
-
- function _compareTasks(a, b){
- return a.priority - b.priority;
- };
-
- function _binarySearch(sequence, item, compare) {
- var beg = -1,
- end = sequence.length - 1;
- while (beg < end) {
- var mid = beg + ((end - beg + 1) >>> 1);
- if (compare(item, sequence[mid]) >= 0) {
- beg = mid;
- } else {
- end = mid - 1;
- }
- }
- return beg;
- }
-
- function _insert(q, data, priority, callback) {
- if (!q.started){
- q.started = true;
- }
- if (!_isArray(data)) {
- data = [data];
- }
- if(data.length == 0) {
- // call drain immediately if there are no tasks
- return async.setImmediate(function() {
- if (q.drain) {
- q.drain();
- }
- });
- }
- _each(data, function(task) {
- var item = {
- data: task,
- priority: priority,
- callback: typeof callback === 'function' ? callback : null
- };
-
- q.tasks.splice(_binarySearch(q.tasks, item, _compareTasks) + 1, 0, item);
-
- if (q.saturated && q.tasks.length === q.concurrency) {
- q.saturated();
- }
- async.setImmediate(q.process);
- });
- }
-
- // Start with a normal queue
- var q = async.queue(worker, concurrency);
-
- // Override push to accept second parameter representing priority
- q.push = function (data, priority, callback) {
- _insert(q, data, priority, callback);
- };
-
- // Remove unshift function
- delete q.unshift;
-
- return q;
- };
-
- async.cargo = function (worker, payload) {
- var working = false,
- tasks = [];
-
- var cargo = {
- tasks: tasks,
- payload: payload,
- saturated: null,
- empty: null,
- drain: null,
- drained: true,
- push: function (data, callback) {
- if (!_isArray(data)) {
- data = [data];
- }
- _each(data, function(task) {
- tasks.push({
- data: task,
- callback: typeof callback === 'function' ? callback : null
- });
- cargo.drained = false;
- if (cargo.saturated && tasks.length === payload) {
- cargo.saturated();
- }
- });
- async.setImmediate(cargo.process);
- },
- process: function process() {
- if (working) return;
- if (tasks.length === 0) {
- if(cargo.drain && !cargo.drained) cargo.drain();
- cargo.drained = true;
- return;
- }
-
- var ts = typeof payload === 'number'
- ? tasks.splice(0, payload)
- : tasks.splice(0, tasks.length);
-
- var ds = _map(ts, function (task) {
- return task.data;
- });
-
- if(cargo.empty) cargo.empty();
- working = true;
- worker(ds, function () {
- working = false;
-
- var args = arguments;
- _each(ts, function (data) {
- if (data.callback) {
- data.callback.apply(null, args);
- }
- });
-
- process();
- });
- },
- length: function () {
- return tasks.length;
- },
- running: function () {
- return working;
- }
- };
- return cargo;
- };
-
- var _console_fn = function (name) {
- return function (fn) {
- var args = Array.prototype.slice.call(arguments, 1);
- fn.apply(null, args.concat([function (err) {
- var args = Array.prototype.slice.call(arguments, 1);
- if (typeof console !== 'undefined') {
- if (err) {
- if (console.error) {
- console.error(err);
- }
- }
- else if (console[name]) {
- _each(args, function (x) {
- console[name](x);
- });
- }
- }
- }]));
- };
- };
- async.log = _console_fn('log');
- async.dir = _console_fn('dir');
- /*async.info = _console_fn('info');
- async.warn = _console_fn('warn');
- async.error = _console_fn('error');*/
-
- async.memoize = function (fn, hasher) {
- var memo = {};
- var queues = {};
- hasher = hasher || function (x) {
- return x;
- };
- var memoized = function () {
- var args = Array.prototype.slice.call(arguments);
- var callback = args.pop();
- var key = hasher.apply(null, args);
- if (key in memo) {
- async.nextTick(function () {
- callback.apply(null, memo[key]);
- });
- }
- else if (key in queues) {
- queues[key].push(callback);
- }
- else {
- queues[key] = [callback];
- fn.apply(null, args.concat([function () {
- memo[key] = arguments;
- var q = queues[key];
- delete queues[key];
- for (var i = 0, l = q.length; i < l; i++) {
- q[i].apply(null, arguments);
- }
- }]));
- }
- };
- memoized.memo = memo;
- memoized.unmemoized = fn;
- return memoized;
- };
-
- async.unmemoize = function (fn) {
- return function () {
- return (fn.unmemoized || fn).apply(null, arguments);
- };
- };
-
- async.times = function (count, iterator, callback) {
- var counter = [];
- for (var i = 0; i < count; i++) {
- counter.push(i);
- }
- return async.map(counter, iterator, callback);
- };
-
- async.timesSeries = function (count, iterator, callback) {
- var counter = [];
- for (var i = 0; i < count; i++) {
- counter.push(i);
- }
- return async.mapSeries(counter, iterator, callback);
- };
-
- async.seq = function (/* functions... */) {
- var fns = arguments;
- return function () {
- var that = this;
- var args = Array.prototype.slice.call(arguments);
- var callback = args.pop();
- async.reduce(fns, args, function (newargs, fn, cb) {
- fn.apply(that, newargs.concat([function () {
- var err = arguments[0];
- var nextargs = Array.prototype.slice.call(arguments, 1);
- cb(err, nextargs);
- }]))
- },
- function (err, results) {
- callback.apply(that, [err].concat(results));
- });
- };
- };
-
- async.compose = function (/* functions... */) {
- return async.seq.apply(null, Array.prototype.reverse.call(arguments));
- };
-
- var _applyEach = function (eachfn, fns /*args...*/) {
- var go = function () {
- var that = this;
- var args = Array.prototype.slice.call(arguments);
- var callback = args.pop();
- return eachfn(fns, function (fn, cb) {
- fn.apply(that, args.concat([cb]));
- },
- callback);
- };
- if (arguments.length > 2) {
- var args = Array.prototype.slice.call(arguments, 2);
- return go.apply(this, args);
- }
- else {
- return go;
- }
- };
- async.applyEach = doParallel(_applyEach);
- async.applyEachSeries = doSeries(_applyEach);
-
- async.forever = function (fn, callback) {
- function next(err) {
- if (err) {
- if (callback) {
- return callback(err);
- }
- throw err;
- }
- fn(next);
- }
- next();
- };
-
- // Node.js
- if (typeof module !== 'undefined' && module.exports) {
- module.exports = async;
- }
- // AMD / RequireJS
- else if (typeof define !== 'undefined' && define.amd) {
- define([], function () {
- return async;
- });
- }
- // included directly via <script> tag
- else {
- root.async = async;
- }
-
-}());
diff --git a/Server/node_modules/async/package.json b/Server/node_modules/async/package.json
deleted file mode 100644
index 523f44e..0000000
--- a/Server/node_modules/async/package.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "_from": "async@0.9.x",
- "_id": "async@0.9.2",
- "_inBundle": false,
- "_integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=",
- "_location": "/async",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "async@0.9.x",
- "name": "async",
- "escapedName": "async",
- "rawSpec": "0.9.x",
- "saveSpec": null,
- "fetchSpec": "0.9.x"
- },
- "_requiredBy": [
- "/jake"
- ],
- "_resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz",
- "_shasum": "aea74d5e61c1f899613bf64bda66d4c78f2fd17d",
- "_spec": "async@0.9.x",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/jake",
- "author": {
- "name": "Caolan McMahon"
- },
- "bugs": {
- "url": "https://github.com/caolan/async/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Higher-order functions and common patterns for asynchronous code",
- "devDependencies": {
- "lodash": ">=2.4.1",
- "nodelint": ">0.0.0",
- "nodeunit": ">0.0.0",
- "uglify-js": "1.2.x"
- },
- "homepage": "https://github.com/caolan/async#readme",
- "jam": {
- "main": "lib/async.js",
- "include": [
- "lib/async.js",
- "README.md",
- "LICENSE"
- ],
- "categories": [
- "Utilities"
- ]
- },
- "keywords": [
- "async",
- "callback",
- "utility",
- "module"
- ],
- "license": "MIT",
- "main": "lib/async.js",
- "name": "async",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/caolan/async.git"
- },
- "scripts": {
- "test": "nodeunit test/test-async.js"
- },
- "spm": {
- "main": "lib/async.js"
- },
- "version": "0.9.2",
- "volo": {
- "main": "lib/async.js",
- "ignore": [
- "**/.*",
- "node_modules",
- "bower_components",
- "test",
- "tests"
- ]
- }
-}
diff --git a/Server/node_modules/async/support/sync-package-managers.js b/Server/node_modules/async/support/sync-package-managers.js
deleted file mode 100755
index 30cb7c2..0000000
--- a/Server/node_modules/async/support/sync-package-managers.js
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env node
-
-// This should probably be its own module but complaints about bower/etc.
-// support keep coming up and I'd rather just enable the workflow here for now
-// and figure out where this should live later. -- @beaugunderson
-
-var fs = require('fs');
-var _ = require('lodash');
-
-var packageJson = require('../package.json');
-
-var IGNORES = ['**/.*', 'node_modules', 'bower_components', 'test', 'tests'];
-var INCLUDES = ['lib/async.js', 'README.md', 'LICENSE'];
-var REPOSITORY_NAME = 'caolan/async';
-
-packageJson.jam = {
- main: packageJson.main,
- include: INCLUDES,
- categories: ['Utilities']
-};
-
-packageJson.spm = {
- main: packageJson.main
-};
-
-packageJson.volo = {
- main: packageJson.main,
- ignore: IGNORES
-};
-
-var bowerSpecific = {
- moduleType: ['amd', 'globals', 'node'],
- ignore: IGNORES,
- authors: [packageJson.author]
-};
-
-var bowerInclude = ['name', 'description', 'version', 'main', 'keywords',
- 'license', 'homepage', 'repository', 'devDependencies'];
-
-var componentSpecific = {
- repository: REPOSITORY_NAME,
- scripts: [packageJson.main]
-};
-
-var componentInclude = ['name', 'description', 'version', 'keywords',
- 'license'];
-
-var bowerJson = _.merge({}, _.pick(packageJson, bowerInclude), bowerSpecific);
-var componentJson = _.merge({}, _.pick(packageJson, componentInclude), componentSpecific);
-
-fs.writeFileSync('./bower.json', JSON.stringify(bowerJson, null, 2));
-fs.writeFileSync('./component.json', JSON.stringify(componentJson, null, 2));
-fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2));
diff --git a/Server/node_modules/balanced-match/.npmignore b/Server/node_modules/balanced-match/.npmignore
deleted file mode 100644
index ae5d8c3..0000000
--- a/Server/node_modules/balanced-match/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-test
-.gitignore
-.travis.yml
-Makefile
-example.js
diff --git a/Server/node_modules/balanced-match/LICENSE.md b/Server/node_modules/balanced-match/LICENSE.md
deleted file mode 100644
index 2cdc8e4..0000000
--- a/Server/node_modules/balanced-match/LICENSE.md
+++ /dev/null
@@ -1,21 +0,0 @@
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;julian@juliangruber.com&gt;
-
-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.
diff --git a/Server/node_modules/balanced-match/README.md b/Server/node_modules/balanced-match/README.md
deleted file mode 100644
index 08e918c..0000000
--- a/Server/node_modules/balanced-match/README.md
+++ /dev/null
@@ -1,91 +0,0 @@
-# balanced-match
-
-Match balanced string pairs, like `{` and `}` or `<b>` and `</b>`. Supports regular expressions as well!
-
-[![build status](https://secure.travis-ci.org/juliangruber/balanced-match.svg)](http://travis-ci.org/juliangruber/balanced-match)
-[![downloads](https://img.shields.io/npm/dm/balanced-match.svg)](https://www.npmjs.org/package/balanced-match)
-
-[![testling badge](https://ci.testling.com/juliangruber/balanced-match.png)](https://ci.testling.com/juliangruber/balanced-match)
-
-## Example
-
-Get the first matching pair of braces:
-
-```js
-var balanced = require('balanced-match');
-
-console.log(balanced('{', '}', 'pre{in{nested}}post'));
-console.log(balanced('{', '}', 'pre{first}between{second}post'));
-console.log(balanced(/\s+\{\s+/, /\s+\}\s+/, 'pre { in{nest} } post'));
-```
-
-The matches are:
-
-```bash
-$ node example.js
-{ start: 3, end: 14, pre: 'pre', body: 'in{nested}', post: 'post' }
-{ start: 3,
- end: 9,
- pre: 'pre',
- body: 'first',
- post: 'between{second}post' }
-{ start: 3, end: 17, pre: 'pre', body: 'in{nest}', post: 'post' }
-```
-
-## API
-
-### var m = balanced(a, b, str)
-
-For the first non-nested matching pair of `a` and `b` in `str`, return an
-object with those keys:
-
-* **start** the index of the first match of `a`
-* **end** the index of the matching `b`
-* **pre** the preamble, `a` and `b` not included
-* **body** the match, `a` and `b` not included
-* **post** the postscript, `a` and `b` not included
-
-If there's no match, `undefined` will be returned.
-
-If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']` and `{a}}` will match `['', 'a', '}']`.
-
-### var r = balanced.range(a, b, str)
-
-For the first non-nested matching pair of `a` and `b` in `str`, return an
-array with indexes: `[ <a index>, <b index> ]`.
-
-If there's no match, `undefined` will be returned.
-
-If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `[ 1, 3 ]` and `{a}}` will match `[0, 2]`.
-
-## Installation
-
-With [npm](https://npmjs.org) do:
-
-```bash
-npm install balanced-match
-```
-
-## License
-
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;julian@juliangruber.com&gt;
-
-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.
diff --git a/Server/node_modules/balanced-match/index.js b/Server/node_modules/balanced-match/index.js
deleted file mode 100644
index 1685a76..0000000
--- a/Server/node_modules/balanced-match/index.js
+++ /dev/null
@@ -1,59 +0,0 @@
-'use strict';
-module.exports = balanced;
-function balanced(a, b, str) {
- if (a instanceof RegExp) a = maybeMatch(a, str);
- if (b instanceof RegExp) b = maybeMatch(b, str);
-
- var r = range(a, b, str);
-
- return r && {
- start: r[0],
- end: r[1],
- pre: str.slice(0, r[0]),
- body: str.slice(r[0] + a.length, r[1]),
- post: str.slice(r[1] + b.length)
- };
-}
-
-function maybeMatch(reg, str) {
- var m = str.match(reg);
- return m ? m[0] : null;
-}
-
-balanced.range = range;
-function range(a, b, str) {
- var begs, beg, left, right, result;
- var ai = str.indexOf(a);
- var bi = str.indexOf(b, ai + 1);
- var i = ai;
-
- if (ai >= 0 && bi > 0) {
- begs = [];
- left = str.length;
-
- while (i >= 0 && !result) {
- if (i == ai) {
- begs.push(i);
- ai = str.indexOf(a, i + 1);
- } else if (begs.length == 1) {
- result = [ begs.pop(), bi ];
- } else {
- beg = begs.pop();
- if (beg < left) {
- left = beg;
- right = bi;
- }
-
- bi = str.indexOf(b, i + 1);
- }
-
- i = ai < bi && ai >= 0 ? ai : bi;
- }
-
- if (begs.length) {
- result = [ left, right ];
- }
- }
-
- return result;
-}
diff --git a/Server/node_modules/balanced-match/package.json b/Server/node_modules/balanced-match/package.json
deleted file mode 100644
index 80b3dcd..0000000
--- a/Server/node_modules/balanced-match/package.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "_from": "balanced-match@^1.0.0",
- "_id": "balanced-match@1.0.0",
- "_inBundle": false,
- "_integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
- "_location": "/balanced-match",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "balanced-match@^1.0.0",
- "name": "balanced-match",
- "escapedName": "balanced-match",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/brace-expansion"
- ],
- "_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
- "_shasum": "89b4d199ab2bee49de164ea02b89ce462d71b767",
- "_spec": "balanced-match@^1.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/brace-expansion",
- "author": {
- "name": "Julian Gruber",
- "email": "mail@juliangruber.com",
- "url": "http://juliangruber.com"
- },
- "bugs": {
- "url": "https://github.com/juliangruber/balanced-match/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Match balanced character pairs, like \"{\" and \"}\"",
- "devDependencies": {
- "matcha": "^0.7.0",
- "tape": "^4.6.0"
- },
- "homepage": "https://github.com/juliangruber/balanced-match",
- "keywords": [
- "match",
- "regexp",
- "test",
- "balanced",
- "parse"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "balanced-match",
- "repository": {
- "type": "git",
- "url": "git://github.com/juliangruber/balanced-match.git"
- },
- "scripts": {
- "bench": "make bench",
- "test": "make test"
- },
- "testling": {
- "files": "test/*.js",
- "browsers": [
- "ie/8..latest",
- "firefox/20..latest",
- "firefox/nightly",
- "chrome/25..latest",
- "chrome/canary",
- "opera/12..latest",
- "opera/next",
- "safari/5.1..latest",
- "ipad/6.0..latest",
- "iphone/6.0..latest",
- "android-browser/4.2..latest"
- ]
- },
- "version": "1.0.0"
-}
diff --git a/Server/node_modules/bignumber.js/CHANGELOG.md b/Server/node_modules/bignumber.js/CHANGELOG.md
deleted file mode 100644
index e288a93..0000000
--- a/Server/node_modules/bignumber.js/CHANGELOG.md
+++ /dev/null
@@ -1,266 +0,0 @@
-#### 9.0.0
-* 27/05/2019
-* For compatibility with legacy browsers, remove `Symbol` references.
-
-#### 8.1.1
-* 24/02/2019
-* [BUGFIX] #222 Restore missing `var` to `export BigNumber`.
-* Allow any key in BigNumber.Instance in *bignumber.d.ts*.
-
-#### 8.1.0
-* 23/02/2019
-* [NEW FEATURE] #220 Create a BigNumber using `{s, e, c}`.
-* [NEW FEATURE] `isBigNumber`: if `BigNumber.DEBUG` is `true`, also check that the BigNumber instance is well-formed.
-* Remove `instanceof` checks; just use `_isBigNumber` to identify a BigNumber instance.
-* Add `_isBigNumber` to prototype in *bignumber.mjs*.
-* Add tests for BigNumber creation from object.
-* Update *API.html*.
-
-#### 8.0.2
-* 13/01/2019
-* #209 `toPrecision` without argument should follow `toString`.
-* Improve *Use* section of *README*.
-* Optimise `toString(10)`.
-* Add verson number to API doc.
-
-#### 8.0.1
-* 01/11/2018
-* Rest parameter must be array type in *bignumber.d.ts*.
-
-#### 8.0.0
-* 01/11/2018
-* [NEW FEATURE] Add `BigNumber.sum` method.
-* [NEW FEATURE]`toFormat`: add `prefix` and `suffix` options.
-* [NEW FEATURE] #178 Pass custom formatting to `toFormat`.
-* [BREAKING CHANGE] #184 `toFraction`: return array of BigNumbers not strings.
-* [NEW FEATURE] #185 Enable overwrite of `valueOf` to prevent accidental addition to string.
-* #183 Add Node.js `crypto` requirement to documentation.
-* [BREAKING CHANGE] #198 Disallow signs and whitespace in custom alphabet.
-* [NEW FEATURE] #188 Implement `util.inspect.custom` for Node.js REPL.
-* #170 Make `isBigNumber` a type guard in *bignumber.d.ts*.
-* [BREAKING CHANGE] `BigNumber.min` and `BigNumber.max`: don't accept an array.
-* Update *.travis.yml*.
-* Remove *bower.json*.
-
-#### 7.2.1
-* 24/05/2018
-* Add `browser` field to *package.json*.
-
-#### 7.2.0
-* 22/05/2018
-* #166 Correct *.mjs* file. Remove extension from `main` field in *package.json*.
-
-#### 7.1.0
-* 18/05/2018
-* Add `module` field to *package.json* for *bignumber.mjs*.
-
-#### 7.0.2
-* 17/05/2018
-* #165 Bugfix: upper-case letters for bases 11-36 in a custom alphabet.
-* Add note to *README* regarding creating BigNumbers from Number values.
-
-#### 7.0.1
-* 26/04/2018
-* #158 Fix global object variable name typo.
-
-#### 7.0.0
-* 26/04/2018
-* #143 Remove global BigNumber from typings.
-* #144 Enable compatibility with `Object.freeze(Object.prototype)`.
-* #148 #123 #11 Only throw on a number primitive with more than 15 significant digits if `BigNumber.DEBUG` is `true`.
-* Only throw on an invalid BigNumber value if `BigNumber.DEBUG` is `true`. Return BigNumber `NaN` instead.
-* #154 `exponentiatedBy`: allow BigNumber exponent.
-* #156 Prevent Content Security Policy *unsafe-eval* issue.
-* `toFraction`: allow `Infinity` maximum denominator.
-* Comment-out some excess tests to reduce test time.
-* Amend indentation and other spacing.
-
-#### 6.0.0
-* 26/01/2018
-* #137 Implement `APLHABET` configuration option.
-* Remove `ERRORS` configuration option.
-* Remove `toDigits` method; extend `precision` method accordingly.
-* Remove s`round` method; extend `decimalPlaces` method accordingly.
-* Remove methods: `ceil`, `floor`, and `truncated`.
-* Remove method aliases: `add`, `cmp`, `isInt`, `isNeg`, `trunc`, `mul`, `neg` and `sub`.
-* Rename methods: `shift` to `shiftedBy`, `another` to `clone`, `toPower` to `exponentiatedBy`, and `equals` to `isEqualTo`.
-* Rename methods: add `is` prefix to `greaterThan`, `greaterThanOrEqualTo`, `lessThan` and `lessThanOrEqualTo`.
-* Add methods: `multipliedBy`, `isBigNumber`, `isPositive`, `integerValue`, `maximum` and `minimum`.
-* Refactor test suite.
-* Add *CHANGELOG.md*.
-* Rewrite *bignumber.d.ts*.
-* Redo API image.
-
-#### 5.0.0
-* 27/11/2017
-* #81 Don't throw on constructor call without `new`.
-
-#### 4.1.0
-* 26/09/2017
-* Remove node 0.6 from *.travis.yml*.
-* Add *bignumber.mjs*.
-
-#### 4.0.4
-* 03/09/2017
-* Add missing aliases to *bignumber.d.ts*.
-
-#### 4.0.3
-* 30/08/2017
-* Add types: *bignumber.d.ts*.
-
-#### 4.0.2
-* 03/05/2017
-* #120 Workaround Safari/Webkit bug.
-
-#### 4.0.1
-* 05/04/2017
-* #121 BigNumber.default to BigNumber['default'].
-
-#### 4.0.0
-* 09/01/2017
-* Replace BigNumber.isBigNumber method with isBigNumber prototype property.
-
-#### 3.1.2
-* 08/01/2017
-* Minor documentation edit.
-
-#### 3.1.1
-* 08/01/2017
-* Uncomment `isBigNumber` tests.
-* Ignore dot files.
-
-#### 3.1.0
-* 08/01/2017
-* Add `isBigNumber` method.
-
-#### 3.0.2
-* 08/01/2017
-* Bugfix: Possible incorrect value of `ERRORS` after a `BigNumber.another` call (due to `parseNumeric` declaration in outer scope).
-
-#### 3.0.1
-* 23/11/2016
-* Apply fix for old ipads with `%` issue, see #57 and #102.
-* Correct error message.
-
-#### 3.0.0
-* 09/11/2016
-* Remove `require('crypto')` - leave it to the user.
-* Add `BigNumber.set` as `BigNumber.config` alias.
-* Default `POW_PRECISION` to `0`.
-
-#### 2.4.0
-* 14/07/2016
-* #97 Add exports to support ES6 imports.
-
-#### 2.3.0
-* 07/03/2016
-* #86 Add modulus parameter to `toPower`.
-
-#### 2.2.0
-* 03/03/2016
-* #91 Permit larger JS integers.
-
-#### 2.1.4
-* 15/12/2015
-* Correct UMD.
-
-#### 2.1.3
-* 13/12/2015
-* Refactor re global object and crypto availability when bundling.
-
-#### 2.1.2
-* 10/12/2015
-* Bugfix: `window.crypto` not assigned to `crypto`.
-
-#### 2.1.1
-* 09/12/2015
-* Prevent code bundler from adding `crypto` shim.
-
-#### 2.1.0
-* 26/10/2015
-* For `valueOf` and `toJSON`, include the minus sign with negative zero.
-
-#### 2.0.8
-* 2/10/2015
-* Internal round function bugfix.
-
-#### 2.0.6
-* 31/03/2015
-* Add bower.json. Tweak division after in-depth review.
-
-#### 2.0.5
-* 25/03/2015
-* Amend README. Remove bitcoin address.
-
-#### 2.0.4
-* 25/03/2015
-* Critical bugfix #58: division.
-
-#### 2.0.3
-* 18/02/2015
-* Amend README. Add source map.
-
-#### 2.0.2
-* 18/02/2015
-* Correct links.
-
-#### 2.0.1
-* 18/02/2015
-* Add `max`, `min`, `precision`, `random`, `shiftedBy`, `toDigits` and `truncated` methods.
-* Add the short-forms: `add`, `mul`, `sd`, `sub` and `trunc`.
-* Add an `another` method to enable multiple independent constructors to be created.
-* Add support for the base 2, 8 and 16 prefixes `0b`, `0o` and `0x`.
-* Enable a rounding mode to be specified as a second parameter to `toExponential`, `toFixed`, `toFormat` and `toPrecision`.
-* Add a `CRYPTO` configuration property so cryptographically-secure pseudo-random number generation can be specified.
-* Add a `MODULO_MODE` configuration property to enable the rounding mode used by the `modulo` operation to be specified.
-* Add a `POW_PRECISION` configuration property to enable the number of significant digits calculated by the power operation to be limited.
-* Improve code quality.
-* Improve documentation.
-
-#### 2.0.0
-* 29/12/2014
-* Add `dividedToIntegerBy`, `isInteger` and `toFormat` methods.
-* Remove the following short-forms: `isF`, `isZ`, `toE`, `toF`, `toFr`, `toN`, `toP`, `toS`.
-* Store a BigNumber's coefficient in base 1e14, rather than base 10.
-* Add fast path for integers to BigNumber constructor.
-* Incorporate the library into the online documentation.
-
-#### 1.5.0
-* 13/11/2014
-* Add `toJSON` and `decimalPlaces` methods.
-
-#### 1.4.1
-* 08/06/2014
-* Amend README.
-
-#### 1.4.0
-* 08/05/2014
-* Add `toNumber`.
-
-#### 1.3.0
-* 08/11/2013
-* Ensure correct rounding of `sqrt` in all, rather than almost all, cases.
-* Maximum radix to 64.
-
-#### 1.2.1
-* 17/10/2013
-* Sign of zero when x < 0 and x + (-x) = 0.
-
-#### 1.2.0
-* 19/9/2013
-* Throw Error objects for stack.
-
-#### 1.1.1
-* 22/8/2013
-* Show original value in constructor error message.
-
-#### 1.1.0
-* 1/8/2013
-* Allow numbers with trailing radix point.
-
-#### 1.0.1
-* Bugfix: error messages with incorrect method name
-
-#### 1.0.0
-* 8/11/2012
-* Initial release
diff --git a/Server/node_modules/bignumber.js/LICENCE b/Server/node_modules/bignumber.js/LICENCE
deleted file mode 100644
index 87a9b15..0000000
--- a/Server/node_modules/bignumber.js/LICENCE
+++ /dev/null
@@ -1,23 +0,0 @@
-The MIT Licence.
-
-Copyright (c) 2019 Michael Mclaughlin
-
-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.
-
diff --git a/Server/node_modules/bignumber.js/README.md b/Server/node_modules/bignumber.js/README.md
deleted file mode 100644
index fc3c84c..0000000
--- a/Server/node_modules/bignumber.js/README.md
+++ /dev/null
@@ -1,268 +0,0 @@
-![bignumber.js](https://raw.githubusercontent.com/MikeMcl/bignumber.js/gh-pages/bignumberjs.png)
-
-A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic.
-
-[![Build Status](https://travis-ci.org/MikeMcl/bignumber.js.svg)](https://travis-ci.org/MikeMcl/bignumber.js)
-
-<br />
-
-## Features
-
- - Integers and decimals
- - Simple API but full-featured
- - Faster, smaller, and perhaps easier to use than JavaScript versions of Java's BigDecimal
- - 8 KB minified and gzipped
- - Replicates the `toExponential`, `toFixed`, `toPrecision` and `toString` methods of JavaScript's Number type
- - Includes a `toFraction` and a correctly-rounded `squareRoot` method
- - Supports cryptographically-secure pseudo-random number generation
- - No dependencies
- - Wide platform compatibility: uses JavaScript 1.5 (ECMAScript 3) features only
- - Comprehensive [documentation](http://mikemcl.github.io/bignumber.js/) and test set
-
-![API](https://raw.githubusercontent.com/MikeMcl/bignumber.js/gh-pages/API.png)
-
-If a smaller and simpler library is required see [big.js](https://github.com/MikeMcl/big.js/).
-It's less than half the size but only works with decimal numbers and only has half the methods.
-It also does not allow `NaN` or `Infinity`, or have the configuration options of this library.
-
-See also [decimal.js](https://github.com/MikeMcl/decimal.js/), which among other things adds support for non-integer powers, and performs all operations to a specified number of significant digits.
-
-## Load
-
-The library is the single JavaScript file *bignumber.js* (or minified, *bignumber.min.js*).
-
-Browser:
-
-```html
-<script src='path/to/bignumber.js'></script>
-```
-
-[Node.js](http://nodejs.org):
-
-```bash
-$ npm install bignumber.js
-```
-
-```javascript
-const BigNumber = require('bignumber.js');
-```
-
-ES6 module:
-
-```javascript
-import BigNumber from "./bignumber.mjs"
-```
-
-AMD loader libraries such as [requireJS](http://requirejs.org/):
-
-```javascript
-require(['bignumber'], function(BigNumber) {
- // Use BigNumber here in local scope. No global BigNumber.
-});
-```
-
-## Use
-
-The library exports a single constructor function, [`BigNumber`](http://mikemcl.github.io/bignumber.js/#bignumber), which accepts a value of type Number, String or BigNumber,
-
-```javascript
-let x = new BigNumber(123.4567);
-let y = BigNumber('123456.7e-3');
-let z = new BigNumber(x);
-x.isEqualTo(y) && y.isEqualTo(z) && x.isEqualTo(z); // true
-```
-
-To get the string value of a BigNumber use [`toString()`](http://mikemcl.github.io/bignumber.js/#toS) or [`toFixed()`](http://mikemcl.github.io/bignumber.js/#toFix). Using `toFixed()` prevents exponential notation being returned, no matter how large or small the value.
-
-```javascript
-let x = new BigNumber('1111222233334444555566');
-x.toString(); // "1.111222233334444555566e+21"
-x.toFixed(); // "1111222233334444555566"
-```
-
-If the limited precision of Number values is not well understood, it is recommended to create BigNumbers from String values rather than Number values to avoid a potential loss of precision.
-
-*In all further examples below, `let`, semicolons and `toString` calls are not shown. If a commented-out value is in quotes it means `toString` has been called on the preceding expression.*
-
-```javascript
-// Precision loss from using numeric literals with more than 15 significant digits.
-new BigNumber(1.0000000000000001) // '1'
-new BigNumber(88259496234518.57) // '88259496234518.56'
-new BigNumber(99999999999999999999) // '100000000000000000000'
-
-// Precision loss from using numeric literals outside the range of Number values.
-new BigNumber(2e+308) // 'Infinity'
-new BigNumber(1e-324) // '0'
-
-// Precision loss from the unexpected result of arithmetic with Number values.
-new BigNumber(0.7 + 0.1) // '0.7999999999999999'
-```
-
-When creating a BigNumber from a Number, note that a BigNumber is created from a Number's decimal `toString()` value not from its underlying binary value. If the latter is required, then pass the Number's `toString(2)` value and specify base 2.
-
-```javascript
-new BigNumber(Number.MAX_VALUE.toString(2), 2)
-```
-
-BigNumbers can be created from values in bases from 2 to 36. See [`ALPHABET`](http://mikemcl.github.io/bignumber.js/#alphabet) to extend this range.
-
-```javascript
-a = new BigNumber(1011, 2) // "11"
-b = new BigNumber('zz.9', 36) // "1295.25"
-c = a.plus(b) // "1306.25"
-```
-
-Performance is better if base 10 is NOT specified for decimal values. Only specify base 10 when it is desired that the number of decimal places of the input value be limited to the current [`DECIMAL_PLACES`](http://mikemcl.github.io/bignumber.js/#decimal-places) setting.
-
-A BigNumber is immutable in the sense that it is not changed by its methods.
-
-```javascript
-0.3 - 0.1 // 0.19999999999999998
-x = new BigNumber(0.3)
-x.minus(0.1) // "0.2"
-x // "0.3"
-```
-
-The methods that return a BigNumber can be chained.
-
-```javascript
-x.dividedBy(y).plus(z).times(9)
-x.times('1.23456780123456789e+9').plus(9876.5432321).dividedBy('4444562598.111772').integerValue()
-```
-
-Some of the longer method names have a shorter alias.
-
-```javascript
-x.squareRoot().dividedBy(y).exponentiatedBy(3).isEqualTo(x.sqrt().div(y).pow(3)) // true
-x.modulo(y).multipliedBy(z).eq(x.mod(y).times(z)) // true
-```
-
-As with JavaScript's Number type, there are [`toExponential`](http://mikemcl.github.io/bignumber.js/#toE), [`toFixed`](http://mikemcl.github.io/bignumber.js/#toFix) and [`toPrecision`](http://mikemcl.github.io/bignumber.js/#toP) methods.
-
-```javascript
-x = new BigNumber(255.5)
-x.toExponential(5) // "2.55500e+2"
-x.toFixed(5) // "255.50000"
-x.toPrecision(5) // "255.50"
-x.toNumber() // 255.5
-```
-
- A base can be specified for [`toString`](http://mikemcl.github.io/bignumber.js/#toS). Performance is better if base 10 is NOT specified, i.e. use `toString()` not `toString(10)`. Only specify base 10 when it is desired that the number of decimal places be limited to the current [`DECIMAL_PLACES`](http://mikemcl.github.io/bignumber.js/#decimal-places) setting.
-
- ```javascript
- x.toString(16) // "ff.8"
- ```
-
-There is a [`toFormat`](http://mikemcl.github.io/bignumber.js/#toFor) method which may be useful for internationalisation.
-
-```javascript
-y = new BigNumber('1234567.898765')
-y.toFormat(2) // "1,234,567.90"
-```
-
-The maximum number of decimal places of the result of an operation involving division (i.e. a division, square root, base conversion or negative power operation) is set using the `set` or `config` method of the `BigNumber` constructor.
-
-The other arithmetic operations always give the exact result.
-
-```javascript
-BigNumber.set({ DECIMAL_PLACES: 10, ROUNDING_MODE: 4 })
-
-x = new BigNumber(2)
-y = new BigNumber(3)
-z = x.dividedBy(y) // "0.6666666667"
-z.squareRoot() // "0.8164965809"
-z.exponentiatedBy(-3) // "3.3749999995"
-z.toString(2) // "0.1010101011"
-z.multipliedBy(z) // "0.44444444448888888889"
-z.multipliedBy(z).decimalPlaces(10) // "0.4444444445"
-```
-
-There is a [`toFraction`](http://mikemcl.github.io/bignumber.js/#toFr) method with an optional *maximum denominator* argument
-
-```javascript
-y = new BigNumber(355)
-pi = y.dividedBy(113) // "3.1415929204"
-pi.toFraction() // [ "7853982301", "2500000000" ]
-pi.toFraction(1000) // [ "355", "113" ]
-```
-
-and [`isNaN`](http://mikemcl.github.io/bignumber.js/#isNaN) and [`isFinite`](http://mikemcl.github.io/bignumber.js/#isF) methods, as `NaN` and `Infinity` are valid `BigNumber` values.
-
-```javascript
-x = new BigNumber(NaN) // "NaN"
-y = new BigNumber(Infinity) // "Infinity"
-x.isNaN() && !y.isNaN() && !x.isFinite() && !y.isFinite() // true
-```
-
-The value of a BigNumber is stored in a decimal floating point format in terms of a coefficient, exponent and sign.
-
-```javascript
-x = new BigNumber(-123.456);
-x.c // [ 123, 45600000000000 ] coefficient (i.e. significand)
-x.e // 2 exponent
-x.s // -1 sign
-```
-
-For advanced usage, multiple BigNumber constructors can be created, each with their own independent configuration.
-
-```javascript
-// Set DECIMAL_PLACES for the original BigNumber constructor
-BigNumber.set({ DECIMAL_PLACES: 10 })
-
-// Create another BigNumber constructor, optionally passing in a configuration object
-BN = BigNumber.clone({ DECIMAL_PLACES: 5 })
-
-x = new BigNumber(1)
-y = new BN(1)
-
-x.div(3) // '0.3333333333'
-y.div(3) // '0.33333'
-```
-
-For further information see the [API](http://mikemcl.github.io/bignumber.js/) reference in the *doc* directory.
-
-## Test
-
-The *test/modules* directory contains the test scripts for each method.
-
-The tests can be run with Node.js or a browser. For Node.js use
-
- $ npm test
-
-or
-
- $ node test/test
-
-To test a single method, use, for example
-
- $ node test/methods/toFraction
-
-For the browser, open *test/test.html*.
-
-## Build
-
-For Node, if [uglify-js](https://github.com/mishoo/UglifyJS2) is installed
-
- npm install uglify-js -g
-
-then
-
- npm run build
-
-will create *bignumber.min.js*.
-
-A source map will also be created in the root directory.
-
-## Feedback
-
-Open an issue, or email
-
-Michael
-
-<a href="mailto:M8ch88l@gmail.com">M8ch88l@gmail.com</a>
-
-## Licence
-
-The MIT Licence.
-
-See [LICENCE](https://github.com/MikeMcl/bignumber.js/blob/master/LICENCE).
diff --git a/Server/node_modules/bignumber.js/bignumber.d.ts b/Server/node_modules/bignumber.js/bignumber.d.ts
deleted file mode 100644
index ac6a3e4..0000000
--- a/Server/node_modules/bignumber.js/bignumber.d.ts
+++ /dev/null
@@ -1,1829 +0,0 @@
-// Type definitions for bignumber.js >=8.1.0
-// Project: https://github.com/MikeMcl/bignumber.js
-// Definitions by: Michael Mclaughlin <https://github.com/MikeMcl>
-// Definitions: https://github.com/MikeMcl/bignumber.js
-
-// Documentation: http://mikemcl.github.io/bignumber.js/
-//
-// Exports:
-//
-// class BigNumber (default export)
-// type BigNumber.Constructor
-// type BigNumber.ModuloMode
-// type BigNumber.RoundingMOde
-// type BigNumber.Value
-// interface BigNumber.Config
-// interface BigNumber.Format
-// interface BigNumber.Instance
-//
-// Example:
-//
-// import {BigNumber} from "bignumber.js"
-// //import BigNumber from "bignumber.js"
-//
-// let rm: BigNumber.RoundingMode = BigNumber.ROUND_UP;
-// let f: BigNumber.Format = { decimalSeparator: ',' };
-// let c: BigNumber.Config = { DECIMAL_PLACES: 4, ROUNDING_MODE: rm, FORMAT: f };
-// BigNumber.config(c);
-//
-// let v: BigNumber.Value = '12345.6789';
-// let b: BigNumber = new BigNumber(v);
-//
-// The use of compiler option `--strictNullChecks` is recommended.
-
-export default BigNumber;
-
-export namespace BigNumber {
-
- /** See `BigNumber.config` (alias `BigNumber.set`) and `BigNumber.clone`. */
- interface Config {
-
- /**
- * An integer, 0 to 1e+9. Default value: 20.
- *
- * The maximum number of decimal places of the result of operations involving division, i.e.
- * division, square root and base conversion operations, and exponentiation when the exponent is
- * negative.
- *
- * ```ts
- * BigNumber.config({ DECIMAL_PLACES: 5 })
- * BigNumber.set({ DECIMAL_PLACES: 5 })
- * ```
- */
- DECIMAL_PLACES?: number;
-
- /**
- * An integer, 0 to 8. Default value: `BigNumber.ROUND_HALF_UP` (4).
- *
- * The rounding mode used in operations that involve division (see `DECIMAL_PLACES`) and the
- * default rounding mode of the `decimalPlaces`, `precision`, `toExponential`, `toFixed`,
- * `toFormat` and `toPrecision` methods.
- *
- * The modes are available as enumerated properties of the BigNumber constructor.
- *
- * ```ts
- * BigNumber.config({ ROUNDING_MODE: 0 })
- * BigNumber.set({ ROUNDING_MODE: BigNumber.ROUND_UP })
- * ```
- */
- ROUNDING_MODE?: BigNumber.RoundingMode;
-
- /**
- * An integer, 0 to 1e+9, or an array, [-1e+9 to 0, 0 to 1e+9].
- * Default value: `[-7, 20]`.
- *
- * The exponent value(s) at which `toString` returns exponential notation.
- *
- * If a single number is assigned, the value is the exponent magnitude.
- *
- * If an array of two numbers is assigned then the first number is the negative exponent value at
- * and beneath which exponential notation is used, and the second number is the positive exponent
- * value at and above which exponential notation is used.
- *
- * For example, to emulate JavaScript numbers in terms of the exponent values at which they begin
- * to use exponential notation, use `[-7, 20]`.
- *
- * ```ts
- * BigNumber.config({ EXPONENTIAL_AT: 2 })
- * new BigNumber(12.3) // '12.3' e is only 1
- * new BigNumber(123) // '1.23e+2'
- * new BigNumber(0.123) // '0.123' e is only -1
- * new BigNumber(0.0123) // '1.23e-2'
- *
- * BigNumber.config({ EXPONENTIAL_AT: [-7, 20] })
- * new BigNumber(123456789) // '123456789' e is only 8
- * new BigNumber(0.000000123) // '1.23e-7'
- *
- * // Almost never return exponential notation:
- * BigNumber.config({ EXPONENTIAL_AT: 1e+9 })
- *
- * // Always return exponential notation:
- * BigNumber.config({ EXPONENTIAL_AT: 0 })
- * ```
- *
- * Regardless of the value of `EXPONENTIAL_AT`, the `toFixed` method will always return a value in
- * normal notation and the `toExponential` method will always return a value in exponential form.
- * Calling `toString` with a base argument, e.g. `toString(10)`, will also always return normal
- * notation.
- */
- EXPONENTIAL_AT?: number | [number, number];
-
- /**
- * An integer, magnitude 1 to 1e+9, or an array, [-1e+9 to -1, 1 to 1e+9].
- * Default value: `[-1e+9, 1e+9]`.
- *
- * The exponent value(s) beyond which overflow to Infinity and underflow to zero occurs.
- *
- * If a single number is assigned, it is the maximum exponent magnitude: values wth a positive
- * exponent of greater magnitude become Infinity and those with a negative exponent of greater
- * magnitude become zero.
- *
- * If an array of two numbers is assigned then the first number is the negative exponent limit and
- * the second number is the positive exponent limit.
- *
- * For example, to emulate JavaScript numbers in terms of the exponent values at which they
- * become zero and Infinity, use [-324, 308].
- *
- * ```ts
- * BigNumber.config({ RANGE: 500 })
- * BigNumber.config().RANGE // [ -500, 500 ]
- * new BigNumber('9.999e499') // '9.999e+499'
- * new BigNumber('1e500') // 'Infinity'
- * new BigNumber('1e-499') // '1e-499'
- * new BigNumber('1e-500') // '0'
- *
- * BigNumber.config({ RANGE: [-3, 4] })
- * new BigNumber(99999) // '99999' e is only 4
- * new BigNumber(100000) // 'Infinity' e is 5
- * new BigNumber(0.001) // '0.01' e is only -3
- * new BigNumber(0.0001) // '0' e is -4
- * ```
- * The largest possible magnitude of a finite BigNumber is 9.999...e+1000000000.
- * The smallest possible magnitude of a non-zero BigNumber is 1e-1000000000.
- */
- RANGE?: number | [number, number];
-
- /**
- * A boolean: `true` or `false`. Default value: `false`.
- *
- * The value that determines whether cryptographically-secure pseudo-random number generation is
- * used. If `CRYPTO` is set to true then the random method will generate random digits using
- * `crypto.getRandomValues` in browsers that support it, or `crypto.randomBytes` if using a
- * version of Node.js that supports it.
- *
- * If neither function is supported by the host environment then attempting to set `CRYPTO` to
- * `true` will fail and an exception will be thrown.
- *
- * If `CRYPTO` is `false` then the source of randomness used will be `Math.random` (which is
- * assumed to generate at least 30 bits of randomness).
- *
- * See `BigNumber.random`.
- *
- * ```ts
- * // Node.js
- * global.crypto = require('crypto')
- *
- * BigNumber.config({ CRYPTO: true })
- * BigNumber.config().CRYPTO // true
- * BigNumber.random() // 0.54340758610486147524
- * ```
- */
- CRYPTO?: boolean;
-
- /**
- * An integer, 0, 1, 3, 6 or 9. Default value: `BigNumber.ROUND_DOWN` (1).
- *
- * The modulo mode used when calculating the modulus: `a mod n`.
- * The quotient, `q = a / n`, is calculated according to the `ROUNDING_MODE` that corresponds to
- * the chosen `MODULO_MODE`.
- * The remainder, `r`, is calculated as: `r = a - n * q`.
- *
- * The modes that are most commonly used for the modulus/remainder operation are shown in the
- * following table. Although the other rounding modes can be used, they may not give useful
- * results.
- *
- * Property | Value | Description
- * :------------------|:------|:------------------------------------------------------------------
- * `ROUND_UP` | 0 | The remainder is positive if the dividend is negative.
- * `ROUND_DOWN` | 1 | The remainder has the same sign as the dividend.
- * | | Uses 'truncating division' and matches JavaScript's `%` operator .
- * `ROUND_FLOOR` | 3 | The remainder has the same sign as the divisor.
- * | | This matches Python's `%` operator.
- * `ROUND_HALF_EVEN` | 6 | The IEEE 754 remainder function.
- * `EUCLID` | 9 | The remainder is always positive.
- * | | Euclidian division: `q = sign(n) * floor(a / abs(n))`
- *
- * The rounding/modulo modes are available as enumerated properties of the BigNumber constructor.
- *
- * See `modulo`.
- *
- * ```ts
- * BigNumber.config({ MODULO_MODE: BigNumber.EUCLID })
- * BigNumber.set({ MODULO_MODE: 9 }) // equivalent
- * ```
- */
- MODULO_MODE?: BigNumber.ModuloMode;
-
- /**
- * An integer, 0 to 1e+9. Default value: 0.
- *
- * The maximum precision, i.e. number of significant digits, of the result of the power operation
- * - unless a modulus is specified.
- *
- * If set to 0, the number of significant digits will not be limited.
- *
- * See `exponentiatedBy`.
- *
- * ```ts
- * BigNumber.config({ POW_PRECISION: 100 })
- * ```
- */
- POW_PRECISION?: number;
-
- /**
- * An object including any number of the properties shown below.
- *
- * The object configures the format of the string returned by the `toFormat` method.
- * The example below shows the properties of the object that are recognised, and
- * their default values.
- *
- * Unlike the other configuration properties, the values of the properties of the `FORMAT` object
- * will not be checked for validity - the existing object will simply be replaced by the object
- * that is passed in.
- *
- * See `toFormat`.
- *
- * ```ts
- * BigNumber.config({
- * FORMAT: {
- * // string to prepend
- * prefix: '',
- * // the decimal separator
- * decimalSeparator: '.',
- * // the grouping separator of the integer part
- * groupSeparator: ',',
- * // the primary grouping size of the integer part
- * groupSize: 3,
- * // the secondary grouping size of the integer part
- * secondaryGroupSize: 0,
- * // the grouping separator of the fraction part
- * fractionGroupSeparator: ' ',
- * // the grouping size of the fraction part
- * fractionGroupSize: 0,
- * // string to append
- * suffix: ''
- * }
- * })
- * ```
- */
- FORMAT?: BigNumber.Format;
-
- /**
- * The alphabet used for base conversion. The length of the alphabet corresponds to the maximum
- * value of the base argument that can be passed to the BigNumber constructor or `toString`.
- *
- * Default value: `'0123456789abcdefghijklmnopqrstuvwxyz'`.
- *
- * There is no maximum length for the alphabet, but it must be at least 2 characters long,
- * and it must not contain whitespace or a repeated character, or the sign indicators '+' and
- * '-', or the decimal separator '.'.
- *
- * ```ts
- * // duodecimal (base 12)
- * BigNumber.config({ ALPHABET: '0123456789TE' })
- * x = new BigNumber('T', 12)
- * x.toString() // '10'
- * x.toString(12) // 'T'
- * ```
- */
- ALPHABET?: string;
- }
-
- /** See `FORMAT` and `toFormat`. */
- interface Format {
-
- /** The string to prepend. */
- prefix?: string;
-
- /** The decimal separator. */
- decimalSeparator?: string;
-
- /** The grouping separator of the integer part. */
- groupSeparator?: string;
-
- /** The primary grouping size of the integer part. */
- groupSize?: number;
-
- /** The secondary grouping size of the integer part. */
- secondaryGroupSize?: number;
-
- /** The grouping separator of the fraction part. */
- fractionGroupSeparator?: string;
-
- /** The grouping size of the fraction part. */
- fractionGroupSize?: number;
-
- /** The string to append. */
- suffix?: string;
- }
-
- interface Instance {
-
- /** The coefficient of the value of this BigNumber, an array of base 1e14 integer numbers, or null. */
- readonly c: number[] | null;
-
- /** The exponent of the value of this BigNumber, an integer number, -1000000000 to 1000000000, or null. */
- readonly e: number | null;
-
- /** The sign of the value of this BigNumber, -1, 1, or null. */
- readonly s: number | null;
-
- [key: string]: any;
- }
-
- type Constructor = typeof BigNumber;
- type ModuloMode = 0 | 1 | 3 | 6 | 9;
- type RoundingMode = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
- type Value = string | number | Instance;
-}
-
-export declare class BigNumber implements BigNumber.Instance {
-
- /** Used internally to identify a BigNumber instance. */
- private readonly _isBigNumber: true;
-
- /** The coefficient of the value of this BigNumber, an array of base 1e14 integer numbers, or null. */
- readonly c: number[] | null;
-
- /** The exponent of the value of this BigNumber, an integer number, -1000000000 to 1000000000, or null. */
- readonly e: number | null;
-
- /** The sign of the value of this BigNumber, -1, 1, or null. */
- readonly s: number | null;
-
- /**
- * Returns a new instance of a BigNumber object with value `n`, where `n` is a numeric value in
- * the specified `base`, or base 10 if `base` is omitted or is `null` or `undefined`.
- *
- * ```ts
- * x = new BigNumber(123.4567) // '123.4567'
- * // 'new' is optional
- * y = BigNumber(x) // '123.4567'
- * ```
- *
- * If `n` is a base 10 value it can be in normal (fixed-point) or exponential notation.
- * Values in other bases must be in normal notation. Values in any base can have fraction digits,
- * i.e. digits after the decimal point.
- *
- * ```ts
- * new BigNumber(43210) // '43210'
- * new BigNumber('4.321e+4') // '43210'
- * new BigNumber('-735.0918e-430') // '-7.350918e-428'
- * new BigNumber('123412421.234324', 5) // '607236.557696'
- * ```
- *
- * Signed `0`, signed `Infinity` and `NaN` are supported.
- *
- * ```ts
- * new BigNumber('-Infinity') // '-Infinity'
- * new BigNumber(NaN) // 'NaN'
- * new BigNumber(-0) // '0'
- * new BigNumber('.5') // '0.5'
- * new BigNumber('+2') // '2'
- * ```
- *
- * String values in hexadecimal literal form, e.g. `'0xff'`, are valid, as are string values with
- * the octal and binary prefixs `'0o'` and `'0b'`. String values in octal literal form without the
- * prefix will be interpreted as decimals, e.g. `'011'` is interpreted as 11, not 9.
- *
- * ```ts
- * new BigNumber(-10110100.1, 2) // '-180.5'
- * new BigNumber('-0b10110100.1') // '-180.5'
- * new BigNumber('ff.8', 16) // '255.5'
- * new BigNumber('0xff.8') // '255.5'
- * ```
- *
- * If a base is specified, `n` is rounded according to the current `DECIMAL_PLACES` and
- * `ROUNDING_MODE` settings. This includes base 10, so don't include a `base` parameter for decimal
- * values unless this behaviour is desired.
- *
- * ```ts
- * BigNumber.config({ DECIMAL_PLACES: 5 })
- * new BigNumber(1.23456789) // '1.23456789'
- * new BigNumber(1.23456789, 10) // '1.23457'
- * ```
- *
- * An error is thrown if `base` is invalid.
- *
- * There is no limit to the number of digits of a value of type string (other than that of
- * JavaScript's maximum array size). See `RANGE` to set the maximum and minimum possible exponent
- * value of a BigNumber.
- *
- * ```ts
- * new BigNumber('5032485723458348569331745.33434346346912144534543')
- * new BigNumber('4.321e10000000')
- * ```
- *
- * BigNumber `NaN` is returned if `n` is invalid (unless `BigNumber.DEBUG` is `true`, see below).
- *
- * ```ts
- * new BigNumber('.1*') // 'NaN'
- * new BigNumber('blurgh') // 'NaN'
- * new BigNumber(9, 2) // 'NaN'
- * ```
- *
- * To aid in debugging, if `BigNumber.DEBUG` is `true` then an error will be thrown on an
- * invalid `n`. An error will also be thrown if `n` is of type number with more than 15
- * significant digits, as calling `toString` or `valueOf` on these numbers may not result in the
- * intended value.
- *
- * ```ts
- * console.log(823456789123456.3) // 823456789123456.2
- * new BigNumber(823456789123456.3) // '823456789123456.2'
- * BigNumber.DEBUG = true
- * // 'Error: Number has more than 15 significant digits'
- * new BigNumber(823456789123456.3)
- * // 'Error: Not a base 2 number'
- * new BigNumber(9, 2)
- * ```
- *
- * A BigNumber can also be created from an object literal.
- * Use `isBigNumber` to check that it is well-formed.
- *
- * ```ts
- * new BigNumber({ s: 1, e: 2, c: [ 777, 12300000000000 ], _isBigNumber: true }) // '777.123'
- * ```
- *
- * @param n A numeric value.
- * @param base The base of `n`, integer, 2 to 36 (or `ALPHABET.length`, see `ALPHABET`).
- */
- constructor(n: BigNumber.Value, base?: number);
-
- /**
- * Returns a BigNumber whose value is the absolute value, i.e. the magnitude, of the value of this
- * BigNumber.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * x = new BigNumber(-0.8)
- * x.absoluteValue() // '0.8'
- * ```
- */
- absoluteValue(): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the absolute value, i.e. the magnitude, of the value of this
- * BigNumber.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * x = new BigNumber(-0.8)
- * x.abs() // '0.8'
- * ```
- */
- abs(): BigNumber;
-
- /**
- * Returns | |
- * :-------:|:--------------------------------------------------------------|
- * 1 | If the value of this BigNumber is greater than the value of `n`
- * -1 | If the value of this BigNumber is less than the value of `n`
- * 0 | If this BigNumber and `n` have the same value
- * `null` | If the value of either this BigNumber or `n` is `NaN`
- *
- * ```ts
- *
- * x = new BigNumber(Infinity)
- * y = new BigNumber(5)
- * x.comparedTo(y) // 1
- * x.comparedTo(x.minus(1)) // 0
- * y.comparedTo(NaN) // null
- * y.comparedTo('110', 2) // -1
- * ```
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- comparedTo(n: BigNumber.Value, base?: number): number;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber rounded by rounding mode
- * `roundingMode` to a maximum of `decimalPlaces` decimal places.
- *
- * If `decimalPlaces` is omitted, or is `null` or `undefined`, the return value is the number of
- * decimal places of the value of this BigNumber, or `null` if the value of this BigNumber is
- * ±`Infinity` or `NaN`.
- *
- * If `roundingMode` is omitted, or is `null` or `undefined`, `ROUNDING_MODE` is used.
- *
- * Throws if `decimalPlaces` or `roundingMode` is invalid.
- *
- * ```ts
- * x = new BigNumber(1234.56)
- * x.decimalPlaces() // 2
- * x.decimalPlaces(1) // '1234.6'
- * x.decimalPlaces(2) // '1234.56'
- * x.decimalPlaces(10) // '1234.56'
- * x.decimalPlaces(0, 1) // '1234'
- * x.decimalPlaces(0, 6) // '1235'
- * x.decimalPlaces(1, 1) // '1234.5'
- * x.decimalPlaces(1, BigNumber.ROUND_HALF_EVEN) // '1234.6'
- * x // '1234.56'
- * y = new BigNumber('9.9e-101')
- * y.decimalPlaces() // 102
- * ```
- *
- * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
- * @param [roundingMode] Rounding mode, integer, 0 to 8.
- */
- decimalPlaces(): number;
- decimalPlaces(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber rounded by rounding mode
- * `roundingMode` to a maximum of `decimalPlaces` decimal places.
- *
- * If `decimalPlaces` is omitted, or is `null` or `undefined`, the return value is the number of
- * decimal places of the value of this BigNumber, or `null` if the value of this BigNumber is
- * ±`Infinity` or `NaN`.
- *
- * If `roundingMode` is omitted, or is `null` or `undefined`, `ROUNDING_MODE` is used.
- *
- * Throws if `decimalPlaces` or `roundingMode` is invalid.
- *
- * ```ts
- * x = new BigNumber(1234.56)
- * x.dp() // 2
- * x.dp(1) // '1234.6'
- * x.dp(2) // '1234.56'
- * x.dp(10) // '1234.56'
- * x.dp(0, 1) // '1234'
- * x.dp(0, 6) // '1235'
- * x.dp(1, 1) // '1234.5'
- * x.dp(1, BigNumber.ROUND_HALF_EVEN) // '1234.6'
- * x // '1234.56'
- * y = new BigNumber('9.9e-101')
- * y.dp() // 102
- * ```
- *
- * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
- * @param [roundingMode] Rounding mode, integer, 0 to 8.
- */
- dp(): number;
- dp(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber divided by `n`, rounded
- * according to the current `DECIMAL_PLACES` and `ROUNDING_MODE` settings.
- *
- * ```ts
- * x = new BigNumber(355)
- * y = new BigNumber(113)
- * x.dividedBy(y) // '3.14159292035398230088'
- * x.dividedBy(5) // '71'
- * x.dividedBy(47, 16) // '5'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- dividedBy(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber divided by `n`, rounded
- * according to the current `DECIMAL_PLACES` and `ROUNDING_MODE` settings.
- *
- * ```ts
- * x = new BigNumber(355)
- * y = new BigNumber(113)
- * x.div(y) // '3.14159292035398230088'
- * x.div(5) // '71'
- * x.div(47, 16) // '5'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- div(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the integer part of dividing the value of this BigNumber by
- * `n`.
- *
- * ```ts
- * x = new BigNumber(5)
- * y = new BigNumber(3)
- * x.dividedToIntegerBy(y) // '1'
- * x.dividedToIntegerBy(0.7) // '7'
- * x.dividedToIntegerBy('0.f', 16) // '5'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- dividedToIntegerBy(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the integer part of dividing the value of this BigNumber by
- * `n`.
- *
- * ```ts
- * x = new BigNumber(5)
- * y = new BigNumber(3)
- * x.idiv(y) // '1'
- * x.idiv(0.7) // '7'
- * x.idiv('0.f', 16) // '5'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- idiv(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber exponentiated by `n`, i.e.
- * raised to the power `n`, and optionally modulo a modulus `m`.
- *
- * If `n` is negative the result is rounded according to the current `DECIMAL_PLACES` and
- * `ROUNDING_MODE` settings.
- *
- * As the number of digits of the result of the power operation can grow so large so quickly,
- * e.g. 123.456**10000 has over 50000 digits, the number of significant digits calculated is
- * limited to the value of the `POW_PRECISION` setting (unless a modulus `m` is specified).
- *
- * By default `POW_PRECISION` is set to 0. This means that an unlimited number of significant
- * digits will be calculated, and that the method's performance will decrease dramatically for
- * larger exponents.
- *
- * If `m` is specified and the value of `m`, `n` and this BigNumber are integers and `n` is
- * positive, then a fast modular exponentiation algorithm is used, otherwise the operation will
- * be performed as `x.exponentiatedBy(n).modulo(m)` with a `POW_PRECISION` of 0.
- *
- * Throws if `n` is not an integer.
- *
- * ```ts
- * Math.pow(0.7, 2) // 0.48999999999999994
- * x = new BigNumber(0.7)
- * x.exponentiatedBy(2) // '0.49'
- * BigNumber(3).exponentiatedBy(-2) // '0.11111111111111111111'
- * ```
- *
- * @param n The exponent, an integer.
- * @param [m] The modulus.
- */
- exponentiatedBy(n: BigNumber.Value, m?: BigNumber.Value): BigNumber;
- exponentiatedBy(n: number, m?: BigNumber.Value): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber exponentiated by `n`, i.e.
- * raised to the power `n`, and optionally modulo a modulus `m`.
- *
- * If `n` is negative the result is rounded according to the current `DECIMAL_PLACES` and
- * `ROUNDING_MODE` settings.
- *
- * As the number of digits of the result of the power operation can grow so large so quickly,
- * e.g. 123.456**10000 has over 50000 digits, the number of significant digits calculated is
- * limited to the value of the `POW_PRECISION` setting (unless a modulus `m` is specified).
- *
- * By default `POW_PRECISION` is set to 0. This means that an unlimited number of significant
- * digits will be calculated, and that the method's performance will decrease dramatically for
- * larger exponents.
- *
- * If `m` is specified and the value of `m`, `n` and this BigNumber are integers and `n` is
- * positive, then a fast modular exponentiation algorithm is used, otherwise the operation will
- * be performed as `x.pow(n).modulo(m)` with a `POW_PRECISION` of 0.
- *
- * Throws if `n` is not an integer.
- *
- * ```ts
- * Math.pow(0.7, 2) // 0.48999999999999994
- * x = new BigNumber(0.7)
- * x.pow(2) // '0.49'
- * BigNumber(3).pow(-2) // '0.11111111111111111111'
- * ```
- *
- * @param n The exponent, an integer.
- * @param [m] The modulus.
- */
- pow(n: BigNumber.Value, m?: BigNumber.Value): BigNumber;
- pow(n: number, m?: BigNumber.Value): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber rounded to an integer using
- * rounding mode `rm`.
- *
- * If `rm` is omitted, or is `null` or `undefined`, `ROUNDING_MODE` is used.
- *
- * Throws if `rm` is invalid.
- *
- * ```ts
- * x = new BigNumber(123.456)
- * x.integerValue() // '123'
- * x.integerValue(BigNumber.ROUND_CEIL) // '124'
- * y = new BigNumber(-12.7)
- * y.integerValue() // '-13'
- * x.integerValue(BigNumber.ROUND_DOWN) // '-12'
- * ```
- *
- * @param {BigNumber.RoundingMode} [rm] The roundng mode, an integer, 0 to 8.
- */
- integerValue(rm?: BigNumber.RoundingMode): BigNumber;
-
- /**
- * Returns `true` if the value of this BigNumber is equal to the value of `n`, otherwise returns
- * `false`.
- *
- * As with JavaScript, `NaN` does not equal `NaN`.
- *
- * ```ts
- * 0 === 1e-324 // true
- * x = new BigNumber(0)
- * x.isEqualTo('1e-324') // false
- * BigNumber(-0).isEqualTo(x) // true ( -0 === 0 )
- * BigNumber(255).isEqualTo('ff', 16) // true
- *
- * y = new BigNumber(NaN)
- * y.isEqualTo(NaN) // false
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- isEqualTo(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is equal to the value of `n`, otherwise returns
- * `false`.
- *
- * As with JavaScript, `NaN` does not equal `NaN`.
- *
- * ```ts
- * 0 === 1e-324 // true
- * x = new BigNumber(0)
- * x.eq('1e-324') // false
- * BigNumber(-0).eq(x) // true ( -0 === 0 )
- * BigNumber(255).eq('ff', 16) // true
- *
- * y = new BigNumber(NaN)
- * y.eq(NaN) // false
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- eq(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is a finite number, otherwise returns `false`.
- *
- * The only possible non-finite values of a BigNumber are `NaN`, `Infinity` and `-Infinity`.
- *
- * ```ts
- * x = new BigNumber(1)
- * x.isFinite() // true
- * y = new BigNumber(Infinity)
- * y.isFinite() // false
- * ```
- */
- isFinite(): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is greater than the value of `n`, otherwise
- * returns `false`.
- *
- * ```ts
- * 0.1 > (0.3 - 0.2) // true
- * x = new BigNumber(0.1)
- * x.isGreaterThan(BigNumber(0.3).minus(0.2)) // false
- * BigNumber(0).isGreaterThan(x) // false
- * BigNumber(11, 3).isGreaterThan(11.1, 2) // true
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- isGreaterThan(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is greater than the value of `n`, otherwise
- * returns `false`.
- *
- * ```ts
- * 0.1 > (0.3 - 0 // true
- * x = new BigNumber(0.1)
- * x.gt(BigNumber(0.3).minus(0.2)) // false
- * BigNumber(0).gt(x) // false
- * BigNumber(11, 3).gt(11.1, 2) // true
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- gt(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is greater than or equal to the value of `n`,
- * otherwise returns `false`.
- *
- * ```ts
- * (0.3 - 0.2) >= 0.1 // false
- * x = new BigNumber(0.3).minus(0.2)
- * x.isGreaterThanOrEqualTo(0.1) // true
- * BigNumber(1).isGreaterThanOrEqualTo(x) // true
- * BigNumber(10, 18).isGreaterThanOrEqualTo('i', 36) // true
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- isGreaterThanOrEqualTo(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is greater than or equal to the value of `n`,
- * otherwise returns `false`.
- *
- * ```ts
- * (0.3 - 0.2) >= 0.1 // false
- * x = new BigNumber(0.3).minus(0.2)
- * x.gte(0.1) // true
- * BigNumber(1).gte(x) // true
- * BigNumber(10, 18).gte('i', 36) // true
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- gte(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is an integer, otherwise returns `false`.
- *
- * ```ts
- * x = new BigNumber(1)
- * x.isInteger() // true
- * y = new BigNumber(123.456)
- * y.isInteger() // false
- * ```
- */
- isInteger(): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is less than the value of `n`, otherwise returns
- * `false`.
- *
- * ```ts
- * (0.3 - 0.2) < 0.1 // true
- * x = new BigNumber(0.3).minus(0.2)
- * x.isLessThan(0.1) // false
- * BigNumber(0).isLessThan(x) // true
- * BigNumber(11.1, 2).isLessThan(11, 3) // true
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- isLessThan(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is less than the value of `n`, otherwise returns
- * `false`.
- *
- * ```ts
- * (0.3 - 0.2) < 0.1 // true
- * x = new BigNumber(0.3).minus(0.2)
- * x.lt(0.1) // false
- * BigNumber(0).lt(x) // true
- * BigNumber(11.1, 2).lt(11, 3) // true
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- lt(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is less than or equal to the value of `n`,
- * otherwise returns `false`.
- *
- * ```ts
- * 0.1 <= (0.3 - 0.2) // false
- * x = new BigNumber(0.1)
- * x.isLessThanOrEqualTo(BigNumber(0.3).minus(0.2)) // true
- * BigNumber(-1).isLessThanOrEqualTo(x) // true
- * BigNumber(10, 18).isLessThanOrEqualTo('i', 36) // true
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- isLessThanOrEqualTo(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is less than or equal to the value of `n`,
- * otherwise returns `false`.
- *
- * ```ts
- * 0.1 <= (0.3 - 0.2) // false
- * x = new BigNumber(0.1)
- * x.lte(BigNumber(0.3).minus(0.2)) // true
- * BigNumber(-1).lte(x) // true
- * BigNumber(10, 18).lte('i', 36) // true
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- lte(n: BigNumber.Value, base?: number): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is `NaN`, otherwise returns `false`.
- *
- * ```ts
- * x = new BigNumber(NaN)
- * x.isNaN() // true
- * y = new BigNumber('Infinity')
- * y.isNaN() // false
- * ```
- */
- isNaN(): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is negative, otherwise returns `false`.
- *
- * ```ts
- * x = new BigNumber(-0)
- * x.isNegative() // true
- * y = new BigNumber(2)
- * y.isNegative() // false
- * ```
- */
- isNegative(): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is positive, otherwise returns `false`.
- *
- * ```ts
- * x = new BigNumber(-0)
- * x.isPositive() // false
- * y = new BigNumber(2)
- * y.isPositive() // true
- * ```
- */
- isPositive(): boolean;
-
- /**
- * Returns `true` if the value of this BigNumber is zero or minus zero, otherwise returns `false`.
- *
- * ```ts
- * x = new BigNumber(-0)
- * x.isZero() // true
- * ```
- */
- isZero(): boolean;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber minus `n`.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * 0.3 - 0.1 // 0.19999999999999998
- * x = new BigNumber(0.3)
- * x.minus(0.1) // '0.2'
- * x.minus(0.6, 20) // '0'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- minus(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber modulo `n`, i.e. the integer
- * remainder of dividing this BigNumber by `n`.
- *
- * The value returned, and in particular its sign, is dependent on the value of the `MODULO_MODE`
- * setting of this BigNumber constructor. If it is 1 (default value), the result will have the
- * same sign as this BigNumber, and it will match that of Javascript's `%` operator (within the
- * limits of double precision) and BigDecimal's `remainder` method.
- *
- * The return value is always exact and unrounded.
- *
- * See `MODULO_MODE` for a description of the other modulo modes.
- *
- * ```ts
- * 1 % 0.9 // 0.09999999999999998
- * x = new BigNumber(1)
- * x.modulo(0.9) // '0.1'
- * y = new BigNumber(33)
- * y.modulo('a', 33) // '3'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- modulo(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber modulo `n`, i.e. the integer
- * remainder of dividing this BigNumber by `n`.
- *
- * The value returned, and in particular its sign, is dependent on the value of the `MODULO_MODE`
- * setting of this BigNumber constructor. If it is 1 (default value), the result will have the
- * same sign as this BigNumber, and it will match that of Javascript's `%` operator (within the
- * limits of double precision) and BigDecimal's `remainder` method.
- *
- * The return value is always exact and unrounded.
- *
- * See `MODULO_MODE` for a description of the other modulo modes.
- *
- * ```ts
- * 1 % 0.9 // 0.09999999999999998
- * x = new BigNumber(1)
- * x.mod(0.9) // '0.1'
- * y = new BigNumber(33)
- * y.mod('a', 33) // '3'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- mod(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber multiplied by `n`.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * 0.6 * 3 // 1.7999999999999998
- * x = new BigNumber(0.6)
- * y = x.multipliedBy(3) // '1.8'
- * BigNumber('7e+500').multipliedBy(y) // '1.26e+501'
- * x.multipliedBy('-a', 16) // '-6'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- multipliedBy(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber multiplied by `n`.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * 0.6 * 3 // 1.7999999999999998
- * x = new BigNumber(0.6)
- * y = x.times(3) // '1.8'
- * BigNumber('7e+500').times(y) // '1.26e+501'
- * x.times('-a', 16) // '-6'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- times(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber negated, i.e. multiplied by -1.
- *
- * ```ts
- * x = new BigNumber(1.8)
- * x.negated() // '-1.8'
- * y = new BigNumber(-1.3)
- * y.negated() // '1.3'
- * ```
- */
- negated(): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber plus `n`.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * 0.1 + 0.2 // 0.30000000000000004
- * x = new BigNumber(0.1)
- * y = x.plus(0.2) // '0.3'
- * BigNumber(0.7).plus(x).plus(y) // '1'
- * x.plus('0.1', 8) // '0.225'
- * ```
- *
- * @param n A numeric value.
- * @param [base] The base of n.
- */
- plus(n: BigNumber.Value, base?: number): BigNumber;
-
- /**
- * Returns the number of significant digits of the value of this BigNumber, or `null` if the value
- * of this BigNumber is ±`Infinity` or `NaN`.
- *
- * If `includeZeros` is true then any trailing zeros of the integer part of the value of this
- * BigNumber are counted as significant digits, otherwise they are not.
- *
- * Throws if `includeZeros` is invalid.
- *
- * ```ts
- * x = new BigNumber(9876.54321)
- * x.precision() // 9
- * y = new BigNumber(987000)
- * y.precision(false) // 3
- * y.precision(true) // 6
- * ```
- *
- * @param [includeZeros] Whether to include integer trailing zeros in the significant digit count.
- */
- precision(includeZeros?: boolean): number;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber rounded to a precision of
- * `significantDigits` significant digits using rounding mode `roundingMode`.
- *
- * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` will be used.
- *
- * Throws if `significantDigits` or `roundingMode` is invalid.
- *
- * ```ts
- * x = new BigNumber(9876.54321)
- * x.precision(6) // '9876.54'
- * x.precision(6, BigNumber.ROUND_UP) // '9876.55'
- * x.precision(2) // '9900'
- * x.precision(2, 1) // '9800'
- * x // '9876.54321'
- * ```
- *
- * @param significantDigits Significant digits, integer, 1 to 1e+9.
- * @param [roundingMode] Rounding mode, integer, 0 to 8.
- */
- precision(significantDigits: number, roundingMode?: BigNumber.RoundingMode): BigNumber;
-
- /**
- * Returns the number of significant digits of the value of this BigNumber,
- * or `null` if the value of this BigNumber is ±`Infinity` or `NaN`.
- *
- * If `includeZeros` is true then any trailing zeros of the integer part of
- * the value of this BigNumber are counted as significant digits, otherwise
- * they are not.
- *
- * Throws if `includeZeros` is invalid.
- *
- * ```ts
- * x = new BigNumber(9876.54321)
- * x.sd() // 9
- * y = new BigNumber(987000)
- * y.sd(false) // 3
- * y.sd(true) // 6
- * ```
- *
- * @param [includeZeros] Whether to include integer trailing zeros in the significant digit count.
- */
- sd(includeZeros?: boolean): number;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber rounded to a precision of
- * `significantDigits` significant digits using rounding mode `roundingMode`.
- *
- * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` will be used.
- *
- * Throws if `significantDigits` or `roundingMode` is invalid.
- *
- * ```ts
- * x = new BigNumber(9876.54321)
- * x.sd(6) // '9876.54'
- * x.sd(6, BigNumber.ROUND_UP) // '9876.55'
- * x.sd(2) // '9900'
- * x.sd(2, 1) // '9800'
- * x // '9876.54321'
- * ```
- *
- * @param significantDigits Significant digits, integer, 1 to 1e+9.
- * @param [roundingMode] Rounding mode, integer, 0 to 8.
- */
- sd(significantDigits: number, roundingMode?: BigNumber.RoundingMode): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the value of this BigNumber shifted by `n` places.
- *
- * The shift is of the decimal point, i.e. of powers of ten, and is to the left if `n` is negative
- * or to the right if `n` is positive.
- *
- * The return value is always exact and unrounded.
- *
- * Throws if `n` is invalid.
- *
- * ```ts
- * x = new BigNumber(1.23)
- * x.shiftedBy(3) // '1230'
- * x.shiftedBy(-3) // '0.00123'
- * ```
- *
- * @param n The shift value, integer, -9007199254740991 to 9007199254740991.
- */
- shiftedBy(n: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the square root of the value of this BigNumber, rounded
- * according to the current `DECIMAL_PLACES` and `ROUNDING_MODE` settings.
- *
- * The return value will be correctly rounded, i.e. rounded as if the result was first calculated
- * to an infinite number of correct digits before rounding.
- *
- * ```ts
- * x = new BigNumber(16)
- * x.squareRoot() // '4'
- * y = new BigNumber(3)
- * y.squareRoot() // '1.73205080756887729353'
- * ```
- */
- squareRoot(): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the square root of the value of this BigNumber, rounded
- * according to the current `DECIMAL_PLACES` and `ROUNDING_MODE` settings.
- *
- * The return value will be correctly rounded, i.e. rounded as if the result was first calculated
- * to an infinite number of correct digits before rounding.
- *
- * ```ts
- * x = new BigNumber(16)
- * x.sqrt() // '4'
- * y = new BigNumber(3)
- * y.sqrt() // '1.73205080756887729353'
- * ```
- */
- sqrt(): BigNumber;
-
- /**
- * Returns a string representing the value of this BigNumber in exponential notation rounded using
- * rounding mode `roundingMode` to `decimalPlaces` decimal places, i.e with one digit before the
- * decimal point and `decimalPlaces` digits after it.
- *
- * If the value of this BigNumber in exponential notation has fewer than `decimalPlaces` fraction
- * digits, the return value will be appended with zeros accordingly.
- *
- * If `decimalPlaces` is omitted, or is `null` or `undefined`, the number of digits after the
- * decimal point defaults to the minimum number of digits necessary to represent the value
- * exactly.
- *
- * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` is used.
- *
- * Throws if `decimalPlaces` or `roundingMode` is invalid.
- *
- * ```ts
- * x = 45.6
- * y = new BigNumber(x)
- * x.toExponential() // '4.56e+1'
- * y.toExponential() // '4.56e+1'
- * x.toExponential(0) // '5e+1'
- * y.toExponential(0) // '5e+1'
- * x.toExponential(1) // '4.6e+1'
- * y.toExponential(1) // '4.6e+1'
- * y.toExponential(1, 1) // '4.5e+1' (ROUND_DOWN)
- * x.toExponential(3) // '4.560e+1'
- * y.toExponential(3) // '4.560e+1'
- * ```
- *
- * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
- * @param [roundingMode] Rounding mode, integer, 0 to 8.
- */
- toExponential(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): string;
- toExponential(): string;
-
- /**
- * Returns a string representing the value of this BigNumber in normal (fixed-point) notation
- * rounded to `decimalPlaces` decimal places using rounding mode `roundingMode`.
- *
- * If the value of this BigNumber in normal notation has fewer than `decimalPlaces` fraction
- * digits, the return value will be appended with zeros accordingly.
- *
- * Unlike `Number.prototype.toFixed`, which returns exponential notation if a number is greater or
- * equal to 10**21, this method will always return normal notation.
- *
- * If `decimalPlaces` is omitted or is `null` or `undefined`, the return value will be unrounded
- * and in normal notation. This is also unlike `Number.prototype.toFixed`, which returns the value
- * to zero decimal places. It is useful when normal notation is required and the current
- * `EXPONENTIAL_AT` setting causes `toString` to return exponential notation.
- *
- * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` is used.
- *
- * Throws if `decimalPlaces` or `roundingMode` is invalid.
- *
- * ```ts
- * x = 3.456
- * y = new BigNumber(x)
- * x.toFixed() // '3'
- * y.toFixed() // '3.456'
- * y.toFixed(0) // '3'
- * x.toFixed(2) // '3.46'
- * y.toFixed(2) // '3.46'
- * y.toFixed(2, 1) // '3.45' (ROUND_DOWN)
- * x.toFixed(5) // '3.45600'
- * y.toFixed(5) // '3.45600'
- * ```
- *
- * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
- * @param [roundingMode] Rounding mode, integer, 0 to 8.
- */
- toFixed(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): string;
- toFixed(): string;
-
- /**
- * Returns a string representing the value of this BigNumber in normal (fixed-point) notation
- * rounded to `decimalPlaces` decimal places using rounding mode `roundingMode`, and formatted
- * according to the properties of the `format` or `FORMAT` object.
- *
- * The formatting object may contain some or all of the properties shown in the examples below.
- *
- * If `decimalPlaces` is omitted or is `null` or `undefined`, then the return value is not
- * rounded to a fixed number of decimal places.
- *
- * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` is used.
- *
- * If `format` is omitted or is `null` or `undefined`, `FORMAT` is used.
- *
- * Throws if `decimalPlaces`, `roundingMode`, or `format` is invalid.
- *
- * ```ts
- * fmt = {
- * decimalSeparator: '.',
- * groupSeparator: ',',
- * groupSize: 3,
- * secondaryGroupSize: 0,
- * fractionGroupSeparator: ' ',
- * fractionGroupSize: 0
- * }
- *
- * x = new BigNumber('123456789.123456789')
- *
- * // Set the global formatting options
- * BigNumber.config({ FORMAT: fmt })
- *
- * x.toFormat() // '123,456,789.123456789'
- * x.toFormat(3) // '123,456,789.123'
- *
- * // If a reference to the object assigned to FORMAT has been retained,
- * // the format properties can be changed directly
- * fmt.groupSeparator = ' '
- * fmt.fractionGroupSize = 5
- * x.toFormat() // '123 456 789.12345 6789'
- *
- * // Alternatively, pass the formatting options as an argument
- * fmt = {
- * decimalSeparator: ',',
- * groupSeparator: '.',
- * groupSize: 3,
- * secondaryGroupSize: 2
- * }
- *
- * x.toFormat() // '123 456 789.12345 6789'
- * x.toFormat(fmt) // '12.34.56.789,123456789'
- * x.toFormat(2, fmt) // '12.34.56.789,12'
- * x.toFormat(3, BigNumber.ROUND_UP, fmt) // '12.34.56.789,124'
- * ```
- *
- * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
- * @param [roundingMode] Rounding mode, integer, 0 to 8.
- * @param [format] Formatting options object. See `BigNumber.Format`.
- */
- toFormat(decimalPlaces: number, roundingMode: BigNumber.RoundingMode, format?: BigNumber.Format): string;
- toFormat(decimalPlaces: number, roundingMode?: BigNumber.RoundingMode): string;
- toFormat(decimalPlaces?: number): string;
- toFormat(decimalPlaces: number, format: BigNumber.Format): string;
- toFormat(format: BigNumber.Format): string;
-
- /**
- * Returns an array of two BigNumbers representing the value of this BigNumber as a simple
- * fraction with an integer numerator and an integer denominator.
- * The denominator will be a positive non-zero value less than or equal to `max_denominator`.
- * If a maximum denominator, `max_denominator`, is not specified, or is `null` or `undefined`, the
- * denominator will be the lowest value necessary to represent the number exactly.
- *
- * Throws if `max_denominator` is invalid.
- *
- * ```ts
- * x = new BigNumber(1.75)
- * x.toFraction() // '7, 4'
- *
- * pi = new BigNumber('3.14159265358')
- * pi.toFraction() // '157079632679,50000000000'
- * pi.toFraction(100000) // '312689, 99532'
- * pi.toFraction(10000) // '355, 113'
- * pi.toFraction(100) // '311, 99'
- * pi.toFraction(10) // '22, 7'
- * pi.toFraction(1) // '3, 1'
- * ```
- *
- * @param [max_denominator] The maximum denominator, integer > 0, or Infinity.
- */
- toFraction(max_denominator?: BigNumber.Value): [BigNumber, BigNumber];
-
- /** As `valueOf`. */
- toJSON(): string;
-
- /**
- * Returns the value of this BigNumber as a JavaScript primitive number.
- *
- * Using the unary plus operator gives the same result.
- *
- * ```ts
- * x = new BigNumber(456.789)
- * x.toNumber() // 456.789
- * +x // 456.789
- *
- * y = new BigNumber('45987349857634085409857349856430985')
- * y.toNumber() // 4.598734985763409e+34
- *
- * z = new BigNumber(-0)
- * 1 / z.toNumber() // -Infinity
- * 1 / +z // -Infinity
- * ```
- */
- toNumber(): number;
-
- /**
- * Returns a string representing the value of this BigNumber rounded to `significantDigits`
- * significant digits using rounding mode `roundingMode`.
- *
- * If `significantDigits` is less than the number of digits necessary to represent the integer
- * part of the value in normal (fixed-point) notation, then exponential notation is used.
- *
- * If `significantDigits` is omitted, or is `null` or `undefined`, then the return value is the
- * same as `n.toString()`.
- *
- * If `roundingMode` is omitted or is `null` or `undefined`, `ROUNDING_MODE` is used.
- *
- * Throws if `significantDigits` or `roundingMode` is invalid.
- *
- * ```ts
- * x = 45.6
- * y = new BigNumber(x)
- * x.toPrecision() // '45.6'
- * y.toPrecision() // '45.6'
- * x.toPrecision(1) // '5e+1'
- * y.toPrecision(1) // '5e+1'
- * y.toPrecision(2, 0) // '4.6e+1' (ROUND_UP)
- * y.toPrecision(2, 1) // '4.5e+1' (ROUND_DOWN)
- * x.toPrecision(5) // '45.600'
- * y.toPrecision(5) // '45.600'
- * ```
- *
- * @param [significantDigits] Significant digits, integer, 1 to 1e+9.
- * @param [roundingMode] Rounding mode, integer 0 to 8.
- */
- toPrecision(significantDigits: number, roundingMode?: BigNumber.RoundingMode): string;
- toPrecision(): string;
-
- /**
- * Returns a string representing the value of this BigNumber in base `base`, or base 10 if `base`
- * is omitted or is `null` or `undefined`.
- *
- * For bases above 10, and using the default base conversion alphabet (see `ALPHABET`), values
- * from 10 to 35 are represented by a-z (the same as `Number.prototype.toString`).
- *
- * If a base is specified the value is rounded according to the current `DECIMAL_PLACES` and
- * `ROUNDING_MODE` settings, otherwise it is not.
- *
- * If a base is not specified, and this BigNumber has a positive exponent that is equal to or
- * greater than the positive component of the current `EXPONENTIAL_AT` setting, or a negative
- * exponent equal to or less than the negative component of the setting, then exponential notation
- * is returned.
- *
- * If `base` is `null` or `undefined` it is ignored.
- *
- * Throws if `base` is invalid.
- *
- * ```ts
- * x = new BigNumber(750000)
- * x.toString() // '750000'
- * BigNumber.config({ EXPONENTIAL_AT: 5 })
- * x.toString() // '7.5e+5'
- *
- * y = new BigNumber(362.875)
- * y.toString(2) // '101101010.111'
- * y.toString(9) // '442.77777777777777777778'
- * y.toString(32) // 'ba.s'
- *
- * BigNumber.config({ DECIMAL_PLACES: 4 });
- * z = new BigNumber('1.23456789')
- * z.toString() // '1.23456789'
- * z.toString(10) // '1.2346'
- * ```
- *
- * @param [base] The base, integer, 2 to 36 (or `ALPHABET.length`, see `ALPHABET`).
- */
- toString(base?: number): string;
-
- /**
- * As `toString`, but does not accept a base argument and includes the minus sign for negative
- * zero.
- *
- * ``ts
- * x = new BigNumber('-0')
- * x.toString() // '0'
- * x.valueOf() // '-0'
- * y = new BigNumber('1.777e+457')
- * y.valueOf() // '1.777e+457'
- * ```
- */
- valueOf(): string;
-
- /** Helps ES6 import. */
- private static readonly default?: BigNumber.Constructor;
-
- /** Helps ES6 import. */
- private static readonly BigNumber?: BigNumber.Constructor;
-
- /** Rounds away from zero. */
- static readonly ROUND_UP: 0;
-
- /** Rounds towards zero. */
- static readonly ROUND_DOWN: 1;
-
- /** Rounds towards Infinity. */
- static readonly ROUND_CEIL: 2;
-
- /** Rounds towards -Infinity. */
- static readonly ROUND_FLOOR: 3;
-
- /** Rounds towards nearest neighbour. If equidistant, rounds away from zero . */
- static readonly ROUND_HALF_UP: 4;
-
- /** Rounds towards nearest neighbour. If equidistant, rounds towards zero. */
- static readonly ROUND_HALF_DOWN: 5;
-
- /** Rounds towards nearest neighbour. If equidistant, rounds towards even neighbour. */
- static readonly ROUND_HALF_EVEN: 6;
-
- /** Rounds towards nearest neighbour. If equidistant, rounds towards Infinity. */
- static readonly ROUND_HALF_CEIL: 7;
-
- /** Rounds towards nearest neighbour. If equidistant, rounds towards -Infinity. */
- static readonly ROUND_HALF_FLOOR: 8;
-
- /** See `MODULO_MODE`. */
- static readonly EUCLID: 9;
-
- /**
- * To aid in debugging, if a `BigNumber.DEBUG` property is `true` then an error will be thrown
- * if the BigNumber constructor receives an invalid `BigNumber.Value`, or if `BigNumber.isBigNumber`
- * receives a BigNumber instance that is malformed.
- *
- * ```ts
- * // No error, and BigNumber NaN is returned.
- * new BigNumber('blurgh') // 'NaN'
- * new BigNumber(9, 2) // 'NaN'
- * BigNumber.DEBUG = true
- * new BigNumber('blurgh') // '[BigNumber Error] Not a number'
- * new BigNumber(9, 2) // '[BigNumber Error] Not a base 2 number'
- * ```
- *
- * An error will also be thrown if a `BigNumber.Value` is of type number with more than 15
- * significant digits, as calling `toString` or `valueOf` on such numbers may not result
- * in the intended value.
- *
- * ```ts
- * console.log(823456789123456.3) // 823456789123456.2
- * // No error, and the returned BigNumber does not have the same value as the number literal.
- * new BigNumber(823456789123456.3) // '823456789123456.2'
- * BigNumber.DEBUG = true
- * new BigNumber(823456789123456.3)
- * // '[BigNumber Error] Number primitive has more than 15 significant digits'
- * ```
- *
- * Check that a BigNumber instance is well-formed:
- *
- * ```ts
- * x = new BigNumber(10)
- *
- * BigNumber.DEBUG = false
- * // Change x.c to an illegitimate value.
- * x.c = NaN
- * // No error, as BigNumber.DEBUG is false.
- * BigNumber.isBigNumber(x) // true
- *
- * BigNumber.DEBUG = true
- * BigNumber.isBigNumber(x) // '[BigNumber Error] Invalid BigNumber'
- * ```
- */
- static DEBUG?: boolean;
-
- /**
- * Returns a new independent BigNumber constructor with configuration as described by `object`, or
- * with the default configuration if object is `null` or `undefined`.
- *
- * Throws if `object` is not an object.
- *
- * ```ts
- * BigNumber.config({ DECIMAL_PLACES: 5 })
- * BN = BigNumber.clone({ DECIMAL_PLACES: 9 })
- *
- * x = new BigNumber(1)
- * y = new BN(1)
- *
- * x.div(3) // 0.33333
- * y.div(3) // 0.333333333
- *
- * // BN = BigNumber.clone({ DECIMAL_PLACES: 9 }) is equivalent to:
- * BN = BigNumber.clone()
- * BN.config({ DECIMAL_PLACES: 9 })
- * ```
- *
- * @param [object] The configuration object.
- */
- static clone(object?: BigNumber.Config): BigNumber.Constructor;
-
- /**
- * Configures the settings that apply to this BigNumber constructor.
- *
- * The configuration object, `object`, contains any number of the properties shown in the example
- * below.
- *
- * Returns an object with the above properties and their current values.
- *
- * Throws if `object` is not an object, or if an invalid value is assigned to one or more of the
- * properties.
- *
- * ```ts
- * BigNumber.config({
- * DECIMAL_PLACES: 40,
- * ROUNDING_MODE: BigNumber.ROUND_HALF_CEIL,
- * EXPONENTIAL_AT: [-10, 20],
- * RANGE: [-500, 500],
- * CRYPTO: true,
- * MODULO_MODE: BigNumber.ROUND_FLOOR,
- * POW_PRECISION: 80,
- * FORMAT: {
- * groupSize: 3,
- * groupSeparator: ' ',
- * decimalSeparator: ','
- * },
- * ALPHABET: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
- * });
- *
- * BigNumber.config().DECIMAL_PLACES // 40
- * ```
- *
- * @param object The configuration object.
- */
- static config(object: BigNumber.Config): BigNumber.Config;
-
- /**
- * Returns `true` if `value` is a BigNumber instance, otherwise returns `false`.
- *
- * If `BigNumber.DEBUG` is `true`, throws if a BigNumber instance is not well-formed.
- *
- * ```ts
- * x = 42
- * y = new BigNumber(x)
- *
- * BigNumber.isBigNumber(x) // false
- * y instanceof BigNumber // true
- * BigNumber.isBigNumber(y) // true
- *
- * BN = BigNumber.clone();
- * z = new BN(x)
- * z instanceof BigNumber // false
- * BigNumber.isBigNumber(z) // true
- * ```
- *
- * @param value The value to test.
- */
- static isBigNumber(value: any): value is BigNumber;
-
- /**
- * Returns a BigNumber whose value is the maximum of the arguments.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * x = new BigNumber('3257869345.0378653')
- * BigNumber.maximum(4e9, x, '123456789.9') // '4000000000'
- *
- * arr = [12, '13', new BigNumber(14)]
- * BigNumber.maximum.apply(null, arr) // '14'
- * ```
- *
- * @param n A numeric value.
- */
- static maximum(...n: BigNumber.Value[]): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the maximum of the arguments.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * x = new BigNumber('3257869345.0378653')
- * BigNumber.max(4e9, x, '123456789.9') // '4000000000'
- *
- * arr = [12, '13', new BigNumber(14)]
- * BigNumber.max.apply(null, arr) // '14'
- * ```
- *
- * @param n A numeric value.
- */
- static max(...n: BigNumber.Value[]): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the minimum of the arguments.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * x = new BigNumber('3257869345.0378653')
- * BigNumber.minimum(4e9, x, '123456789.9') // '123456789.9'
- *
- * arr = [2, new BigNumber(-14), '-15.9999', -12]
- * BigNumber.minimum.apply(null, arr) // '-15.9999'
- * ```
- *
- * @param n A numeric value.
- */
- static minimum(...n: BigNumber.Value[]): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the minimum of the arguments.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * x = new BigNumber('3257869345.0378653')
- * BigNumber.min(4e9, x, '123456789.9') // '123456789.9'
- *
- * arr = [2, new BigNumber(-14), '-15.9999', -12]
- * BigNumber.min.apply(null, arr) // '-15.9999'
- * ```
- *
- * @param n A numeric value.
- */
- static min(...n: BigNumber.Value[]): BigNumber;
-
- /**
- * Returns a new BigNumber with a pseudo-random value equal to or greater than 0 and less than 1.
- *
- * The return value will have `decimalPlaces` decimal places, or less if trailing zeros are
- * produced. If `decimalPlaces` is omitted, the current `DECIMAL_PLACES` setting will be used.
- *
- * Depending on the value of this BigNumber constructor's `CRYPTO` setting and the support for the
- * `crypto` object in the host environment, the random digits of the return value are generated by
- * either `Math.random` (fastest), `crypto.getRandomValues` (Web Cryptography API in recent
- * browsers) or `crypto.randomBytes` (Node.js).
- *
- * To be able to set `CRYPTO` to true when using Node.js, the `crypto` object must be available
- * globally:
- *
- * ```ts
- * global.crypto = require('crypto')
- * ```
- *
- * If `CRYPTO` is true, i.e. one of the `crypto` methods is to be used, the value of a returned
- * BigNumber should be cryptographically secure and statistically indistinguishable from a random
- * value.
- *
- * Throws if `decimalPlaces` is invalid.
- *
- * ```ts
- * BigNumber.config({ DECIMAL_PLACES: 10 })
- * BigNumber.random() // '0.4117936847'
- * BigNumber.random(20) // '0.78193327636914089009'
- * ```
- *
- * @param [decimalPlaces] Decimal places, integer, 0 to 1e+9.
- */
- static random(decimalPlaces?: number): BigNumber;
-
- /**
- * Returns a BigNumber whose value is the sum of the arguments.
- *
- * The return value is always exact and unrounded.
- *
- * ```ts
- * x = new BigNumber('3257869345.0378653')
- * BigNumber.sum(4e9, x, '123456789.9') // '7381326134.9378653'
- *
- * arr = [2, new BigNumber(14), '15.9999', 12]
- * BigNumber.sum.apply(null, arr) // '43.9999'
- * ```
- *
- * @param n A numeric value.
- */
- static sum(...n: BigNumber.Value[]): BigNumber;
-
- /**
- * Configures the settings that apply to this BigNumber constructor.
- *
- * The configuration object, `object`, contains any number of the properties shown in the example
- * below.
- *
- * Returns an object with the above properties and their current values.
- *
- * Throws if `object` is not an object, or if an invalid value is assigned to one or more of the
- * properties.
- *
- * ```ts
- * BigNumber.set({
- * DECIMAL_PLACES: 40,
- * ROUNDING_MODE: BigNumber.ROUND_HALF_CEIL,
- * EXPONENTIAL_AT: [-10, 20],
- * RANGE: [-500, 500],
- * CRYPTO: true,
- * MODULO_MODE: BigNumber.ROUND_FLOOR,
- * POW_PRECISION: 80,
- * FORMAT: {
- * groupSize: 3,
- * groupSeparator: ' ',
- * decimalSeparator: ','
- * },
- * ALPHABET: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
- * });
- *
- * BigNumber.set().DECIMAL_PLACES // 40
- * ```
- *
- * @param object The configuration object.
- */
- static set(object: BigNumber.Config): BigNumber.Config;
-}
diff --git a/Server/node_modules/bignumber.js/bignumber.js b/Server/node_modules/bignumber.js/bignumber.js
deleted file mode 100644
index f2ea883..0000000
--- a/Server/node_modules/bignumber.js/bignumber.js
+++ /dev/null
@@ -1,2902 +0,0 @@
-;(function (globalObject) {
- 'use strict';
-
-/*
- * bignumber.js v9.0.0
- * A JavaScript library for arbitrary-precision arithmetic.
- * https://github.com/MikeMcl/bignumber.js
- * Copyright (c) 2019 Michael Mclaughlin <M8ch88l@gmail.com>
- * MIT Licensed.
- *
- * BigNumber.prototype methods | BigNumber methods
- * |
- * absoluteValue abs | clone
- * comparedTo | config set
- * decimalPlaces dp | DECIMAL_PLACES
- * dividedBy div | ROUNDING_MODE
- * dividedToIntegerBy idiv | EXPONENTIAL_AT
- * exponentiatedBy pow | RANGE
- * integerValue | CRYPTO
- * isEqualTo eq | MODULO_MODE
- * isFinite | POW_PRECISION
- * isGreaterThan gt | FORMAT
- * isGreaterThanOrEqualTo gte | ALPHABET
- * isInteger | isBigNumber
- * isLessThan lt | maximum max
- * isLessThanOrEqualTo lte | minimum min
- * isNaN | random
- * isNegative | sum
- * isPositive |
- * isZero |
- * minus |
- * modulo mod |
- * multipliedBy times |
- * negated |
- * plus |
- * precision sd |
- * shiftedBy |
- * squareRoot sqrt |
- * toExponential |
- * toFixed |
- * toFormat |
- * toFraction |
- * toJSON |
- * toNumber |
- * toPrecision |
- * toString |
- * valueOf |
- *
- */
-
-
- var BigNumber,
- isNumeric = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,
- mathceil = Math.ceil,
- mathfloor = Math.floor,
-
- bignumberError = '[BigNumber Error] ',
- tooManyDigits = bignumberError + 'Number primitive has more than 15 significant digits: ',
-
- BASE = 1e14,
- LOG_BASE = 14,
- MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1
- // MAX_INT32 = 0x7fffffff, // 2^31 - 1
- POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13],
- SQRT_BASE = 1e7,
-
- // EDITABLE
- // The limit on the value of DECIMAL_PLACES, TO_EXP_NEG, TO_EXP_POS, MIN_EXP, MAX_EXP, and
- // the arguments to toExponential, toFixed, toFormat, and toPrecision.
- MAX = 1E9; // 0 to MAX_INT32
-
-
- /*
- * Create and return a BigNumber constructor.
- */
- function clone(configObject) {
- var div, convertBase, parseNumeric,
- P = BigNumber.prototype = { constructor: BigNumber, toString: null, valueOf: null },
- ONE = new BigNumber(1),
-
-
- //----------------------------- EDITABLE CONFIG DEFAULTS -------------------------------
-
-
- // The default values below must be integers within the inclusive ranges stated.
- // The values can also be changed at run-time using BigNumber.set.
-
- // The maximum number of decimal places for operations involving division.
- DECIMAL_PLACES = 20, // 0 to MAX
-
- // The rounding mode used when rounding to the above decimal places, and when using
- // toExponential, toFixed, toFormat and toPrecision, and round (default value).
- // UP 0 Away from zero.
- // DOWN 1 Towards zero.
- // CEIL 2 Towards +Infinity.
- // FLOOR 3 Towards -Infinity.
- // HALF_UP 4 Towards nearest neighbour. If equidistant, up.
- // HALF_DOWN 5 Towards nearest neighbour. If equidistant, down.
- // HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour.
- // HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity.
- // HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity.
- ROUNDING_MODE = 4, // 0 to 8
-
- // EXPONENTIAL_AT : [TO_EXP_NEG , TO_EXP_POS]
-
- // The exponent value at and beneath which toString returns exponential notation.
- // Number type: -7
- TO_EXP_NEG = -7, // 0 to -MAX
-
- // The exponent value at and above which toString returns exponential notation.
- // Number type: 21
- TO_EXP_POS = 21, // 0 to MAX
-
- // RANGE : [MIN_EXP, MAX_EXP]
-
- // The minimum exponent value, beneath which underflow to zero occurs.
- // Number type: -324 (5e-324)
- MIN_EXP = -1e7, // -1 to -MAX
-
- // The maximum exponent value, above which overflow to Infinity occurs.
- // Number type: 308 (1.7976931348623157e+308)
- // For MAX_EXP > 1e7, e.g. new BigNumber('1e100000000').plus(1) may be slow.
- MAX_EXP = 1e7, // 1 to MAX
-
- // Whether to use cryptographically-secure random number generation, if available.
- CRYPTO = false, // true or false
-
- // The modulo mode used when calculating the modulus: a mod n.
- // The quotient (q = a / n) is calculated according to the corresponding rounding mode.
- // The remainder (r) is calculated as: r = a - n * q.
- //
- // UP 0 The remainder is positive if the dividend is negative, else is negative.
- // DOWN 1 The remainder has the same sign as the dividend.
- // This modulo mode is commonly known as 'truncated division' and is
- // equivalent to (a % n) in JavaScript.
- // FLOOR 3 The remainder has the same sign as the divisor (Python %).
- // HALF_EVEN 6 This modulo mode implements the IEEE 754 remainder function.
- // EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)).
- // The remainder is always positive.
- //
- // The truncated division, floored division, Euclidian division and IEEE 754 remainder
- // modes are commonly used for the modulus operation.
- // Although the other rounding modes can also be used, they may not give useful results.
- MODULO_MODE = 1, // 0 to 9
-
- // The maximum number of significant digits of the result of the exponentiatedBy operation.
- // If POW_PRECISION is 0, there will be unlimited significant digits.
- POW_PRECISION = 0, // 0 to MAX
-
- // The format specification used by the BigNumber.prototype.toFormat method.
- FORMAT = {
- prefix: '',
- groupSize: 3,
- secondaryGroupSize: 0,
- groupSeparator: ',',
- decimalSeparator: '.',
- fractionGroupSize: 0,
- fractionGroupSeparator: '\xA0', // non-breaking space
- suffix: ''
- },
-
- // The alphabet used for base conversion. It must be at least 2 characters long, with no '+',
- // '-', '.', whitespace, or repeated character.
- // '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
- ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyz';
-
-
- //------------------------------------------------------------------------------------------
-
-
- // CONSTRUCTOR
-
-
- /*
- * The BigNumber constructor and exported function.
- * Create and return a new instance of a BigNumber object.
- *
- * v {number|string|BigNumber} A numeric value.
- * [b] {number} The base of v. Integer, 2 to ALPHABET.length inclusive.
- */
- function BigNumber(v, b) {
- var alphabet, c, caseChanged, e, i, isNum, len, str,
- x = this;
-
- // Enable constructor call without `new`.
- if (!(x instanceof BigNumber)) return new BigNumber(v, b);
-
- if (b == null) {
-
- if (v && v._isBigNumber === true) {
- x.s = v.s;
-
- if (!v.c || v.e > MAX_EXP) {
- x.c = x.e = null;
- } else if (v.e < MIN_EXP) {
- x.c = [x.e = 0];
- } else {
- x.e = v.e;
- x.c = v.c.slice();
- }
-
- return;
- }
-
- if ((isNum = typeof v == 'number') && v * 0 == 0) {
-
- // Use `1 / n` to handle minus zero also.
- x.s = 1 / v < 0 ? (v = -v, -1) : 1;
-
- // Fast path for integers, where n < 2147483648 (2**31).
- if (v === ~~v) {
- for (e = 0, i = v; i >= 10; i /= 10, e++);
-
- if (e > MAX_EXP) {
- x.c = x.e = null;
- } else {
- x.e = e;
- x.c = [v];
- }
-
- return;
- }
-
- str = String(v);
- } else {
-
- if (!isNumeric.test(str = String(v))) return parseNumeric(x, str, isNum);
-
- x.s = str.charCodeAt(0) == 45 ? (str = str.slice(1), -1) : 1;
- }
-
- // Decimal point?
- if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
-
- // Exponential form?
- if ((i = str.search(/e/i)) > 0) {
-
- // Determine exponent.
- if (e < 0) e = i;
- e += +str.slice(i + 1);
- str = str.substring(0, i);
- } else if (e < 0) {
-
- // Integer.
- e = str.length;
- }
-
- } else {
-
- // '[BigNumber Error] Base {not a primitive number|not an integer|out of range}: {b}'
- intCheck(b, 2, ALPHABET.length, 'Base');
-
- // Allow exponential notation to be used with base 10 argument, while
- // also rounding to DECIMAL_PLACES as with other bases.
- if (b == 10) {
- x = new BigNumber(v);
- return round(x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE);
- }
-
- str = String(v);
-
- if (isNum = typeof v == 'number') {
-
- // Avoid potential interpretation of Infinity and NaN as base 44+ values.
- if (v * 0 != 0) return parseNumeric(x, str, isNum, b);
-
- x.s = 1 / v < 0 ? (str = str.slice(1), -1) : 1;
-
- // '[BigNumber Error] Number primitive has more than 15 significant digits: {n}'
- if (BigNumber.DEBUG && str.replace(/^0\.0*|\./, '').length > 15) {
- throw Error
- (tooManyDigits + v);
- }
- } else {
- x.s = str.charCodeAt(0) === 45 ? (str = str.slice(1), -1) : 1;
- }
-
- alphabet = ALPHABET.slice(0, b);
- e = i = 0;
-
- // Check that str is a valid base b number.
- // Don't use RegExp, so alphabet can contain special characters.
- for (len = str.length; i < len; i++) {
- if (alphabet.indexOf(c = str.charAt(i)) < 0) {
- if (c == '.') {
-
- // If '.' is not the first character and it has not be found before.
- if (i > e) {
- e = len;
- continue;
- }
- } else if (!caseChanged) {
-
- // Allow e.g. hexadecimal 'FF' as well as 'ff'.
- if (str == str.toUpperCase() && (str = str.toLowerCase()) ||
- str == str.toLowerCase() && (str = str.toUpperCase())) {
- caseChanged = true;
- i = -1;
- e = 0;
- continue;
- }
- }
-
- return parseNumeric(x, String(v), isNum, b);
- }
- }
-
- // Prevent later check for length on converted number.
- isNum = false;
- str = convertBase(str, b, 10, x.s);
-
- // Decimal point?
- if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
- else e = str.length;
- }
-
- // Determine leading zeros.
- for (i = 0; str.charCodeAt(i) === 48; i++);
-
- // Determine trailing zeros.
- for (len = str.length; str.charCodeAt(--len) === 48;);
-
- if (str = str.slice(i, ++len)) {
- len -= i;
-
- // '[BigNumber Error] Number primitive has more than 15 significant digits: {n}'
- if (isNum && BigNumber.DEBUG &&
- len > 15 && (v > MAX_SAFE_INTEGER || v !== mathfloor(v))) {
- throw Error
- (tooManyDigits + (x.s * v));
- }
-
- // Overflow?
- if ((e = e - i - 1) > MAX_EXP) {
-
- // Infinity.
- x.c = x.e = null;
-
- // Underflow?
- } else if (e < MIN_EXP) {
-
- // Zero.
- x.c = [x.e = 0];
- } else {
- x.e = e;
- x.c = [];
-
- // Transform base
-
- // e is the base 10 exponent.
- // i is where to slice str to get the first element of the coefficient array.
- i = (e + 1) % LOG_BASE;
- if (e < 0) i += LOG_BASE; // i < 1
-
- if (i < len) {
- if (i) x.c.push(+str.slice(0, i));
-
- for (len -= LOG_BASE; i < len;) {
- x.c.push(+str.slice(i, i += LOG_BASE));
- }
-
- i = LOG_BASE - (str = str.slice(i)).length;
- } else {
- i -= len;
- }
-
- for (; i--; str += '0');
- x.c.push(+str);
- }
- } else {
-
- // Zero.
- x.c = [x.e = 0];
- }
- }
-
-
- // CONSTRUCTOR PROPERTIES
-
-
- BigNumber.clone = clone;
-
- BigNumber.ROUND_UP = 0;
- BigNumber.ROUND_DOWN = 1;
- BigNumber.ROUND_CEIL = 2;
- BigNumber.ROUND_FLOOR = 3;
- BigNumber.ROUND_HALF_UP = 4;
- BigNumber.ROUND_HALF_DOWN = 5;
- BigNumber.ROUND_HALF_EVEN = 6;
- BigNumber.ROUND_HALF_CEIL = 7;
- BigNumber.ROUND_HALF_FLOOR = 8;
- BigNumber.EUCLID = 9;
-
-
- /*
- * Configure infrequently-changing library-wide settings.
- *
- * Accept an object with the following optional properties (if the value of a property is
- * a number, it must be an integer within the inclusive range stated):
- *
- * DECIMAL_PLACES {number} 0 to MAX
- * ROUNDING_MODE {number} 0 to 8
- * EXPONENTIAL_AT {number|number[]} -MAX to MAX or [-MAX to 0, 0 to MAX]
- * RANGE {number|number[]} -MAX to MAX (not zero) or [-MAX to -1, 1 to MAX]
- * CRYPTO {boolean} true or false
- * MODULO_MODE {number} 0 to 9
- * POW_PRECISION {number} 0 to MAX
- * ALPHABET {string} A string of two or more unique characters which does
- * not contain '.'.
- * FORMAT {object} An object with some of the following properties:
- * prefix {string}
- * groupSize {number}
- * secondaryGroupSize {number}
- * groupSeparator {string}
- * decimalSeparator {string}
- * fractionGroupSize {number}
- * fractionGroupSeparator {string}
- * suffix {string}
- *
- * (The values assigned to the above FORMAT object properties are not checked for validity.)
- *
- * E.g.
- * BigNumber.config({ DECIMAL_PLACES : 20, ROUNDING_MODE : 4 })
- *
- * Ignore properties/parameters set to null or undefined, except for ALPHABET.
- *
- * Return an object with the properties current values.
- */
- BigNumber.config = BigNumber.set = function (obj) {
- var p, v;
-
- if (obj != null) {
-
- if (typeof obj == 'object') {
-
- // DECIMAL_PLACES {number} Integer, 0 to MAX inclusive.
- // '[BigNumber Error] DECIMAL_PLACES {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'DECIMAL_PLACES')) {
- v = obj[p];
- intCheck(v, 0, MAX, p);
- DECIMAL_PLACES = v;
- }
-
- // ROUNDING_MODE {number} Integer, 0 to 8 inclusive.
- // '[BigNumber Error] ROUNDING_MODE {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'ROUNDING_MODE')) {
- v = obj[p];
- intCheck(v, 0, 8, p);
- ROUNDING_MODE = v;
- }
-
- // EXPONENTIAL_AT {number|number[]}
- // Integer, -MAX to MAX inclusive or
- // [integer -MAX to 0 inclusive, 0 to MAX inclusive].
- // '[BigNumber Error] EXPONENTIAL_AT {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'EXPONENTIAL_AT')) {
- v = obj[p];
- if (v && v.pop) {
- intCheck(v[0], -MAX, 0, p);
- intCheck(v[1], 0, MAX, p);
- TO_EXP_NEG = v[0];
- TO_EXP_POS = v[1];
- } else {
- intCheck(v, -MAX, MAX, p);
- TO_EXP_NEG = -(TO_EXP_POS = v < 0 ? -v : v);
- }
- }
-
- // RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or
- // [integer -MAX to -1 inclusive, integer 1 to MAX inclusive].
- // '[BigNumber Error] RANGE {not a primitive number|not an integer|out of range|cannot be zero}: {v}'
- if (obj.hasOwnProperty(p = 'RANGE')) {
- v = obj[p];
- if (v && v.pop) {
- intCheck(v[0], -MAX, -1, p);
- intCheck(v[1], 1, MAX, p);
- MIN_EXP = v[0];
- MAX_EXP = v[1];
- } else {
- intCheck(v, -MAX, MAX, p);
- if (v) {
- MIN_EXP = -(MAX_EXP = v < 0 ? -v : v);
- } else {
- throw Error
- (bignumberError + p + ' cannot be zero: ' + v);
- }
- }
- }
-
- // CRYPTO {boolean} true or false.
- // '[BigNumber Error] CRYPTO not true or false: {v}'
- // '[BigNumber Error] crypto unavailable'
- if (obj.hasOwnProperty(p = 'CRYPTO')) {
- v = obj[p];
- if (v === !!v) {
- if (v) {
- if (typeof crypto != 'undefined' && crypto &&
- (crypto.getRandomValues || crypto.randomBytes)) {
- CRYPTO = v;
- } else {
- CRYPTO = !v;
- throw Error
- (bignumberError + 'crypto unavailable');
- }
- } else {
- CRYPTO = v;
- }
- } else {
- throw Error
- (bignumberError + p + ' not true or false: ' + v);
- }
- }
-
- // MODULO_MODE {number} Integer, 0 to 9 inclusive.
- // '[BigNumber Error] MODULO_MODE {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'MODULO_MODE')) {
- v = obj[p];
- intCheck(v, 0, 9, p);
- MODULO_MODE = v;
- }
-
- // POW_PRECISION {number} Integer, 0 to MAX inclusive.
- // '[BigNumber Error] POW_PRECISION {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'POW_PRECISION')) {
- v = obj[p];
- intCheck(v, 0, MAX, p);
- POW_PRECISION = v;
- }
-
- // FORMAT {object}
- // '[BigNumber Error] FORMAT not an object: {v}'
- if (obj.hasOwnProperty(p = 'FORMAT')) {
- v = obj[p];
- if (typeof v == 'object') FORMAT = v;
- else throw Error
- (bignumberError + p + ' not an object: ' + v);
- }
-
- // ALPHABET {string}
- // '[BigNumber Error] ALPHABET invalid: {v}'
- if (obj.hasOwnProperty(p = 'ALPHABET')) {
- v = obj[p];
-
- // Disallow if only one character,
- // or if it contains '+', '-', '.', whitespace, or a repeated character.
- if (typeof v == 'string' && !/^.$|[+-.\s]|(.).*\1/.test(v)) {
- ALPHABET = v;
- } else {
- throw Error
- (bignumberError + p + ' invalid: ' + v);
- }
- }
-
- } else {
-
- // '[BigNumber Error] Object expected: {v}'
- throw Error
- (bignumberError + 'Object expected: ' + obj);
- }
- }
-
- return {
- DECIMAL_PLACES: DECIMAL_PLACES,
- ROUNDING_MODE: ROUNDING_MODE,
- EXPONENTIAL_AT: [TO_EXP_NEG, TO_EXP_POS],
- RANGE: [MIN_EXP, MAX_EXP],
- CRYPTO: CRYPTO,
- MODULO_MODE: MODULO_MODE,
- POW_PRECISION: POW_PRECISION,
- FORMAT: FORMAT,
- ALPHABET: ALPHABET
- };
- };
-
-
- /*
- * Return true if v is a BigNumber instance, otherwise return false.
- *
- * If BigNumber.DEBUG is true, throw if a BigNumber instance is not well-formed.
- *
- * v {any}
- *
- * '[BigNumber Error] Invalid BigNumber: {v}'
- */
- BigNumber.isBigNumber = function (v) {
- if (!v || v._isBigNumber !== true) return false;
- if (!BigNumber.DEBUG) return true;
-
- var i, n,
- c = v.c,
- e = v.e,
- s = v.s;
-
- out: if ({}.toString.call(c) == '[object Array]') {
-
- if ((s === 1 || s === -1) && e >= -MAX && e <= MAX && e === mathfloor(e)) {
-
- // If the first element is zero, the BigNumber value must be zero.
- if (c[0] === 0) {
- if (e === 0 && c.length === 1) return true;
- break out;
- }
-
- // Calculate number of digits that c[0] should have, based on the exponent.
- i = (e + 1) % LOG_BASE;
- if (i < 1) i += LOG_BASE;
-
- // Calculate number of digits of c[0].
- //if (Math.ceil(Math.log(c[0] + 1) / Math.LN10) == i) {
- if (String(c[0]).length == i) {
-
- for (i = 0; i < c.length; i++) {
- n = c[i];
- if (n < 0 || n >= BASE || n !== mathfloor(n)) break out;
- }
-
- // Last element cannot be zero, unless it is the only element.
- if (n !== 0) return true;
- }
- }
-
- // Infinity/NaN
- } else if (c === null && e === null && (s === null || s === 1 || s === -1)) {
- return true;
- }
-
- throw Error
- (bignumberError + 'Invalid BigNumber: ' + v);
- };
-
-
- /*
- * Return a new BigNumber whose value is the maximum of the arguments.
- *
- * arguments {number|string|BigNumber}
- */
- BigNumber.maximum = BigNumber.max = function () {
- return maxOrMin(arguments, P.lt);
- };
-
-
- /*
- * Return a new BigNumber whose value is the minimum of the arguments.
- *
- * arguments {number|string|BigNumber}
- */
- BigNumber.minimum = BigNumber.min = function () {
- return maxOrMin(arguments, P.gt);
- };
-
-
- /*
- * Return a new BigNumber with a random value equal to or greater than 0 and less than 1,
- * and with dp, or DECIMAL_PLACES if dp is omitted, decimal places (or less if trailing
- * zeros are produced).
- *
- * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp}'
- * '[BigNumber Error] crypto unavailable'
- */
- BigNumber.random = (function () {
- var pow2_53 = 0x20000000000000;
-
- // Return a 53 bit integer n, where 0 <= n < 9007199254740992.
- // Check if Math.random() produces more than 32 bits of randomness.
- // If it does, assume at least 53 bits are produced, otherwise assume at least 30 bits.
- // 0x40000000 is 2^30, 0x800000 is 2^23, 0x1fffff is 2^21 - 1.
- var random53bitInt = (Math.random() * pow2_53) & 0x1fffff
- ? function () { return mathfloor(Math.random() * pow2_53); }
- : function () { return ((Math.random() * 0x40000000 | 0) * 0x800000) +
- (Math.random() * 0x800000 | 0); };
-
- return function (dp) {
- var a, b, e, k, v,
- i = 0,
- c = [],
- rand = new BigNumber(ONE);
-
- if (dp == null) dp = DECIMAL_PLACES;
- else intCheck(dp, 0, MAX);
-
- k = mathceil(dp / LOG_BASE);
-
- if (CRYPTO) {
-
- // Browsers supporting crypto.getRandomValues.
- if (crypto.getRandomValues) {
-
- a = crypto.getRandomValues(new Uint32Array(k *= 2));
-
- for (; i < k;) {
-
- // 53 bits:
- // ((Math.pow(2, 32) - 1) * Math.pow(2, 21)).toString(2)
- // 11111 11111111 11111111 11111111 11100000 00000000 00000000
- // ((Math.pow(2, 32) - 1) >>> 11).toString(2)
- // 11111 11111111 11111111
- // 0x20000 is 2^21.
- v = a[i] * 0x20000 + (a[i + 1] >>> 11);
-
- // Rejection sampling:
- // 0 <= v < 9007199254740992
- // Probability that v >= 9e15, is
- // 7199254740992 / 9007199254740992 ~= 0.0008, i.e. 1 in 1251
- if (v >= 9e15) {
- b = crypto.getRandomValues(new Uint32Array(2));
- a[i] = b[0];
- a[i + 1] = b[1];
- } else {
-
- // 0 <= v <= 8999999999999999
- // 0 <= (v % 1e14) <= 99999999999999
- c.push(v % 1e14);
- i += 2;
- }
- }
- i = k / 2;
-
- // Node.js supporting crypto.randomBytes.
- } else if (crypto.randomBytes) {
-
- // buffer
- a = crypto.randomBytes(k *= 7);
-
- for (; i < k;) {
-
- // 0x1000000000000 is 2^48, 0x10000000000 is 2^40
- // 0x100000000 is 2^32, 0x1000000 is 2^24
- // 11111 11111111 11111111 11111111 11111111 11111111 11111111
- // 0 <= v < 9007199254740992
- v = ((a[i] & 31) * 0x1000000000000) + (a[i + 1] * 0x10000000000) +
- (a[i + 2] * 0x100000000) + (a[i + 3] * 0x1000000) +
- (a[i + 4] << 16) + (a[i + 5] << 8) + a[i + 6];
-
- if (v >= 9e15) {
- crypto.randomBytes(7).copy(a, i);
- } else {
-
- // 0 <= (v % 1e14) <= 99999999999999
- c.push(v % 1e14);
- i += 7;
- }
- }
- i = k / 7;
- } else {
- CRYPTO = false;
- throw Error
- (bignumberError + 'crypto unavailable');
- }
- }
-
- // Use Math.random.
- if (!CRYPTO) {
-
- for (; i < k;) {
- v = random53bitInt();
- if (v < 9e15) c[i++] = v % 1e14;
- }
- }
-
- k = c[--i];
- dp %= LOG_BASE;
-
- // Convert trailing digits to zeros according to dp.
- if (k && dp) {
- v = POWS_TEN[LOG_BASE - dp];
- c[i] = mathfloor(k / v) * v;
- }
-
- // Remove trailing elements which are zero.
- for (; c[i] === 0; c.pop(), i--);
-
- // Zero?
- if (i < 0) {
- c = [e = 0];
- } else {
-
- // Remove leading elements which are zero and adjust exponent accordingly.
- for (e = -1 ; c[0] === 0; c.splice(0, 1), e -= LOG_BASE);
-
- // Count the digits of the first element of c to determine leading zeros, and...
- for (i = 1, v = c[0]; v >= 10; v /= 10, i++);
-
- // adjust the exponent accordingly.
- if (i < LOG_BASE) e -= LOG_BASE - i;
- }
-
- rand.e = e;
- rand.c = c;
- return rand;
- };
- })();
-
-
- /*
- * Return a BigNumber whose value is the sum of the arguments.
- *
- * arguments {number|string|BigNumber}
- */
- BigNumber.sum = function () {
- var i = 1,
- args = arguments,
- sum = new BigNumber(args[0]);
- for (; i < args.length;) sum = sum.plus(args[i++]);
- return sum;
- };
-
-
- // PRIVATE FUNCTIONS
-
-
- // Called by BigNumber and BigNumber.prototype.toString.
- convertBase = (function () {
- var decimal = '0123456789';
-
- /*
- * Convert string of baseIn to an array of numbers of baseOut.
- * Eg. toBaseOut('255', 10, 16) returns [15, 15].
- * Eg. toBaseOut('ff', 16, 10) returns [2, 5, 5].
- */
- function toBaseOut(str, baseIn, baseOut, alphabet) {
- var j,
- arr = [0],
- arrL,
- i = 0,
- len = str.length;
-
- for (; i < len;) {
- for (arrL = arr.length; arrL--; arr[arrL] *= baseIn);
-
- arr[0] += alphabet.indexOf(str.charAt(i++));
-
- for (j = 0; j < arr.length; j++) {
-
- if (arr[j] > baseOut - 1) {
- if (arr[j + 1] == null) arr[j + 1] = 0;
- arr[j + 1] += arr[j] / baseOut | 0;
- arr[j] %= baseOut;
- }
- }
- }
-
- return arr.reverse();
- }
-
- // Convert a numeric string of baseIn to a numeric string of baseOut.
- // If the caller is toString, we are converting from base 10 to baseOut.
- // If the caller is BigNumber, we are converting from baseIn to base 10.
- return function (str, baseIn, baseOut, sign, callerIsToString) {
- var alphabet, d, e, k, r, x, xc, y,
- i = str.indexOf('.'),
- dp = DECIMAL_PLACES,
- rm = ROUNDING_MODE;
-
- // Non-integer.
- if (i >= 0) {
- k = POW_PRECISION;
-
- // Unlimited precision.
- POW_PRECISION = 0;
- str = str.replace('.', '');
- y = new BigNumber(baseIn);
- x = y.pow(str.length - i);
- POW_PRECISION = k;
-
- // Convert str as if an integer, then restore the fraction part by dividing the
- // result by its base raised to a power.
-
- y.c = toBaseOut(toFixedPoint(coeffToString(x.c), x.e, '0'),
- 10, baseOut, decimal);
- y.e = y.c.length;
- }
-
- // Convert the number as integer.
-
- xc = toBaseOut(str, baseIn, baseOut, callerIsToString
- ? (alphabet = ALPHABET, decimal)
- : (alphabet = decimal, ALPHABET));
-
- // xc now represents str as an integer and converted to baseOut. e is the exponent.
- e = k = xc.length;
-
- // Remove trailing zeros.
- for (; xc[--k] == 0; xc.pop());
-
- // Zero?
- if (!xc[0]) return alphabet.charAt(0);
-
- // Does str represent an integer? If so, no need for the division.
- if (i < 0) {
- --e;
- } else {
- x.c = xc;
- x.e = e;
-
- // The sign is needed for correct rounding.
- x.s = sign;
- x = div(x, y, dp, rm, baseOut);
- xc = x.c;
- r = x.r;
- e = x.e;
- }
-
- // xc now represents str converted to baseOut.
-
- // THe index of the rounding digit.
- d = e + dp + 1;
-
- // The rounding digit: the digit to the right of the digit that may be rounded up.
- i = xc[d];
-
- // Look at the rounding digits and mode to determine whether to round up.
-
- k = baseOut / 2;
- r = r || d < 0 || xc[d + 1] != null;
-
- r = rm < 4 ? (i != null || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2))
- : i > k || i == k &&(rm == 4 || r || rm == 6 && xc[d - 1] & 1 ||
- rm == (x.s < 0 ? 8 : 7));
-
- // If the index of the rounding digit is not greater than zero, or xc represents
- // zero, then the result of the base conversion is zero or, if rounding up, a value
- // such as 0.00001.
- if (d < 1 || !xc[0]) {
-
- // 1^-dp or 0
- str = r ? toFixedPoint(alphabet.charAt(1), -dp, alphabet.charAt(0)) : alphabet.charAt(0);
- } else {
-
- // Truncate xc to the required number of decimal places.
- xc.length = d;
-
- // Round up?
- if (r) {
-
- // Rounding up may mean the previous digit has to be rounded up and so on.
- for (--baseOut; ++xc[--d] > baseOut;) {
- xc[d] = 0;
-
- if (!d) {
- ++e;
- xc = [1].concat(xc);
- }
- }
- }
-
- // Determine trailing zeros.
- for (k = xc.length; !xc[--k];);
-
- // E.g. [4, 11, 15] becomes 4bf.
- for (i = 0, str = ''; i <= k; str += alphabet.charAt(xc[i++]));
-
- // Add leading zeros, decimal point and trailing zeros as required.
- str = toFixedPoint(str, e, alphabet.charAt(0));
- }
-
- // The caller will add the sign.
- return str;
- };
- })();
-
-
- // Perform division in the specified base. Called by div and convertBase.
- div = (function () {
-
- // Assume non-zero x and k.
- function multiply(x, k, base) {
- var m, temp, xlo, xhi,
- carry = 0,
- i = x.length,
- klo = k % SQRT_BASE,
- khi = k / SQRT_BASE | 0;
-
- for (x = x.slice(); i--;) {
- xlo = x[i] % SQRT_BASE;
- xhi = x[i] / SQRT_BASE | 0;
- m = khi * xlo + xhi * klo;
- temp = klo * xlo + ((m % SQRT_BASE) * SQRT_BASE) + carry;
- carry = (temp / base | 0) + (m / SQRT_BASE | 0) + khi * xhi;
- x[i] = temp % base;
- }
-
- if (carry) x = [carry].concat(x);
-
- return x;
- }
-
- function compare(a, b, aL, bL) {
- var i, cmp;
-
- if (aL != bL) {
- cmp = aL > bL ? 1 : -1;
- } else {
-
- for (i = cmp = 0; i < aL; i++) {
-
- if (a[i] != b[i]) {
- cmp = a[i] > b[i] ? 1 : -1;
- break;
- }
- }
- }
-
- return cmp;
- }
-
- function subtract(a, b, aL, base) {
- var i = 0;
-
- // Subtract b from a.
- for (; aL--;) {
- a[aL] -= i;
- i = a[aL] < b[aL] ? 1 : 0;
- a[aL] = i * base + a[aL] - b[aL];
- }
-
- // Remove leading zeros.
- for (; !a[0] && a.length > 1; a.splice(0, 1));
- }
-
- // x: dividend, y: divisor.
- return function (x, y, dp, rm, base) {
- var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0,
- yL, yz,
- s = x.s == y.s ? 1 : -1,
- xc = x.c,
- yc = y.c;
-
- // Either NaN, Infinity or 0?
- if (!xc || !xc[0] || !yc || !yc[0]) {
-
- return new BigNumber(
-
- // Return NaN if either NaN, or both Infinity or 0.
- !x.s || !y.s || (xc ? yc && xc[0] == yc[0] : !yc) ? NaN :
-
- // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
- xc && xc[0] == 0 || !yc ? s * 0 : s / 0
- );
- }
-
- q = new BigNumber(s);
- qc = q.c = [];
- e = x.e - y.e;
- s = dp + e + 1;
-
- if (!base) {
- base = BASE;
- e = bitFloor(x.e / LOG_BASE) - bitFloor(y.e / LOG_BASE);
- s = s / LOG_BASE | 0;
- }
-
- // Result exponent may be one less then the current value of e.
- // The coefficients of the BigNumbers from convertBase may have trailing zeros.
- for (i = 0; yc[i] == (xc[i] || 0); i++);
-
- if (yc[i] > (xc[i] || 0)) e--;
-
- if (s < 0) {
- qc.push(1);
- more = true;
- } else {
- xL = xc.length;
- yL = yc.length;
- i = 0;
- s += 2;
-
- // Normalise xc and yc so highest order digit of yc is >= base / 2.
-
- n = mathfloor(base / (yc[0] + 1));
-
- // Not necessary, but to handle odd bases where yc[0] == (base / 2) - 1.
- // if (n > 1 || n++ == 1 && yc[0] < base / 2) {
- if (n > 1) {
- yc = multiply(yc, n, base);
- xc = multiply(xc, n, base);
- yL = yc.length;
- xL = xc.length;
- }
-
- xi = yL;
- rem = xc.slice(0, yL);
- remL = rem.length;
-
- // Add zeros to make remainder as long as divisor.
- for (; remL < yL; rem[remL++] = 0);
- yz = yc.slice();
- yz = [0].concat(yz);
- yc0 = yc[0];
- if (yc[1] >= base / 2) yc0++;
- // Not necessary, but to prevent trial digit n > base, when using base 3.
- // else if (base == 3 && yc0 == 1) yc0 = 1 + 1e-15;
-
- do {
- n = 0;
-
- // Compare divisor and remainder.
- cmp = compare(yc, rem, yL, remL);
-
- // If divisor < remainder.
- if (cmp < 0) {
-
- // Calculate trial digit, n.
-
- rem0 = rem[0];
- if (yL != remL) rem0 = rem0 * base + (rem[1] || 0);
-
- // n is how many times the divisor goes into the current remainder.
- n = mathfloor(rem0 / yc0);
-
- // Algorithm:
- // product = divisor multiplied by trial digit (n).
- // Compare product and remainder.
- // If product is greater than remainder:
- // Subtract divisor from product, decrement trial digit.
- // Subtract product from remainder.
- // If product was less than remainder at the last compare:
- // Compare new remainder and divisor.
- // If remainder is greater than divisor:
- // Subtract divisor from remainder, increment trial digit.
-
- if (n > 1) {
-
- // n may be > base only when base is 3.
- if (n >= base) n = base - 1;
-
- // product = divisor * trial digit.
- prod = multiply(yc, n, base);
- prodL = prod.length;
- remL = rem.length;
-
- // Compare product and remainder.
- // If product > remainder then trial digit n too high.
- // n is 1 too high about 5% of the time, and is not known to have
- // ever been more than 1 too high.
- while (compare(prod, rem, prodL, remL) == 1) {
- n--;
-
- // Subtract divisor from product.
- subtract(prod, yL < prodL ? yz : yc, prodL, base);
- prodL = prod.length;
- cmp = 1;
- }
- } else {
-
- // n is 0 or 1, cmp is -1.
- // If n is 0, there is no need to compare yc and rem again below,
- // so change cmp to 1 to avoid it.
- // If n is 1, leave cmp as -1, so yc and rem are compared again.
- if (n == 0) {
-
- // divisor < remainder, so n must be at least 1.
- cmp = n = 1;
- }
-
- // product = divisor
- prod = yc.slice();
- prodL = prod.length;
- }
-
- if (prodL < remL) prod = [0].concat(prod);
-
- // Subtract product from remainder.
- subtract(rem, prod, remL, base);
- remL = rem.length;
-
- // If product was < remainder.
- if (cmp == -1) {
-
- // Compare divisor and new remainder.
- // If divisor < new remainder, subtract divisor from remainder.
- // Trial digit n too low.
- // n is 1 too low about 5% of the time, and very rarely 2 too low.
- while (compare(yc, rem, yL, remL) < 1) {
- n++;
-
- // Subtract divisor from remainder.
- subtract(rem, yL < remL ? yz : yc, remL, base);
- remL = rem.length;
- }
- }
- } else if (cmp === 0) {
- n++;
- rem = [0];
- } // else cmp === 1 and n will be 0
-
- // Add the next digit, n, to the result array.
- qc[i++] = n;
-
- // Update the remainder.
- if (rem[0]) {
- rem[remL++] = xc[xi] || 0;
- } else {
- rem = [xc[xi]];
- remL = 1;
- }
- } while ((xi++ < xL || rem[0] != null) && s--);
-
- more = rem[0] != null;
-
- // Leading zero?
- if (!qc[0]) qc.splice(0, 1);
- }
-
- if (base == BASE) {
-
- // To calculate q.e, first get the number of digits of qc[0].
- for (i = 1, s = qc[0]; s >= 10; s /= 10, i++);
-
- round(q, dp + (q.e = i + e * LOG_BASE - 1) + 1, rm, more);
-
- // Caller is convertBase.
- } else {
- q.e = e;
- q.r = +more;
- }
-
- return q;
- };
- })();
-
-
- /*
- * Return a string representing the value of BigNumber n in fixed-point or exponential
- * notation rounded to the specified decimal places or significant digits.
- *
- * n: a BigNumber.
- * i: the index of the last digit required (i.e. the digit that may be rounded up).
- * rm: the rounding mode.
- * id: 1 (toExponential) or 2 (toPrecision).
- */
- function format(n, i, rm, id) {
- var c0, e, ne, len, str;
-
- if (rm == null) rm = ROUNDING_MODE;
- else intCheck(rm, 0, 8);
-
- if (!n.c) return n.toString();
-
- c0 = n.c[0];
- ne = n.e;
-
- if (i == null) {
- str = coeffToString(n.c);
- str = id == 1 || id == 2 && (ne <= TO_EXP_NEG || ne >= TO_EXP_POS)
- ? toExponential(str, ne)
- : toFixedPoint(str, ne, '0');
- } else {
- n = round(new BigNumber(n), i, rm);
-
- // n.e may have changed if the value was rounded up.
- e = n.e;
-
- str = coeffToString(n.c);
- len = str.length;
-
- // toPrecision returns exponential notation if the number of significant digits
- // specified is less than the number of digits necessary to represent the integer
- // part of the value in fixed-point notation.
-
- // Exponential notation.
- if (id == 1 || id == 2 && (i <= e || e <= TO_EXP_NEG)) {
-
- // Append zeros?
- for (; len < i; str += '0', len++);
- str = toExponential(str, e);
-
- // Fixed-point notation.
- } else {
- i -= ne;
- str = toFixedPoint(str, e, '0');
-
- // Append zeros?
- if (e + 1 > len) {
- if (--i > 0) for (str += '.'; i--; str += '0');
- } else {
- i += e - len;
- if (i > 0) {
- if (e + 1 == len) str += '.';
- for (; i--; str += '0');
- }
- }
- }
- }
-
- return n.s < 0 && c0 ? '-' + str : str;
- }
-
-
- // Handle BigNumber.max and BigNumber.min.
- function maxOrMin(args, method) {
- var n,
- i = 1,
- m = new BigNumber(args[0]);
-
- for (; i < args.length; i++) {
- n = new BigNumber(args[i]);
-
- // If any number is NaN, return NaN.
- if (!n.s) {
- m = n;
- break;
- } else if (method.call(m, n)) {
- m = n;
- }
- }
-
- return m;
- }
-
-
- /*
- * Strip trailing zeros, calculate base 10 exponent and check against MIN_EXP and MAX_EXP.
- * Called by minus, plus and times.
- */
- function normalise(n, c, e) {
- var i = 1,
- j = c.length;
-
- // Remove trailing zeros.
- for (; !c[--j]; c.pop());
-
- // Calculate the base 10 exponent. First get the number of digits of c[0].
- for (j = c[0]; j >= 10; j /= 10, i++);
-
- // Overflow?
- if ((e = i + e * LOG_BASE - 1) > MAX_EXP) {
-
- // Infinity.
- n.c = n.e = null;
-
- // Underflow?
- } else if (e < MIN_EXP) {
-
- // Zero.
- n.c = [n.e = 0];
- } else {
- n.e = e;
- n.c = c;
- }
-
- return n;
- }
-
-
- // Handle values that fail the validity test in BigNumber.
- parseNumeric = (function () {
- var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i,
- dotAfter = /^([^.]+)\.$/,
- dotBefore = /^\.([^.]+)$/,
- isInfinityOrNaN = /^-?(Infinity|NaN)$/,
- whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
-
- return function (x, str, isNum, b) {
- var base,
- s = isNum ? str : str.replace(whitespaceOrPlus, '');
-
- // No exception on ±Infinity or NaN.
- if (isInfinityOrNaN.test(s)) {
- x.s = isNaN(s) ? null : s < 0 ? -1 : 1;
- } else {
- if (!isNum) {
-
- // basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i
- s = s.replace(basePrefix, function (m, p1, p2) {
- base = (p2 = p2.toLowerCase()) == 'x' ? 16 : p2 == 'b' ? 2 : 8;
- return !b || b == base ? p1 : m;
- });
-
- if (b) {
- base = b;
-
- // E.g. '1.' to '1', '.1' to '0.1'
- s = s.replace(dotAfter, '$1').replace(dotBefore, '0.$1');
- }
-
- if (str != s) return new BigNumber(s, base);
- }
-
- // '[BigNumber Error] Not a number: {n}'
- // '[BigNumber Error] Not a base {b} number: {n}'
- if (BigNumber.DEBUG) {
- throw Error
- (bignumberError + 'Not a' + (b ? ' base ' + b : '') + ' number: ' + str);
- }
-
- // NaN
- x.s = null;
- }
-
- x.c = x.e = null;
- }
- })();
-
-
- /*
- * Round x to sd significant digits using rounding mode rm. Check for over/under-flow.
- * If r is truthy, it is known that there are more digits after the rounding digit.
- */
- function round(x, sd, rm, r) {
- var d, i, j, k, n, ni, rd,
- xc = x.c,
- pows10 = POWS_TEN;
-
- // if x is not Infinity or NaN...
- if (xc) {
-
- // rd is the rounding digit, i.e. the digit after the digit that may be rounded up.
- // n is a base 1e14 number, the value of the element of array x.c containing rd.
- // ni is the index of n within x.c.
- // d is the number of digits of n.
- // i is the index of rd within n including leading zeros.
- // j is the actual index of rd within n (if < 0, rd is a leading zero).
- out: {
-
- // Get the number of digits of the first element of xc.
- for (d = 1, k = xc[0]; k >= 10; k /= 10, d++);
- i = sd - d;
-
- // If the rounding digit is in the first element of xc...
- if (i < 0) {
- i += LOG_BASE;
- j = sd;
- n = xc[ni = 0];
-
- // Get the rounding digit at index j of n.
- rd = n / pows10[d - j - 1] % 10 | 0;
- } else {
- ni = mathceil((i + 1) / LOG_BASE);
-
- if (ni >= xc.length) {
-
- if (r) {
-
- // Needed by sqrt.
- for (; xc.length <= ni; xc.push(0));
- n = rd = 0;
- d = 1;
- i %= LOG_BASE;
- j = i - LOG_BASE + 1;
- } else {
- break out;
- }
- } else {
- n = k = xc[ni];
-
- // Get the number of digits of n.
- for (d = 1; k >= 10; k /= 10, d++);
-
- // Get the index of rd within n.
- i %= LOG_BASE;
-
- // Get the index of rd within n, adjusted for leading zeros.
- // The number of leading zeros of n is given by LOG_BASE - d.
- j = i - LOG_BASE + d;
-
- // Get the rounding digit at index j of n.
- rd = j < 0 ? 0 : n / pows10[d - j - 1] % 10 | 0;
- }
- }
-
- r = r || sd < 0 ||
-
- // Are there any non-zero digits after the rounding digit?
- // The expression n % pows10[d - j - 1] returns all digits of n to the right
- // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
- xc[ni + 1] != null || (j < 0 ? n : n % pows10[d - j - 1]);
-
- r = rm < 4
- ? (rd || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2))
- : rd > 5 || rd == 5 && (rm == 4 || r || rm == 6 &&
-
- // Check whether the digit to the left of the rounding digit is odd.
- ((i > 0 ? j > 0 ? n / pows10[d - j] : 0 : xc[ni - 1]) % 10) & 1 ||
- rm == (x.s < 0 ? 8 : 7));
-
- if (sd < 1 || !xc[0]) {
- xc.length = 0;
-
- if (r) {
-
- // Convert sd to decimal places.
- sd -= x.e + 1;
-
- // 1, 0.1, 0.01, 0.001, 0.0001 etc.
- xc[0] = pows10[(LOG_BASE - sd % LOG_BASE) % LOG_BASE];
- x.e = -sd || 0;
- } else {
-
- // Zero.
- xc[0] = x.e = 0;
- }
-
- return x;
- }
-
- // Remove excess digits.
- if (i == 0) {
- xc.length = ni;
- k = 1;
- ni--;
- } else {
- xc.length = ni + 1;
- k = pows10[LOG_BASE - i];
-
- // E.g. 56700 becomes 56000 if 7 is the rounding digit.
- // j > 0 means i > number of leading zeros of n.
- xc[ni] = j > 0 ? mathfloor(n / pows10[d - j] % pows10[j]) * k : 0;
- }
-
- // Round up?
- if (r) {
-
- for (; ;) {
-
- // If the digit to be rounded up is in the first element of xc...
- if (ni == 0) {
-
- // i will be the length of xc[0] before k is added.
- for (i = 1, j = xc[0]; j >= 10; j /= 10, i++);
- j = xc[0] += k;
- for (k = 1; j >= 10; j /= 10, k++);
-
- // if i != k the length has increased.
- if (i != k) {
- x.e++;
- if (xc[0] == BASE) xc[0] = 1;
- }
-
- break;
- } else {
- xc[ni] += k;
- if (xc[ni] != BASE) break;
- xc[ni--] = 0;
- k = 1;
- }
- }
- }
-
- // Remove trailing zeros.
- for (i = xc.length; xc[--i] === 0; xc.pop());
- }
-
- // Overflow? Infinity.
- if (x.e > MAX_EXP) {
- x.c = x.e = null;
-
- // Underflow? Zero.
- } else if (x.e < MIN_EXP) {
- x.c = [x.e = 0];
- }
- }
-
- return x;
- }
-
-
- function valueOf(n) {
- var str,
- e = n.e;
-
- if (e === null) return n.toString();
-
- str = coeffToString(n.c);
-
- str = e <= TO_EXP_NEG || e >= TO_EXP_POS
- ? toExponential(str, e)
- : toFixedPoint(str, e, '0');
-
- return n.s < 0 ? '-' + str : str;
- }
-
-
- // PROTOTYPE/INSTANCE METHODS
-
-
- /*
- * Return a new BigNumber whose value is the absolute value of this BigNumber.
- */
- P.absoluteValue = P.abs = function () {
- var x = new BigNumber(this);
- if (x.s < 0) x.s = 1;
- return x;
- };
-
-
- /*
- * Return
- * 1 if the value of this BigNumber is greater than the value of BigNumber(y, b),
- * -1 if the value of this BigNumber is less than the value of BigNumber(y, b),
- * 0 if they have the same value,
- * or null if the value of either is NaN.
- */
- P.comparedTo = function (y, b) {
- return compare(this, new BigNumber(y, b));
- };
-
-
- /*
- * If dp is undefined or null or true or false, return the number of decimal places of the
- * value of this BigNumber, or null if the value of this BigNumber is ±Infinity or NaN.
- *
- * Otherwise, if dp is a number, return a new BigNumber whose value is the value of this
- * BigNumber rounded to a maximum of dp decimal places using rounding mode rm, or
- * ROUNDING_MODE if rm is omitted.
- *
- * [dp] {number} Decimal places: integer, 0 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'
- */
- P.decimalPlaces = P.dp = function (dp, rm) {
- var c, n, v,
- x = this;
-
- if (dp != null) {
- intCheck(dp, 0, MAX);
- if (rm == null) rm = ROUNDING_MODE;
- else intCheck(rm, 0, 8);
-
- return round(new BigNumber(x), dp + x.e + 1, rm);
- }
-
- if (!(c = x.c)) return null;
- n = ((v = c.length - 1) - bitFloor(this.e / LOG_BASE)) * LOG_BASE;
-
- // Subtract the number of trailing zeros of the last number.
- if (v = c[v]) for (; v % 10 == 0; v /= 10, n--);
- if (n < 0) n = 0;
-
- return n;
- };
-
-
- /*
- * n / 0 = I
- * n / N = N
- * n / I = 0
- * 0 / n = 0
- * 0 / 0 = N
- * 0 / N = N
- * 0 / I = 0
- * N / n = N
- * N / 0 = N
- * N / N = N
- * N / I = N
- * I / n = I
- * I / 0 = I
- * I / N = N
- * I / I = N
- *
- * Return a new BigNumber whose value is the value of this BigNumber divided by the value of
- * BigNumber(y, b), rounded according to DECIMAL_PLACES and ROUNDING_MODE.
- */
- P.dividedBy = P.div = function (y, b) {
- return div(this, new BigNumber(y, b), DECIMAL_PLACES, ROUNDING_MODE);
- };
-
-
- /*
- * Return a new BigNumber whose value is the integer part of dividing the value of this
- * BigNumber by the value of BigNumber(y, b).
- */
- P.dividedToIntegerBy = P.idiv = function (y, b) {
- return div(this, new BigNumber(y, b), 0, 1);
- };
-
-
- /*
- * Return a BigNumber whose value is the value of this BigNumber exponentiated by n.
- *
- * If m is present, return the result modulo m.
- * If n is negative round according to DECIMAL_PLACES and ROUNDING_MODE.
- * If POW_PRECISION is non-zero and m is not present, round to POW_PRECISION using ROUNDING_MODE.
- *
- * The modular power operation works efficiently when x, n, and m are integers, otherwise it
- * is equivalent to calculating x.exponentiatedBy(n).modulo(m) with a POW_PRECISION of 0.
- *
- * n {number|string|BigNumber} The exponent. An integer.
- * [m] {number|string|BigNumber} The modulus.
- *
- * '[BigNumber Error] Exponent not an integer: {n}'
- */
- P.exponentiatedBy = P.pow = function (n, m) {
- var half, isModExp, i, k, more, nIsBig, nIsNeg, nIsOdd, y,
- x = this;
-
- n = new BigNumber(n);
-
- // Allow NaN and ±Infinity, but not other non-integers.
- if (n.c && !n.isInteger()) {
- throw Error
- (bignumberError + 'Exponent not an integer: ' + valueOf(n));
- }
-
- if (m != null) m = new BigNumber(m);
-
- // Exponent of MAX_SAFE_INTEGER is 15.
- nIsBig = n.e > 14;
-
- // If x is NaN, ±Infinity, ±0 or ±1, or n is ±Infinity, NaN or ±0.
- if (!x.c || !x.c[0] || x.c[0] == 1 && !x.e && x.c.length == 1 || !n.c || !n.c[0]) {
-
- // The sign of the result of pow when x is negative depends on the evenness of n.
- // If +n overflows to ±Infinity, the evenness of n would be not be known.
- y = new BigNumber(Math.pow(+valueOf(x), nIsBig ? 2 - isOdd(n) : +valueOf(n)));
- return m ? y.mod(m) : y;
- }
-
- nIsNeg = n.s < 0;
-
- if (m) {
-
- // x % m returns NaN if abs(m) is zero, or m is NaN.
- if (m.c ? !m.c[0] : !m.s) return new BigNumber(NaN);
-
- isModExp = !nIsNeg && x.isInteger() && m.isInteger();
-
- if (isModExp) x = x.mod(m);
-
- // Overflow to ±Infinity: >=2**1e10 or >=1.0000024**1e15.
- // Underflow to ±0: <=0.79**1e10 or <=0.9999975**1e15.
- } else if (n.e > 9 && (x.e > 0 || x.e < -1 || (x.e == 0
- // [1, 240000000]
- ? x.c[0] > 1 || nIsBig && x.c[1] >= 24e7
- // [80000000000000] [99999750000000]
- : x.c[0] < 8e13 || nIsBig && x.c[0] <= 9999975e7))) {
-
- // If x is negative and n is odd, k = -0, else k = 0.
- k = x.s < 0 && isOdd(n) ? -0 : 0;
-
- // If x >= 1, k = ±Infinity.
- if (x.e > -1) k = 1 / k;
-
- // If n is negative return ±0, else return ±Infinity.
- return new BigNumber(nIsNeg ? 1 / k : k);
-
- } else if (POW_PRECISION) {
-
- // Truncating each coefficient array to a length of k after each multiplication
- // equates to truncating significant digits to POW_PRECISION + [28, 41],
- // i.e. there will be a minimum of 28 guard digits retained.
- k = mathceil(POW_PRECISION / LOG_BASE + 2);
- }
-
- if (nIsBig) {
- half = new BigNumber(0.5);
- if (nIsNeg) n.s = 1;
- nIsOdd = isOdd(n);
- } else {
- i = Math.abs(+valueOf(n));
- nIsOdd = i % 2;
- }
-
- y = new BigNumber(ONE);
-
- // Performs 54 loop iterations for n of 9007199254740991.
- for (; ;) {
-
- if (nIsOdd) {
- y = y.times(x);
- if (!y.c) break;
-
- if (k) {
- if (y.c.length > k) y.c.length = k;
- } else if (isModExp) {
- y = y.mod(m); //y = y.minus(div(y, m, 0, MODULO_MODE).times(m));
- }
- }
-
- if (i) {
- i = mathfloor(i / 2);
- if (i === 0) break;
- nIsOdd = i % 2;
- } else {
- n = n.times(half);
- round(n, n.e + 1, 1);
-
- if (n.e > 14) {
- nIsOdd = isOdd(n);
- } else {
- i = +valueOf(n);
- if (i === 0) break;
- nIsOdd = i % 2;
- }
- }
-
- x = x.times(x);
-
- if (k) {
- if (x.c && x.c.length > k) x.c.length = k;
- } else if (isModExp) {
- x = x.mod(m); //x = x.minus(div(x, m, 0, MODULO_MODE).times(m));
- }
- }
-
- if (isModExp) return y;
- if (nIsNeg) y = ONE.div(y);
-
- return m ? y.mod(m) : k ? round(y, POW_PRECISION, ROUNDING_MODE, more) : y;
- };
-
-
- /*
- * Return a new BigNumber whose value is the value of this BigNumber rounded to an integer
- * using rounding mode rm, or ROUNDING_MODE if rm is omitted.
- *
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {rm}'
- */
- P.integerValue = function (rm) {
- var n = new BigNumber(this);
- if (rm == null) rm = ROUNDING_MODE;
- else intCheck(rm, 0, 8);
- return round(n, n.e + 1, rm);
- };
-
-
- /*
- * Return true if the value of this BigNumber is equal to the value of BigNumber(y, b),
- * otherwise return false.
- */
- P.isEqualTo = P.eq = function (y, b) {
- return compare(this, new BigNumber(y, b)) === 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is a finite number, otherwise return false.
- */
- P.isFinite = function () {
- return !!this.c;
- };
-
-
- /*
- * Return true if the value of this BigNumber is greater than the value of BigNumber(y, b),
- * otherwise return false.
- */
- P.isGreaterThan = P.gt = function (y, b) {
- return compare(this, new BigNumber(y, b)) > 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is greater than or equal to the value of
- * BigNumber(y, b), otherwise return false.
- */
- P.isGreaterThanOrEqualTo = P.gte = function (y, b) {
- return (b = compare(this, new BigNumber(y, b))) === 1 || b === 0;
-
- };
-
-
- /*
- * Return true if the value of this BigNumber is an integer, otherwise return false.
- */
- P.isInteger = function () {
- return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2;
- };
-
-
- /*
- * Return true if the value of this BigNumber is less than the value of BigNumber(y, b),
- * otherwise return false.
- */
- P.isLessThan = P.lt = function (y, b) {
- return compare(this, new BigNumber(y, b)) < 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is less than or equal to the value of
- * BigNumber(y, b), otherwise return false.
- */
- P.isLessThanOrEqualTo = P.lte = function (y, b) {
- return (b = compare(this, new BigNumber(y, b))) === -1 || b === 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is NaN, otherwise return false.
- */
- P.isNaN = function () {
- return !this.s;
- };
-
-
- /*
- * Return true if the value of this BigNumber is negative, otherwise return false.
- */
- P.isNegative = function () {
- return this.s < 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is positive, otherwise return false.
- */
- P.isPositive = function () {
- return this.s > 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is 0 or -0, otherwise return false.
- */
- P.isZero = function () {
- return !!this.c && this.c[0] == 0;
- };
-
-
- /*
- * n - 0 = n
- * n - N = N
- * n - I = -I
- * 0 - n = -n
- * 0 - 0 = 0
- * 0 - N = N
- * 0 - I = -I
- * N - n = N
- * N - 0 = N
- * N - N = N
- * N - I = N
- * I - n = I
- * I - 0 = I
- * I - N = N
- * I - I = N
- *
- * Return a new BigNumber whose value is the value of this BigNumber minus the value of
- * BigNumber(y, b).
- */
- P.minus = function (y, b) {
- var i, j, t, xLTy,
- x = this,
- a = x.s;
-
- y = new BigNumber(y, b);
- b = y.s;
-
- // Either NaN?
- if (!a || !b) return new BigNumber(NaN);
-
- // Signs differ?
- if (a != b) {
- y.s = -b;
- return x.plus(y);
- }
-
- var xe = x.e / LOG_BASE,
- ye = y.e / LOG_BASE,
- xc = x.c,
- yc = y.c;
-
- if (!xe || !ye) {
-
- // Either Infinity?
- if (!xc || !yc) return xc ? (y.s = -b, y) : new BigNumber(yc ? x : NaN);
-
- // Either zero?
- if (!xc[0] || !yc[0]) {
-
- // Return y if y is non-zero, x if x is non-zero, or zero if both are zero.
- return yc[0] ? (y.s = -b, y) : new BigNumber(xc[0] ? x :
-
- // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
- ROUNDING_MODE == 3 ? -0 : 0);
- }
- }
-
- xe = bitFloor(xe);
- ye = bitFloor(ye);
- xc = xc.slice();
-
- // Determine which is the bigger number.
- if (a = xe - ye) {
-
- if (xLTy = a < 0) {
- a = -a;
- t = xc;
- } else {
- ye = xe;
- t = yc;
- }
-
- t.reverse();
-
- // Prepend zeros to equalise exponents.
- for (b = a; b--; t.push(0));
- t.reverse();
- } else {
-
- // Exponents equal. Check digit by digit.
- j = (xLTy = (a = xc.length) < (b = yc.length)) ? a : b;
-
- for (a = b = 0; b < j; b++) {
-
- if (xc[b] != yc[b]) {
- xLTy = xc[b] < yc[b];
- break;
- }
- }
- }
-
- // x < y? Point xc to the array of the bigger number.
- if (xLTy) t = xc, xc = yc, yc = t, y.s = -y.s;
-
- b = (j = yc.length) - (i = xc.length);
-
- // Append zeros to xc if shorter.
- // No need to add zeros to yc if shorter as subtract only needs to start at yc.length.
- if (b > 0) for (; b--; xc[i++] = 0);
- b = BASE - 1;
-
- // Subtract yc from xc.
- for (; j > a;) {
-
- if (xc[--j] < yc[j]) {
- for (i = j; i && !xc[--i]; xc[i] = b);
- --xc[i];
- xc[j] += BASE;
- }
-
- xc[j] -= yc[j];
- }
-
- // Remove leading zeros and adjust exponent accordingly.
- for (; xc[0] == 0; xc.splice(0, 1), --ye);
-
- // Zero?
- if (!xc[0]) {
-
- // Following IEEE 754 (2008) 6.3,
- // n - n = +0 but n - n = -0 when rounding towards -Infinity.
- y.s = ROUNDING_MODE == 3 ? -1 : 1;
- y.c = [y.e = 0];
- return y;
- }
-
- // No need to check for Infinity as +x - +y != Infinity && -x - -y != Infinity
- // for finite x and y.
- return normalise(y, xc, ye);
- };
-
-
- /*
- * n % 0 = N
- * n % N = N
- * n % I = n
- * 0 % n = 0
- * -0 % n = -0
- * 0 % 0 = N
- * 0 % N = N
- * 0 % I = 0
- * N % n = N
- * N % 0 = N
- * N % N = N
- * N % I = N
- * I % n = N
- * I % 0 = N
- * I % N = N
- * I % I = N
- *
- * Return a new BigNumber whose value is the value of this BigNumber modulo the value of
- * BigNumber(y, b). The result depends on the value of MODULO_MODE.
- */
- P.modulo = P.mod = function (y, b) {
- var q, s,
- x = this;
-
- y = new BigNumber(y, b);
-
- // Return NaN if x is Infinity or NaN, or y is NaN or zero.
- if (!x.c || !y.s || y.c && !y.c[0]) {
- return new BigNumber(NaN);
-
- // Return x if y is Infinity or x is zero.
- } else if (!y.c || x.c && !x.c[0]) {
- return new BigNumber(x);
- }
-
- if (MODULO_MODE == 9) {
-
- // Euclidian division: q = sign(y) * floor(x / abs(y))
- // r = x - qy where 0 <= r < abs(y)
- s = y.s;
- y.s = 1;
- q = div(x, y, 0, 3);
- y.s = s;
- q.s *= s;
- } else {
- q = div(x, y, 0, MODULO_MODE);
- }
-
- y = x.minus(q.times(y));
-
- // To match JavaScript %, ensure sign of zero is sign of dividend.
- if (!y.c[0] && MODULO_MODE == 1) y.s = x.s;
-
- return y;
- };
-
-
- /*
- * n * 0 = 0
- * n * N = N
- * n * I = I
- * 0 * n = 0
- * 0 * 0 = 0
- * 0 * N = N
- * 0 * I = N
- * N * n = N
- * N * 0 = N
- * N * N = N
- * N * I = N
- * I * n = I
- * I * 0 = N
- * I * N = N
- * I * I = I
- *
- * Return a new BigNumber whose value is the value of this BigNumber multiplied by the value
- * of BigNumber(y, b).
- */
- P.multipliedBy = P.times = function (y, b) {
- var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc,
- base, sqrtBase,
- x = this,
- xc = x.c,
- yc = (y = new BigNumber(y, b)).c;
-
- // Either NaN, ±Infinity or ±0?
- if (!xc || !yc || !xc[0] || !yc[0]) {
-
- // Return NaN if either is NaN, or one is 0 and the other is Infinity.
- if (!x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc) {
- y.c = y.e = y.s = null;
- } else {
- y.s *= x.s;
-
- // Return ±Infinity if either is ±Infinity.
- if (!xc || !yc) {
- y.c = y.e = null;
-
- // Return ±0 if either is ±0.
- } else {
- y.c = [0];
- y.e = 0;
- }
- }
-
- return y;
- }
-
- e = bitFloor(x.e / LOG_BASE) + bitFloor(y.e / LOG_BASE);
- y.s *= x.s;
- xcL = xc.length;
- ycL = yc.length;
-
- // Ensure xc points to longer array and xcL to its length.
- if (xcL < ycL) zc = xc, xc = yc, yc = zc, i = xcL, xcL = ycL, ycL = i;
-
- // Initialise the result array with zeros.
- for (i = xcL + ycL, zc = []; i--; zc.push(0));
-
- base = BASE;
- sqrtBase = SQRT_BASE;
-
- for (i = ycL; --i >= 0;) {
- c = 0;
- ylo = yc[i] % sqrtBase;
- yhi = yc[i] / sqrtBase | 0;
-
- for (k = xcL, j = i + k; j > i;) {
- xlo = xc[--k] % sqrtBase;
- xhi = xc[k] / sqrtBase | 0;
- m = yhi * xlo + xhi * ylo;
- xlo = ylo * xlo + ((m % sqrtBase) * sqrtBase) + zc[j] + c;
- c = (xlo / base | 0) + (m / sqrtBase | 0) + yhi * xhi;
- zc[j--] = xlo % base;
- }
-
- zc[j] = c;
- }
-
- if (c) {
- ++e;
- } else {
- zc.splice(0, 1);
- }
-
- return normalise(y, zc, e);
- };
-
-
- /*
- * Return a new BigNumber whose value is the value of this BigNumber negated,
- * i.e. multiplied by -1.
- */
- P.negated = function () {
- var x = new BigNumber(this);
- x.s = -x.s || null;
- return x;
- };
-
-
- /*
- * n + 0 = n
- * n + N = N
- * n + I = I
- * 0 + n = n
- * 0 + 0 = 0
- * 0 + N = N
- * 0 + I = I
- * N + n = N
- * N + 0 = N
- * N + N = N
- * N + I = N
- * I + n = I
- * I + 0 = I
- * I + N = N
- * I + I = I
- *
- * Return a new BigNumber whose value is the value of this BigNumber plus the value of
- * BigNumber(y, b).
- */
- P.plus = function (y, b) {
- var t,
- x = this,
- a = x.s;
-
- y = new BigNumber(y, b);
- b = y.s;
-
- // Either NaN?
- if (!a || !b) return new BigNumber(NaN);
-
- // Signs differ?
- if (a != b) {
- y.s = -b;
- return x.minus(y);
- }
-
- var xe = x.e / LOG_BASE,
- ye = y.e / LOG_BASE,
- xc = x.c,
- yc = y.c;
-
- if (!xe || !ye) {
-
- // Return ±Infinity if either ±Infinity.
- if (!xc || !yc) return new BigNumber(a / 0);
-
- // Either zero?
- // Return y if y is non-zero, x if x is non-zero, or zero if both are zero.
- if (!xc[0] || !yc[0]) return yc[0] ? y : new BigNumber(xc[0] ? x : a * 0);
- }
-
- xe = bitFloor(xe);
- ye = bitFloor(ye);
- xc = xc.slice();
-
- // Prepend zeros to equalise exponents. Faster to use reverse then do unshifts.
- if (a = xe - ye) {
- if (a > 0) {
- ye = xe;
- t = yc;
- } else {
- a = -a;
- t = xc;
- }
-
- t.reverse();
- for (; a--; t.push(0));
- t.reverse();
- }
-
- a = xc.length;
- b = yc.length;
-
- // Point xc to the longer array, and b to the shorter length.
- if (a - b < 0) t = yc, yc = xc, xc = t, b = a;
-
- // Only start adding at yc.length - 1 as the further digits of xc can be ignored.
- for (a = 0; b;) {
- a = (xc[--b] = xc[b] + yc[b] + a) / BASE | 0;
- xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE;
- }
-
- if (a) {
- xc = [a].concat(xc);
- ++ye;
- }
-
- // No need to check for zero, as +x + +y != 0 && -x + -y != 0
- // ye = MAX_EXP + 1 possible
- return normalise(y, xc, ye);
- };
-
-
- /*
- * If sd is undefined or null or true or false, return the number of significant digits of
- * the value of this BigNumber, or null if the value of this BigNumber is ±Infinity or NaN.
- * If sd is true include integer-part trailing zeros in the count.
- *
- * Otherwise, if sd is a number, return a new BigNumber whose value is the value of this
- * BigNumber rounded to a maximum of sd significant digits using rounding mode rm, or
- * ROUNDING_MODE if rm is omitted.
- *
- * sd {number|boolean} number: significant digits: integer, 1 to MAX inclusive.
- * boolean: whether to count integer-part trailing zeros: true or false.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {sd|rm}'
- */
- P.precision = P.sd = function (sd, rm) {
- var c, n, v,
- x = this;
-
- if (sd != null && sd !== !!sd) {
- intCheck(sd, 1, MAX);
- if (rm == null) rm = ROUNDING_MODE;
- else intCheck(rm, 0, 8);
-
- return round(new BigNumber(x), sd, rm);
- }
-
- if (!(c = x.c)) return null;
- v = c.length - 1;
- n = v * LOG_BASE + 1;
-
- if (v = c[v]) {
-
- // Subtract the number of trailing zeros of the last element.
- for (; v % 10 == 0; v /= 10, n--);
-
- // Add the number of digits of the first element.
- for (v = c[0]; v >= 10; v /= 10, n++);
- }
-
- if (sd && x.e + 1 > n) n = x.e + 1;
-
- return n;
- };
-
-
- /*
- * Return a new BigNumber whose value is the value of this BigNumber shifted by k places
- * (powers of 10). Shift to the right if n > 0, and to the left if n < 0.
- *
- * k {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {k}'
- */
- P.shiftedBy = function (k) {
- intCheck(k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER);
- return this.times('1e' + k);
- };
-
-
- /*
- * sqrt(-n) = N
- * sqrt(N) = N
- * sqrt(-I) = N
- * sqrt(I) = I
- * sqrt(0) = 0
- * sqrt(-0) = -0
- *
- * Return a new BigNumber whose value is the square root of the value of this BigNumber,
- * rounded according to DECIMAL_PLACES and ROUNDING_MODE.
- */
- P.squareRoot = P.sqrt = function () {
- var m, n, r, rep, t,
- x = this,
- c = x.c,
- s = x.s,
- e = x.e,
- dp = DECIMAL_PLACES + 4,
- half = new BigNumber('0.5');
-
- // Negative/NaN/Infinity/zero?
- if (s !== 1 || !c || !c[0]) {
- return new BigNumber(!s || s < 0 && (!c || c[0]) ? NaN : c ? x : 1 / 0);
- }
-
- // Initial estimate.
- s = Math.sqrt(+valueOf(x));
-
- // Math.sqrt underflow/overflow?
- // Pass x to Math.sqrt as integer, then adjust the exponent of the result.
- if (s == 0 || s == 1 / 0) {
- n = coeffToString(c);
- if ((n.length + e) % 2 == 0) n += '0';
- s = Math.sqrt(+n);
- e = bitFloor((e + 1) / 2) - (e < 0 || e % 2);
-
- if (s == 1 / 0) {
- n = '1e' + e;
- } else {
- n = s.toExponential();
- n = n.slice(0, n.indexOf('e') + 1) + e;
- }
-
- r = new BigNumber(n);
- } else {
- r = new BigNumber(s + '');
- }
-
- // Check for zero.
- // r could be zero if MIN_EXP is changed after the this value was created.
- // This would cause a division by zero (x/t) and hence Infinity below, which would cause
- // coeffToString to throw.
- if (r.c[0]) {
- e = r.e;
- s = e + dp;
- if (s < 3) s = 0;
-
- // Newton-Raphson iteration.
- for (; ;) {
- t = r;
- r = half.times(t.plus(div(x, t, dp, 1)));
-
- if (coeffToString(t.c).slice(0, s) === (n = coeffToString(r.c)).slice(0, s)) {
-
- // The exponent of r may here be one less than the final result exponent,
- // e.g 0.0009999 (e-4) --> 0.001 (e-3), so adjust s so the rounding digits
- // are indexed correctly.
- if (r.e < e) --s;
- n = n.slice(s - 3, s + 1);
-
- // The 4th rounding digit may be in error by -1 so if the 4 rounding digits
- // are 9999 or 4999 (i.e. approaching a rounding boundary) continue the
- // iteration.
- if (n == '9999' || !rep && n == '4999') {
-
- // On the first iteration only, check to see if rounding up gives the
- // exact result as the nines may infinitely repeat.
- if (!rep) {
- round(t, t.e + DECIMAL_PLACES + 2, 0);
-
- if (t.times(t).eq(x)) {
- r = t;
- break;
- }
- }
-
- dp += 4;
- s += 4;
- rep = 1;
- } else {
-
- // If rounding digits are null, 0{0,4} or 50{0,3}, check for exact
- // result. If not, then there are further digits and m will be truthy.
- if (!+n || !+n.slice(1) && n.charAt(0) == '5') {
-
- // Truncate to the first rounding digit.
- round(r, r.e + DECIMAL_PLACES + 2, 1);
- m = !r.times(r).eq(x);
- }
-
- break;
- }
- }
- }
- }
-
- return round(r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber in exponential notation and
- * rounded using ROUNDING_MODE to dp fixed decimal places.
- *
- * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'
- */
- P.toExponential = function (dp, rm) {
- if (dp != null) {
- intCheck(dp, 0, MAX);
- dp++;
- }
- return format(this, dp, rm, 1);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber in fixed-point notation rounding
- * to dp fixed decimal places using rounding mode rm, or ROUNDING_MODE if rm is omitted.
- *
- * Note: as with JavaScript's number type, (-0).toFixed(0) is '0',
- * but e.g. (-0.00001).toFixed(0) is '-0'.
- *
- * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'
- */
- P.toFixed = function (dp, rm) {
- if (dp != null) {
- intCheck(dp, 0, MAX);
- dp = dp + this.e + 1;
- }
- return format(this, dp, rm);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber in fixed-point notation rounded
- * using rm or ROUNDING_MODE to dp decimal places, and formatted according to the properties
- * of the format or FORMAT object (see BigNumber.set).
- *
- * The formatting object may contain some or all of the properties shown below.
- *
- * FORMAT = {
- * prefix: '',
- * groupSize: 3,
- * secondaryGroupSize: 0,
- * groupSeparator: ',',
- * decimalSeparator: '.',
- * fractionGroupSize: 0,
- * fractionGroupSeparator: '\xA0', // non-breaking space
- * suffix: ''
- * };
- *
- * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- * [format] {object} Formatting options. See FORMAT pbject above.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'
- * '[BigNumber Error] Argument not an object: {format}'
- */
- P.toFormat = function (dp, rm, format) {
- var str,
- x = this;
-
- if (format == null) {
- if (dp != null && rm && typeof rm == 'object') {
- format = rm;
- rm = null;
- } else if (dp && typeof dp == 'object') {
- format = dp;
- dp = rm = null;
- } else {
- format = FORMAT;
- }
- } else if (typeof format != 'object') {
- throw Error
- (bignumberError + 'Argument not an object: ' + format);
- }
-
- str = x.toFixed(dp, rm);
-
- if (x.c) {
- var i,
- arr = str.split('.'),
- g1 = +format.groupSize,
- g2 = +format.secondaryGroupSize,
- groupSeparator = format.groupSeparator || '',
- intPart = arr[0],
- fractionPart = arr[1],
- isNeg = x.s < 0,
- intDigits = isNeg ? intPart.slice(1) : intPart,
- len = intDigits.length;
-
- if (g2) i = g1, g1 = g2, g2 = i, len -= i;
-
- if (g1 > 0 && len > 0) {
- i = len % g1 || g1;
- intPart = intDigits.substr(0, i);
- for (; i < len; i += g1) intPart += groupSeparator + intDigits.substr(i, g1);
- if (g2 > 0) intPart += groupSeparator + intDigits.slice(i);
- if (isNeg) intPart = '-' + intPart;
- }
-
- str = fractionPart
- ? intPart + (format.decimalSeparator || '') + ((g2 = +format.fractionGroupSize)
- ? fractionPart.replace(new RegExp('\\d{' + g2 + '}\\B', 'g'),
- '$&' + (format.fractionGroupSeparator || ''))
- : fractionPart)
- : intPart;
- }
-
- return (format.prefix || '') + str + (format.suffix || '');
- };
-
-
- /*
- * Return an array of two BigNumbers representing the value of this BigNumber as a simple
- * fraction with an integer numerator and an integer denominator.
- * The denominator will be a positive non-zero value less than or equal to the specified
- * maximum denominator. If a maximum denominator is not specified, the denominator will be
- * the lowest value necessary to represent the number exactly.
- *
- * [md] {number|string|BigNumber} Integer >= 1, or Infinity. The maximum denominator.
- *
- * '[BigNumber Error] Argument {not an integer|out of range} : {md}'
- */
- P.toFraction = function (md) {
- var d, d0, d1, d2, e, exp, n, n0, n1, q, r, s,
- x = this,
- xc = x.c;
-
- if (md != null) {
- n = new BigNumber(md);
-
- // Throw if md is less than one or is not an integer, unless it is Infinity.
- if (!n.isInteger() && (n.c || n.s !== 1) || n.lt(ONE)) {
- throw Error
- (bignumberError + 'Argument ' +
- (n.isInteger() ? 'out of range: ' : 'not an integer: ') + valueOf(n));
- }
- }
-
- if (!xc) return new BigNumber(x);
-
- d = new BigNumber(ONE);
- n1 = d0 = new BigNumber(ONE);
- d1 = n0 = new BigNumber(ONE);
- s = coeffToString(xc);
-
- // Determine initial denominator.
- // d is a power of 10 and the minimum max denominator that specifies the value exactly.
- e = d.e = s.length - x.e - 1;
- d.c[0] = POWS_TEN[(exp = e % LOG_BASE) < 0 ? LOG_BASE + exp : exp];
- md = !md || n.comparedTo(d) > 0 ? (e > 0 ? d : n1) : n;
-
- exp = MAX_EXP;
- MAX_EXP = 1 / 0;
- n = new BigNumber(s);
-
- // n0 = d1 = 0
- n0.c[0] = 0;
-
- for (; ;) {
- q = div(n, d, 0, 1);
- d2 = d0.plus(q.times(d1));
- if (d2.comparedTo(md) == 1) break;
- d0 = d1;
- d1 = d2;
- n1 = n0.plus(q.times(d2 = n1));
- n0 = d2;
- d = n.minus(q.times(d2 = d));
- n = d2;
- }
-
- d2 = div(md.minus(d0), d1, 0, 1);
- n0 = n0.plus(d2.times(n1));
- d0 = d0.plus(d2.times(d1));
- n0.s = n1.s = x.s;
- e = e * 2;
-
- // Determine which fraction is closer to x, n0/d0 or n1/d1
- r = div(n1, d1, e, ROUNDING_MODE).minus(x).abs().comparedTo(
- div(n0, d0, e, ROUNDING_MODE).minus(x).abs()) < 1 ? [n1, d1] : [n0, d0];
-
- MAX_EXP = exp;
-
- return r;
- };
-
-
- /*
- * Return the value of this BigNumber converted to a number primitive.
- */
- P.toNumber = function () {
- return +valueOf(this);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber rounded to sd significant digits
- * using rounding mode rm or ROUNDING_MODE. If sd is less than the number of digits
- * necessary to represent the integer part of the value in fixed-point notation, then use
- * exponential notation.
- *
- * [sd] {number} Significant digits. Integer, 1 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {sd|rm}'
- */
- P.toPrecision = function (sd, rm) {
- if (sd != null) intCheck(sd, 1, MAX);
- return format(this, sd, rm, 2);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber in base b, or base 10 if b is
- * omitted. If a base is specified, including base 10, round according to DECIMAL_PLACES and
- * ROUNDING_MODE. If a base is not specified, and this BigNumber has a positive exponent
- * that is equal to or greater than TO_EXP_POS, or a negative exponent equal to or less than
- * TO_EXP_NEG, return exponential notation.
- *
- * [b] {number} Integer, 2 to ALPHABET.length inclusive.
- *
- * '[BigNumber Error] Base {not a primitive number|not an integer|out of range}: {b}'
- */
- P.toString = function (b) {
- var str,
- n = this,
- s = n.s,
- e = n.e;
-
- // Infinity or NaN?
- if (e === null) {
- if (s) {
- str = 'Infinity';
- if (s < 0) str = '-' + str;
- } else {
- str = 'NaN';
- }
- } else {
- if (b == null) {
- str = e <= TO_EXP_NEG || e >= TO_EXP_POS
- ? toExponential(coeffToString(n.c), e)
- : toFixedPoint(coeffToString(n.c), e, '0');
- } else if (b === 10) {
- n = round(new BigNumber(n), DECIMAL_PLACES + e + 1, ROUNDING_MODE);
- str = toFixedPoint(coeffToString(n.c), n.e, '0');
- } else {
- intCheck(b, 2, ALPHABET.length, 'Base');
- str = convertBase(toFixedPoint(coeffToString(n.c), e, '0'), 10, b, s, true);
- }
-
- if (s < 0 && n.c[0]) str = '-' + str;
- }
-
- return str;
- };
-
-
- /*
- * Return as toString, but do not accept a base argument, and include the minus sign for
- * negative zero.
- */
- P.valueOf = P.toJSON = function () {
- return valueOf(this);
- };
-
-
- P._isBigNumber = true;
-
- if (configObject != null) BigNumber.set(configObject);
-
- return BigNumber;
- }
-
-
- // PRIVATE HELPER FUNCTIONS
-
- // These functions don't need access to variables,
- // e.g. DECIMAL_PLACES, in the scope of the `clone` function above.
-
-
- function bitFloor(n) {
- var i = n | 0;
- return n > 0 || n === i ? i : i - 1;
- }
-
-
- // Return a coefficient array as a string of base 10 digits.
- function coeffToString(a) {
- var s, z,
- i = 1,
- j = a.length,
- r = a[0] + '';
-
- for (; i < j;) {
- s = a[i++] + '';
- z = LOG_BASE - s.length;
- for (; z--; s = '0' + s);
- r += s;
- }
-
- // Determine trailing zeros.
- for (j = r.length; r.charCodeAt(--j) === 48;);
-
- return r.slice(0, j + 1 || 1);
- }
-
-
- // Compare the value of BigNumbers x and y.
- function compare(x, y) {
- var a, b,
- xc = x.c,
- yc = y.c,
- i = x.s,
- j = y.s,
- k = x.e,
- l = y.e;
-
- // Either NaN?
- if (!i || !j) return null;
-
- a = xc && !xc[0];
- b = yc && !yc[0];
-
- // Either zero?
- if (a || b) return a ? b ? 0 : -j : i;
-
- // Signs differ?
- if (i != j) return i;
-
- a = i < 0;
- b = k == l;
-
- // Either Infinity?
- if (!xc || !yc) return b ? 0 : !xc ^ a ? 1 : -1;
-
- // Compare exponents.
- if (!b) return k > l ^ a ? 1 : -1;
-
- j = (k = xc.length) < (l = yc.length) ? k : l;
-
- // Compare digit by digit.
- for (i = 0; i < j; i++) if (xc[i] != yc[i]) return xc[i] > yc[i] ^ a ? 1 : -1;
-
- // Compare lengths.
- return k == l ? 0 : k > l ^ a ? 1 : -1;
- }
-
-
- /*
- * Check that n is a primitive number, an integer, and in range, otherwise throw.
- */
- function intCheck(n, min, max, name) {
- if (n < min || n > max || n !== mathfloor(n)) {
- throw Error
- (bignumberError + (name || 'Argument') + (typeof n == 'number'
- ? n < min || n > max ? ' out of range: ' : ' not an integer: '
- : ' not a primitive number: ') + String(n));
- }
- }
-
-
- // Assumes finite n.
- function isOdd(n) {
- var k = n.c.length - 1;
- return bitFloor(n.e / LOG_BASE) == k && n.c[k] % 2 != 0;
- }
-
-
- function toExponential(str, e) {
- return (str.length > 1 ? str.charAt(0) + '.' + str.slice(1) : str) +
- (e < 0 ? 'e' : 'e+') + e;
- }
-
-
- function toFixedPoint(str, e, z) {
- var len, zs;
-
- // Negative exponent?
- if (e < 0) {
-
- // Prepend zeros.
- for (zs = z + '.'; ++e; zs += z);
- str = zs + str;
-
- // Positive exponent
- } else {
- len = str.length;
-
- // Append zeros.
- if (++e > len) {
- for (zs = z, e -= len; --e; zs += z);
- str += zs;
- } else if (e < len) {
- str = str.slice(0, e) + '.' + str.slice(e);
- }
- }
-
- return str;
- }
-
-
- // EXPORT
-
-
- BigNumber = clone();
- BigNumber['default'] = BigNumber.BigNumber = BigNumber;
-
- // AMD.
- if (typeof define == 'function' && define.amd) {
- define(function () { return BigNumber; });
-
- // Node.js and other environments that support module.exports.
- } else if (typeof module != 'undefined' && module.exports) {
- module.exports = BigNumber;
-
- // Browser.
- } else {
- if (!globalObject) {
- globalObject = typeof self != 'undefined' && self ? self : window;
- }
-
- globalObject.BigNumber = BigNumber;
- }
-})(this);
diff --git a/Server/node_modules/bignumber.js/bignumber.min.js b/Server/node_modules/bignumber.js/bignumber.min.js
deleted file mode 100644
index 2610072..0000000
--- a/Server/node_modules/bignumber.js/bignumber.min.js
+++ /dev/null
@@ -1 +0,0 @@
-/* bignumber.js v9.0.0 https://github.com/MikeMcl/bignumber.js/LICENCE */!function(e){"use strict";var r,x=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,L=Math.ceil,U=Math.floor,I="[BigNumber Error] ",T=I+"Number primitive has more than 15 significant digits: ",C=1e14,M=14,G=9007199254740991,k=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],F=1e7,q=1e9;function j(e){var r=0|e;return 0<e||e===r?r:r-1}function $(e){for(var r,n,t=1,i=e.length,o=e[0]+"";t<i;){for(r=e[t++]+"",n=M-r.length;n--;r="0"+r);o+=r}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function z(e,r){var n,t,i=e.c,o=r.c,s=e.s,f=r.s,u=e.e,l=r.e;if(!s||!f)return null;if(n=i&&!i[0],t=o&&!o[0],n||t)return n?t?0:-f:s;if(s!=f)return s;if(n=s<0,t=u==l,!i||!o)return t?0:!i^n?1:-1;if(!t)return l<u^n?1:-1;for(f=(u=i.length)<(l=o.length)?u:l,s=0;s<f;s++)if(i[s]!=o[s])return i[s]>o[s]^n?1:-1;return u==l?0:l<u^n?1:-1}function H(e,r,n,t){if(e<r||n<e||e!==U(e))throw Error(I+(t||"Argument")+("number"==typeof e?e<r||n<e?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function V(e){var r=e.c.length-1;return j(e.e/M)==r&&e.c[r]%2!=0}function W(e,r){return(1<e.length?e.charAt(0)+"."+e.slice(1):e)+(r<0?"e":"e+")+r}function X(e,r,n){var t,i;if(r<0){for(i=n+".";++r;i+=n);e=i+e}else if(++r>(t=e.length)){for(i=n,r-=t;--r;i+=n);e+=i}else r<t&&(e=e.slice(0,r)+"."+e.slice(r));return e}(r=function e(r){var v,a,h,n,l,s,f,u,c,g,t=B.prototype={constructor:B,toString:null,valueOf:null},w=new B(1),N=20,O=4,p=-7,d=21,m=-1e7,y=1e7,b=!1,o=1,E=0,A={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},S="0123456789abcdefghijklmnopqrstuvwxyz";function B(e,r){var n,t,i,o,s,f,u,l,c=this;if(!(c instanceof B))return new B(e,r);if(null==r){if(e&&!0===e._isBigNumber)return c.s=e.s,void(!e.c||e.e>y?c.c=c.e=null:e.e<m?c.c=[c.e=0]:(c.e=e.e,c.c=e.c.slice()));if((f="number"==typeof e)&&0*e==0){if(c.s=1/e<0?(e=-e,-1):1,e===~~e){for(o=0,s=e;10<=s;s/=10,o++);return void(c.c=y<o?c.e=null:(c.e=o,[e]))}l=String(e)}else{if(!x.test(l=String(e)))return h(c,l,f);c.s=45==l.charCodeAt(0)?(l=l.slice(1),-1):1}-1<(o=l.indexOf("."))&&(l=l.replace(".","")),0<(s=l.search(/e/i))?(o<0&&(o=s),o+=+l.slice(s+1),l=l.substring(0,s)):o<0&&(o=l.length)}else{if(H(r,2,S.length,"Base"),10==r)return D(c=new B(e),N+c.e+1,O);if(l=String(e),f="number"==typeof e){if(0*e!=0)return h(c,l,f,r);if(c.s=1/e<0?(l=l.slice(1),-1):1,B.DEBUG&&15<l.replace(/^0\.0*|\./,"").length)throw Error(T+e)}else c.s=45===l.charCodeAt(0)?(l=l.slice(1),-1):1;for(n=S.slice(0,r),o=s=0,u=l.length;s<u;s++)if(n.indexOf(t=l.charAt(s))<0){if("."==t){if(o<s){o=u;continue}}else if(!i&&(l==l.toUpperCase()&&(l=l.toLowerCase())||l==l.toLowerCase()&&(l=l.toUpperCase()))){i=!0,s=-1,o=0;continue}return h(c,String(e),f,r)}f=!1,-1<(o=(l=a(l,r,10,c.s)).indexOf("."))?l=l.replace(".",""):o=l.length}for(s=0;48===l.charCodeAt(s);s++);for(u=l.length;48===l.charCodeAt(--u););if(l=l.slice(s,++u)){if(u-=s,f&&B.DEBUG&&15<u&&(G<e||e!==U(e)))throw Error(T+c.s*e);if((o=o-s-1)>y)c.c=c.e=null;else if(o<m)c.c=[c.e=0];else{if(c.e=o,c.c=[],s=(o+1)%M,o<0&&(s+=M),s<u){for(s&&c.c.push(+l.slice(0,s)),u-=M;s<u;)c.c.push(+l.slice(s,s+=M));s=M-(l=l.slice(s)).length}else s-=u;for(;s--;l+="0");c.c.push(+l)}}else c.c=[c.e=0]}function i(e,r,n,t){var i,o,s,f,u;if(null==n?n=O:H(n,0,8),!e.c)return e.toString();if(i=e.c[0],s=e.e,null==r)u=$(e.c),u=1==t||2==t&&(s<=p||d<=s)?W(u,s):X(u,s,"0");else if(o=(e=D(new B(e),r,n)).e,f=(u=$(e.c)).length,1==t||2==t&&(r<=o||o<=p)){for(;f<r;u+="0",f++);u=W(u,o)}else if(r-=s,u=X(u,o,"0"),f<o+1){if(0<--r)for(u+=".";r--;u+="0");}else if(0<(r+=o-f))for(o+1==f&&(u+=".");r--;u+="0");return e.s<0&&i?"-"+u:u}function R(e,r){for(var n,t=1,i=new B(e[0]);t<e.length;t++){if(!(n=new B(e[t])).s){i=n;break}r.call(i,n)&&(i=n)}return i}function _(e,r,n){for(var t=1,i=r.length;!r[--i];r.pop());for(i=r[0];10<=i;i/=10,t++);return(n=t+n*M-1)>y?e.c=e.e=null:e.c=n<m?[e.e=0]:(e.e=n,r),e}function D(e,r,n,t){var i,o,s,f,u,l,c,a=e.c,h=k;if(a){e:{for(i=1,f=a[0];10<=f;f/=10,i++);if((o=r-i)<0)o+=M,s=r,c=(u=a[l=0])/h[i-s-1]%10|0;else if((l=L((o+1)/M))>=a.length){if(!t)break e;for(;a.length<=l;a.push(0));u=c=0,s=(o%=M)-M+(i=1)}else{for(u=f=a[l],i=1;10<=f;f/=10,i++);c=(s=(o%=M)-M+i)<0?0:u/h[i-s-1]%10|0}if(t=t||r<0||null!=a[l+1]||(s<0?u:u%h[i-s-1]),t=n<4?(c||t)&&(0==n||n==(e.s<0?3:2)):5<c||5==c&&(4==n||t||6==n&&(0<o?0<s?u/h[i-s]:0:a[l-1])%10&1||n==(e.s<0?8:7)),r<1||!a[0])return a.length=0,t?(r-=e.e+1,a[0]=h[(M-r%M)%M],e.e=-r||0):a[0]=e.e=0,e;if(0==o?(a.length=l,f=1,l--):(a.length=l+1,f=h[M-o],a[l]=0<s?U(u/h[i-s]%h[s])*f:0),t)for(;;){if(0==l){for(o=1,s=a[0];10<=s;s/=10,o++);for(s=a[0]+=f,f=1;10<=s;s/=10,f++);o!=f&&(e.e++,a[0]==C&&(a[0]=1));break}if(a[l]+=f,a[l]!=C)break;a[l--]=0,f=1}for(o=a.length;0===a[--o];a.pop());}e.e>y?e.c=e.e=null:e.e<m&&(e.c=[e.e=0])}return e}function P(e){var r,n=e.e;return null===n?e.toString():(r=$(e.c),r=n<=p||d<=n?W(r,n):X(r,n,"0"),e.s<0?"-"+r:r)}return B.clone=e,B.ROUND_UP=0,B.ROUND_DOWN=1,B.ROUND_CEIL=2,B.ROUND_FLOOR=3,B.ROUND_HALF_UP=4,B.ROUND_HALF_DOWN=5,B.ROUND_HALF_EVEN=6,B.ROUND_HALF_CEIL=7,B.ROUND_HALF_FLOOR=8,B.EUCLID=9,B.config=B.set=function(e){var r,n;if(null!=e){if("object"!=typeof e)throw Error(I+"Object expected: "+e);if(e.hasOwnProperty(r="DECIMAL_PLACES")&&(H(n=e[r],0,q,r),N=n),e.hasOwnProperty(r="ROUNDING_MODE")&&(H(n=e[r],0,8,r),O=n),e.hasOwnProperty(r="EXPONENTIAL_AT")&&((n=e[r])&&n.pop?(H(n[0],-q,0,r),H(n[1],0,q,r),p=n[0],d=n[1]):(H(n,-q,q,r),p=-(d=n<0?-n:n))),e.hasOwnProperty(r="RANGE"))if((n=e[r])&&n.pop)H(n[0],-q,-1,r),H(n[1],1,q,r),m=n[0],y=n[1];else{if(H(n,-q,q,r),!n)throw Error(I+r+" cannot be zero: "+n);m=-(y=n<0?-n:n)}if(e.hasOwnProperty(r="CRYPTO")){if((n=e[r])!==!!n)throw Error(I+r+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw b=!n,Error(I+"crypto unavailable");b=n}else b=n}if(e.hasOwnProperty(r="MODULO_MODE")&&(H(n=e[r],0,9,r),o=n),e.hasOwnProperty(r="POW_PRECISION")&&(H(n=e[r],0,q,r),E=n),e.hasOwnProperty(r="FORMAT")){if("object"!=typeof(n=e[r]))throw Error(I+r+" not an object: "+n);A=n}if(e.hasOwnProperty(r="ALPHABET")){if("string"!=typeof(n=e[r])||/^.$|[+-.\s]|(.).*\1/.test(n))throw Error(I+r+" invalid: "+n);S=n}}return{DECIMAL_PLACES:N,ROUNDING_MODE:O,EXPONENTIAL_AT:[p,d],RANGE:[m,y],CRYPTO:b,MODULO_MODE:o,POW_PRECISION:E,FORMAT:A,ALPHABET:S}},B.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!B.DEBUG)return!0;var r,n,t=e.c,i=e.e,o=e.s;e:if("[object Array]"=={}.toString.call(t)){if((1===o||-1===o)&&-q<=i&&i<=q&&i===U(i)){if(0===t[0]){if(0===i&&1===t.length)return!0;break e}if((r=(i+1)%M)<1&&(r+=M),String(t[0]).length==r){for(r=0;r<t.length;r++)if((n=t[r])<0||C<=n||n!==U(n))break e;if(0!==n)return!0}}}else if(null===t&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(I+"Invalid BigNumber: "+e)},B.maximum=B.max=function(){return R(arguments,t.lt)},B.minimum=B.min=function(){return R(arguments,t.gt)},B.random=(n=9007199254740992,l=Math.random()*n&2097151?function(){return U(Math.random()*n)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var r,n,t,i,o,s=0,f=[],u=new B(w);if(null==e?e=N:H(e,0,q),i=L(e/M),b)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(i*=2));s<i;)9e15<=(o=131072*r[s]+(r[s+1]>>>11))?(n=crypto.getRandomValues(new Uint32Array(2)),r[s]=n[0],r[s+1]=n[1]):(f.push(o%1e14),s+=2);s=i/2}else{if(!crypto.randomBytes)throw b=!1,Error(I+"crypto unavailable");for(r=crypto.randomBytes(i*=7);s<i;)9e15<=(o=281474976710656*(31&r[s])+1099511627776*r[s+1]+4294967296*r[s+2]+16777216*r[s+3]+(r[s+4]<<16)+(r[s+5]<<8)+r[s+6])?crypto.randomBytes(7).copy(r,s):(f.push(o%1e14),s+=7);s=i/7}if(!b)for(;s<i;)(o=l())<9e15&&(f[s++]=o%1e14);for(i=f[--s],e%=M,i&&e&&(o=k[M-e],f[s]=U(i/o)*o);0===f[s];f.pop(),s--);if(s<0)f=[t=0];else{for(t=-1;0===f[0];f.splice(0,1),t-=M);for(s=1,o=f[0];10<=o;o/=10,s++);s<M&&(t-=M-s)}return u.e=t,u.c=f,u}),B.sum=function(){for(var e=1,r=arguments,n=new B(r[0]);e<r.length;)n=n.plus(r[e++]);return n},a=function(){var d="0123456789";function m(e,r,n,t){for(var i,o,s=[0],f=0,u=e.length;f<u;){for(o=s.length;o--;s[o]*=r);for(s[0]+=t.indexOf(e.charAt(f++)),i=0;i<s.length;i++)s[i]>n-1&&(null==s[i+1]&&(s[i+1]=0),s[i+1]+=s[i]/n|0,s[i]%=n)}return s.reverse()}return function(e,r,n,t,i){var o,s,f,u,l,c,a,h,g=e.indexOf("."),p=N,w=O;for(0<=g&&(u=E,E=0,e=e.replace(".",""),c=(h=new B(r)).pow(e.length-g),E=u,h.c=m(X($(c.c),c.e,"0"),10,n,d),h.e=h.c.length),f=u=(a=m(e,r,n,i?(o=S,d):(o=d,S))).length;0==a[--u];a.pop());if(!a[0])return o.charAt(0);if(g<0?--f:(c.c=a,c.e=f,c.s=t,a=(c=v(c,h,p,w,n)).c,l=c.r,f=c.e),g=a[s=f+p+1],u=n/2,l=l||s<0||null!=a[s+1],l=w<4?(null!=g||l)&&(0==w||w==(c.s<0?3:2)):u<g||g==u&&(4==w||l||6==w&&1&a[s-1]||w==(c.s<0?8:7)),s<1||!a[0])e=l?X(o.charAt(1),-p,o.charAt(0)):o.charAt(0);else{if(a.length=s,l)for(--n;++a[--s]>n;)a[s]=0,s||(++f,a=[1].concat(a));for(u=a.length;!a[--u];);for(g=0,e="";g<=u;e+=o.charAt(a[g++]));e=X(e,f,o.charAt(0))}return e}}(),v=function(){function S(e,r,n){var t,i,o,s,f=0,u=e.length,l=r%F,c=r/F|0;for(e=e.slice();u--;)f=((i=l*(o=e[u]%F)+(t=c*o+(s=e[u]/F|0)*l)%F*F+f)/n|0)+(t/F|0)+c*s,e[u]=i%n;return f&&(e=[f].concat(e)),e}function R(e,r,n,t){var i,o;if(n!=t)o=t<n?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=r[i]){o=e[i]>r[i]?1:-1;break}return o}function _(e,r,n,t){for(var i=0;n--;)e[n]-=i,i=e[n]<r[n]?1:0,e[n]=i*t+e[n]-r[n];for(;!e[0]&&1<e.length;e.splice(0,1));}return function(e,r,n,t,i){var o,s,f,u,l,c,a,h,g,p,w,d,m,v,N,O,y,b=e.s==r.s?1:-1,E=e.c,A=r.c;if(!(E&&E[0]&&A&&A[0]))return new B(e.s&&r.s&&(E?!A||E[0]!=A[0]:A)?E&&0==E[0]||!A?0*b:b/0:NaN);for(g=(h=new B(b)).c=[],b=n+(s=e.e-r.e)+1,i||(i=C,s=j(e.e/M)-j(r.e/M),b=b/M|0),f=0;A[f]==(E[f]||0);f++);if(A[f]>(E[f]||0)&&s--,b<0)g.push(1),u=!0;else{for(v=E.length,O=A.length,b+=2,1<(l=U(i/(A[f=0]+1)))&&(A=S(A,l,i),E=S(E,l,i),O=A.length,v=E.length),m=O,w=(p=E.slice(0,O)).length;w<O;p[w++]=0);y=A.slice(),y=[0].concat(y),N=A[0],A[1]>=i/2&&N++;do{if(l=0,(o=R(A,p,O,w))<0){if(d=p[0],O!=w&&(d=d*i+(p[1]||0)),1<(l=U(d/N)))for(i<=l&&(l=i-1),a=(c=S(A,l,i)).length,w=p.length;1==R(c,p,a,w);)l--,_(c,O<a?y:A,a,i),a=c.length,o=1;else 0==l&&(o=l=1),a=(c=A.slice()).length;if(a<w&&(c=[0].concat(c)),_(p,c,w,i),w=p.length,-1==o)for(;R(A,p,O,w)<1;)l++,_(p,O<w?y:A,w,i),w=p.length}else 0===o&&(l++,p=[0]);g[f++]=l,p[0]?p[w++]=E[m]||0:(p=[E[m]],w=1)}while((m++<v||null!=p[0])&&b--);u=null!=p[0],g[0]||g.splice(0,1)}if(i==C){for(f=1,b=g[0];10<=b;b/=10,f++);D(h,n+(h.e=f+s*M-1)+1,t,u)}else h.e=s,h.r=+u;return h}}(),s=/^(-?)0([xbo])(?=\w[\w.]*$)/i,f=/^([^.]+)\.$/,u=/^\.([^.]+)$/,c=/^-?(Infinity|NaN)$/,g=/^\s*\+(?=[\w.])|^\s+|\s+$/g,h=function(e,r,n,t){var i,o=n?r:r.replace(g,"");if(c.test(o))e.s=isNaN(o)?null:o<0?-1:1;else{if(!n&&(o=o.replace(s,function(e,r,n){return i="x"==(n=n.toLowerCase())?16:"b"==n?2:8,t&&t!=i?e:r}),t&&(i=t,o=o.replace(f,"$1").replace(u,"0.$1")),r!=o))return new B(o,i);if(B.DEBUG)throw Error(I+"Not a"+(t?" base "+t:"")+" number: "+r);e.s=null}e.c=e.e=null},t.absoluteValue=t.abs=function(){var e=new B(this);return e.s<0&&(e.s=1),e},t.comparedTo=function(e,r){return z(this,new B(e,r))},t.decimalPlaces=t.dp=function(e,r){var n,t,i;if(null!=e)return H(e,0,q),null==r?r=O:H(r,0,8),D(new B(this),e+this.e+1,r);if(!(n=this.c))return null;if(t=((i=n.length-1)-j(this.e/M))*M,i=n[i])for(;i%10==0;i/=10,t--);return t<0&&(t=0),t},t.dividedBy=t.div=function(e,r){return v(this,new B(e,r),N,O)},t.dividedToIntegerBy=t.idiv=function(e,r){return v(this,new B(e,r),0,1)},t.exponentiatedBy=t.pow=function(e,r){var n,t,i,o,s,f,u,l,c=this;if((e=new B(e)).c&&!e.isInteger())throw Error(I+"Exponent not an integer: "+P(e));if(null!=r&&(r=new B(r)),s=14<e.e,!c.c||!c.c[0]||1==c.c[0]&&!c.e&&1==c.c.length||!e.c||!e.c[0])return l=new B(Math.pow(+P(c),s?2-V(e):+P(e))),r?l.mod(r):l;if(f=e.s<0,r){if(r.c?!r.c[0]:!r.s)return new B(NaN);(t=!f&&c.isInteger()&&r.isInteger())&&(c=c.mod(r))}else{if(9<e.e&&(0<c.e||c.e<-1||(0==c.e?1<c.c[0]||s&&24e7<=c.c[1]:c.c[0]<8e13||s&&c.c[0]<=9999975e7)))return o=c.s<0&&V(e)?-0:0,-1<c.e&&(o=1/o),new B(f?1/o:o);E&&(o=L(E/M+2))}for(u=s?(n=new B(.5),f&&(e.s=1),V(e)):(i=Math.abs(+P(e)))%2,l=new B(w);;){if(u){if(!(l=l.times(c)).c)break;o?l.c.length>o&&(l.c.length=o):t&&(l=l.mod(r))}if(i){if(0===(i=U(i/2)))break;u=i%2}else if(D(e=e.times(n),e.e+1,1),14<e.e)u=V(e);else{if(0==(i=+P(e)))break;u=i%2}c=c.times(c),o?c.c&&c.c.length>o&&(c.c.length=o):t&&(c=c.mod(r))}return t?l:(f&&(l=w.div(l)),r?l.mod(r):o?D(l,E,O,void 0):l)},t.integerValue=function(e){var r=new B(this);return null==e?e=O:H(e,0,8),D(r,r.e+1,e)},t.isEqualTo=t.eq=function(e,r){return 0===z(this,new B(e,r))},t.isFinite=function(){return!!this.c},t.isGreaterThan=t.gt=function(e,r){return 0<z(this,new B(e,r))},t.isGreaterThanOrEqualTo=t.gte=function(e,r){return 1===(r=z(this,new B(e,r)))||0===r},t.isInteger=function(){return!!this.c&&j(this.e/M)>this.c.length-2},t.isLessThan=t.lt=function(e,r){return z(this,new B(e,r))<0},t.isLessThanOrEqualTo=t.lte=function(e,r){return-1===(r=z(this,new B(e,r)))||0===r},t.isNaN=function(){return!this.s},t.isNegative=function(){return this.s<0},t.isPositive=function(){return 0<this.s},t.isZero=function(){return!!this.c&&0==this.c[0]},t.minus=function(e,r){var n,t,i,o,s=this,f=s.s;if(r=(e=new B(e,r)).s,!f||!r)return new B(NaN);if(f!=r)return e.s=-r,s.plus(e);var u=s.e/M,l=e.e/M,c=s.c,a=e.c;if(!u||!l){if(!c||!a)return c?(e.s=-r,e):new B(a?s:NaN);if(!c[0]||!a[0])return a[0]?(e.s=-r,e):new B(c[0]?s:3==O?-0:0)}if(u=j(u),l=j(l),c=c.slice(),f=u-l){for((i=(o=f<0)?(f=-f,c):(l=u,a)).reverse(),r=f;r--;i.push(0));i.reverse()}else for(t=(o=(f=c.length)<(r=a.length))?f:r,f=r=0;r<t;r++)if(c[r]!=a[r]){o=c[r]<a[r];break}if(o&&(i=c,c=a,a=i,e.s=-e.s),0<(r=(t=a.length)-(n=c.length)))for(;r--;c[n++]=0);for(r=C-1;f<t;){if(c[--t]<a[t]){for(n=t;n&&!c[--n];c[n]=r);--c[n],c[t]+=C}c[t]-=a[t]}for(;0==c[0];c.splice(0,1),--l);return c[0]?_(e,c,l):(e.s=3==O?-1:1,e.c=[e.e=0],e)},t.modulo=t.mod=function(e,r){var n,t,i=this;return e=new B(e,r),!i.c||!e.s||e.c&&!e.c[0]?new B(NaN):!e.c||i.c&&!i.c[0]?new B(i):(9==o?(t=e.s,e.s=1,n=v(i,e,0,3),e.s=t,n.s*=t):n=v(i,e,0,o),(e=i.minus(n.times(e))).c[0]||1!=o||(e.s=i.s),e)},t.multipliedBy=t.times=function(e,r){var n,t,i,o,s,f,u,l,c,a,h,g,p,w,d,m=this,v=m.c,N=(e=new B(e,r)).c;if(!(v&&N&&v[0]&&N[0]))return!m.s||!e.s||v&&!v[0]&&!N||N&&!N[0]&&!v?e.c=e.e=e.s=null:(e.s*=m.s,v&&N?(e.c=[0],e.e=0):e.c=e.e=null),e;for(t=j(m.e/M)+j(e.e/M),e.s*=m.s,(u=v.length)<(a=N.length)&&(p=v,v=N,N=p,i=u,u=a,a=i),i=u+a,p=[];i--;p.push(0));for(w=C,d=F,i=a;0<=--i;){for(n=0,h=N[i]%d,g=N[i]/d|0,o=i+(s=u);i<o;)n=((l=h*(l=v[--s]%d)+(f=g*l+(c=v[s]/d|0)*h)%d*d+p[o]+n)/w|0)+(f/d|0)+g*c,p[o--]=l%w;p[o]=n}return n?++t:p.splice(0,1),_(e,p,t)},t.negated=function(){var e=new B(this);return e.s=-e.s||null,e},t.plus=function(e,r){var n,t=this,i=t.s;if(r=(e=new B(e,r)).s,!i||!r)return new B(NaN);if(i!=r)return e.s=-r,t.minus(e);var o=t.e/M,s=e.e/M,f=t.c,u=e.c;if(!o||!s){if(!f||!u)return new B(i/0);if(!f[0]||!u[0])return u[0]?e:new B(f[0]?t:0*i)}if(o=j(o),s=j(s),f=f.slice(),i=o-s){for((n=0<i?(s=o,u):(i=-i,f)).reverse();i--;n.push(0));n.reverse()}for((i=f.length)-(r=u.length)<0&&(n=u,u=f,f=n,r=i),i=0;r;)i=(f[--r]=f[r]+u[r]+i)/C|0,f[r]=C===f[r]?0:f[r]%C;return i&&(f=[i].concat(f),++s),_(e,f,s)},t.precision=t.sd=function(e,r){var n,t,i;if(null!=e&&e!==!!e)return H(e,1,q),null==r?r=O:H(r,0,8),D(new B(this),e,r);if(!(n=this.c))return null;if(t=(i=n.length-1)*M+1,i=n[i]){for(;i%10==0;i/=10,t--);for(i=n[0];10<=i;i/=10,t++);}return e&&this.e+1>t&&(t=this.e+1),t},t.shiftedBy=function(e){return H(e,-G,G),this.times("1e"+e)},t.squareRoot=t.sqrt=function(){var e,r,n,t,i,o=this,s=o.c,f=o.s,u=o.e,l=N+4,c=new B("0.5");if(1!==f||!s||!s[0])return new B(!f||f<0&&(!s||s[0])?NaN:s?o:1/0);if((n=0==(f=Math.sqrt(+P(o)))||f==1/0?(((r=$(s)).length+u)%2==0&&(r+="0"),f=Math.sqrt(+r),u=j((u+1)/2)-(u<0||u%2),new B(r=f==1/0?"1e"+u:(r=f.toExponential()).slice(0,r.indexOf("e")+1)+u)):new B(f+"")).c[0])for((f=(u=n.e)+l)<3&&(f=0);;)if(i=n,n=c.times(i.plus(v(o,i,l,1))),$(i.c).slice(0,f)===(r=$(n.c)).slice(0,f)){if(n.e<u&&--f,"9999"!=(r=r.slice(f-3,f+1))&&(t||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(D(n,n.e+N+2,1),e=!n.times(n).eq(o));break}if(!t&&(D(i,i.e+N+2,0),i.times(i).eq(o))){n=i;break}l+=4,f+=4,t=1}return D(n,n.e+N+1,O,e)},t.toExponential=function(e,r){return null!=e&&(H(e,0,q),e++),i(this,e,r,1)},t.toFixed=function(e,r){return null!=e&&(H(e,0,q),e=e+this.e+1),i(this,e,r)},t.toFormat=function(e,r,n){var t;if(null==n)null!=e&&r&&"object"==typeof r?(n=r,r=null):e&&"object"==typeof e?(n=e,e=r=null):n=A;else if("object"!=typeof n)throw Error(I+"Argument not an object: "+n);if(t=this.toFixed(e,r),this.c){var i,o=t.split("."),s=+n.groupSize,f=+n.secondaryGroupSize,u=n.groupSeparator||"",l=o[0],c=o[1],a=this.s<0,h=a?l.slice(1):l,g=h.length;if(f&&(i=s,s=f,g-=f=i),0<s&&0<g){for(i=g%s||s,l=h.substr(0,i);i<g;i+=s)l+=u+h.substr(i,s);0<f&&(l+=u+h.slice(i)),a&&(l="-"+l)}t=c?l+(n.decimalSeparator||"")+((f=+n.fractionGroupSize)?c.replace(new RegExp("\\d{"+f+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):c):l}return(n.prefix||"")+t+(n.suffix||"")},t.toFraction=function(e){var r,n,t,i,o,s,f,u,l,c,a,h,g=this,p=g.c;if(null!=e&&(!(f=new B(e)).isInteger()&&(f.c||1!==f.s)||f.lt(w)))throw Error(I+"Argument "+(f.isInteger()?"out of range: ":"not an integer: ")+P(f));if(!p)return new B(g);for(r=new B(w),l=n=new B(w),t=u=new B(w),h=$(p),o=r.e=h.length-g.e-1,r.c[0]=k[(s=o%M)<0?M+s:s],e=!e||0<f.comparedTo(r)?0<o?r:l:f,s=y,y=1/0,f=new B(h),u.c[0]=0;c=v(f,r,0,1),1!=(i=n.plus(c.times(t))).comparedTo(e);)n=t,t=i,l=u.plus(c.times(i=l)),u=i,r=f.minus(c.times(i=r)),f=i;return i=v(e.minus(n),t,0,1),u=u.plus(i.times(l)),n=n.plus(i.times(t)),u.s=l.s=g.s,a=v(l,t,o*=2,O).minus(g).abs().comparedTo(v(u,n,o,O).minus(g).abs())<1?[l,t]:[u,n],y=s,a},t.toNumber=function(){return+P(this)},t.toPrecision=function(e,r){return null!=e&&H(e,1,q),i(this,e,r,2)},t.toString=function(e){var r,n=this,t=n.s,i=n.e;return null===i?t?(r="Infinity",t<0&&(r="-"+r)):r="NaN":(r=null==e?i<=p||d<=i?W($(n.c),i):X($(n.c),i,"0"):10===e?X($((n=D(new B(n),N+i+1,O)).c),n.e,"0"):(H(e,2,S.length,"Base"),a(X($(n.c),i,"0"),10,e,t,!0)),t<0&&n.c[0]&&(r="-"+r)),r},t.valueOf=t.toJSON=function(){return P(this)},t._isBigNumber=!0,null!=r&&B.set(r),B}()).default=r.BigNumber=r,"function"==typeof define&&define.amd?define(function(){return r}):"undefined"!=typeof module&&module.exports?module.exports=r:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=r)}(this);
\ No newline at end of file
diff --git a/Server/node_modules/bignumber.js/bignumber.min.js.map b/Server/node_modules/bignumber.js/bignumber.min.js.map
deleted file mode 100644
index c56e93d..0000000
--- a/Server/node_modules/bignumber.js/bignumber.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["bignumber.js"],"names":["globalObject","BigNumber","isNumeric","mathceil","Math","ceil","mathfloor","floor","bignumberError","tooManyDigits","BASE","LOG_BASE","MAX_SAFE_INTEGER","POWS_TEN","SQRT_BASE","MAX","bitFloor","n","i","coeffToString","a","s","z","j","length","r","charCodeAt","slice","compare","x","y","b","xc","c","yc","k","e","l","intCheck","min","max","name","Error","String","isOdd","toExponential","str","charAt","toFixedPoint","len","zs","clone","configObject","div","convertBase","parseNumeric","pow2_53","random53bitInt","basePrefix","dotAfter","dotBefore","isInfinityOrNaN","whitespaceOrPlus","P","prototype","constructor","toString","valueOf","ONE","DECIMAL_PLACES","ROUNDING_MODE","TO_EXP_NEG","TO_EXP_POS","MIN_EXP","MAX_EXP","CRYPTO","MODULO_MODE","POW_PRECISION","FORMAT","prefix","groupSize","secondaryGroupSize","groupSeparator","decimalSeparator","fractionGroupSize","fractionGroupSeparator","suffix","ALPHABET","v","alphabet","caseChanged","isNum","this","_isBigNumber","test","indexOf","replace","search","substring","round","DEBUG","toUpperCase","toLowerCase","push","format","rm","id","c0","ne","maxOrMin","args","method","m","call","normalise","pop","sd","d","ni","rd","pows10","out","ROUND_UP","ROUND_DOWN","ROUND_CEIL","ROUND_FLOOR","ROUND_HALF_UP","ROUND_HALF_DOWN","ROUND_HALF_EVEN","ROUND_HALF_CEIL","ROUND_HALF_FLOOR","EUCLID","config","set","obj","p","hasOwnProperty","crypto","getRandomValues","randomBytes","EXPONENTIAL_AT","RANGE","isBigNumber","maximum","arguments","lt","minimum","gt","random","dp","rand","Uint32Array","copy","splice","sum","plus","decimal","toBaseOut","baseIn","baseOut","arrL","arr","reverse","sign","callerIsToString","pow","concat","multiply","base","temp","xlo","xhi","carry","klo","khi","aL","bL","cmp","subtract","more","prod","prodL","q","qc","rem","remL","rem0","xi","xL","yc0","yL","yz","NaN","isNaN","p1","p2","absoluteValue","abs","comparedTo","decimalPlaces","dividedBy","dividedToIntegerBy","idiv","exponentiatedBy","half","isModExp","nIsBig","nIsNeg","nIsOdd","isInteger","mod","times","integerValue","isEqualTo","eq","isFinite","isGreaterThan","isGreaterThanOrEqualTo","gte","isLessThan","isLessThanOrEqualTo","lte","isNegative","isPositive","isZero","minus","t","xLTy","xe","ye","modulo","multipliedBy","xcL","ycL","ylo","yhi","zc","sqrtBase","negated","precision","shiftedBy","squareRoot","sqrt","rep","toFixed","toFormat","split","g1","g2","intPart","fractionPart","isNeg","intDigits","substr","RegExp","toFraction","md","d0","d1","d2","exp","n0","n1","toNumber","toPrecision","toJSON","define","amd","module","exports","self","window"],"mappings":"CAAC,SAAWA,GACV,aAkDA,IAAIC,EACFC,EAAY,6CACZC,EAAWC,KAAKC,KAChBC,EAAYF,KAAKG,MAEjBC,EAAiB,qBACjBC,EAAgBD,EAAiB,yDAEjCE,EAAO,KACPC,EAAW,GACXC,EAAmB,iBAEnBC,EAAW,CAAC,EAAG,GAAI,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,IAAK,KAAM,KAAM,KAAM,MAC7EC,EAAY,IAKZC,EAAM,IAioFR,SAASC,EAASC,GAChB,IAAIC,EAAQ,EAAJD,EACR,OAAW,EAAJA,GAASA,IAAMC,EAAIA,EAAIA,EAAI,EAKpC,SAASC,EAAcC,GAMrB,IALA,IAAIC,EAAGC,EACLJ,EAAI,EACJK,EAAIH,EAAEI,OACNC,EAAIL,EAAE,GAAK,GAENF,EAAIK,GAAI,CAGb,IAFAF,EAAID,EAAEF,KAAO,GACbI,EAAIX,EAAWU,EAAEG,OACVF,IAAKD,EAAI,IAAMA,GACtBI,GAAKJ,EAIP,IAAKE,EAAIE,EAAED,OAA8B,KAAtBC,EAAEC,aAAaH,KAElC,OAAOE,EAAEE,MAAM,EAAGJ,EAAI,GAAK,GAK7B,SAASK,EAAQC,EAAGC,GAClB,IAAIV,EAAGW,EACLC,EAAKH,EAAEI,EACPC,EAAKJ,EAAEG,EACPf,EAAIW,EAAER,EACNE,EAAIO,EAAET,EACNc,EAAIN,EAAEO,EACNC,EAAIP,EAAEM,EAGR,IAAKlB,IAAMK,EAAG,OAAO,KAMrB,GAJAH,EAAIY,IAAOA,EAAG,GACdD,EAAIG,IAAOA,EAAG,GAGVd,GAAKW,EAAG,OAAOX,EAAIW,EAAI,GAAKR,EAAIL,EAGpC,GAAIA,GAAKK,EAAG,OAAOL,EAMnB,GAJAE,EAAIF,EAAI,EACRa,EAAII,GAAKE,GAGJL,IAAOE,EAAI,OAAOH,EAAI,GAAKC,EAAKZ,EAAI,GAAK,EAG9C,IAAKW,EAAG,OAAWM,EAAJF,EAAQf,EAAI,GAAK,EAKhC,IAHAG,GAAKY,EAAIH,EAAGR,SAAWa,EAAIH,EAAGV,QAAUW,EAAIE,EAGvCnB,EAAI,EAAGA,EAAIK,EAAGL,IAAK,GAAIc,EAAGd,IAAMgB,EAAGhB,GAAI,OAAOc,EAAGd,GAAKgB,EAAGhB,GAAKE,EAAI,GAAK,EAG5E,OAAOe,GAAKE,EAAI,EAAQA,EAAJF,EAAQf,EAAI,GAAK,EAOvC,SAASkB,EAASrB,EAAGsB,EAAKC,EAAKC,GAC7B,GAAIxB,EAAIsB,GAAWC,EAAJvB,GAAWA,IAAMX,EAAUW,GACxC,MAAMyB,MACJlC,GAAkBiC,GAAQ,aAA2B,iBAALxB,EAC7CA,EAAIsB,GAAWC,EAAJvB,EAAU,kBAAoB,oBACzC,6BAA+B0B,OAAO1B,IAM/C,SAAS2B,EAAM3B,GACb,IAAIkB,EAAIlB,EAAEgB,EAAET,OAAS,EACrB,OAAOR,EAASC,EAAEmB,EAAIzB,IAAawB,GAAKlB,EAAEgB,EAAEE,GAAK,GAAK,EAIxD,SAASU,EAAcC,EAAKV,GAC1B,OAAqB,EAAbU,EAAItB,OAAasB,EAAIC,OAAO,GAAK,IAAMD,EAAInB,MAAM,GAAKmB,IAC5DV,EAAI,EAAI,IAAM,MAAQA,EAI1B,SAASY,EAAaF,EAAKV,EAAGd,GAC5B,IAAI2B,EAAKC,EAGT,GAAId,EAAI,EAAG,CAGT,IAAKc,EAAK5B,EAAI,MAAOc,EAAGc,GAAM5B,GAC9BwB,EAAMI,EAAKJ,OAOX,KAAMV,GAHNa,EAAMH,EAAItB,QAGK,CACb,IAAK0B,EAAK5B,EAAGc,GAAKa,IAAOb,EAAGc,GAAM5B,GAClCwB,GAAOI,OACEd,EAAIa,IACbH,EAAMA,EAAInB,MAAM,EAAGS,GAAK,IAAMU,EAAInB,MAAMS,IAI5C,OAAOU,GAOT7C,EAvvFA,SAASkD,EAAMC,GACb,IAAIC,EAAKC,EAAaC,EA0kBhBC,EAMAC,EAwqBAC,EACFC,EACAC,EACAC,EACAC,EA3vCFC,EAAI9D,EAAU+D,UAAY,CAAEC,YAAahE,EAAWiE,SAAU,KAAMC,QAAS,MAC7EC,EAAM,IAAInE,EAAU,GAUpBoE,EAAiB,GAajBC,EAAgB,EAMhBC,GAAc,EAIdC,EAAa,GAMbC,GAAW,IAKXC,EAAU,IAGVC,GAAS,EAkBTC,EAAc,EAIdC,EAAgB,EAGhBC,EAAS,CACPC,OAAQ,GACRC,UAAW,EACXC,mBAAoB,EACpBC,eAAgB,IAChBC,iBAAkB,IAClBC,kBAAmB,EACnBC,uBAAwB,IACxBC,OAAQ,IAMVC,EAAW,uCAgBb,SAAStF,EAAUuF,EAAGzD,GACpB,IAAI0D,EAAUxD,EAAGyD,EAAatD,EAAGlB,EAAGyE,EAAO1C,EAAKH,EAC9CjB,EAAI+D,KAGN,KAAM/D,aAAa5B,GAAY,OAAO,IAAIA,EAAUuF,EAAGzD,GAEvD,GAAS,MAALA,EAAW,CAEb,GAAIyD,IAAwB,IAAnBA,EAAEK,aAYT,OAXAhE,EAAER,EAAImE,EAAEnE,QAEHmE,EAAEvD,GAAKuD,EAAEpD,EAAIsC,EAChB7C,EAAEI,EAAIJ,EAAEO,EAAI,KACHoD,EAAEpD,EAAIqC,EACf5C,EAAEI,EAAI,CAACJ,EAAEO,EAAI,IAEbP,EAAEO,EAAIoD,EAAEpD,EACRP,EAAEI,EAAIuD,EAAEvD,EAAEN,UAMd,IAAKgE,EAAoB,iBAALH,IAAsB,EAAJA,GAAS,EAAG,CAMhD,GAHA3D,EAAER,EAAI,EAAImE,EAAI,GAAKA,GAAKA,GAAI,GAAK,EAG7BA,MAAQA,EAAG,CACb,IAAKpD,EAAI,EAAGlB,EAAIsE,EAAQ,IAALtE,EAASA,GAAK,GAAIkB,KASrC,YANEP,EAAEI,EADIyC,EAAJtC,EACIP,EAAEO,EAAI,MAEZP,EAAEO,EAAIA,EACA,CAACoD,KAMX1C,EAAMH,OAAO6C,OACR,CAEL,IAAKtF,EAAU4F,KAAKhD,EAAMH,OAAO6C,IAAK,OAAOjC,EAAa1B,EAAGiB,EAAK6C,GAElE9D,EAAER,EAAyB,IAArByB,EAAIpB,WAAW,IAAYoB,EAAMA,EAAInB,MAAM,IAAK,GAAK,GAI/B,GAAzBS,EAAIU,EAAIiD,QAAQ,QAAYjD,EAAMA,EAAIkD,QAAQ,IAAK,KAG3B,GAAxB9E,EAAI4B,EAAImD,OAAO,QAGd7D,EAAI,IAAGA,EAAIlB,GACfkB,IAAMU,EAAInB,MAAMT,EAAI,GACpB4B,EAAMA,EAAIoD,UAAU,EAAGhF,IACdkB,EAAI,IAGbA,EAAIU,EAAItB,YAGL,CAOL,GAJAc,EAASP,EAAG,EAAGwD,EAAS/D,OAAQ,QAIvB,IAALO,EAEF,OAAOoE,EADPtE,EAAI,IAAI5B,EAAUuF,GACFnB,EAAiBxC,EAAEO,EAAI,EAAGkC,GAK5C,GAFAxB,EAAMH,OAAO6C,GAETG,EAAoB,iBAALH,EAAe,CAGhC,GAAQ,EAAJA,GAAS,EAAG,OAAOjC,EAAa1B,EAAGiB,EAAK6C,EAAO5D,GAKnD,GAHAF,EAAER,EAAI,EAAImE,EAAI,GAAK1C,EAAMA,EAAInB,MAAM,IAAK,GAAK,EAGzC1B,EAAUmG,OAA+C,GAAtCtD,EAAIkD,QAAQ,YAAa,IAAIxE,OAClD,MAAMkB,MACJjC,EAAgB+E,QAGpB3D,EAAER,EAA0B,KAAtByB,EAAIpB,WAAW,IAAaoB,EAAMA,EAAInB,MAAM,IAAK,GAAK,EAQ9D,IALA8D,EAAWF,EAAS5D,MAAM,EAAGI,GAC7BK,EAAIlB,EAAI,EAIH+B,EAAMH,EAAItB,OAAQN,EAAI+B,EAAK/B,IAC9B,GAAIuE,EAASM,QAAQ9D,EAAIa,EAAIC,OAAO7B,IAAM,EAAG,CAC3C,GAAS,KAALe,GAGF,GAAQG,EAAJlB,EAAO,CACTkB,EAAIa,EACJ,eAEG,IAAKyC,IAGN5C,GAAOA,EAAIuD,gBAAkBvD,EAAMA,EAAIwD,gBACvCxD,GAAOA,EAAIwD,gBAAkBxD,EAAMA,EAAIuD,gBAAgB,CACzDX,GAAc,EACdxE,GAAK,EACLkB,EAAI,EACJ,SAIJ,OAAOmB,EAAa1B,EAAGc,OAAO6C,GAAIG,EAAO5D,GAK7C4D,GAAQ,GAIsB,GAAzBvD,GAHLU,EAAMQ,EAAYR,EAAKf,EAAG,GAAIF,EAAER,IAGnB0E,QAAQ,MAAYjD,EAAMA,EAAIkD,QAAQ,IAAK,IACnD5D,EAAIU,EAAItB,OAIf,IAAKN,EAAI,EAAyB,KAAtB4B,EAAIpB,WAAWR,GAAWA,KAGtC,IAAK+B,EAAMH,EAAItB,OAAkC,KAA1BsB,EAAIpB,aAAauB,KAExC,GAAIH,EAAMA,EAAInB,MAAMT,IAAK+B,GAAM,CAI7B,GAHAA,GAAO/B,EAGHyE,GAAS1F,EAAUmG,OACf,GAANnD,IAAiBrC,EAAJ4E,GAAwBA,IAAMlF,EAAUkF,IACnD,MAAM9C,MACJjC,EAAiBoB,EAAER,EAAImE,GAI7B,IAAKpD,EAAIA,EAAIlB,EAAI,GAAKwD,EAGpB7C,EAAEI,EAAIJ,EAAEO,EAAI,UAGP,GAAIA,EAAIqC,EAGb5C,EAAEI,EAAI,CAACJ,EAAEO,EAAI,OACR,CAWL,GAVAP,EAAEO,EAAIA,EACNP,EAAEI,EAAI,GAMNf,GAAKkB,EAAI,GAAKzB,EACVyB,EAAI,IAAGlB,GAAKP,GAEZO,EAAI+B,EAAK,CAGX,IAFI/B,GAAGW,EAAEI,EAAEsE,MAAMzD,EAAInB,MAAM,EAAGT,IAEzB+B,GAAOtC,EAAUO,EAAI+B,GACxBpB,EAAEI,EAAEsE,MAAMzD,EAAInB,MAAMT,EAAGA,GAAKP,IAG9BO,EAAIP,GAAYmC,EAAMA,EAAInB,MAAMT,IAAIM,YAEpCN,GAAK+B,EAGP,KAAO/B,IAAK4B,GAAO,KACnBjB,EAAEI,EAAEsE,MAAMzD,SAKZjB,EAAEI,EAAI,CAACJ,EAAEO,EAAI,GA41BjB,SAASoE,EAAOvF,EAAGC,EAAGuF,EAAIC,GACxB,IAAIC,EAAIvE,EAAGwE,EAAI3D,EAAKH,EAKpB,GAHU,MAAN2D,EAAYA,EAAKnC,EAChBhC,EAASmE,EAAI,EAAG,IAEhBxF,EAAEgB,EAAG,OAAOhB,EAAEiD,WAKnB,GAHAyC,EAAK1F,EAAEgB,EAAE,GACT2E,EAAK3F,EAAEmB,EAEE,MAALlB,EACF4B,EAAM3B,EAAcF,EAAEgB,GACtBa,EAAY,GAAN4D,GAAiB,GAANA,IAAYE,GAAMrC,GAAoBC,GAANoC,GAC9C/D,EAAcC,EAAK8D,GACnB5D,EAAaF,EAAK8D,EAAI,UAezB,GAVAxE,GAHAnB,EAAIkF,EAAM,IAAIlG,EAAUgB,GAAIC,EAAGuF,IAGzBrE,EAGNa,GADAH,EAAM3B,EAAcF,EAAEgB,IACZT,OAOA,GAANkF,GAAiB,GAANA,IAAYxF,GAAKkB,GAAKA,GAAKmC,GAAa,CAGrD,KAAOtB,EAAM/B,EAAG4B,GAAO,IAAKG,KAC5BH,EAAMD,EAAcC,EAAKV,QAQzB,GAJAlB,GAAK0F,EACL9D,EAAME,EAAaF,EAAKV,EAAG,KAGfa,EAARb,EAAI,GACN,GAAU,IAAJlB,EAAO,IAAK4B,GAAO,IAAK5B,IAAK4B,GAAO,WAG1C,GAAQ,GADR5B,GAAKkB,EAAIa,GAGP,IADIb,EAAI,GAAKa,IAAKH,GAAO,KAClB5B,IAAK4B,GAAO,KAM3B,OAAO7B,EAAEI,EAAI,GAAKsF,EAAK,IAAM7D,EAAMA,EAKrC,SAAS+D,EAASC,EAAMC,GAKtB,IAJA,IAAI9F,EACFC,EAAI,EACJ8F,EAAI,IAAI/G,EAAU6G,EAAK,IAElB5F,EAAI4F,EAAKtF,OAAQN,IAAK,CAI3B,KAHAD,EAAI,IAAIhB,EAAU6G,EAAK5F,KAGhBG,EAAG,CACR2F,EAAI/F,EACJ,MACS8F,EAAOE,KAAKD,EAAG/F,KACxB+F,EAAI/F,GAIR,OAAO+F,EAQT,SAASE,EAAUjG,EAAGgB,EAAGG,GAKvB,IAJA,IAAIlB,EAAI,EACNK,EAAIU,EAAET,QAGAS,IAAIV,GAAIU,EAAEkF,OAGlB,IAAK5F,EAAIU,EAAE,GAAS,IAALV,EAASA,GAAK,GAAIL,KAkBjC,OAfKkB,EAAIlB,EAAIkB,EAAIzB,EAAW,GAAK+D,EAG/BzD,EAAEgB,EAAIhB,EAAEmB,EAAI,KAMZnB,EAAEgB,EAHOG,EAAIqC,EAGP,CAACxD,EAAEmB,EAAI,IAEbnB,EAAEmB,EAAIA,EACAH,GAGDhB,EA0DT,SAASkF,EAAMtE,EAAGuF,EAAIX,EAAIhF,GACxB,IAAI4F,EAAGnG,EAAGK,EAAGY,EAAGlB,EAAGqG,EAAIC,EACrBvF,EAAKH,EAAEI,EACPuF,EAAS3G,EAGX,GAAImB,EAAI,CAQNyF,EAAK,CAGH,IAAKJ,EAAI,EAAGlF,EAAIH,EAAG,GAAS,IAALG,EAASA,GAAK,GAAIkF,KAIzC,IAHAnG,EAAIkG,EAAKC,GAGD,EACNnG,GAAKP,EACLY,EAAI6F,EAIJG,GAHAtG,EAAIe,EAAGsF,EAAK,IAGHE,EAAOH,EAAI9F,EAAI,GAAK,GAAK,OAIlC,IAFA+F,EAAKnH,GAAUe,EAAI,GAAKP,KAEdqB,EAAGR,OAAQ,CAEnB,IAAIC,EASF,MAAMgG,EANN,KAAOzF,EAAGR,QAAU8F,EAAItF,EAAGuE,KAAK,IAChCtF,EAAIsG,EAAK,EAGThG,GADAL,GAAKP,GACGA,GAFR0G,EAAI,OAMD,CAIL,IAHApG,EAAIkB,EAAIH,EAAGsF,GAGND,EAAI,EAAQ,IAALlF,EAASA,GAAK,GAAIkF,KAU9BE,GAHAhG,GAJAL,GAAKP,GAIGA,EAAW0G,GAGV,EAAI,EAAIpG,EAAIuG,EAAOH,EAAI9F,EAAI,GAAK,GAAK,EAmBlD,GAfAE,EAAIA,GAAK2F,EAAK,GAKC,MAAdpF,EAAGsF,EAAK,KAAe/F,EAAI,EAAIN,EAAIA,EAAIuG,EAAOH,EAAI9F,EAAI,IAEvDE,EAAIgF,EAAK,GACLc,GAAM9F,KAAa,GAANgF,GAAWA,IAAO5E,EAAER,EAAI,EAAI,EAAI,IACzC,EAALkG,GAAgB,GAANA,IAAkB,GAANd,GAAWhF,GAAW,GAANgF,IAGjC,EAAJvF,EAAY,EAAJK,EAAQN,EAAIuG,EAAOH,EAAI9F,GAAK,EAAIS,EAAGsF,EAAK,IAAM,GAAM,GAC7Db,IAAO5E,EAAER,EAAI,EAAI,EAAI,IAEpB+F,EAAK,IAAMpF,EAAG,GAiBhB,OAhBAA,EAAGR,OAAS,EAERC,GAGF2F,GAAMvF,EAAEO,EAAI,EAGZJ,EAAG,GAAKwF,GAAQ7G,EAAWyG,EAAKzG,GAAYA,GAC5CkB,EAAEO,GAAKgF,GAAM,GAIbpF,EAAG,GAAKH,EAAEO,EAAI,EAGTP,EAkBT,GAdS,GAALX,GACFc,EAAGR,OAAS8F,EACZnF,EAAI,EACJmF,MAEAtF,EAAGR,OAAS8F,EAAK,EACjBnF,EAAIqF,EAAO7G,EAAWO,GAItBc,EAAGsF,GAAU,EAAJ/F,EAAQjB,EAAUW,EAAIuG,EAAOH,EAAI9F,GAAKiG,EAAOjG,IAAMY,EAAI,GAI9DV,EAEF,OAAU,CAGR,GAAU,GAAN6F,EAAS,CAGX,IAAKpG,EAAI,EAAGK,EAAIS,EAAG,GAAS,IAALT,EAASA,GAAK,GAAIL,KAEzC,IADAK,EAAIS,EAAG,IAAMG,EACRA,EAAI,EAAQ,IAALZ,EAASA,GAAK,GAAIY,KAG1BjB,GAAKiB,IACPN,EAAEO,IACEJ,EAAG,IAAMtB,IAAMsB,EAAG,GAAK,IAG7B,MAGA,GADAA,EAAGsF,IAAOnF,EACNH,EAAGsF,IAAO5G,EAAM,MACpBsB,EAAGsF,KAAQ,EACXnF,EAAI,EAMV,IAAKjB,EAAIc,EAAGR,OAAoB,IAAZQ,IAAKd,GAAUc,EAAGmF,QAIpCtF,EAAEO,EAAIsC,EACR7C,EAAEI,EAAIJ,EAAEO,EAAI,KAGHP,EAAEO,EAAIqC,IACf5C,EAAEI,EAAI,CAACJ,EAAEO,EAAI,IAIjB,OAAOP,EAIT,SAASsC,EAAQlD,GACf,IAAI6B,EACFV,EAAInB,EAAEmB,EAER,OAAU,OAANA,EAAmBnB,EAAEiD,YAEzBpB,EAAM3B,EAAcF,EAAEgB,GAEtBa,EAAMV,GAAKmC,GAAmBC,GAALpC,EACrBS,EAAcC,EAAKV,GACnBY,EAAaF,EAAKV,EAAG,KAElBnB,EAAEI,EAAI,EAAI,IAAMyB,EAAMA,GA0pC/B,OAh0EA7C,EAAUkD,MAAQA,EAElBlD,EAAUyH,SAAW,EACrBzH,EAAU0H,WAAa,EACvB1H,EAAU2H,WAAa,EACvB3H,EAAU4H,YAAc,EACxB5H,EAAU6H,cAAgB,EAC1B7H,EAAU8H,gBAAkB,EAC5B9H,EAAU+H,gBAAkB,EAC5B/H,EAAUgI,gBAAkB,EAC5BhI,EAAUiI,iBAAmB,EAC7BjI,EAAUkI,OAAS,EAqCnBlI,EAAUmI,OAASnI,EAAUoI,IAAM,SAAUC,GAC3C,IAAIC,EAAG/C,EAEP,GAAW,MAAP8C,EAAa,CAEf,GAAkB,iBAAPA,EA2HT,MAAM5F,MACJlC,EAAiB,oBAAsB8H,GAtFzC,GAlCIA,EAAIE,eAAeD,EAAI,oBAEzBjG,EADAkD,EAAI8C,EAAIC,GACI,EAAGxH,EAAKwH,GACpBlE,EAAiBmB,GAKf8C,EAAIE,eAAeD,EAAI,mBAEzBjG,EADAkD,EAAI8C,EAAIC,GACI,EAAG,EAAGA,GAClBjE,EAAgBkB,GAOd8C,EAAIE,eAAeD,EAAI,qBACzB/C,EAAI8C,EAAIC,KACC/C,EAAE2B,KACT7E,EAASkD,EAAE,IAAKzE,EAAK,EAAGwH,GACxBjG,EAASkD,EAAE,GAAI,EAAGzE,EAAKwH,GACvBhE,EAAaiB,EAAE,GACfhB,EAAagB,EAAE,KAEflD,EAASkD,GAAIzE,EAAKA,EAAKwH,GACvBhE,IAAeC,EAAagB,EAAI,GAAKA,EAAIA,KAOzC8C,EAAIE,eAAeD,EAAI,SAEzB,IADA/C,EAAI8C,EAAIC,KACC/C,EAAE2B,IACT7E,EAASkD,EAAE,IAAKzE,GAAM,EAAGwH,GACzBjG,EAASkD,EAAE,GAAI,EAAGzE,EAAKwH,GACvB9D,EAAUe,EAAE,GACZd,EAAUc,EAAE,OACP,CAEL,GADAlD,EAASkD,GAAIzE,EAAKA,EAAKwH,IACnB/C,EAGF,MAAM9C,MACJlC,EAAiB+H,EAAI,oBAAsB/C,GAH7Cf,IAAYC,EAAUc,EAAI,GAAKA,EAAIA,GAWzC,GAAI8C,EAAIE,eAAeD,EAAI,UAAW,CAEpC,IADA/C,EAAI8C,EAAIC,QACI/C,EAcV,MAAM9C,MACJlC,EAAiB+H,EAAI,uBAAyB/C,GAdhD,GAAIA,EAAG,CACL,GAAqB,oBAAViD,SAAyBA,SAClCA,OAAOC,kBAAmBD,OAAOE,YAIjC,MADAhE,GAAUa,EACJ9C,MACJlC,EAAiB,sBAJnBmE,EAASa,OAOXb,EAASa,EA0Bf,GAhBI8C,EAAIE,eAAeD,EAAI,iBAEzBjG,EADAkD,EAAI8C,EAAIC,GACI,EAAG,EAAGA,GAClB3D,EAAcY,GAKZ8C,EAAIE,eAAeD,EAAI,mBAEzBjG,EADAkD,EAAI8C,EAAIC,GACI,EAAGxH,EAAKwH,GACpB1D,EAAgBW,GAKd8C,EAAIE,eAAeD,EAAI,UAAW,CAEpC,GAAgB,iBADhB/C,EAAI8C,EAAIC,IAEH,MAAM7F,MACTlC,EAAiB+H,EAAI,mBAAqB/C,GAFlBV,EAASU,EAOrC,GAAI8C,EAAIE,eAAeD,EAAI,YAAa,CAKtC,GAAgB,iBAJhB/C,EAAI8C,EAAIC,KAIqB,sBAAsBzC,KAAKN,GAGtD,MAAM9C,MACJlC,EAAiB+H,EAAI,aAAe/C,GAHtCD,EAAWC,GAenB,MAAO,CACLnB,eAAgBA,EAChBC,cAAeA,EACfsE,eAAgB,CAACrE,EAAYC,GAC7BqE,MAAO,CAACpE,EAASC,GACjBC,OAAQA,EACRC,YAAaA,EACbC,cAAeA,EACfC,OAAQA,EACRS,SAAUA,IAcdtF,EAAU6I,YAAc,SAAUtD,GAChC,IAAKA,IAAwB,IAAnBA,EAAEK,aAAuB,OAAO,EAC1C,IAAK5F,EAAUmG,MAAO,OAAO,EAE7B,IAAIlF,EAAGD,EACLgB,EAAIuD,EAAEvD,EACNG,EAAIoD,EAAEpD,EACNf,EAAImE,EAAEnE,EAERoG,EAAK,GAA2B,kBAAvB,GAAGvD,SAAS+C,KAAKhF,IAExB,IAAW,IAANZ,IAAkB,IAAPA,KAAmBN,GAANqB,GAAaA,GAAKrB,GAAOqB,IAAM9B,EAAU8B,GAAI,CAGxE,GAAa,IAATH,EAAE,GAAU,CACd,GAAU,IAANG,GAAwB,IAAbH,EAAET,OAAc,OAAO,EACtC,MAAMiG,EASR,IALAvG,GAAKkB,EAAI,GAAKzB,GACN,IAAGO,GAAKP,GAIZgC,OAAOV,EAAE,IAAIT,QAAUN,EAAG,CAE5B,IAAKA,EAAI,EAAGA,EAAIe,EAAET,OAAQN,IAExB,IADAD,EAAIgB,EAAEf,IACE,GAAUR,GAALO,GAAaA,IAAMX,EAAUW,GAAI,MAAMwG,EAItD,GAAU,IAANxG,EAAS,OAAO,SAKnB,GAAU,OAANgB,GAAoB,OAANG,IAAqB,OAANf,GAAoB,IAANA,IAAkB,IAAPA,GAC/D,OAAO,EAGT,MAAMqB,MACHlC,EAAiB,sBAAwBgF,IAS9CvF,EAAU8I,QAAU9I,EAAUuC,IAAM,WAClC,OAAOqE,EAASmC,UAAWjF,EAAEkF,KAS/BhJ,EAAUiJ,QAAUjJ,EAAUsC,IAAM,WAClC,OAAOsE,EAASmC,UAAWjF,EAAEoF,KAc/BlJ,EAAUmJ,QACJ5F,EAAU,iBAMVC,EAAkBrD,KAAKgJ,SAAW5F,EAAW,QAC9C,WAAc,OAAOlD,EAAUF,KAAKgJ,SAAW5F,IAC/C,WAAc,OAA2C,SAAlB,WAAhBpD,KAAKgJ,SAAwB,IACnC,QAAhBhJ,KAAKgJ,SAAsB,IAExB,SAAUC,GACf,IAAIjI,EAAGW,EAAGK,EAAGD,EAAGqD,EACdtE,EAAI,EACJe,EAAI,GACJqH,EAAO,IAAIrJ,EAAUmE,GAOvB,GALU,MAANiF,EAAYA,EAAKhF,EAChB/B,EAAS+G,EAAI,EAAGtI,GAErBoB,EAAIhC,EAASkJ,EAAK1I,GAEdgE,EAGF,GAAI8D,OAAOC,gBAAiB,CAI1B,IAFAtH,EAAIqH,OAAOC,gBAAgB,IAAIa,YAAYpH,GAAK,IAEzCjB,EAAIiB,GAcA,OANTqD,EAAW,OAAPpE,EAAEF,IAAgBE,EAAEF,EAAI,KAAO,MAOjCa,EAAI0G,OAAOC,gBAAgB,IAAIa,YAAY,IAC3CnI,EAAEF,GAAKa,EAAE,GACTX,EAAEF,EAAI,GAAKa,EAAE,KAKbE,EAAEsE,KAAKf,EAAI,MACXtE,GAAK,GAGTA,EAAIiB,EAAI,MAGH,CAAA,IAAIsG,OAAOE,YA2BhB,MADAhE,GAAS,EACHjC,MACJlC,EAAiB,sBAvBnB,IAFAY,EAAIqH,OAAOE,YAAYxG,GAAK,GAErBjB,EAAIiB,GAUA,OAJTqD,EAAmB,iBAAN,GAAPpE,EAAEF,IAA0C,cAAXE,EAAEF,EAAI,GAC9B,WAAXE,EAAEF,EAAI,GAAgC,SAAXE,EAAEF,EAAI,IACjCE,EAAEF,EAAI,IAAM,KAAOE,EAAEF,EAAI,IAAM,GAAKE,EAAEF,EAAI,IAG5CuH,OAAOE,YAAY,GAAGa,KAAKpI,EAAGF,IAI9Be,EAAEsE,KAAKf,EAAI,MACXtE,GAAK,GAGTA,EAAIiB,EAAI,EASZ,IAAKwC,EAEH,KAAOzD,EAAIiB,IACTqD,EAAI/B,KACI,OAAMxB,EAAEf,KAAOsE,EAAI,MAc/B,IAVArD,EAAIF,IAAIf,GACRmI,GAAM1I,EAGFwB,GAAKkH,IACP7D,EAAI3E,EAASF,EAAW0I,GACxBpH,EAAEf,GAAKZ,EAAU6B,EAAIqD,GAAKA,GAIZ,IAATvD,EAAEf,GAAUe,EAAEkF,MAAOjG,KAG5B,GAAIA,EAAI,EACNe,EAAI,CAACG,EAAI,OACJ,CAGL,IAAKA,GAAK,EAAa,IAATH,EAAE,GAAUA,EAAEwH,OAAO,EAAG,GAAIrH,GAAKzB,GAG/C,IAAKO,EAAI,EAAGsE,EAAIvD,EAAE,GAAS,IAALuD,EAASA,GAAK,GAAItE,KAGpCA,EAAIP,IAAUyB,GAAKzB,EAAWO,GAKpC,OAFAoI,EAAKlH,EAAIA,EACTkH,EAAKrH,EAAIA,EACFqH,IAUXrJ,EAAUyJ,IAAM,WAId,IAHA,IAAIxI,EAAI,EACN4F,EAAOkC,UACPU,EAAM,IAAIzJ,EAAU6G,EAAK,IACpB5F,EAAI4F,EAAKtF,QAASkI,EAAMA,EAAIC,KAAK7C,EAAK5F,MAC7C,OAAOwI,GAQTpG,EAAc,WACZ,IAAIsG,EAAU,aAOd,SAASC,EAAU/G,EAAKgH,EAAQC,EAAStE,GAOvC,IANA,IAAIlE,EAEFyI,EADAC,EAAM,CAAC,GAEP/I,EAAI,EACJ+B,EAAMH,EAAItB,OAELN,EAAI+B,GAAM,CACf,IAAK+G,EAAOC,EAAIzI,OAAQwI,IAAQC,EAAID,IAASF,GAI7C,IAFAG,EAAI,IAAMxE,EAASM,QAAQjD,EAAIC,OAAO7B,MAEjCK,EAAI,EAAGA,EAAI0I,EAAIzI,OAAQD,IAEtB0I,EAAI1I,GAAKwI,EAAU,IACH,MAAdE,EAAI1I,EAAI,KAAY0I,EAAI1I,EAAI,GAAK,GACrC0I,EAAI1I,EAAI,IAAM0I,EAAI1I,GAAKwI,EAAU,EACjCE,EAAI1I,IAAMwI,GAKhB,OAAOE,EAAIC,UAMb,OAAO,SAAUpH,EAAKgH,EAAQC,EAASI,EAAMC,GAC3C,IAAI3E,EAAU4B,EAAGjF,EAAGD,EAAGV,EAAGI,EAAGG,EAAIF,EAC/BZ,EAAI4B,EAAIiD,QAAQ,KAChBsD,EAAKhF,EACLoC,EAAKnC,EA+BP,IA5BS,GAALpD,IACFiB,EAAI0C,EAGJA,EAAgB,EAChB/B,EAAMA,EAAIkD,QAAQ,IAAK,IAEvBnE,GADAC,EAAI,IAAI7B,EAAU6J,IACZO,IAAIvH,EAAItB,OAASN,GACvB2D,EAAgB1C,EAKhBL,EAAEG,EAAI4H,EAAU7G,EAAa7B,EAAcU,EAAEI,GAAIJ,EAAEO,EAAG,KACrD,GAAI2H,EAASH,GACd9H,EAAEM,EAAIN,EAAEG,EAAET,QAUZY,EAAID,GALJH,EAAK6H,EAAU/G,EAAKgH,EAAQC,EAASK,GACjC3E,EAAWF,EAAUqE,IACrBnE,EAAWmE,EAASrE,KAGb/D,OAGO,GAAXQ,IAAKG,GAASH,EAAGmF,OAGxB,IAAKnF,EAAG,GAAI,OAAOyD,EAAS1C,OAAO,GAqCnC,GAlCI7B,EAAI,IACJkB,GAEFP,EAAEI,EAAID,EACNH,EAAEO,EAAIA,EAGNP,EAAER,EAAI8I,EAENnI,GADAH,EAAIwB,EAAIxB,EAAGC,EAAGuH,EAAI5C,EAAIsD,IACf9H,EACPR,EAAII,EAAEJ,EACNW,EAAIP,EAAEO,GASRlB,EAAIc,EAHJqF,EAAIjF,EAAIiH,EAAK,GAOblH,EAAI4H,EAAU,EACdtI,EAAIA,GAAK4F,EAAI,GAAkB,MAAbrF,EAAGqF,EAAI,GAEzB5F,EAAIgF,EAAK,GAAU,MAALvF,GAAaO,KAAa,GAANgF,GAAWA,IAAO5E,EAAER,EAAI,EAAI,EAAI,IACtDc,EAAJjB,GAASA,GAAKiB,IAAW,GAANsE,GAAWhF,GAAW,GAANgF,GAAuB,EAAZzE,EAAGqF,EAAI,IACtDZ,IAAO5E,EAAER,EAAI,EAAI,EAAI,IAKxBgG,EAAI,IAAMrF,EAAG,GAGfc,EAAMrB,EAAIuB,EAAayC,EAAS1C,OAAO,IAAKsG,EAAI5D,EAAS1C,OAAO,IAAM0C,EAAS1C,OAAO,OACjF,CAML,GAHAf,EAAGR,OAAS6F,EAGR5F,EAGF,MAAOsI,IAAW/H,IAAKqF,GAAK0C,GAC1B/H,EAAGqF,GAAK,EAEHA,MACDjF,EACFJ,EAAK,CAAC,GAAGsI,OAAOtI,IAMtB,IAAKG,EAAIH,EAAGR,QAASQ,IAAKG,KAG1B,IAAKjB,EAAI,EAAG4B,EAAM,GAAI5B,GAAKiB,EAAGW,GAAO2C,EAAS1C,OAAOf,EAAGd,OAGxD4B,EAAME,EAAaF,EAAKV,EAAGqD,EAAS1C,OAAO,IAI7C,OAAOD,GAjJG,GAuJdO,EAAM,WAGJ,SAASkH,EAAS1I,EAAGM,EAAGqI,GACtB,IAAIxD,EAAGyD,EAAMC,EAAKC,EAChBC,EAAQ,EACR1J,EAAIW,EAAEL,OACNqJ,EAAM1I,EAAIrB,EACVgK,EAAM3I,EAAIrB,EAAY,EAExB,IAAKe,EAAIA,EAAEF,QAAST,KAKlB0J,IADAH,EAAOI,GAHPH,EAAM7I,EAAEX,GAAKJ,IAEbkG,EAAI8D,EAAMJ,GADVC,EAAM9I,EAAEX,GAAKJ,EAAY,GACH+J,GACG/J,EAAaA,EAAa8J,GACnCJ,EAAO,IAAMxD,EAAIlG,EAAY,GAAKgK,EAAMH,EACxD9I,EAAEX,GAAKuJ,EAAOD,EAKhB,OAFII,IAAO/I,EAAI,CAAC+I,GAAON,OAAOzI,IAEvBA,EAGT,SAASD,EAAQR,EAAGW,EAAGgJ,EAAIC,GACzB,IAAI9J,EAAG+J,EAEP,GAAIF,GAAMC,EACRC,EAAWD,EAALD,EAAU,GAAK,OAGrB,IAAK7J,EAAI+J,EAAM,EAAG/J,EAAI6J,EAAI7J,IAExB,GAAIE,EAAEF,IAAMa,EAAEb,GAAI,CAChB+J,EAAM7J,EAAEF,GAAKa,EAAEb,GAAK,GAAK,EACzB,MAKN,OAAO+J,EAGT,SAASC,EAAS9J,EAAGW,EAAGgJ,EAAIP,GAI1B,IAHA,IAAItJ,EAAI,EAGD6J,KACL3J,EAAE2J,IAAO7J,EACTA,EAAIE,EAAE2J,GAAMhJ,EAAEgJ,GAAM,EAAI,EACxB3J,EAAE2J,GAAM7J,EAAIsJ,EAAOpJ,EAAE2J,GAAMhJ,EAAEgJ,GAI/B,MAAQ3J,EAAE,IAAiB,EAAXA,EAAEI,OAAYJ,EAAEqI,OAAO,EAAG,KAI5C,OAAO,SAAU5H,EAAGC,EAAGuH,EAAI5C,EAAI+D,GAC7B,IAAIS,EAAK7I,EAAGlB,EAAGiK,EAAMlK,EAAGmK,EAAMC,EAAOC,EAAGC,EAAIC,EAAKC,EAAMC,EAAMC,EAAIC,EAAIC,EACnEC,EAAIC,EACJ1K,EAAIQ,EAAER,GAAKS,EAAET,EAAI,GAAK,EACtBW,EAAKH,EAAEI,EACPC,EAAKJ,EAAEG,EAGT,KAAKD,GAAOA,EAAG,IAAOE,GAAOA,EAAG,IAE9B,OAAO,IAAIjC,EAGT4B,EAAER,GAAMS,EAAET,IAAMW,GAAKE,GAAMF,EAAG,IAAME,EAAG,GAAMA,GAG7CF,GAAe,GAATA,EAAG,KAAYE,EAAS,EAAJb,EAAQA,EAAI,EAHa2K,KAoBvD,IAZAT,GADAD,EAAI,IAAIrL,EAAUoB,IACXY,EAAI,GAEXZ,EAAIgI,GADJjH,EAAIP,EAAEO,EAAIN,EAAEM,GACC,EAERoI,IACHA,EAAO9J,EACP0B,EAAIpB,EAASa,EAAEO,EAAIzB,GAAYK,EAASc,EAAEM,EAAIzB,GAC9CU,EAAIA,EAAIV,EAAW,GAKhBO,EAAI,EAAGgB,EAAGhB,KAAOc,EAAGd,IAAM,GAAIA,KAInC,GAFIgB,EAAGhB,IAAMc,EAAGd,IAAM,IAAIkB,IAEtBf,EAAI,EACNkK,EAAGhF,KAAK,GACR4E,GAAO,MACF,CAwBL,IAvBAS,EAAK5J,EAAGR,OACRsK,EAAK5J,EAAGV,OAERH,GAAK,EAQG,GAJRJ,EAAIX,EAAUkK,GAAQtI,EALtBhB,EAAI,GAK0B,OAK5BgB,EAAKqI,EAASrI,EAAIjB,EAAGuJ,GACrBxI,EAAKuI,EAASvI,EAAIf,EAAGuJ,GACrBsB,EAAK5J,EAAGV,OACRoK,EAAK5J,EAAGR,QAGVmK,EAAKG,EAELL,GADAD,EAAMxJ,EAAGL,MAAM,EAAGmK,IACPtK,OAGJiK,EAAOK,EAAIN,EAAIC,KAAU,GAChCM,EAAK7J,EAAGP,QACRoK,EAAK,CAAC,GAAGzB,OAAOyB,GAChBF,EAAM3J,EAAG,GACLA,EAAG,IAAMsI,EAAO,GAAGqB,IAIvB,EAAG,CAOD,GANA5K,EAAI,GAGJgK,EAAMrJ,EAAQM,EAAIsJ,EAAKM,EAAIL,IAGjB,EAAG,CAqBX,GAjBAC,EAAOF,EAAI,GACPM,GAAML,IAAMC,EAAOA,EAAOlB,GAAQgB,EAAI,IAAM,IAgBxC,GAbRvK,EAAIX,EAAUoL,EAAOG,IA2BnB,IAXSrB,GAALvJ,IAAWA,EAAIuJ,EAAO,GAI1Ba,GADAD,EAAOb,EAASrI,EAAIjB,EAAGuJ,IACVhJ,OACbiK,EAAOD,EAAIhK,OAM+B,GAAnCI,EAAQwJ,EAAMI,EAAKH,EAAOI,IAC/BxK,IAGAiK,EAASE,EAAMU,EAAKT,EAAQU,EAAK7J,EAAImJ,EAAOb,GAC5Ca,EAAQD,EAAK5J,OACbyJ,EAAM,OAQC,GAALhK,IAGFgK,EAAMhK,EAAI,GAKZoK,GADAD,EAAOlJ,EAAGP,SACGH,OAUf,GAPI6J,EAAQI,IAAML,EAAO,CAAC,GAAGd,OAAOc,IAGpCF,EAASM,EAAKJ,EAAMK,EAAMjB,GAC1BiB,EAAOD,EAAIhK,QAGC,GAARyJ,EAMF,KAAOrJ,EAAQM,EAAIsJ,EAAKM,EAAIL,GAAQ,GAClCxK,IAGAiK,EAASM,EAAKM,EAAKL,EAAOM,EAAK7J,EAAIuJ,EAAMjB,GACzCiB,EAAOD,EAAIhK,YAGE,IAARyJ,IACThK,IACAuK,EAAM,CAAC,IAITD,EAAGrK,KAAOD,EAGNuK,EAAI,GACNA,EAAIC,KAAUzJ,EAAG2J,IAAO,GAExBH,EAAM,CAACxJ,EAAG2J,IACVF,EAAO,UAEDE,IAAOC,GAAgB,MAAVJ,EAAI,KAAenK,KAE1C8J,EAAiB,MAAVK,EAAI,GAGND,EAAG,IAAIA,EAAG9B,OAAO,EAAG,GAG3B,GAAIe,GAAQ9J,EAAM,CAGhB,IAAKQ,EAAI,EAAGG,EAAIkK,EAAG,GAAS,IAALlK,EAASA,GAAK,GAAIH,KAEzCiF,EAAMmF,EAAGjC,GAAMiC,EAAElJ,EAAIlB,EAAIkB,EAAIzB,EAAW,GAAK,EAAG8F,EAAI0E,QAIpDG,EAAElJ,EAAIA,EACNkJ,EAAE7J,GAAK0J,EAGT,OAAOG,GA9PL,GAgYA5H,EAAa,8BACfC,EAAW,cACXC,EAAY,cACZC,EAAkB,qBAClBC,EAAmB,6BALvBP,EAOS,SAAU1B,EAAGiB,EAAK6C,EAAO5D,GAC9B,IAAIyI,EACFnJ,EAAIsE,EAAQ7C,EAAMA,EAAIkD,QAAQlC,EAAkB,IAGlD,GAAID,EAAgBiC,KAAKzE,GACvBQ,EAAER,EAAI4K,MAAM5K,GAAK,KAAOA,EAAI,GAAK,EAAI,MAChC,CACL,IAAKsE,IAGHtE,EAAIA,EAAE2E,QAAQtC,EAAY,SAAUsD,EAAGkF,EAAIC,GAEzC,OADA3B,EAAkC,MAA1B2B,EAAKA,EAAG7F,eAAwB,GAAW,KAAN6F,EAAY,EAAI,EACrDpK,GAAKA,GAAKyI,EAAYxD,EAALkF,IAGvBnK,IACFyI,EAAOzI,EAGPV,EAAIA,EAAE2E,QAAQrC,EAAU,MAAMqC,QAAQpC,EAAW,SAG/Cd,GAAOzB,GAAG,OAAO,IAAIpB,EAAUoB,EAAGmJ,GAKxC,GAAIvK,EAAUmG,MACZ,MAAM1D,MACHlC,EAAiB,SAAWuB,EAAI,SAAWA,EAAI,IAAM,YAAce,GAIxEjB,EAAER,EAAI,KAGRQ,EAAEI,EAAIJ,EAAEO,EAAI,MA6LhB2B,EAAEqI,cAAgBrI,EAAEsI,IAAM,WACxB,IAAIxK,EAAI,IAAI5B,EAAU2F,MAEtB,OADI/D,EAAER,EAAI,IAAGQ,EAAER,EAAI,GACZQ,GAWTkC,EAAEuI,WAAa,SAAUxK,EAAGC,GAC1B,OAAOH,EAAQgE,KAAM,IAAI3F,EAAU6B,EAAGC,KAiBxCgC,EAAEwI,cAAgBxI,EAAEsF,GAAK,SAAUA,EAAI5C,GACrC,IAAIxE,EAAGhB,EAAGuE,EAGV,GAAU,MAAN6D,EAKF,OAJA/G,EAAS+G,EAAI,EAAGtI,GACN,MAAN0F,EAAYA,EAAKnC,EAChBhC,EAASmE,EAAI,EAAG,GAEdN,EAAM,IAAIlG,EAPb2F,MAO2ByD,EAP3BzD,KAOkCxD,EAAI,EAAGqE,GAG/C,KAAMxE,EAVA2D,KAUM3D,GAAI,OAAO,KAIvB,GAHAhB,IAAMuE,EAAIvD,EAAET,OAAS,GAAKR,EAAS4E,KAAKxD,EAAIzB,IAAaA,EAGrD6E,EAAIvD,EAAEuD,GAAI,KAAOA,EAAI,IAAM,EAAGA,GAAK,GAAIvE,KAG3C,OAFIA,EAAI,IAAGA,EAAI,GAERA,GAwBT8C,EAAEyI,UAAYzI,EAAEV,IAAM,SAAUvB,EAAGC,GACjC,OAAOsB,EAAIuC,KAAM,IAAI3F,EAAU6B,EAAGC,GAAIsC,EAAgBC,IAQxDP,EAAE0I,mBAAqB1I,EAAE2I,KAAO,SAAU5K,EAAGC,GAC3C,OAAOsB,EAAIuC,KAAM,IAAI3F,EAAU6B,EAAGC,GAAI,EAAG,IAmB3CgC,EAAE4I,gBAAkB5I,EAAEsG,IAAM,SAAUpJ,EAAG+F,GACvC,IAAI4F,EAAMC,EAAU3L,EAAGiB,EAAS2K,EAAQC,EAAQC,EAAQlL,EACtDD,EAAI+D,KAKN,IAHA3E,EAAI,IAAIhB,EAAUgB,IAGZgB,IAAMhB,EAAEgM,YACZ,MAAMvK,MACHlC,EAAiB,4BAA8B2D,EAAQlD,IAS5D,GANS,MAAL+F,IAAWA,EAAI,IAAI/G,EAAU+G,IAGjC8F,EAAe,GAAN7L,EAAEmB,GAGNP,EAAEI,IAAMJ,EAAEI,EAAE,IAAgB,GAAVJ,EAAEI,EAAE,KAAYJ,EAAEO,GAAmB,GAAdP,EAAEI,EAAET,SAAgBP,EAAEgB,IAAMhB,EAAEgB,EAAE,GAK5E,OADAH,EAAI,IAAI7B,EAAUG,KAAKiK,KAAKlG,EAAQtC,GAAIiL,EAAS,EAAIlK,EAAM3B,IAAMkD,EAAQlD,KAClE+F,EAAIlF,EAAEoL,IAAIlG,GAAKlF,EAKxB,GAFAiL,EAAS9L,EAAEI,EAAI,EAEX2F,EAAG,CAGL,GAAIA,EAAE/E,GAAK+E,EAAE/E,EAAE,IAAM+E,EAAE3F,EAAG,OAAO,IAAIpB,EAAU+L,MAE/Ca,GAAYE,GAAUlL,EAAEoL,aAAejG,EAAEiG,eAE3BpL,EAAIA,EAAEqL,IAAIlG,QAInB,CAAA,GAAU,EAAN/F,EAAEmB,IAAgB,EAANP,EAAEO,GAASP,EAAEO,GAAK,IAAa,GAAPP,EAAEO,EAEpC,EAATP,EAAEI,EAAE,IAAU6K,GAAoB,MAAVjL,EAAEI,EAAE,GAE5BJ,EAAEI,EAAE,GAAK,MAAQ6K,GAAUjL,EAAEI,EAAE,IAAM,YASvC,OANAE,EAAIN,EAAER,EAAI,GAAKuB,EAAM3B,IAAM,EAAI,GAGpB,EAAPY,EAAEO,IAAQD,EAAI,EAAIA,GAGf,IAAIlC,EAAU8M,EAAS,EAAI5K,EAAIA,GAE7B0C,IAKT1C,EAAIhC,EAAS0E,EAAgBlE,EAAW,IAe1C,IATEqM,EAHEF,GACFF,EAAO,IAAI3M,EAAU,IACjB8M,IAAQ9L,EAAEI,EAAI,GACTuB,EAAM3B,KAEfC,EAAId,KAAKiM,KAAKlI,EAAQlD,KACT,EAGfa,EAAI,IAAI7B,EAAUmE,KAGR,CAER,GAAI4I,EAAQ,CAEV,KADAlL,EAAIA,EAAEqL,MAAMtL,IACLI,EAAG,MAENE,EACEL,EAAEG,EAAET,OAASW,IAAGL,EAAEG,EAAET,OAASW,GACxB0K,IACT/K,EAAIA,EAAEoL,IAAIlG,IAId,GAAI9F,EAAG,CAEL,GAAU,KADVA,EAAIZ,EAAUY,EAAI,IACL,MACb8L,EAAS9L,EAAI,OAKb,GAFAiF,EADAlF,EAAIA,EAAEkM,MAAMP,GACH3L,EAAEmB,EAAI,EAAG,GAER,GAANnB,EAAEmB,EACJ4K,EAASpK,EAAM3B,OACV,CAEL,GAAU,IADVC,GAAKiD,EAAQlD,IACA,MACb+L,EAAS9L,EAAI,EAIjBW,EAAIA,EAAEsL,MAAMtL,GAERM,EACEN,EAAEI,GAAKJ,EAAEI,EAAET,OAASW,IAAGN,EAAEI,EAAET,OAASW,GAC/B0K,IACThL,EAAIA,EAAEqL,IAAIlG,IAId,OAAI6F,EAAiB/K,GACjBiL,IAAQjL,EAAIsC,EAAIf,IAAIvB,IAEjBkF,EAAIlF,EAAEoL,IAAIlG,GAAK7E,EAAIgE,EAAMrE,EAAG+C,EAAeP,OAnHxB6G,GAmH+CrJ,IAY3EiC,EAAEqJ,aAAe,SAAU3G,GACzB,IAAIxF,EAAI,IAAIhB,EAAU2F,MAGtB,OAFU,MAANa,EAAYA,EAAKnC,EAChBhC,EAASmE,EAAI,EAAG,GACdN,EAAMlF,EAAGA,EAAEmB,EAAI,EAAGqE,IAQ3B1C,EAAEsJ,UAAYtJ,EAAEuJ,GAAK,SAAUxL,EAAGC,GAChC,OAA8C,IAAvCH,EAAQgE,KAAM,IAAI3F,EAAU6B,EAAGC,KAOxCgC,EAAEwJ,SAAW,WACX,QAAS3H,KAAK3D,GAQhB8B,EAAEyJ,cAAgBzJ,EAAEoF,GAAK,SAAUrH,EAAGC,GACpC,OAA4C,EAArCH,EAAQgE,KAAM,IAAI3F,EAAU6B,EAAGC,KAQxCgC,EAAE0J,uBAAyB1J,EAAE2J,IAAM,SAAU5L,EAAGC,GAC9C,OAAoD,KAA5CA,EAAIH,EAAQgE,KAAM,IAAI3F,EAAU6B,EAAGC,MAAoB,IAANA,GAQ3DgC,EAAEkJ,UAAY,WACZ,QAASrH,KAAK3D,GAAKjB,EAAS4E,KAAKxD,EAAIzB,GAAYiF,KAAK3D,EAAET,OAAS,GAQnEuC,EAAE4J,WAAa5J,EAAEkF,GAAK,SAAUnH,EAAGC,GACjC,OAAOH,EAAQgE,KAAM,IAAI3F,EAAU6B,EAAGC,IAAM,GAQ9CgC,EAAE6J,oBAAsB7J,EAAE8J,IAAM,SAAU/L,EAAGC,GAC3C,OAAqD,KAA7CA,EAAIH,EAAQgE,KAAM,IAAI3F,EAAU6B,EAAGC,MAAqB,IAANA,GAO5DgC,EAAEkI,MAAQ,WACR,OAAQrG,KAAKvE,GAOf0C,EAAE+J,WAAa,WACb,OAAOlI,KAAKvE,EAAI,GAOlB0C,EAAEgK,WAAa,WACb,OAAgB,EAATnI,KAAKvE,GAOd0C,EAAEiK,OAAS,WACT,QAASpI,KAAK3D,GAAkB,GAAb2D,KAAK3D,EAAE,IAwB5B8B,EAAEkK,MAAQ,SAAUnM,EAAGC,GACrB,IAAIb,EAAGK,EAAG2M,EAAGC,EACXtM,EAAI+D,KACJxE,EAAIS,EAAER,EAMR,GAHAU,GADAD,EAAI,IAAI7B,EAAU6B,EAAGC,IACfV,GAGDD,IAAMW,EAAG,OAAO,IAAI9B,EAAU+L,KAGnC,GAAI5K,GAAKW,EAEP,OADAD,EAAET,GAAKU,EACAF,EAAE8H,KAAK7H,GAGhB,IAAIsM,EAAKvM,EAAEO,EAAIzB,EACb0N,EAAKvM,EAAEM,EAAIzB,EACXqB,EAAKH,EAAEI,EACPC,EAAKJ,EAAEG,EAET,IAAKmM,IAAOC,EAAI,CAGd,IAAKrM,IAAOE,EAAI,OAAOF,GAAMF,EAAET,GAAKU,EAAGD,GAAK,IAAI7B,EAAUiC,EAAKL,EAAImK,KAGnE,IAAKhK,EAAG,KAAOE,EAAG,GAGhB,OAAOA,EAAG,IAAMJ,EAAET,GAAKU,EAAGD,GAAK,IAAI7B,EAAU+B,EAAG,GAAKH,EAGnC,GAAjByC,GAAsB,EAAI,GAS/B,GALA8J,EAAKpN,EAASoN,GACdC,EAAKrN,EAASqN,GACdrM,EAAKA,EAAGL,QAGJP,EAAIgN,EAAKC,EAAI,CAaf,KATEH,GAFEC,EAAO/M,EAAI,IACbA,GAAKA,EACDY,IAEJqM,EAAKD,EACDlM,IAGJgI,UAGGnI,EAAIX,EAAGW,IAAKmM,EAAE3H,KAAK,IACxB2H,EAAEhE,eAMF,IAFA3I,GAAK4M,GAAQ/M,EAAIY,EAAGR,SAAWO,EAAIG,EAAGV,SAAWJ,EAAIW,EAEhDX,EAAIW,EAAI,EAAGA,EAAIR,EAAGQ,IAErB,GAAIC,EAAGD,IAAMG,EAAGH,GAAI,CAClBoM,EAAOnM,EAAGD,GAAKG,EAAGH,GAClB,MAYN,GANIoM,IAAMD,EAAIlM,EAAIA,EAAKE,EAAIA,EAAKgM,EAAGpM,EAAET,GAAKS,EAAET,GAMpC,GAJRU,GAAKR,EAAIW,EAAGV,SAAWN,EAAIc,EAAGR,SAInB,KAAOO,IAAKC,EAAGd,KAAO,GAIjC,IAHAa,EAAIrB,EAAO,EAGAU,EAAJG,GAAQ,CAEb,GAAIS,IAAKT,GAAKW,EAAGX,GAAI,CACnB,IAAKL,EAAIK,EAAGL,IAAMc,IAAKd,GAAIc,EAAGd,GAAKa,KACjCC,EAAGd,GACLc,EAAGT,IAAMb,EAGXsB,EAAGT,IAAMW,EAAGX,GAId,KAAgB,GAATS,EAAG,GAASA,EAAGyH,OAAO,EAAG,KAAM4E,GAGtC,OAAKrM,EAAG,GAWDkF,EAAUpF,EAAGE,EAAIqM,IAPtBvM,EAAET,EAAqB,GAAjBiD,GAAsB,EAAI,EAChCxC,EAAEG,EAAI,CAACH,EAAEM,EAAI,GACNN,IA8BXiC,EAAEuK,OAASvK,EAAEmJ,IAAM,SAAUpL,EAAGC,GAC9B,IAAIuJ,EAAGjK,EACLQ,EAAI+D,KAKN,OAHA9D,EAAI,IAAI7B,EAAU6B,EAAGC,IAGhBF,EAAEI,IAAMH,EAAET,GAAKS,EAAEG,IAAMH,EAAEG,EAAE,GACvB,IAAIhC,EAAU+L,MAGXlK,EAAEG,GAAKJ,EAAEI,IAAMJ,EAAEI,EAAE,GACtB,IAAIhC,EAAU4B,IAGJ,GAAf+C,GAIFvD,EAAIS,EAAET,EACNS,EAAET,EAAI,EACNiK,EAAIjI,EAAIxB,EAAGC,EAAG,EAAG,GACjBA,EAAET,EAAIA,EACNiK,EAAEjK,GAAKA,GAEPiK,EAAIjI,EAAIxB,EAAGC,EAAG,EAAG8C,IAGnB9C,EAAID,EAAEoM,MAAM3C,EAAE6B,MAAMrL,KAGbG,EAAE,IAAqB,GAAf2C,IAAkB9C,EAAET,EAAIQ,EAAER,GAElCS,IAwBTiC,EAAEwK,aAAexK,EAAEoJ,MAAQ,SAAUrL,EAAGC,GACtC,IAAIE,EAAGG,EAAGlB,EAAGK,EAAGY,EAAG6E,EAAGwH,EAAK9D,EAAKC,EAAK8D,EAAKC,EAAKC,EAAKC,EAClDpE,EAAMqE,EACNhN,EAAI+D,KACJ5D,EAAKH,EAAEI,EACPC,GAAMJ,EAAI,IAAI7B,EAAU6B,EAAGC,IAAIE,EAGjC,KAAKD,GAAOE,GAAOF,EAAG,IAAOE,EAAG,IAmB9B,OAhBKL,EAAER,IAAMS,EAAET,GAAKW,IAAOA,EAAG,KAAOE,GAAMA,IAAOA,EAAG,KAAOF,EAC1DF,EAAEG,EAAIH,EAAEM,EAAIN,EAAET,EAAI,MAElBS,EAAET,GAAKQ,EAAER,EAGJW,GAAOE,GAKVJ,EAAEG,EAAI,CAAC,GACPH,EAAEM,EAAI,GALNN,EAAEG,EAAIH,EAAEM,EAAI,MASTN,EAYT,IATAM,EAAIpB,EAASa,EAAEO,EAAIzB,GAAYK,EAASc,EAAEM,EAAIzB,GAC9CmB,EAAET,GAAKQ,EAAER,GACTmN,EAAMxM,EAAGR,SACTiN,EAAMvM,EAAGV,UAGMoN,EAAK5M,EAAIA,EAAKE,EAAIA,EAAK0M,EAAI1N,EAAIsN,EAAKA,EAAMC,EAAKA,EAAMvN,GAG/DA,EAAIsN,EAAMC,EAAKG,EAAK,GAAI1N,IAAK0N,EAAGrI,KAAK,IAK1C,IAHAiE,EAAO9J,EACPmO,EAAW/N,EAENI,EAAIuN,EAAY,KAALvN,GAAS,CAKvB,IAJAe,EAAI,EACJyM,EAAMxM,EAAGhB,GAAK2N,EACdF,EAAMzM,EAAGhB,GAAK2N,EAAW,EAEXtN,EAAIL,GAAbiB,EAAIqM,GAAoBtN,EAAJK,GAKvBU,IADAyI,EAAMgE,GAHNhE,EAAM1I,IAAKG,GAAK0M,IAEhB7H,EAAI2H,EAAMjE,GADVC,EAAM3I,EAAGG,GAAK0M,EAAW,GACHH,GACEG,EAAYA,EAAYD,EAAGrN,GAAKU,GAC7CuI,EAAO,IAAMxD,EAAI6H,EAAW,GAAKF,EAAMhE,EAClDiE,EAAGrN,KAAOmJ,EAAMF,EAGlBoE,EAAGrN,GAAKU,EASV,OANIA,IACAG,EAEFwM,EAAGnF,OAAO,EAAG,GAGRvC,EAAUpF,EAAG8M,EAAIxM,IAQ1B2B,EAAE+K,QAAU,WACV,IAAIjN,EAAI,IAAI5B,EAAU2F,MAEtB,OADA/D,EAAER,GAAKQ,EAAER,GAAK,KACPQ,GAwBTkC,EAAE4F,KAAO,SAAU7H,EAAGC,GACpB,IAAImM,EACFrM,EAAI+D,KACJxE,EAAIS,EAAER,EAMR,GAHAU,GADAD,EAAI,IAAI7B,EAAU6B,EAAGC,IACfV,GAGDD,IAAMW,EAAG,OAAO,IAAI9B,EAAU+L,KAGlC,GAAI5K,GAAKW,EAER,OADAD,EAAET,GAAKU,EACAF,EAAEoM,MAAMnM,GAGjB,IAAIsM,EAAKvM,EAAEO,EAAIzB,EACb0N,EAAKvM,EAAEM,EAAIzB,EACXqB,EAAKH,EAAEI,EACPC,EAAKJ,EAAEG,EAET,IAAKmM,IAAOC,EAAI,CAGd,IAAKrM,IAAOE,EAAI,OAAO,IAAIjC,EAAUmB,EAAI,GAIzC,IAAKY,EAAG,KAAOE,EAAG,GAAI,OAAOA,EAAG,GAAKJ,EAAI,IAAI7B,EAAU+B,EAAG,GAAKH,EAAQ,EAAJT,GAQrE,GALAgN,EAAKpN,EAASoN,GACdC,EAAKrN,EAASqN,GACdrM,EAAKA,EAAGL,QAGJP,EAAIgN,EAAKC,EAAI,CAUf,KAPEH,EAFM,EAAJ9M,GACFiN,EAAKD,EACDlM,IAEJd,GAAKA,EACDY,IAGJkI,UACK9I,IAAK8M,EAAE3H,KAAK,IACnB2H,EAAEhE,UAUJ,KAPA9I,EAAIY,EAAGR,SACPO,EAAIG,EAAGV,QAGK,IAAG0M,EAAIhM,EAAIA,EAAKF,EAAIA,EAAKkM,EAAGnM,EAAIX,GAGvCA,EAAI,EAAGW,GACVX,GAAKY,IAAKD,GAAKC,EAAGD,GAAKG,EAAGH,GAAKX,GAAKV,EAAO,EAC3CsB,EAAGD,GAAKrB,IAASsB,EAAGD,GAAK,EAAIC,EAAGD,GAAKrB,EAUvC,OAPIU,IACFY,EAAK,CAACZ,GAAGkJ,OAAOtI,KACdqM,GAKGnH,EAAUpF,EAAGE,EAAIqM,IAmB1BtK,EAAEgL,UAAYhL,EAAEqD,GAAK,SAAUA,EAAIX,GACjC,IAAIxE,EAAGhB,EAAGuE,EAGV,GAAU,MAAN4B,GAAcA,MAASA,EAKzB,OAJA9E,EAAS8E,EAAI,EAAGrG,GACN,MAAN0F,EAAYA,EAAKnC,EAChBhC,EAASmE,EAAI,EAAG,GAEdN,EAAM,IAAIlG,EAPb2F,MAO2BwB,EAAIX,GAGrC,KAAMxE,EAVA2D,KAUM3D,GAAI,OAAO,KAIvB,GAFAhB,GADAuE,EAAIvD,EAAET,OAAS,GACPb,EAAW,EAEf6E,EAAIvD,EAAEuD,GAAI,CAGZ,KAAOA,EAAI,IAAM,EAAGA,GAAK,GAAIvE,KAG7B,IAAKuE,EAAIvD,EAAE,GAAS,IAALuD,EAASA,GAAK,GAAIvE,MAKnC,OAFImG,GAvBExB,KAuBMxD,EAAI,EAAInB,IAAGA,EAvBjB2E,KAuBuBxD,EAAI,GAE1BnB,GAYT8C,EAAEiL,UAAY,SAAU7M,GAEtB,OADAG,EAASH,GAAIvB,EAAkBA,GACxBgF,KAAKuH,MAAM,KAAOhL,IAe3B4B,EAAEkL,WAAalL,EAAEmL,KAAO,WACtB,IAAIlI,EAAG/F,EAAGQ,EAAG0N,EAAKjB,EAChBrM,EAAI+D,KACJ3D,EAAIJ,EAAEI,EACNZ,EAAIQ,EAAER,EACNe,EAAIP,EAAEO,EACNiH,EAAKhF,EAAiB,EACtBuI,EAAO,IAAI3M,EAAU,OAGvB,GAAU,IAANoB,IAAYY,IAAMA,EAAE,GACtB,OAAO,IAAIhC,GAAWoB,GAAKA,EAAI,KAAOY,GAAKA,EAAE,IAAM+J,IAAM/J,EAAIJ,EAAI,EAAA,GA8BnE,IATEJ,EAbO,IAJTJ,EAAIjB,KAAK8O,MAAM/K,EAAQtC,MAITR,GAAK,EAAA,KACjBJ,EAAIE,EAAcc,IACXT,OAASY,GAAK,GAAK,IAAGnB,GAAK,KAClCI,EAAIjB,KAAK8O,MAAMjO,GACfmB,EAAIpB,GAAUoB,EAAI,GAAK,IAAMA,EAAI,GAAKA,EAAI,GAStC,IAAInC,EANNgB,EADEI,GAAK,EAAA,EACH,KAAOe,GAEXnB,EAAII,EAAEwB,iBACAlB,MAAM,EAAGV,EAAE8E,QAAQ,KAAO,GAAK3D,IAKnC,IAAInC,EAAUoB,EAAI,KAOlBY,EAAE,GAMN,KAJAZ,GADAe,EAAIX,EAAEW,GACEiH,GACA,IAAGhI,EAAI,KAOb,GAHA6M,EAAIzM,EACJA,EAAImL,EAAKO,MAAMe,EAAEvE,KAAKtG,EAAIxB,EAAGqM,EAAG7E,EAAI,KAEhClI,EAAc+M,EAAEjM,GAAGN,MAAM,EAAGN,MAAQJ,EAAIE,EAAcM,EAAEQ,IAAIN,MAAM,EAAGN,GAAI,CAW3E,GANII,EAAEW,EAAIA,KAAKf,EAMN,SALTJ,EAAIA,EAAEU,MAAMN,EAAI,EAAGA,EAAI,MAKH8N,GAAY,QAALlO,GAgBpB,EAICA,KAAOA,EAAEU,MAAM,IAAqB,KAAfV,EAAE8B,OAAO,MAGlCoD,EAAM1E,EAAGA,EAAEW,EAAIiC,EAAiB,EAAG,GACnC2C,GAAKvF,EAAE0L,MAAM1L,GAAG6L,GAAGzL,IAGrB,MAvBA,IAAKsN,IACHhJ,EAAM+H,EAAGA,EAAE9L,EAAIiC,EAAiB,EAAG,GAE/B6J,EAAEf,MAAMe,GAAGZ,GAAGzL,IAAI,CACpBJ,EAAIyM,EACJ,MAIJ7E,GAAM,EACNhI,GAAK,EACL8N,EAAM,EAkBd,OAAOhJ,EAAM1E,EAAGA,EAAEW,EAAIiC,EAAiB,EAAGC,EAAe0C,IAa3DjD,EAAElB,cAAgB,SAAUwG,EAAI5C,GAK9B,OAJU,MAAN4C,IACF/G,EAAS+G,EAAI,EAAGtI,GAChBsI,KAEK7C,EAAOZ,KAAMyD,EAAI5C,EAAI,IAgB9B1C,EAAEqL,QAAU,SAAU/F,EAAI5C,GAKxB,OAJU,MAAN4C,IACF/G,EAAS+G,EAAI,EAAGtI,GAChBsI,EAAKA,EAAKzD,KAAKxD,EAAI,GAEdoE,EAAOZ,KAAMyD,EAAI5C,IA6B1B1C,EAAEsL,SAAW,SAAUhG,EAAI5C,EAAID,GAC7B,IAAI1D,EAGJ,GAAc,MAAV0D,EACQ,MAAN6C,GAAc5C,GAAmB,iBAANA,GAC7BD,EAASC,EACTA,EAAK,MACI4C,GAAmB,iBAANA,GACtB7C,EAAS6C,EACTA,EAAK5C,EAAK,MAEVD,EAAS1B,OAEN,GAAqB,iBAAV0B,EAChB,MAAM9D,MACHlC,EAAiB,2BAA6BgG,GAKnD,GAFA1D,EAjBM8C,KAiBEwJ,QAAQ/F,EAAI5C,GAjBdb,KAmBA3D,EAAG,CACP,IAAIf,EACF+I,EAAMnH,EAAIwM,MAAM,KAChBC,GAAM/I,EAAOxB,UACbwK,GAAMhJ,EAAOvB,mBACbC,EAAiBsB,EAAOtB,gBAAkB,GAC1CuK,EAAUxF,EAAI,GACdyF,EAAezF,EAAI,GACnB0F,EA3BE/J,KA2BQvE,EAAI,EACduO,EAAYD,EAAQF,EAAQ9N,MAAM,GAAK8N,EACvCxM,EAAM2M,EAAUpO,OAIlB,GAFIgO,IAAItO,EAAIqO,EAAIA,EAAKC,EAAYvM,GAARuM,EAAKtO,GAErB,EAALqO,GAAgB,EAANtM,EAAS,CAGrB,IAFA/B,EAAI+B,EAAMsM,GAAMA,EAChBE,EAAUG,EAAUC,OAAO,EAAG3O,GACvBA,EAAI+B,EAAK/B,GAAKqO,EAAIE,GAAWvK,EAAiB0K,EAAUC,OAAO3O,EAAGqO,GAChE,EAALC,IAAQC,GAAWvK,EAAiB0K,EAAUjO,MAAMT,IACpDyO,IAAOF,EAAU,IAAMA,GAG7B3M,EAAM4M,EACHD,GAAWjJ,EAAOrB,kBAAoB,MAAQqK,GAAMhJ,EAAOpB,mBAC1DsK,EAAa1J,QAAQ,IAAI8J,OAAO,OAASN,EAAK,OAAQ,KACvD,MAAQhJ,EAAOnB,wBAA0B,KACxCqK,GACDD,EAGL,OAAQjJ,EAAOzB,QAAU,IAAMjC,GAAO0D,EAAOlB,QAAU,KAezDvB,EAAEgM,WAAa,SAAUC,GACvB,IAAI3I,EAAG4I,EAAIC,EAAIC,EAAI/N,EAAGgO,EAAKnP,EAAGoP,EAAIC,EAAIhF,EAAG7J,EAAGJ,EAC1CQ,EAAI+D,KACJ5D,EAAKH,EAAEI,EAET,GAAU,MAAN+N,MACF/O,EAAI,IAAIhB,EAAU+P,IAGX/C,cAAgBhM,EAAEgB,GAAa,IAARhB,EAAEI,IAAYJ,EAAEgI,GAAG7E,IAC/C,MAAM1B,MACHlC,EAAiB,aACfS,EAAEgM,YAAc,iBAAmB,oBAAsB9I,EAAQlD,IAI1E,IAAKe,EAAI,OAAO,IAAI/B,EAAU4B,GAoB9B,IAlBAwF,EAAI,IAAIpH,EAAUmE,GAClBkM,EAAKL,EAAK,IAAIhQ,EAAUmE,GACxB8L,EAAKG,EAAK,IAAIpQ,EAAUmE,GACxB/C,EAAIF,EAAca,GAIlBI,EAAIiF,EAAEjF,EAAIf,EAAEG,OAASK,EAAEO,EAAI,EAC3BiF,EAAEpF,EAAE,GAAKpB,GAAUuP,EAAMhO,EAAIzB,GAAY,EAAIA,EAAWyP,EAAMA,GAC9DJ,GAAMA,GAAwB,EAAlB/O,EAAEqL,WAAWjF,GAAc,EAAJjF,EAAQiF,EAAIiJ,EAAMrP,EAErDmP,EAAM1L,EACNA,EAAU,EAAA,EACVzD,EAAI,IAAIhB,EAAUoB,GAGlBgP,EAAGpO,EAAE,GAAK,EAGRqJ,EAAIjI,EAAIpC,EAAGoG,EAAG,EAAG,GAEQ,IADzB8I,EAAKF,EAAGtG,KAAK2B,EAAE6B,MAAM+C,KACd5D,WAAW0D,IAClBC,EAAKC,EACLA,EAAKC,EACLG,EAAKD,EAAG1G,KAAK2B,EAAE6B,MAAMgD,EAAKG,IAC1BD,EAAKF,EACL9I,EAAIpG,EAAEgN,MAAM3C,EAAE6B,MAAMgD,EAAK9I,IACzBpG,EAAIkP,EAeN,OAZAA,EAAK9M,EAAI2M,EAAG/B,MAAMgC,GAAKC,EAAI,EAAG,GAC9BG,EAAKA,EAAG1G,KAAKwG,EAAGhD,MAAMmD,IACtBL,EAAKA,EAAGtG,KAAKwG,EAAGhD,MAAM+C,IACtBG,EAAGhP,EAAIiP,EAAGjP,EAAIQ,EAAER,EAIhBI,EAAI4B,EAAIiN,EAAIJ,EAHZ9N,GAAQ,EAGWkC,GAAe2J,MAAMpM,GAAGwK,MAAMC,WAC7CjJ,EAAIgN,EAAIJ,EAAI7N,EAAGkC,GAAe2J,MAAMpM,GAAGwK,OAAS,EAAI,CAACiE,EAAIJ,GAAM,CAACG,EAAIJ,GAExEvL,EAAU0L,EAEH3O,GAOTsC,EAAEwM,SAAW,WACX,OAAQpM,EAAQyB,OAelB7B,EAAEyM,YAAc,SAAUpJ,EAAIX,GAE5B,OADU,MAANW,GAAY9E,EAAS8E,EAAI,EAAGrG,GACzByF,EAAOZ,KAAMwB,EAAIX,EAAI,IAe9B1C,EAAEG,SAAW,SAAUnC,GACrB,IAAIe,EACF7B,EAAI2E,KACJvE,EAAIJ,EAAEI,EACNe,EAAInB,EAAEmB,EA0BR,OAvBU,OAANA,EACEf,GACFyB,EAAM,WACFzB,EAAI,IAAGyB,EAAM,IAAMA,IAEvBA,EAAM,OAINA,EADO,MAALf,EACIK,GAAKmC,GAAmBC,GAALpC,EACtBS,EAAc1B,EAAcF,EAAEgB,GAAIG,GAClCY,EAAa7B,EAAcF,EAAEgB,GAAIG,EAAG,KACxB,KAANL,EAEHiB,EAAa7B,GADnBF,EAAIkF,EAAM,IAAIlG,EAAUgB,GAAIoD,EAAiBjC,EAAI,EAAGkC,IACjBrC,GAAIhB,EAAEmB,EAAG,MAE5CE,EAASP,EAAG,EAAGwD,EAAS/D,OAAQ,QAC1B8B,EAAYN,EAAa7B,EAAcF,EAAEgB,GAAIG,EAAG,KAAM,GAAIL,EAAGV,GAAG,IAGpEA,EAAI,GAAKJ,EAAEgB,EAAE,KAAIa,EAAM,IAAMA,IAG5BA,GAQTiB,EAAEI,QAAUJ,EAAE0M,OAAS,WACrB,OAAOtM,EAAQyB,OAIjB7B,EAAE8B,cAAe,EAEG,MAAhBzC,GAAsBnD,EAAUoI,IAAIjF,GAEjCnD,EAsIGkD,IACO,QAAIlD,EAAUA,UAAYA,EAGxB,mBAAVyQ,QAAwBA,OAAOC,IACxCD,OAAO,WAAc,OAAOzQ,IAGF,oBAAV2Q,QAAyBA,OAAOC,QAChDD,OAAOC,QAAU5Q,GAIZD,IACHA,EAA8B,oBAAR8Q,MAAuBA,KAAOA,KAAOC,QAG7D/Q,EAAaC,UAAYA,GAn1F5B,CAq1FE2F"}
\ No newline at end of file
diff --git a/Server/node_modules/bignumber.js/bignumber.mjs b/Server/node_modules/bignumber.js/bignumber.mjs
deleted file mode 100644
index d5955d4..0000000
--- a/Server/node_modules/bignumber.js/bignumber.mjs
+++ /dev/null
@@ -1,2888 +0,0 @@
-/*
- * bignumber.js v9.0.0
- * A JavaScript library for arbitrary-precision arithmetic.
- * https://github.com/MikeMcl/bignumber.js
- * Copyright (c) 2019 Michael Mclaughlin <M8ch88l@gmail.com>
- * MIT Licensed.
- *
- * BigNumber.prototype methods | BigNumber methods
- * |
- * absoluteValue abs | clone
- * comparedTo | config set
- * decimalPlaces dp | DECIMAL_PLACES
- * dividedBy div | ROUNDING_MODE
- * dividedToIntegerBy idiv | EXPONENTIAL_AT
- * exponentiatedBy pow | RANGE
- * integerValue | CRYPTO
- * isEqualTo eq | MODULO_MODE
- * isFinite | POW_PRECISION
- * isGreaterThan gt | FORMAT
- * isGreaterThanOrEqualTo gte | ALPHABET
- * isInteger | isBigNumber
- * isLessThan lt | maximum max
- * isLessThanOrEqualTo lte | minimum min
- * isNaN | random
- * isNegative | sum
- * isPositive |
- * isZero |
- * minus |
- * modulo mod |
- * multipliedBy times |
- * negated |
- * plus |
- * precision sd |
- * shiftedBy |
- * squareRoot sqrt |
- * toExponential |
- * toFixed |
- * toFormat |
- * toFraction |
- * toJSON |
- * toNumber |
- * toPrecision |
- * toString |
- * valueOf |
- *
- */
-
-
-var
- isNumeric = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,
-
- mathceil = Math.ceil,
- mathfloor = Math.floor,
-
- bignumberError = '[BigNumber Error] ',
- tooManyDigits = bignumberError + 'Number primitive has more than 15 significant digits: ',
-
- BASE = 1e14,
- LOG_BASE = 14,
- MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1
- // MAX_INT32 = 0x7fffffff, // 2^31 - 1
- POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13],
- SQRT_BASE = 1e7,
-
- // EDITABLE
- // The limit on the value of DECIMAL_PLACES, TO_EXP_NEG, TO_EXP_POS, MIN_EXP, MAX_EXP, and
- // the arguments to toExponential, toFixed, toFormat, and toPrecision.
- MAX = 1E9; // 0 to MAX_INT32
-
-
-/*
- * Create and return a BigNumber constructor.
- */
-function clone(configObject) {
- var div, convertBase, parseNumeric,
- P = BigNumber.prototype = { constructor: BigNumber, toString: null, valueOf: null },
- ONE = new BigNumber(1),
-
-
- //----------------------------- EDITABLE CONFIG DEFAULTS -------------------------------
-
-
- // The default values below must be integers within the inclusive ranges stated.
- // The values can also be changed at run-time using BigNumber.set.
-
- // The maximum number of decimal places for operations involving division.
- DECIMAL_PLACES = 20, // 0 to MAX
-
- // The rounding mode used when rounding to the above decimal places, and when using
- // toExponential, toFixed, toFormat and toPrecision, and round (default value).
- // UP 0 Away from zero.
- // DOWN 1 Towards zero.
- // CEIL 2 Towards +Infinity.
- // FLOOR 3 Towards -Infinity.
- // HALF_UP 4 Towards nearest neighbour. If equidistant, up.
- // HALF_DOWN 5 Towards nearest neighbour. If equidistant, down.
- // HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour.
- // HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity.
- // HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity.
- ROUNDING_MODE = 4, // 0 to 8
-
- // EXPONENTIAL_AT : [TO_EXP_NEG , TO_EXP_POS]
-
- // The exponent value at and beneath which toString returns exponential notation.
- // Number type: -7
- TO_EXP_NEG = -7, // 0 to -MAX
-
- // The exponent value at and above which toString returns exponential notation.
- // Number type: 21
- TO_EXP_POS = 21, // 0 to MAX
-
- // RANGE : [MIN_EXP, MAX_EXP]
-
- // The minimum exponent value, beneath which underflow to zero occurs.
- // Number type: -324 (5e-324)
- MIN_EXP = -1e7, // -1 to -MAX
-
- // The maximum exponent value, above which overflow to Infinity occurs.
- // Number type: 308 (1.7976931348623157e+308)
- // For MAX_EXP > 1e7, e.g. new BigNumber('1e100000000').plus(1) may be slow.
- MAX_EXP = 1e7, // 1 to MAX
-
- // Whether to use cryptographically-secure random number generation, if available.
- CRYPTO = false, // true or false
-
- // The modulo mode used when calculating the modulus: a mod n.
- // The quotient (q = a / n) is calculated according to the corresponding rounding mode.
- // The remainder (r) is calculated as: r = a - n * q.
- //
- // UP 0 The remainder is positive if the dividend is negative, else is negative.
- // DOWN 1 The remainder has the same sign as the dividend.
- // This modulo mode is commonly known as 'truncated division' and is
- // equivalent to (a % n) in JavaScript.
- // FLOOR 3 The remainder has the same sign as the divisor (Python %).
- // HALF_EVEN 6 This modulo mode implements the IEEE 754 remainder function.
- // EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)).
- // The remainder is always positive.
- //
- // The truncated division, floored division, Euclidian division and IEEE 754 remainder
- // modes are commonly used for the modulus operation.
- // Although the other rounding modes can also be used, they may not give useful results.
- MODULO_MODE = 1, // 0 to 9
-
- // The maximum number of significant digits of the result of the exponentiatedBy operation.
- // If POW_PRECISION is 0, there will be unlimited significant digits.
- POW_PRECISION = 0, // 0 to MAX
-
- // The format specification used by the BigNumber.prototype.toFormat method.
- FORMAT = {
- prefix: '',
- groupSize: 3,
- secondaryGroupSize: 0,
- groupSeparator: ',',
- decimalSeparator: '.',
- fractionGroupSize: 0,
- fractionGroupSeparator: '\xA0', // non-breaking space
- suffix: ''
- },
-
- // The alphabet used for base conversion. It must be at least 2 characters long, with no '+',
- // '-', '.', whitespace, or repeated character.
- // '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
- ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyz';
-
-
- //------------------------------------------------------------------------------------------
-
-
- // CONSTRUCTOR
-
-
- /*
- * The BigNumber constructor and exported function.
- * Create and return a new instance of a BigNumber object.
- *
- * v {number|string|BigNumber} A numeric value.
- * [b] {number} The base of v. Integer, 2 to ALPHABET.length inclusive.
- */
- function BigNumber(v, b) {
- var alphabet, c, caseChanged, e, i, isNum, len, str,
- x = this;
-
- // Enable constructor call without `new`.
- if (!(x instanceof BigNumber)) return new BigNumber(v, b);
-
- if (b == null) {
-
- if (v && v._isBigNumber === true) {
- x.s = v.s;
-
- if (!v.c || v.e > MAX_EXP) {
- x.c = x.e = null;
- } else if (v.e < MIN_EXP) {
- x.c = [x.e = 0];
- } else {
- x.e = v.e;
- x.c = v.c.slice();
- }
-
- return;
- }
-
- if ((isNum = typeof v == 'number') && v * 0 == 0) {
-
- // Use `1 / n` to handle minus zero also.
- x.s = 1 / v < 0 ? (v = -v, -1) : 1;
-
- // Fast path for integers, where n < 2147483648 (2**31).
- if (v === ~~v) {
- for (e = 0, i = v; i >= 10; i /= 10, e++);
-
- if (e > MAX_EXP) {
- x.c = x.e = null;
- } else {
- x.e = e;
- x.c = [v];
- }
-
- return;
- }
-
- str = String(v);
- } else {
-
- if (!isNumeric.test(str = String(v))) return parseNumeric(x, str, isNum);
-
- x.s = str.charCodeAt(0) == 45 ? (str = str.slice(1), -1) : 1;
- }
-
- // Decimal point?
- if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
-
- // Exponential form?
- if ((i = str.search(/e/i)) > 0) {
-
- // Determine exponent.
- if (e < 0) e = i;
- e += +str.slice(i + 1);
- str = str.substring(0, i);
- } else if (e < 0) {
-
- // Integer.
- e = str.length;
- }
-
- } else {
-
- // '[BigNumber Error] Base {not a primitive number|not an integer|out of range}: {b}'
- intCheck(b, 2, ALPHABET.length, 'Base');
-
- // Allow exponential notation to be used with base 10 argument, while
- // also rounding to DECIMAL_PLACES as with other bases.
- if (b == 10) {
- x = new BigNumber(v);
- return round(x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE);
- }
-
- str = String(v);
-
- if (isNum = typeof v == 'number') {
-
- // Avoid potential interpretation of Infinity and NaN as base 44+ values.
- if (v * 0 != 0) return parseNumeric(x, str, isNum, b);
-
- x.s = 1 / v < 0 ? (str = str.slice(1), -1) : 1;
-
- // '[BigNumber Error] Number primitive has more than 15 significant digits: {n}'
- if (BigNumber.DEBUG && str.replace(/^0\.0*|\./, '').length > 15) {
- throw Error
- (tooManyDigits + v);
- }
- } else {
- x.s = str.charCodeAt(0) === 45 ? (str = str.slice(1), -1) : 1;
- }
-
- alphabet = ALPHABET.slice(0, b);
- e = i = 0;
-
- // Check that str is a valid base b number.
- // Don't use RegExp, so alphabet can contain special characters.
- for (len = str.length; i < len; i++) {
- if (alphabet.indexOf(c = str.charAt(i)) < 0) {
- if (c == '.') {
-
- // If '.' is not the first character and it has not be found before.
- if (i > e) {
- e = len;
- continue;
- }
- } else if (!caseChanged) {
-
- // Allow e.g. hexadecimal 'FF' as well as 'ff'.
- if (str == str.toUpperCase() && (str = str.toLowerCase()) ||
- str == str.toLowerCase() && (str = str.toUpperCase())) {
- caseChanged = true;
- i = -1;
- e = 0;
- continue;
- }
- }
-
- return parseNumeric(x, String(v), isNum, b);
- }
- }
-
- // Prevent later check for length on converted number.
- isNum = false;
- str = convertBase(str, b, 10, x.s);
-
- // Decimal point?
- if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
- else e = str.length;
- }
-
- // Determine leading zeros.
- for (i = 0; str.charCodeAt(i) === 48; i++);
-
- // Determine trailing zeros.
- for (len = str.length; str.charCodeAt(--len) === 48;);
-
- if (str = str.slice(i, ++len)) {
- len -= i;
-
- // '[BigNumber Error] Number primitive has more than 15 significant digits: {n}'
- if (isNum && BigNumber.DEBUG &&
- len > 15 && (v > MAX_SAFE_INTEGER || v !== mathfloor(v))) {
- throw Error
- (tooManyDigits + (x.s * v));
- }
-
- // Overflow?
- if ((e = e - i - 1) > MAX_EXP) {
-
- // Infinity.
- x.c = x.e = null;
-
- // Underflow?
- } else if (e < MIN_EXP) {
-
- // Zero.
- x.c = [x.e = 0];
- } else {
- x.e = e;
- x.c = [];
-
- // Transform base
-
- // e is the base 10 exponent.
- // i is where to slice str to get the first element of the coefficient array.
- i = (e + 1) % LOG_BASE;
- if (e < 0) i += LOG_BASE; // i < 1
-
- if (i < len) {
- if (i) x.c.push(+str.slice(0, i));
-
- for (len -= LOG_BASE; i < len;) {
- x.c.push(+str.slice(i, i += LOG_BASE));
- }
-
- i = LOG_BASE - (str = str.slice(i)).length;
- } else {
- i -= len;
- }
-
- for (; i--; str += '0');
- x.c.push(+str);
- }
- } else {
-
- // Zero.
- x.c = [x.e = 0];
- }
- }
-
-
- // CONSTRUCTOR PROPERTIES
-
-
- BigNumber.clone = clone;
-
- BigNumber.ROUND_UP = 0;
- BigNumber.ROUND_DOWN = 1;
- BigNumber.ROUND_CEIL = 2;
- BigNumber.ROUND_FLOOR = 3;
- BigNumber.ROUND_HALF_UP = 4;
- BigNumber.ROUND_HALF_DOWN = 5;
- BigNumber.ROUND_HALF_EVEN = 6;
- BigNumber.ROUND_HALF_CEIL = 7;
- BigNumber.ROUND_HALF_FLOOR = 8;
- BigNumber.EUCLID = 9;
-
-
- /*
- * Configure infrequently-changing library-wide settings.
- *
- * Accept an object with the following optional properties (if the value of a property is
- * a number, it must be an integer within the inclusive range stated):
- *
- * DECIMAL_PLACES {number} 0 to MAX
- * ROUNDING_MODE {number} 0 to 8
- * EXPONENTIAL_AT {number|number[]} -MAX to MAX or [-MAX to 0, 0 to MAX]
- * RANGE {number|number[]} -MAX to MAX (not zero) or [-MAX to -1, 1 to MAX]
- * CRYPTO {boolean} true or false
- * MODULO_MODE {number} 0 to 9
- * POW_PRECISION {number} 0 to MAX
- * ALPHABET {string} A string of two or more unique characters which does
- * not contain '.'.
- * FORMAT {object} An object with some of the following properties:
- * prefix {string}
- * groupSize {number}
- * secondaryGroupSize {number}
- * groupSeparator {string}
- * decimalSeparator {string}
- * fractionGroupSize {number}
- * fractionGroupSeparator {string}
- * suffix {string}
- *
- * (The values assigned to the above FORMAT object properties are not checked for validity.)
- *
- * E.g.
- * BigNumber.config({ DECIMAL_PLACES : 20, ROUNDING_MODE : 4 })
- *
- * Ignore properties/parameters set to null or undefined, except for ALPHABET.
- *
- * Return an object with the properties current values.
- */
- BigNumber.config = BigNumber.set = function (obj) {
- var p, v;
-
- if (obj != null) {
-
- if (typeof obj == 'object') {
-
- // DECIMAL_PLACES {number} Integer, 0 to MAX inclusive.
- // '[BigNumber Error] DECIMAL_PLACES {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'DECIMAL_PLACES')) {
- v = obj[p];
- intCheck(v, 0, MAX, p);
- DECIMAL_PLACES = v;
- }
-
- // ROUNDING_MODE {number} Integer, 0 to 8 inclusive.
- // '[BigNumber Error] ROUNDING_MODE {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'ROUNDING_MODE')) {
- v = obj[p];
- intCheck(v, 0, 8, p);
- ROUNDING_MODE = v;
- }
-
- // EXPONENTIAL_AT {number|number[]}
- // Integer, -MAX to MAX inclusive or
- // [integer -MAX to 0 inclusive, 0 to MAX inclusive].
- // '[BigNumber Error] EXPONENTIAL_AT {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'EXPONENTIAL_AT')) {
- v = obj[p];
- if (v && v.pop) {
- intCheck(v[0], -MAX, 0, p);
- intCheck(v[1], 0, MAX, p);
- TO_EXP_NEG = v[0];
- TO_EXP_POS = v[1];
- } else {
- intCheck(v, -MAX, MAX, p);
- TO_EXP_NEG = -(TO_EXP_POS = v < 0 ? -v : v);
- }
- }
-
- // RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or
- // [integer -MAX to -1 inclusive, integer 1 to MAX inclusive].
- // '[BigNumber Error] RANGE {not a primitive number|not an integer|out of range|cannot be zero}: {v}'
- if (obj.hasOwnProperty(p = 'RANGE')) {
- v = obj[p];
- if (v && v.pop) {
- intCheck(v[0], -MAX, -1, p);
- intCheck(v[1], 1, MAX, p);
- MIN_EXP = v[0];
- MAX_EXP = v[1];
- } else {
- intCheck(v, -MAX, MAX, p);
- if (v) {
- MIN_EXP = -(MAX_EXP = v < 0 ? -v : v);
- } else {
- throw Error
- (bignumberError + p + ' cannot be zero: ' + v);
- }
- }
- }
-
- // CRYPTO {boolean} true or false.
- // '[BigNumber Error] CRYPTO not true or false: {v}'
- // '[BigNumber Error] crypto unavailable'
- if (obj.hasOwnProperty(p = 'CRYPTO')) {
- v = obj[p];
- if (v === !!v) {
- if (v) {
- if (typeof crypto != 'undefined' && crypto &&
- (crypto.getRandomValues || crypto.randomBytes)) {
- CRYPTO = v;
- } else {
- CRYPTO = !v;
- throw Error
- (bignumberError + 'crypto unavailable');
- }
- } else {
- CRYPTO = v;
- }
- } else {
- throw Error
- (bignumberError + p + ' not true or false: ' + v);
- }
- }
-
- // MODULO_MODE {number} Integer, 0 to 9 inclusive.
- // '[BigNumber Error] MODULO_MODE {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'MODULO_MODE')) {
- v = obj[p];
- intCheck(v, 0, 9, p);
- MODULO_MODE = v;
- }
-
- // POW_PRECISION {number} Integer, 0 to MAX inclusive.
- // '[BigNumber Error] POW_PRECISION {not a primitive number|not an integer|out of range}: {v}'
- if (obj.hasOwnProperty(p = 'POW_PRECISION')) {
- v = obj[p];
- intCheck(v, 0, MAX, p);
- POW_PRECISION = v;
- }
-
- // FORMAT {object}
- // '[BigNumber Error] FORMAT not an object: {v}'
- if (obj.hasOwnProperty(p = 'FORMAT')) {
- v = obj[p];
- if (typeof v == 'object') FORMAT = v;
- else throw Error
- (bignumberError + p + ' not an object: ' + v);
- }
-
- // ALPHABET {string}
- // '[BigNumber Error] ALPHABET invalid: {v}'
- if (obj.hasOwnProperty(p = 'ALPHABET')) {
- v = obj[p];
-
- // Disallow if only one character,
- // or if it contains '+', '-', '.', whitespace, or a repeated character.
- if (typeof v == 'string' && !/^.$|[+-.\s]|(.).*\1/.test(v)) {
- ALPHABET = v;
- } else {
- throw Error
- (bignumberError + p + ' invalid: ' + v);
- }
- }
-
- } else {
-
- // '[BigNumber Error] Object expected: {v}'
- throw Error
- (bignumberError + 'Object expected: ' + obj);
- }
- }
-
- return {
- DECIMAL_PLACES: DECIMAL_PLACES,
- ROUNDING_MODE: ROUNDING_MODE,
- EXPONENTIAL_AT: [TO_EXP_NEG, TO_EXP_POS],
- RANGE: [MIN_EXP, MAX_EXP],
- CRYPTO: CRYPTO,
- MODULO_MODE: MODULO_MODE,
- POW_PRECISION: POW_PRECISION,
- FORMAT: FORMAT,
- ALPHABET: ALPHABET
- };
- };
-
-
- /*
- * Return true if v is a BigNumber instance, otherwise return false.
- *
- * If BigNumber.DEBUG is true, throw if a BigNumber instance is not well-formed.
- *
- * v {any}
- *
- * '[BigNumber Error] Invalid BigNumber: {v}'
- */
- BigNumber.isBigNumber = function (v) {
- if (!v || v._isBigNumber !== true) return false;
- if (!BigNumber.DEBUG) return true;
-
- var i, n,
- c = v.c,
- e = v.e,
- s = v.s;
-
- out: if ({}.toString.call(c) == '[object Array]') {
-
- if ((s === 1 || s === -1) && e >= -MAX && e <= MAX && e === mathfloor(e)) {
-
- // If the first element is zero, the BigNumber value must be zero.
- if (c[0] === 0) {
- if (e === 0 && c.length === 1) return true;
- break out;
- }
-
- // Calculate number of digits that c[0] should have, based on the exponent.
- i = (e + 1) % LOG_BASE;
- if (i < 1) i += LOG_BASE;
-
- // Calculate number of digits of c[0].
- //if (Math.ceil(Math.log(c[0] + 1) / Math.LN10) == i) {
- if (String(c[0]).length == i) {
-
- for (i = 0; i < c.length; i++) {
- n = c[i];
- if (n < 0 || n >= BASE || n !== mathfloor(n)) break out;
- }
-
- // Last element cannot be zero, unless it is the only element.
- if (n !== 0) return true;
- }
- }
-
- // Infinity/NaN
- } else if (c === null && e === null && (s === null || s === 1 || s === -1)) {
- return true;
- }
-
- throw Error
- (bignumberError + 'Invalid BigNumber: ' + v);
- };
-
-
- /*
- * Return a new BigNumber whose value is the maximum of the arguments.
- *
- * arguments {number|string|BigNumber}
- */
- BigNumber.maximum = BigNumber.max = function () {
- return maxOrMin(arguments, P.lt);
- };
-
-
- /*
- * Return a new BigNumber whose value is the minimum of the arguments.
- *
- * arguments {number|string|BigNumber}
- */
- BigNumber.minimum = BigNumber.min = function () {
- return maxOrMin(arguments, P.gt);
- };
-
-
- /*
- * Return a new BigNumber with a random value equal to or greater than 0 and less than 1,
- * and with dp, or DECIMAL_PLACES if dp is omitted, decimal places (or less if trailing
- * zeros are produced).
- *
- * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp}'
- * '[BigNumber Error] crypto unavailable'
- */
- BigNumber.random = (function () {
- var pow2_53 = 0x20000000000000;
-
- // Return a 53 bit integer n, where 0 <= n < 9007199254740992.
- // Check if Math.random() produces more than 32 bits of randomness.
- // If it does, assume at least 53 bits are produced, otherwise assume at least 30 bits.
- // 0x40000000 is 2^30, 0x800000 is 2^23, 0x1fffff is 2^21 - 1.
- var random53bitInt = (Math.random() * pow2_53) & 0x1fffff
- ? function () { return mathfloor(Math.random() * pow2_53); }
- : function () { return ((Math.random() * 0x40000000 | 0) * 0x800000) +
- (Math.random() * 0x800000 | 0); };
-
- return function (dp) {
- var a, b, e, k, v,
- i = 0,
- c = [],
- rand = new BigNumber(ONE);
-
- if (dp == null) dp = DECIMAL_PLACES;
- else intCheck(dp, 0, MAX);
-
- k = mathceil(dp / LOG_BASE);
-
- if (CRYPTO) {
-
- // Browsers supporting crypto.getRandomValues.
- if (crypto.getRandomValues) {
-
- a = crypto.getRandomValues(new Uint32Array(k *= 2));
-
- for (; i < k;) {
-
- // 53 bits:
- // ((Math.pow(2, 32) - 1) * Math.pow(2, 21)).toString(2)
- // 11111 11111111 11111111 11111111 11100000 00000000 00000000
- // ((Math.pow(2, 32) - 1) >>> 11).toString(2)
- // 11111 11111111 11111111
- // 0x20000 is 2^21.
- v = a[i] * 0x20000 + (a[i + 1] >>> 11);
-
- // Rejection sampling:
- // 0 <= v < 9007199254740992
- // Probability that v >= 9e15, is
- // 7199254740992 / 9007199254740992 ~= 0.0008, i.e. 1 in 1251
- if (v >= 9e15) {
- b = crypto.getRandomValues(new Uint32Array(2));
- a[i] = b[0];
- a[i + 1] = b[1];
- } else {
-
- // 0 <= v <= 8999999999999999
- // 0 <= (v % 1e14) <= 99999999999999
- c.push(v % 1e14);
- i += 2;
- }
- }
- i = k / 2;
-
- // Node.js supporting crypto.randomBytes.
- } else if (crypto.randomBytes) {
-
- // buffer
- a = crypto.randomBytes(k *= 7);
-
- for (; i < k;) {
-
- // 0x1000000000000 is 2^48, 0x10000000000 is 2^40
- // 0x100000000 is 2^32, 0x1000000 is 2^24
- // 11111 11111111 11111111 11111111 11111111 11111111 11111111
- // 0 <= v < 9007199254740992
- v = ((a[i] & 31) * 0x1000000000000) + (a[i + 1] * 0x10000000000) +
- (a[i + 2] * 0x100000000) + (a[i + 3] * 0x1000000) +
- (a[i + 4] << 16) + (a[i + 5] << 8) + a[i + 6];
-
- if (v >= 9e15) {
- crypto.randomBytes(7).copy(a, i);
- } else {
-
- // 0 <= (v % 1e14) <= 99999999999999
- c.push(v % 1e14);
- i += 7;
- }
- }
- i = k / 7;
- } else {
- CRYPTO = false;
- throw Error
- (bignumberError + 'crypto unavailable');
- }
- }
-
- // Use Math.random.
- if (!CRYPTO) {
-
- for (; i < k;) {
- v = random53bitInt();
- if (v < 9e15) c[i++] = v % 1e14;
- }
- }
-
- k = c[--i];
- dp %= LOG_BASE;
-
- // Convert trailing digits to zeros according to dp.
- if (k && dp) {
- v = POWS_TEN[LOG_BASE - dp];
- c[i] = mathfloor(k / v) * v;
- }
-
- // Remove trailing elements which are zero.
- for (; c[i] === 0; c.pop(), i--);
-
- // Zero?
- if (i < 0) {
- c = [e = 0];
- } else {
-
- // Remove leading elements which are zero and adjust exponent accordingly.
- for (e = -1 ; c[0] === 0; c.splice(0, 1), e -= LOG_BASE);
-
- // Count the digits of the first element of c to determine leading zeros, and...
- for (i = 1, v = c[0]; v >= 10; v /= 10, i++);
-
- // adjust the exponent accordingly.
- if (i < LOG_BASE) e -= LOG_BASE - i;
- }
-
- rand.e = e;
- rand.c = c;
- return rand;
- };
- })();
-
-
- /*
- * Return a BigNumber whose value is the sum of the arguments.
- *
- * arguments {number|string|BigNumber}
- */
- BigNumber.sum = function () {
- var i = 1,
- args = arguments,
- sum = new BigNumber(args[0]);
- for (; i < args.length;) sum = sum.plus(args[i++]);
- return sum;
- };
-
-
- // PRIVATE FUNCTIONS
-
-
- // Called by BigNumber and BigNumber.prototype.toString.
- convertBase = (function () {
- var decimal = '0123456789';
-
- /*
- * Convert string of baseIn to an array of numbers of baseOut.
- * Eg. toBaseOut('255', 10, 16) returns [15, 15].
- * Eg. toBaseOut('ff', 16, 10) returns [2, 5, 5].
- */
- function toBaseOut(str, baseIn, baseOut, alphabet) {
- var j,
- arr = [0],
- arrL,
- i = 0,
- len = str.length;
-
- for (; i < len;) {
- for (arrL = arr.length; arrL--; arr[arrL] *= baseIn);
-
- arr[0] += alphabet.indexOf(str.charAt(i++));
-
- for (j = 0; j < arr.length; j++) {
-
- if (arr[j] > baseOut - 1) {
- if (arr[j + 1] == null) arr[j + 1] = 0;
- arr[j + 1] += arr[j] / baseOut | 0;
- arr[j] %= baseOut;
- }
- }
- }
-
- return arr.reverse();
- }
-
- // Convert a numeric string of baseIn to a numeric string of baseOut.
- // If the caller is toString, we are converting from base 10 to baseOut.
- // If the caller is BigNumber, we are converting from baseIn to base 10.
- return function (str, baseIn, baseOut, sign, callerIsToString) {
- var alphabet, d, e, k, r, x, xc, y,
- i = str.indexOf('.'),
- dp = DECIMAL_PLACES,
- rm = ROUNDING_MODE;
-
- // Non-integer.
- if (i >= 0) {
- k = POW_PRECISION;
-
- // Unlimited precision.
- POW_PRECISION = 0;
- str = str.replace('.', '');
- y = new BigNumber(baseIn);
- x = y.pow(str.length - i);
- POW_PRECISION = k;
-
- // Convert str as if an integer, then restore the fraction part by dividing the
- // result by its base raised to a power.
-
- y.c = toBaseOut(toFixedPoint(coeffToString(x.c), x.e, '0'),
- 10, baseOut, decimal);
- y.e = y.c.length;
- }
-
- // Convert the number as integer.
-
- xc = toBaseOut(str, baseIn, baseOut, callerIsToString
- ? (alphabet = ALPHABET, decimal)
- : (alphabet = decimal, ALPHABET));
-
- // xc now represents str as an integer and converted to baseOut. e is the exponent.
- e = k = xc.length;
-
- // Remove trailing zeros.
- for (; xc[--k] == 0; xc.pop());
-
- // Zero?
- if (!xc[0]) return alphabet.charAt(0);
-
- // Does str represent an integer? If so, no need for the division.
- if (i < 0) {
- --e;
- } else {
- x.c = xc;
- x.e = e;
-
- // The sign is needed for correct rounding.
- x.s = sign;
- x = div(x, y, dp, rm, baseOut);
- xc = x.c;
- r = x.r;
- e = x.e;
- }
-
- // xc now represents str converted to baseOut.
-
- // THe index of the rounding digit.
- d = e + dp + 1;
-
- // The rounding digit: the digit to the right of the digit that may be rounded up.
- i = xc[d];
-
- // Look at the rounding digits and mode to determine whether to round up.
-
- k = baseOut / 2;
- r = r || d < 0 || xc[d + 1] != null;
-
- r = rm < 4 ? (i != null || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2))
- : i > k || i == k &&(rm == 4 || r || rm == 6 && xc[d - 1] & 1 ||
- rm == (x.s < 0 ? 8 : 7));
-
- // If the index of the rounding digit is not greater than zero, or xc represents
- // zero, then the result of the base conversion is zero or, if rounding up, a value
- // such as 0.00001.
- if (d < 1 || !xc[0]) {
-
- // 1^-dp or 0
- str = r ? toFixedPoint(alphabet.charAt(1), -dp, alphabet.charAt(0)) : alphabet.charAt(0);
- } else {
-
- // Truncate xc to the required number of decimal places.
- xc.length = d;
-
- // Round up?
- if (r) {
-
- // Rounding up may mean the previous digit has to be rounded up and so on.
- for (--baseOut; ++xc[--d] > baseOut;) {
- xc[d] = 0;
-
- if (!d) {
- ++e;
- xc = [1].concat(xc);
- }
- }
- }
-
- // Determine trailing zeros.
- for (k = xc.length; !xc[--k];);
-
- // E.g. [4, 11, 15] becomes 4bf.
- for (i = 0, str = ''; i <= k; str += alphabet.charAt(xc[i++]));
-
- // Add leading zeros, decimal point and trailing zeros as required.
- str = toFixedPoint(str, e, alphabet.charAt(0));
- }
-
- // The caller will add the sign.
- return str;
- };
- })();
-
-
- // Perform division in the specified base. Called by div and convertBase.
- div = (function () {
-
- // Assume non-zero x and k.
- function multiply(x, k, base) {
- var m, temp, xlo, xhi,
- carry = 0,
- i = x.length,
- klo = k % SQRT_BASE,
- khi = k / SQRT_BASE | 0;
-
- for (x = x.slice(); i--;) {
- xlo = x[i] % SQRT_BASE;
- xhi = x[i] / SQRT_BASE | 0;
- m = khi * xlo + xhi * klo;
- temp = klo * xlo + ((m % SQRT_BASE) * SQRT_BASE) + carry;
- carry = (temp / base | 0) + (m / SQRT_BASE | 0) + khi * xhi;
- x[i] = temp % base;
- }
-
- if (carry) x = [carry].concat(x);
-
- return x;
- }
-
- function compare(a, b, aL, bL) {
- var i, cmp;
-
- if (aL != bL) {
- cmp = aL > bL ? 1 : -1;
- } else {
-
- for (i = cmp = 0; i < aL; i++) {
-
- if (a[i] != b[i]) {
- cmp = a[i] > b[i] ? 1 : -1;
- break;
- }
- }
- }
-
- return cmp;
- }
-
- function subtract(a, b, aL, base) {
- var i = 0;
-
- // Subtract b from a.
- for (; aL--;) {
- a[aL] -= i;
- i = a[aL] < b[aL] ? 1 : 0;
- a[aL] = i * base + a[aL] - b[aL];
- }
-
- // Remove leading zeros.
- for (; !a[0] && a.length > 1; a.splice(0, 1));
- }
-
- // x: dividend, y: divisor.
- return function (x, y, dp, rm, base) {
- var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0,
- yL, yz,
- s = x.s == y.s ? 1 : -1,
- xc = x.c,
- yc = y.c;
-
- // Either NaN, Infinity or 0?
- if (!xc || !xc[0] || !yc || !yc[0]) {
-
- return new BigNumber(
-
- // Return NaN if either NaN, or both Infinity or 0.
- !x.s || !y.s || (xc ? yc && xc[0] == yc[0] : !yc) ? NaN :
-
- // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
- xc && xc[0] == 0 || !yc ? s * 0 : s / 0
- );
- }
-
- q = new BigNumber(s);
- qc = q.c = [];
- e = x.e - y.e;
- s = dp + e + 1;
-
- if (!base) {
- base = BASE;
- e = bitFloor(x.e / LOG_BASE) - bitFloor(y.e / LOG_BASE);
- s = s / LOG_BASE | 0;
- }
-
- // Result exponent may be one less then the current value of e.
- // The coefficients of the BigNumbers from convertBase may have trailing zeros.
- for (i = 0; yc[i] == (xc[i] || 0); i++);
-
- if (yc[i] > (xc[i] || 0)) e--;
-
- if (s < 0) {
- qc.push(1);
- more = true;
- } else {
- xL = xc.length;
- yL = yc.length;
- i = 0;
- s += 2;
-
- // Normalise xc and yc so highest order digit of yc is >= base / 2.
-
- n = mathfloor(base / (yc[0] + 1));
-
- // Not necessary, but to handle odd bases where yc[0] == (base / 2) - 1.
- // if (n > 1 || n++ == 1 && yc[0] < base / 2) {
- if (n > 1) {
- yc = multiply(yc, n, base);
- xc = multiply(xc, n, base);
- yL = yc.length;
- xL = xc.length;
- }
-
- xi = yL;
- rem = xc.slice(0, yL);
- remL = rem.length;
-
- // Add zeros to make remainder as long as divisor.
- for (; remL < yL; rem[remL++] = 0);
- yz = yc.slice();
- yz = [0].concat(yz);
- yc0 = yc[0];
- if (yc[1] >= base / 2) yc0++;
- // Not necessary, but to prevent trial digit n > base, when using base 3.
- // else if (base == 3 && yc0 == 1) yc0 = 1 + 1e-15;
-
- do {
- n = 0;
-
- // Compare divisor and remainder.
- cmp = compare(yc, rem, yL, remL);
-
- // If divisor < remainder.
- if (cmp < 0) {
-
- // Calculate trial digit, n.
-
- rem0 = rem[0];
- if (yL != remL) rem0 = rem0 * base + (rem[1] || 0);
-
- // n is how many times the divisor goes into the current remainder.
- n = mathfloor(rem0 / yc0);
-
- // Algorithm:
- // product = divisor multiplied by trial digit (n).
- // Compare product and remainder.
- // If product is greater than remainder:
- // Subtract divisor from product, decrement trial digit.
- // Subtract product from remainder.
- // If product was less than remainder at the last compare:
- // Compare new remainder and divisor.
- // If remainder is greater than divisor:
- // Subtract divisor from remainder, increment trial digit.
-
- if (n > 1) {
-
- // n may be > base only when base is 3.
- if (n >= base) n = base - 1;
-
- // product = divisor * trial digit.
- prod = multiply(yc, n, base);
- prodL = prod.length;
- remL = rem.length;
-
- // Compare product and remainder.
- // If product > remainder then trial digit n too high.
- // n is 1 too high about 5% of the time, and is not known to have
- // ever been more than 1 too high.
- while (compare(prod, rem, prodL, remL) == 1) {
- n--;
-
- // Subtract divisor from product.
- subtract(prod, yL < prodL ? yz : yc, prodL, base);
- prodL = prod.length;
- cmp = 1;
- }
- } else {
-
- // n is 0 or 1, cmp is -1.
- // If n is 0, there is no need to compare yc and rem again below,
- // so change cmp to 1 to avoid it.
- // If n is 1, leave cmp as -1, so yc and rem are compared again.
- if (n == 0) {
-
- // divisor < remainder, so n must be at least 1.
- cmp = n = 1;
- }
-
- // product = divisor
- prod = yc.slice();
- prodL = prod.length;
- }
-
- if (prodL < remL) prod = [0].concat(prod);
-
- // Subtract product from remainder.
- subtract(rem, prod, remL, base);
- remL = rem.length;
-
- // If product was < remainder.
- if (cmp == -1) {
-
- // Compare divisor and new remainder.
- // If divisor < new remainder, subtract divisor from remainder.
- // Trial digit n too low.
- // n is 1 too low about 5% of the time, and very rarely 2 too low.
- while (compare(yc, rem, yL, remL) < 1) {
- n++;
-
- // Subtract divisor from remainder.
- subtract(rem, yL < remL ? yz : yc, remL, base);
- remL = rem.length;
- }
- }
- } else if (cmp === 0) {
- n++;
- rem = [0];
- } // else cmp === 1 and n will be 0
-
- // Add the next digit, n, to the result array.
- qc[i++] = n;
-
- // Update the remainder.
- if (rem[0]) {
- rem[remL++] = xc[xi] || 0;
- } else {
- rem = [xc[xi]];
- remL = 1;
- }
- } while ((xi++ < xL || rem[0] != null) && s--);
-
- more = rem[0] != null;
-
- // Leading zero?
- if (!qc[0]) qc.splice(0, 1);
- }
-
- if (base == BASE) {
-
- // To calculate q.e, first get the number of digits of qc[0].
- for (i = 1, s = qc[0]; s >= 10; s /= 10, i++);
-
- round(q, dp + (q.e = i + e * LOG_BASE - 1) + 1, rm, more);
-
- // Caller is convertBase.
- } else {
- q.e = e;
- q.r = +more;
- }
-
- return q;
- };
- })();
-
-
- /*
- * Return a string representing the value of BigNumber n in fixed-point or exponential
- * notation rounded to the specified decimal places or significant digits.
- *
- * n: a BigNumber.
- * i: the index of the last digit required (i.e. the digit that may be rounded up).
- * rm: the rounding mode.
- * id: 1 (toExponential) or 2 (toPrecision).
- */
- function format(n, i, rm, id) {
- var c0, e, ne, len, str;
-
- if (rm == null) rm = ROUNDING_MODE;
- else intCheck(rm, 0, 8);
-
- if (!n.c) return n.toString();
-
- c0 = n.c[0];
- ne = n.e;
-
- if (i == null) {
- str = coeffToString(n.c);
- str = id == 1 || id == 2 && (ne <= TO_EXP_NEG || ne >= TO_EXP_POS)
- ? toExponential(str, ne)
- : toFixedPoint(str, ne, '0');
- } else {
- n = round(new BigNumber(n), i, rm);
-
- // n.e may have changed if the value was rounded up.
- e = n.e;
-
- str = coeffToString(n.c);
- len = str.length;
-
- // toPrecision returns exponential notation if the number of significant digits
- // specified is less than the number of digits necessary to represent the integer
- // part of the value in fixed-point notation.
-
- // Exponential notation.
- if (id == 1 || id == 2 && (i <= e || e <= TO_EXP_NEG)) {
-
- // Append zeros?
- for (; len < i; str += '0', len++);
- str = toExponential(str, e);
-
- // Fixed-point notation.
- } else {
- i -= ne;
- str = toFixedPoint(str, e, '0');
-
- // Append zeros?
- if (e + 1 > len) {
- if (--i > 0) for (str += '.'; i--; str += '0');
- } else {
- i += e - len;
- if (i > 0) {
- if (e + 1 == len) str += '.';
- for (; i--; str += '0');
- }
- }
- }
- }
-
- return n.s < 0 && c0 ? '-' + str : str;
- }
-
-
- // Handle BigNumber.max and BigNumber.min.
- function maxOrMin(args, method) {
- var n,
- i = 1,
- m = new BigNumber(args[0]);
-
- for (; i < args.length; i++) {
- n = new BigNumber(args[i]);
-
- // If any number is NaN, return NaN.
- if (!n.s) {
- m = n;
- break;
- } else if (method.call(m, n)) {
- m = n;
- }
- }
-
- return m;
- }
-
-
- /*
- * Strip trailing zeros, calculate base 10 exponent and check against MIN_EXP and MAX_EXP.
- * Called by minus, plus and times.
- */
- function normalise(n, c, e) {
- var i = 1,
- j = c.length;
-
- // Remove trailing zeros.
- for (; !c[--j]; c.pop());
-
- // Calculate the base 10 exponent. First get the number of digits of c[0].
- for (j = c[0]; j >= 10; j /= 10, i++);
-
- // Overflow?
- if ((e = i + e * LOG_BASE - 1) > MAX_EXP) {
-
- // Infinity.
- n.c = n.e = null;
-
- // Underflow?
- } else if (e < MIN_EXP) {
-
- // Zero.
- n.c = [n.e = 0];
- } else {
- n.e = e;
- n.c = c;
- }
-
- return n;
- }
-
-
- // Handle values that fail the validity test in BigNumber.
- parseNumeric = (function () {
- var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i,
- dotAfter = /^([^.]+)\.$/,
- dotBefore = /^\.([^.]+)$/,
- isInfinityOrNaN = /^-?(Infinity|NaN)$/,
- whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
-
- return function (x, str, isNum, b) {
- var base,
- s = isNum ? str : str.replace(whitespaceOrPlus, '');
-
- // No exception on ±Infinity or NaN.
- if (isInfinityOrNaN.test(s)) {
- x.s = isNaN(s) ? null : s < 0 ? -1 : 1;
- } else {
- if (!isNum) {
-
- // basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i
- s = s.replace(basePrefix, function (m, p1, p2) {
- base = (p2 = p2.toLowerCase()) == 'x' ? 16 : p2 == 'b' ? 2 : 8;
- return !b || b == base ? p1 : m;
- });
-
- if (b) {
- base = b;
-
- // E.g. '1.' to '1', '.1' to '0.1'
- s = s.replace(dotAfter, '$1').replace(dotBefore, '0.$1');
- }
-
- if (str != s) return new BigNumber(s, base);
- }
-
- // '[BigNumber Error] Not a number: {n}'
- // '[BigNumber Error] Not a base {b} number: {n}'
- if (BigNumber.DEBUG) {
- throw Error
- (bignumberError + 'Not a' + (b ? ' base ' + b : '') + ' number: ' + str);
- }
-
- // NaN
- x.s = null;
- }
-
- x.c = x.e = null;
- }
- })();
-
-
- /*
- * Round x to sd significant digits using rounding mode rm. Check for over/under-flow.
- * If r is truthy, it is known that there are more digits after the rounding digit.
- */
- function round(x, sd, rm, r) {
- var d, i, j, k, n, ni, rd,
- xc = x.c,
- pows10 = POWS_TEN;
-
- // if x is not Infinity or NaN...
- if (xc) {
-
- // rd is the rounding digit, i.e. the digit after the digit that may be rounded up.
- // n is a base 1e14 number, the value of the element of array x.c containing rd.
- // ni is the index of n within x.c.
- // d is the number of digits of n.
- // i is the index of rd within n including leading zeros.
- // j is the actual index of rd within n (if < 0, rd is a leading zero).
- out: {
-
- // Get the number of digits of the first element of xc.
- for (d = 1, k = xc[0]; k >= 10; k /= 10, d++);
- i = sd - d;
-
- // If the rounding digit is in the first element of xc...
- if (i < 0) {
- i += LOG_BASE;
- j = sd;
- n = xc[ni = 0];
-
- // Get the rounding digit at index j of n.
- rd = n / pows10[d - j - 1] % 10 | 0;
- } else {
- ni = mathceil((i + 1) / LOG_BASE);
-
- if (ni >= xc.length) {
-
- if (r) {
-
- // Needed by sqrt.
- for (; xc.length <= ni; xc.push(0));
- n = rd = 0;
- d = 1;
- i %= LOG_BASE;
- j = i - LOG_BASE + 1;
- } else {
- break out;
- }
- } else {
- n = k = xc[ni];
-
- // Get the number of digits of n.
- for (d = 1; k >= 10; k /= 10, d++);
-
- // Get the index of rd within n.
- i %= LOG_BASE;
-
- // Get the index of rd within n, adjusted for leading zeros.
- // The number of leading zeros of n is given by LOG_BASE - d.
- j = i - LOG_BASE + d;
-
- // Get the rounding digit at index j of n.
- rd = j < 0 ? 0 : n / pows10[d - j - 1] % 10 | 0;
- }
- }
-
- r = r || sd < 0 ||
-
- // Are there any non-zero digits after the rounding digit?
- // The expression n % pows10[d - j - 1] returns all digits of n to the right
- // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
- xc[ni + 1] != null || (j < 0 ? n : n % pows10[d - j - 1]);
-
- r = rm < 4
- ? (rd || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2))
- : rd > 5 || rd == 5 && (rm == 4 || r || rm == 6 &&
-
- // Check whether the digit to the left of the rounding digit is odd.
- ((i > 0 ? j > 0 ? n / pows10[d - j] : 0 : xc[ni - 1]) % 10) & 1 ||
- rm == (x.s < 0 ? 8 : 7));
-
- if (sd < 1 || !xc[0]) {
- xc.length = 0;
-
- if (r) {
-
- // Convert sd to decimal places.
- sd -= x.e + 1;
-
- // 1, 0.1, 0.01, 0.001, 0.0001 etc.
- xc[0] = pows10[(LOG_BASE - sd % LOG_BASE) % LOG_BASE];
- x.e = -sd || 0;
- } else {
-
- // Zero.
- xc[0] = x.e = 0;
- }
-
- return x;
- }
-
- // Remove excess digits.
- if (i == 0) {
- xc.length = ni;
- k = 1;
- ni--;
- } else {
- xc.length = ni + 1;
- k = pows10[LOG_BASE - i];
-
- // E.g. 56700 becomes 56000 if 7 is the rounding digit.
- // j > 0 means i > number of leading zeros of n.
- xc[ni] = j > 0 ? mathfloor(n / pows10[d - j] % pows10[j]) * k : 0;
- }
-
- // Round up?
- if (r) {
-
- for (; ;) {
-
- // If the digit to be rounded up is in the first element of xc...
- if (ni == 0) {
-
- // i will be the length of xc[0] before k is added.
- for (i = 1, j = xc[0]; j >= 10; j /= 10, i++);
- j = xc[0] += k;
- for (k = 1; j >= 10; j /= 10, k++);
-
- // if i != k the length has increased.
- if (i != k) {
- x.e++;
- if (xc[0] == BASE) xc[0] = 1;
- }
-
- break;
- } else {
- xc[ni] += k;
- if (xc[ni] != BASE) break;
- xc[ni--] = 0;
- k = 1;
- }
- }
- }
-
- // Remove trailing zeros.
- for (i = xc.length; xc[--i] === 0; xc.pop());
- }
-
- // Overflow? Infinity.
- if (x.e > MAX_EXP) {
- x.c = x.e = null;
-
- // Underflow? Zero.
- } else if (x.e < MIN_EXP) {
- x.c = [x.e = 0];
- }
- }
-
- return x;
- }
-
-
- function valueOf(n) {
- var str,
- e = n.e;
-
- if (e === null) return n.toString();
-
- str = coeffToString(n.c);
-
- str = e <= TO_EXP_NEG || e >= TO_EXP_POS
- ? toExponential(str, e)
- : toFixedPoint(str, e, '0');
-
- return n.s < 0 ? '-' + str : str;
- }
-
-
- // PROTOTYPE/INSTANCE METHODS
-
-
- /*
- * Return a new BigNumber whose value is the absolute value of this BigNumber.
- */
- P.absoluteValue = P.abs = function () {
- var x = new BigNumber(this);
- if (x.s < 0) x.s = 1;
- return x;
- };
-
-
- /*
- * Return
- * 1 if the value of this BigNumber is greater than the value of BigNumber(y, b),
- * -1 if the value of this BigNumber is less than the value of BigNumber(y, b),
- * 0 if they have the same value,
- * or null if the value of either is NaN.
- */
- P.comparedTo = function (y, b) {
- return compare(this, new BigNumber(y, b));
- };
-
-
- /*
- * If dp is undefined or null or true or false, return the number of decimal places of the
- * value of this BigNumber, or null if the value of this BigNumber is ±Infinity or NaN.
- *
- * Otherwise, if dp is a number, return a new BigNumber whose value is the value of this
- * BigNumber rounded to a maximum of dp decimal places using rounding mode rm, or
- * ROUNDING_MODE if rm is omitted.
- *
- * [dp] {number} Decimal places: integer, 0 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'
- */
- P.decimalPlaces = P.dp = function (dp, rm) {
- var c, n, v,
- x = this;
-
- if (dp != null) {
- intCheck(dp, 0, MAX);
- if (rm == null) rm = ROUNDING_MODE;
- else intCheck(rm, 0, 8);
-
- return round(new BigNumber(x), dp + x.e + 1, rm);
- }
-
- if (!(c = x.c)) return null;
- n = ((v = c.length - 1) - bitFloor(this.e / LOG_BASE)) * LOG_BASE;
-
- // Subtract the number of trailing zeros of the last number.
- if (v = c[v]) for (; v % 10 == 0; v /= 10, n--);
- if (n < 0) n = 0;
-
- return n;
- };
-
-
- /*
- * n / 0 = I
- * n / N = N
- * n / I = 0
- * 0 / n = 0
- * 0 / 0 = N
- * 0 / N = N
- * 0 / I = 0
- * N / n = N
- * N / 0 = N
- * N / N = N
- * N / I = N
- * I / n = I
- * I / 0 = I
- * I / N = N
- * I / I = N
- *
- * Return a new BigNumber whose value is the value of this BigNumber divided by the value of
- * BigNumber(y, b), rounded according to DECIMAL_PLACES and ROUNDING_MODE.
- */
- P.dividedBy = P.div = function (y, b) {
- return div(this, new BigNumber(y, b), DECIMAL_PLACES, ROUNDING_MODE);
- };
-
-
- /*
- * Return a new BigNumber whose value is the integer part of dividing the value of this
- * BigNumber by the value of BigNumber(y, b).
- */
- P.dividedToIntegerBy = P.idiv = function (y, b) {
- return div(this, new BigNumber(y, b), 0, 1);
- };
-
-
- /*
- * Return a BigNumber whose value is the value of this BigNumber exponentiated by n.
- *
- * If m is present, return the result modulo m.
- * If n is negative round according to DECIMAL_PLACES and ROUNDING_MODE.
- * If POW_PRECISION is non-zero and m is not present, round to POW_PRECISION using ROUNDING_MODE.
- *
- * The modular power operation works efficiently when x, n, and m are integers, otherwise it
- * is equivalent to calculating x.exponentiatedBy(n).modulo(m) with a POW_PRECISION of 0.
- *
- * n {number|string|BigNumber} The exponent. An integer.
- * [m] {number|string|BigNumber} The modulus.
- *
- * '[BigNumber Error] Exponent not an integer: {n}'
- */
- P.exponentiatedBy = P.pow = function (n, m) {
- var half, isModExp, i, k, more, nIsBig, nIsNeg, nIsOdd, y,
- x = this;
-
- n = new BigNumber(n);
-
- // Allow NaN and ±Infinity, but not other non-integers.
- if (n.c && !n.isInteger()) {
- throw Error
- (bignumberError + 'Exponent not an integer: ' + valueOf(n));
- }
-
- if (m != null) m = new BigNumber(m);
-
- // Exponent of MAX_SAFE_INTEGER is 15.
- nIsBig = n.e > 14;
-
- // If x is NaN, ±Infinity, ±0 or ±1, or n is ±Infinity, NaN or ±0.
- if (!x.c || !x.c[0] || x.c[0] == 1 && !x.e && x.c.length == 1 || !n.c || !n.c[0]) {
-
- // The sign of the result of pow when x is negative depends on the evenness of n.
- // If +n overflows to ±Infinity, the evenness of n would be not be known.
- y = new BigNumber(Math.pow(+valueOf(x), nIsBig ? 2 - isOdd(n) : +valueOf(n)));
- return m ? y.mod(m) : y;
- }
-
- nIsNeg = n.s < 0;
-
- if (m) {
-
- // x % m returns NaN if abs(m) is zero, or m is NaN.
- if (m.c ? !m.c[0] : !m.s) return new BigNumber(NaN);
-
- isModExp = !nIsNeg && x.isInteger() && m.isInteger();
-
- if (isModExp) x = x.mod(m);
-
- // Overflow to ±Infinity: >=2**1e10 or >=1.0000024**1e15.
- // Underflow to ±0: <=0.79**1e10 or <=0.9999975**1e15.
- } else if (n.e > 9 && (x.e > 0 || x.e < -1 || (x.e == 0
- // [1, 240000000]
- ? x.c[0] > 1 || nIsBig && x.c[1] >= 24e7
- // [80000000000000] [99999750000000]
- : x.c[0] < 8e13 || nIsBig && x.c[0] <= 9999975e7))) {
-
- // If x is negative and n is odd, k = -0, else k = 0.
- k = x.s < 0 && isOdd(n) ? -0 : 0;
-
- // If x >= 1, k = ±Infinity.
- if (x.e > -1) k = 1 / k;
-
- // If n is negative return ±0, else return ±Infinity.
- return new BigNumber(nIsNeg ? 1 / k : k);
-
- } else if (POW_PRECISION) {
-
- // Truncating each coefficient array to a length of k after each multiplication
- // equates to truncating significant digits to POW_PRECISION + [28, 41],
- // i.e. there will be a minimum of 28 guard digits retained.
- k = mathceil(POW_PRECISION / LOG_BASE + 2);
- }
-
- if (nIsBig) {
- half = new BigNumber(0.5);
- if (nIsNeg) n.s = 1;
- nIsOdd = isOdd(n);
- } else {
- i = Math.abs(+valueOf(n));
- nIsOdd = i % 2;
- }
-
- y = new BigNumber(ONE);
-
- // Performs 54 loop iterations for n of 9007199254740991.
- for (; ;) {
-
- if (nIsOdd) {
- y = y.times(x);
- if (!y.c) break;
-
- if (k) {
- if (y.c.length > k) y.c.length = k;
- } else if (isModExp) {
- y = y.mod(m); //y = y.minus(div(y, m, 0, MODULO_MODE).times(m));
- }
- }
-
- if (i) {
- i = mathfloor(i / 2);
- if (i === 0) break;
- nIsOdd = i % 2;
- } else {
- n = n.times(half);
- round(n, n.e + 1, 1);
-
- if (n.e > 14) {
- nIsOdd = isOdd(n);
- } else {
- i = +valueOf(n);
- if (i === 0) break;
- nIsOdd = i % 2;
- }
- }
-
- x = x.times(x);
-
- if (k) {
- if (x.c && x.c.length > k) x.c.length = k;
- } else if (isModExp) {
- x = x.mod(m); //x = x.minus(div(x, m, 0, MODULO_MODE).times(m));
- }
- }
-
- if (isModExp) return y;
- if (nIsNeg) y = ONE.div(y);
-
- return m ? y.mod(m) : k ? round(y, POW_PRECISION, ROUNDING_MODE, more) : y;
- };
-
-
- /*
- * Return a new BigNumber whose value is the value of this BigNumber rounded to an integer
- * using rounding mode rm, or ROUNDING_MODE if rm is omitted.
- *
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {rm}'
- */
- P.integerValue = function (rm) {
- var n = new BigNumber(this);
- if (rm == null) rm = ROUNDING_MODE;
- else intCheck(rm, 0, 8);
- return round(n, n.e + 1, rm);
- };
-
-
- /*
- * Return true if the value of this BigNumber is equal to the value of BigNumber(y, b),
- * otherwise return false.
- */
- P.isEqualTo = P.eq = function (y, b) {
- return compare(this, new BigNumber(y, b)) === 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is a finite number, otherwise return false.
- */
- P.isFinite = function () {
- return !!this.c;
- };
-
-
- /*
- * Return true if the value of this BigNumber is greater than the value of BigNumber(y, b),
- * otherwise return false.
- */
- P.isGreaterThan = P.gt = function (y, b) {
- return compare(this, new BigNumber(y, b)) > 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is greater than or equal to the value of
- * BigNumber(y, b), otherwise return false.
- */
- P.isGreaterThanOrEqualTo = P.gte = function (y, b) {
- return (b = compare(this, new BigNumber(y, b))) === 1 || b === 0;
-
- };
-
-
- /*
- * Return true if the value of this BigNumber is an integer, otherwise return false.
- */
- P.isInteger = function () {
- return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2;
- };
-
-
- /*
- * Return true if the value of this BigNumber is less than the value of BigNumber(y, b),
- * otherwise return false.
- */
- P.isLessThan = P.lt = function (y, b) {
- return compare(this, new BigNumber(y, b)) < 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is less than or equal to the value of
- * BigNumber(y, b), otherwise return false.
- */
- P.isLessThanOrEqualTo = P.lte = function (y, b) {
- return (b = compare(this, new BigNumber(y, b))) === -1 || b === 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is NaN, otherwise return false.
- */
- P.isNaN = function () {
- return !this.s;
- };
-
-
- /*
- * Return true if the value of this BigNumber is negative, otherwise return false.
- */
- P.isNegative = function () {
- return this.s < 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is positive, otherwise return false.
- */
- P.isPositive = function () {
- return this.s > 0;
- };
-
-
- /*
- * Return true if the value of this BigNumber is 0 or -0, otherwise return false.
- */
- P.isZero = function () {
- return !!this.c && this.c[0] == 0;
- };
-
-
- /*
- * n - 0 = n
- * n - N = N
- * n - I = -I
- * 0 - n = -n
- * 0 - 0 = 0
- * 0 - N = N
- * 0 - I = -I
- * N - n = N
- * N - 0 = N
- * N - N = N
- * N - I = N
- * I - n = I
- * I - 0 = I
- * I - N = N
- * I - I = N
- *
- * Return a new BigNumber whose value is the value of this BigNumber minus the value of
- * BigNumber(y, b).
- */
- P.minus = function (y, b) {
- var i, j, t, xLTy,
- x = this,
- a = x.s;
-
- y = new BigNumber(y, b);
- b = y.s;
-
- // Either NaN?
- if (!a || !b) return new BigNumber(NaN);
-
- // Signs differ?
- if (a != b) {
- y.s = -b;
- return x.plus(y);
- }
-
- var xe = x.e / LOG_BASE,
- ye = y.e / LOG_BASE,
- xc = x.c,
- yc = y.c;
-
- if (!xe || !ye) {
-
- // Either Infinity?
- if (!xc || !yc) return xc ? (y.s = -b, y) : new BigNumber(yc ? x : NaN);
-
- // Either zero?
- if (!xc[0] || !yc[0]) {
-
- // Return y if y is non-zero, x if x is non-zero, or zero if both are zero.
- return yc[0] ? (y.s = -b, y) : new BigNumber(xc[0] ? x :
-
- // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
- ROUNDING_MODE == 3 ? -0 : 0);
- }
- }
-
- xe = bitFloor(xe);
- ye = bitFloor(ye);
- xc = xc.slice();
-
- // Determine which is the bigger number.
- if (a = xe - ye) {
-
- if (xLTy = a < 0) {
- a = -a;
- t = xc;
- } else {
- ye = xe;
- t = yc;
- }
-
- t.reverse();
-
- // Prepend zeros to equalise exponents.
- for (b = a; b--; t.push(0));
- t.reverse();
- } else {
-
- // Exponents equal. Check digit by digit.
- j = (xLTy = (a = xc.length) < (b = yc.length)) ? a : b;
-
- for (a = b = 0; b < j; b++) {
-
- if (xc[b] != yc[b]) {
- xLTy = xc[b] < yc[b];
- break;
- }
- }
- }
-
- // x < y? Point xc to the array of the bigger number.
- if (xLTy) t = xc, xc = yc, yc = t, y.s = -y.s;
-
- b = (j = yc.length) - (i = xc.length);
-
- // Append zeros to xc if shorter.
- // No need to add zeros to yc if shorter as subtract only needs to start at yc.length.
- if (b > 0) for (; b--; xc[i++] = 0);
- b = BASE - 1;
-
- // Subtract yc from xc.
- for (; j > a;) {
-
- if (xc[--j] < yc[j]) {
- for (i = j; i && !xc[--i]; xc[i] = b);
- --xc[i];
- xc[j] += BASE;
- }
-
- xc[j] -= yc[j];
- }
-
- // Remove leading zeros and adjust exponent accordingly.
- for (; xc[0] == 0; xc.splice(0, 1), --ye);
-
- // Zero?
- if (!xc[0]) {
-
- // Following IEEE 754 (2008) 6.3,
- // n - n = +0 but n - n = -0 when rounding towards -Infinity.
- y.s = ROUNDING_MODE == 3 ? -1 : 1;
- y.c = [y.e = 0];
- return y;
- }
-
- // No need to check for Infinity as +x - +y != Infinity && -x - -y != Infinity
- // for finite x and y.
- return normalise(y, xc, ye);
- };
-
-
- /*
- * n % 0 = N
- * n % N = N
- * n % I = n
- * 0 % n = 0
- * -0 % n = -0
- * 0 % 0 = N
- * 0 % N = N
- * 0 % I = 0
- * N % n = N
- * N % 0 = N
- * N % N = N
- * N % I = N
- * I % n = N
- * I % 0 = N
- * I % N = N
- * I % I = N
- *
- * Return a new BigNumber whose value is the value of this BigNumber modulo the value of
- * BigNumber(y, b). The result depends on the value of MODULO_MODE.
- */
- P.modulo = P.mod = function (y, b) {
- var q, s,
- x = this;
-
- y = new BigNumber(y, b);
-
- // Return NaN if x is Infinity or NaN, or y is NaN or zero.
- if (!x.c || !y.s || y.c && !y.c[0]) {
- return new BigNumber(NaN);
-
- // Return x if y is Infinity or x is zero.
- } else if (!y.c || x.c && !x.c[0]) {
- return new BigNumber(x);
- }
-
- if (MODULO_MODE == 9) {
-
- // Euclidian division: q = sign(y) * floor(x / abs(y))
- // r = x - qy where 0 <= r < abs(y)
- s = y.s;
- y.s = 1;
- q = div(x, y, 0, 3);
- y.s = s;
- q.s *= s;
- } else {
- q = div(x, y, 0, MODULO_MODE);
- }
-
- y = x.minus(q.times(y));
-
- // To match JavaScript %, ensure sign of zero is sign of dividend.
- if (!y.c[0] && MODULO_MODE == 1) y.s = x.s;
-
- return y;
- };
-
-
- /*
- * n * 0 = 0
- * n * N = N
- * n * I = I
- * 0 * n = 0
- * 0 * 0 = 0
- * 0 * N = N
- * 0 * I = N
- * N * n = N
- * N * 0 = N
- * N * N = N
- * N * I = N
- * I * n = I
- * I * 0 = N
- * I * N = N
- * I * I = I
- *
- * Return a new BigNumber whose value is the value of this BigNumber multiplied by the value
- * of BigNumber(y, b).
- */
- P.multipliedBy = P.times = function (y, b) {
- var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc,
- base, sqrtBase,
- x = this,
- xc = x.c,
- yc = (y = new BigNumber(y, b)).c;
-
- // Either NaN, ±Infinity or ±0?
- if (!xc || !yc || !xc[0] || !yc[0]) {
-
- // Return NaN if either is NaN, or one is 0 and the other is Infinity.
- if (!x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc) {
- y.c = y.e = y.s = null;
- } else {
- y.s *= x.s;
-
- // Return ±Infinity if either is ±Infinity.
- if (!xc || !yc) {
- y.c = y.e = null;
-
- // Return ±0 if either is ±0.
- } else {
- y.c = [0];
- y.e = 0;
- }
- }
-
- return y;
- }
-
- e = bitFloor(x.e / LOG_BASE) + bitFloor(y.e / LOG_BASE);
- y.s *= x.s;
- xcL = xc.length;
- ycL = yc.length;
-
- // Ensure xc points to longer array and xcL to its length.
- if (xcL < ycL) zc = xc, xc = yc, yc = zc, i = xcL, xcL = ycL, ycL = i;
-
- // Initialise the result array with zeros.
- for (i = xcL + ycL, zc = []; i--; zc.push(0));
-
- base = BASE;
- sqrtBase = SQRT_BASE;
-
- for (i = ycL; --i >= 0;) {
- c = 0;
- ylo = yc[i] % sqrtBase;
- yhi = yc[i] / sqrtBase | 0;
-
- for (k = xcL, j = i + k; j > i;) {
- xlo = xc[--k] % sqrtBase;
- xhi = xc[k] / sqrtBase | 0;
- m = yhi * xlo + xhi * ylo;
- xlo = ylo * xlo + ((m % sqrtBase) * sqrtBase) + zc[j] + c;
- c = (xlo / base | 0) + (m / sqrtBase | 0) + yhi * xhi;
- zc[j--] = xlo % base;
- }
-
- zc[j] = c;
- }
-
- if (c) {
- ++e;
- } else {
- zc.splice(0, 1);
- }
-
- return normalise(y, zc, e);
- };
-
-
- /*
- * Return a new BigNumber whose value is the value of this BigNumber negated,
- * i.e. multiplied by -1.
- */
- P.negated = function () {
- var x = new BigNumber(this);
- x.s = -x.s || null;
- return x;
- };
-
-
- /*
- * n + 0 = n
- * n + N = N
- * n + I = I
- * 0 + n = n
- * 0 + 0 = 0
- * 0 + N = N
- * 0 + I = I
- * N + n = N
- * N + 0 = N
- * N + N = N
- * N + I = N
- * I + n = I
- * I + 0 = I
- * I + N = N
- * I + I = I
- *
- * Return a new BigNumber whose value is the value of this BigNumber plus the value of
- * BigNumber(y, b).
- */
- P.plus = function (y, b) {
- var t,
- x = this,
- a = x.s;
-
- y = new BigNumber(y, b);
- b = y.s;
-
- // Either NaN?
- if (!a || !b) return new BigNumber(NaN);
-
- // Signs differ?
- if (a != b) {
- y.s = -b;
- return x.minus(y);
- }
-
- var xe = x.e / LOG_BASE,
- ye = y.e / LOG_BASE,
- xc = x.c,
- yc = y.c;
-
- if (!xe || !ye) {
-
- // Return ±Infinity if either ±Infinity.
- if (!xc || !yc) return new BigNumber(a / 0);
-
- // Either zero?
- // Return y if y is non-zero, x if x is non-zero, or zero if both are zero.
- if (!xc[0] || !yc[0]) return yc[0] ? y : new BigNumber(xc[0] ? x : a * 0);
- }
-
- xe = bitFloor(xe);
- ye = bitFloor(ye);
- xc = xc.slice();
-
- // Prepend zeros to equalise exponents. Faster to use reverse then do unshifts.
- if (a = xe - ye) {
- if (a > 0) {
- ye = xe;
- t = yc;
- } else {
- a = -a;
- t = xc;
- }
-
- t.reverse();
- for (; a--; t.push(0));
- t.reverse();
- }
-
- a = xc.length;
- b = yc.length;
-
- // Point xc to the longer array, and b to the shorter length.
- if (a - b < 0) t = yc, yc = xc, xc = t, b = a;
-
- // Only start adding at yc.length - 1 as the further digits of xc can be ignored.
- for (a = 0; b;) {
- a = (xc[--b] = xc[b] + yc[b] + a) / BASE | 0;
- xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE;
- }
-
- if (a) {
- xc = [a].concat(xc);
- ++ye;
- }
-
- // No need to check for zero, as +x + +y != 0 && -x + -y != 0
- // ye = MAX_EXP + 1 possible
- return normalise(y, xc, ye);
- };
-
-
- /*
- * If sd is undefined or null or true or false, return the number of significant digits of
- * the value of this BigNumber, or null if the value of this BigNumber is ±Infinity or NaN.
- * If sd is true include integer-part trailing zeros in the count.
- *
- * Otherwise, if sd is a number, return a new BigNumber whose value is the value of this
- * BigNumber rounded to a maximum of sd significant digits using rounding mode rm, or
- * ROUNDING_MODE if rm is omitted.
- *
- * sd {number|boolean} number: significant digits: integer, 1 to MAX inclusive.
- * boolean: whether to count integer-part trailing zeros: true or false.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {sd|rm}'
- */
- P.precision = P.sd = function (sd, rm) {
- var c, n, v,
- x = this;
-
- if (sd != null && sd !== !!sd) {
- intCheck(sd, 1, MAX);
- if (rm == null) rm = ROUNDING_MODE;
- else intCheck(rm, 0, 8);
-
- return round(new BigNumber(x), sd, rm);
- }
-
- if (!(c = x.c)) return null;
- v = c.length - 1;
- n = v * LOG_BASE + 1;
-
- if (v = c[v]) {
-
- // Subtract the number of trailing zeros of the last element.
- for (; v % 10 == 0; v /= 10, n--);
-
- // Add the number of digits of the first element.
- for (v = c[0]; v >= 10; v /= 10, n++);
- }
-
- if (sd && x.e + 1 > n) n = x.e + 1;
-
- return n;
- };
-
-
- /*
- * Return a new BigNumber whose value is the value of this BigNumber shifted by k places
- * (powers of 10). Shift to the right if n > 0, and to the left if n < 0.
- *
- * k {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {k}'
- */
- P.shiftedBy = function (k) {
- intCheck(k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER);
- return this.times('1e' + k);
- };
-
-
- /*
- * sqrt(-n) = N
- * sqrt(N) = N
- * sqrt(-I) = N
- * sqrt(I) = I
- * sqrt(0) = 0
- * sqrt(-0) = -0
- *
- * Return a new BigNumber whose value is the square root of the value of this BigNumber,
- * rounded according to DECIMAL_PLACES and ROUNDING_MODE.
- */
- P.squareRoot = P.sqrt = function () {
- var m, n, r, rep, t,
- x = this,
- c = x.c,
- s = x.s,
- e = x.e,
- dp = DECIMAL_PLACES + 4,
- half = new BigNumber('0.5');
-
- // Negative/NaN/Infinity/zero?
- if (s !== 1 || !c || !c[0]) {
- return new BigNumber(!s || s < 0 && (!c || c[0]) ? NaN : c ? x : 1 / 0);
- }
-
- // Initial estimate.
- s = Math.sqrt(+valueOf(x));
-
- // Math.sqrt underflow/overflow?
- // Pass x to Math.sqrt as integer, then adjust the exponent of the result.
- if (s == 0 || s == 1 / 0) {
- n = coeffToString(c);
- if ((n.length + e) % 2 == 0) n += '0';
- s = Math.sqrt(+n);
- e = bitFloor((e + 1) / 2) - (e < 0 || e % 2);
-
- if (s == 1 / 0) {
- n = '1e' + e;
- } else {
- n = s.toExponential();
- n = n.slice(0, n.indexOf('e') + 1) + e;
- }
-
- r = new BigNumber(n);
- } else {
- r = new BigNumber(s + '');
- }
-
- // Check for zero.
- // r could be zero if MIN_EXP is changed after the this value was created.
- // This would cause a division by zero (x/t) and hence Infinity below, which would cause
- // coeffToString to throw.
- if (r.c[0]) {
- e = r.e;
- s = e + dp;
- if (s < 3) s = 0;
-
- // Newton-Raphson iteration.
- for (; ;) {
- t = r;
- r = half.times(t.plus(div(x, t, dp, 1)));
-
- if (coeffToString(t.c).slice(0, s) === (n = coeffToString(r.c)).slice(0, s)) {
-
- // The exponent of r may here be one less than the final result exponent,
- // e.g 0.0009999 (e-4) --> 0.001 (e-3), so adjust s so the rounding digits
- // are indexed correctly.
- if (r.e < e) --s;
- n = n.slice(s - 3, s + 1);
-
- // The 4th rounding digit may be in error by -1 so if the 4 rounding digits
- // are 9999 or 4999 (i.e. approaching a rounding boundary) continue the
- // iteration.
- if (n == '9999' || !rep && n == '4999') {
-
- // On the first iteration only, check to see if rounding up gives the
- // exact result as the nines may infinitely repeat.
- if (!rep) {
- round(t, t.e + DECIMAL_PLACES + 2, 0);
-
- if (t.times(t).eq(x)) {
- r = t;
- break;
- }
- }
-
- dp += 4;
- s += 4;
- rep = 1;
- } else {
-
- // If rounding digits are null, 0{0,4} or 50{0,3}, check for exact
- // result. If not, then there are further digits and m will be truthy.
- if (!+n || !+n.slice(1) && n.charAt(0) == '5') {
-
- // Truncate to the first rounding digit.
- round(r, r.e + DECIMAL_PLACES + 2, 1);
- m = !r.times(r).eq(x);
- }
-
- break;
- }
- }
- }
- }
-
- return round(r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber in exponential notation and
- * rounded using ROUNDING_MODE to dp fixed decimal places.
- *
- * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'
- */
- P.toExponential = function (dp, rm) {
- if (dp != null) {
- intCheck(dp, 0, MAX);
- dp++;
- }
- return format(this, dp, rm, 1);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber in fixed-point notation rounding
- * to dp fixed decimal places using rounding mode rm, or ROUNDING_MODE if rm is omitted.
- *
- * Note: as with JavaScript's number type, (-0).toFixed(0) is '0',
- * but e.g. (-0.00001).toFixed(0) is '-0'.
- *
- * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'
- */
- P.toFixed = function (dp, rm) {
- if (dp != null) {
- intCheck(dp, 0, MAX);
- dp = dp + this.e + 1;
- }
- return format(this, dp, rm);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber in fixed-point notation rounded
- * using rm or ROUNDING_MODE to dp decimal places, and formatted according to the properties
- * of the format or FORMAT object (see BigNumber.set).
- *
- * The formatting object may contain some or all of the properties shown below.
- *
- * FORMAT = {
- * prefix: '',
- * groupSize: 3,
- * secondaryGroupSize: 0,
- * groupSeparator: ',',
- * decimalSeparator: '.',
- * fractionGroupSize: 0,
- * fractionGroupSeparator: '\xA0', // non-breaking space
- * suffix: ''
- * };
- *
- * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- * [format] {object} Formatting options. See FORMAT pbject above.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'
- * '[BigNumber Error] Argument not an object: {format}'
- */
- P.toFormat = function (dp, rm, format) {
- var str,
- x = this;
-
- if (format == null) {
- if (dp != null && rm && typeof rm == 'object') {
- format = rm;
- rm = null;
- } else if (dp && typeof dp == 'object') {
- format = dp;
- dp = rm = null;
- } else {
- format = FORMAT;
- }
- } else if (typeof format != 'object') {
- throw Error
- (bignumberError + 'Argument not an object: ' + format);
- }
-
- str = x.toFixed(dp, rm);
-
- if (x.c) {
- var i,
- arr = str.split('.'),
- g1 = +format.groupSize,
- g2 = +format.secondaryGroupSize,
- groupSeparator = format.groupSeparator || '',
- intPart = arr[0],
- fractionPart = arr[1],
- isNeg = x.s < 0,
- intDigits = isNeg ? intPart.slice(1) : intPart,
- len = intDigits.length;
-
- if (g2) i = g1, g1 = g2, g2 = i, len -= i;
-
- if (g1 > 0 && len > 0) {
- i = len % g1 || g1;
- intPart = intDigits.substr(0, i);
- for (; i < len; i += g1) intPart += groupSeparator + intDigits.substr(i, g1);
- if (g2 > 0) intPart += groupSeparator + intDigits.slice(i);
- if (isNeg) intPart = '-' + intPart;
- }
-
- str = fractionPart
- ? intPart + (format.decimalSeparator || '') + ((g2 = +format.fractionGroupSize)
- ? fractionPart.replace(new RegExp('\\d{' + g2 + '}\\B', 'g'),
- '$&' + (format.fractionGroupSeparator || ''))
- : fractionPart)
- : intPart;
- }
-
- return (format.prefix || '') + str + (format.suffix || '');
- };
-
-
- /*
- * Return an array of two BigNumbers representing the value of this BigNumber as a simple
- * fraction with an integer numerator and an integer denominator.
- * The denominator will be a positive non-zero value less than or equal to the specified
- * maximum denominator. If a maximum denominator is not specified, the denominator will be
- * the lowest value necessary to represent the number exactly.
- *
- * [md] {number|string|BigNumber} Integer >= 1, or Infinity. The maximum denominator.
- *
- * '[BigNumber Error] Argument {not an integer|out of range} : {md}'
- */
- P.toFraction = function (md) {
- var d, d0, d1, d2, e, exp, n, n0, n1, q, r, s,
- x = this,
- xc = x.c;
-
- if (md != null) {
- n = new BigNumber(md);
-
- // Throw if md is less than one or is not an integer, unless it is Infinity.
- if (!n.isInteger() && (n.c || n.s !== 1) || n.lt(ONE)) {
- throw Error
- (bignumberError + 'Argument ' +
- (n.isInteger() ? 'out of range: ' : 'not an integer: ') + valueOf(n));
- }
- }
-
- if (!xc) return new BigNumber(x);
-
- d = new BigNumber(ONE);
- n1 = d0 = new BigNumber(ONE);
- d1 = n0 = new BigNumber(ONE);
- s = coeffToString(xc);
-
- // Determine initial denominator.
- // d is a power of 10 and the minimum max denominator that specifies the value exactly.
- e = d.e = s.length - x.e - 1;
- d.c[0] = POWS_TEN[(exp = e % LOG_BASE) < 0 ? LOG_BASE + exp : exp];
- md = !md || n.comparedTo(d) > 0 ? (e > 0 ? d : n1) : n;
-
- exp = MAX_EXP;
- MAX_EXP = 1 / 0;
- n = new BigNumber(s);
-
- // n0 = d1 = 0
- n0.c[0] = 0;
-
- for (; ;) {
- q = div(n, d, 0, 1);
- d2 = d0.plus(q.times(d1));
- if (d2.comparedTo(md) == 1) break;
- d0 = d1;
- d1 = d2;
- n1 = n0.plus(q.times(d2 = n1));
- n0 = d2;
- d = n.minus(q.times(d2 = d));
- n = d2;
- }
-
- d2 = div(md.minus(d0), d1, 0, 1);
- n0 = n0.plus(d2.times(n1));
- d0 = d0.plus(d2.times(d1));
- n0.s = n1.s = x.s;
- e = e * 2;
-
- // Determine which fraction is closer to x, n0/d0 or n1/d1
- r = div(n1, d1, e, ROUNDING_MODE).minus(x).abs().comparedTo(
- div(n0, d0, e, ROUNDING_MODE).minus(x).abs()) < 1 ? [n1, d1] : [n0, d0];
-
- MAX_EXP = exp;
-
- return r;
- };
-
-
- /*
- * Return the value of this BigNumber converted to a number primitive.
- */
- P.toNumber = function () {
- return +valueOf(this);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber rounded to sd significant digits
- * using rounding mode rm or ROUNDING_MODE. If sd is less than the number of digits
- * necessary to represent the integer part of the value in fixed-point notation, then use
- * exponential notation.
- *
- * [sd] {number} Significant digits. Integer, 1 to MAX inclusive.
- * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
- *
- * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {sd|rm}'
- */
- P.toPrecision = function (sd, rm) {
- if (sd != null) intCheck(sd, 1, MAX);
- return format(this, sd, rm, 2);
- };
-
-
- /*
- * Return a string representing the value of this BigNumber in base b, or base 10 if b is
- * omitted. If a base is specified, including base 10, round according to DECIMAL_PLACES and
- * ROUNDING_MODE. If a base is not specified, and this BigNumber has a positive exponent
- * that is equal to or greater than TO_EXP_POS, or a negative exponent equal to or less than
- * TO_EXP_NEG, return exponential notation.
- *
- * [b] {number} Integer, 2 to ALPHABET.length inclusive.
- *
- * '[BigNumber Error] Base {not a primitive number|not an integer|out of range}: {b}'
- */
- P.toString = function (b) {
- var str,
- n = this,
- s = n.s,
- e = n.e;
-
- // Infinity or NaN?
- if (e === null) {
- if (s) {
- str = 'Infinity';
- if (s < 0) str = '-' + str;
- } else {
- str = 'NaN';
- }
- } else {
- if (b == null) {
- str = e <= TO_EXP_NEG || e >= TO_EXP_POS
- ? toExponential(coeffToString(n.c), e)
- : toFixedPoint(coeffToString(n.c), e, '0');
- } else if (b === 10) {
- n = round(new BigNumber(n), DECIMAL_PLACES + e + 1, ROUNDING_MODE);
- str = toFixedPoint(coeffToString(n.c), n.e, '0');
- } else {
- intCheck(b, 2, ALPHABET.length, 'Base');
- str = convertBase(toFixedPoint(coeffToString(n.c), e, '0'), 10, b, s, true);
- }
-
- if (s < 0 && n.c[0]) str = '-' + str;
- }
-
- return str;
- };
-
-
- /*
- * Return as toString, but do not accept a base argument, and include the minus sign for
- * negative zero.
- */
- P.valueOf = P.toJSON = function () {
- return valueOf(this);
- };
-
-
- P._isBigNumber = true;
-
- P[Symbol.toStringTag] = 'BigNumber';
-
- // Node.js v10.12.0+
- P[Symbol.for('nodejs.util.inspect.custom')] = P.valueOf;
-
- if (configObject != null) BigNumber.set(configObject);
-
- return BigNumber;
-}
-
-
-// PRIVATE HELPER FUNCTIONS
-
-// These functions don't need access to variables,
-// e.g. DECIMAL_PLACES, in the scope of the `clone` function above.
-
-
-function bitFloor(n) {
- var i = n | 0;
- return n > 0 || n === i ? i : i - 1;
-}
-
-
-// Return a coefficient array as a string of base 10 digits.
-function coeffToString(a) {
- var s, z,
- i = 1,
- j = a.length,
- r = a[0] + '';
-
- for (; i < j;) {
- s = a[i++] + '';
- z = LOG_BASE - s.length;
- for (; z--; s = '0' + s);
- r += s;
- }
-
- // Determine trailing zeros.
- for (j = r.length; r.charCodeAt(--j) === 48;);
-
- return r.slice(0, j + 1 || 1);
-}
-
-
-// Compare the value of BigNumbers x and y.
-function compare(x, y) {
- var a, b,
- xc = x.c,
- yc = y.c,
- i = x.s,
- j = y.s,
- k = x.e,
- l = y.e;
-
- // Either NaN?
- if (!i || !j) return null;
-
- a = xc && !xc[0];
- b = yc && !yc[0];
-
- // Either zero?
- if (a || b) return a ? b ? 0 : -j : i;
-
- // Signs differ?
- if (i != j) return i;
-
- a = i < 0;
- b = k == l;
-
- // Either Infinity?
- if (!xc || !yc) return b ? 0 : !xc ^ a ? 1 : -1;
-
- // Compare exponents.
- if (!b) return k > l ^ a ? 1 : -1;
-
- j = (k = xc.length) < (l = yc.length) ? k : l;
-
- // Compare digit by digit.
- for (i = 0; i < j; i++) if (xc[i] != yc[i]) return xc[i] > yc[i] ^ a ? 1 : -1;
-
- // Compare lengths.
- return k == l ? 0 : k > l ^ a ? 1 : -1;
-}
-
-
-/*
- * Check that n is a primitive number, an integer, and in range, otherwise throw.
- */
-function intCheck(n, min, max, name) {
- if (n < min || n > max || n !== mathfloor(n)) {
- throw Error
- (bignumberError + (name || 'Argument') + (typeof n == 'number'
- ? n < min || n > max ? ' out of range: ' : ' not an integer: '
- : ' not a primitive number: ') + String(n));
- }
-}
-
-
-// Assumes finite n.
-function isOdd(n) {
- var k = n.c.length - 1;
- return bitFloor(n.e / LOG_BASE) == k && n.c[k] % 2 != 0;
-}
-
-
-function toExponential(str, e) {
- return (str.length > 1 ? str.charAt(0) + '.' + str.slice(1) : str) +
- (e < 0 ? 'e' : 'e+') + e;
-}
-
-
-function toFixedPoint(str, e, z) {
- var len, zs;
-
- // Negative exponent?
- if (e < 0) {
-
- // Prepend zeros.
- for (zs = z + '.'; ++e; zs += z);
- str = zs + str;
-
- // Positive exponent
- } else {
- len = str.length;
-
- // Append zeros.
- if (++e > len) {
- for (zs = z, e -= len; --e; zs += z);
- str += zs;
- } else if (e < len) {
- str = str.slice(0, e) + '.' + str.slice(e);
- }
- }
-
- return str;
-}
-
-
-// EXPORT
-
-
-export var BigNumber = clone();
-
-export default BigNumber;
diff --git a/Server/node_modules/bignumber.js/doc/API.html b/Server/node_modules/bignumber.js/doc/API.html
deleted file mode 100644
index 1ed4a87..0000000
--- a/Server/node_modules/bignumber.js/doc/API.html
+++ /dev/null
@@ -1,2237 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<meta charset="utf-8">
-<meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta name="Author" content="M Mclaughlin">
-<title>bignumber.js API</title>
-<style>
-html{font-size:100%}
-body{background:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;
- line-height:1.65em;min-height:100%;margin:0}
-body,i{color:#000}
-.nav{background:#fff;position:fixed;top:0;bottom:0;left:0;width:200px;overflow-y:auto;
- padding:15px 0 30px 15px}
-div.container{width:600px;margin:50px 0 50px 240px}
-p{margin:0 0 1em;width:600px}
-pre,ul{margin:1em 0}
-h1,h2,h3,h4,h5{margin:0;padding:1.5em 0 0}
-h1,h2{padding:.75em 0}
-h1{font:400 3em Verdana,sans-serif;color:#000;margin-bottom:1em}
-h2{font-size:2.25em;color:#ff2a00}
-h3{font-size:1.75em;color:#4dc71f}
-h4{font-size:1.75em;color:#ff2a00;padding-bottom:.75em}
-h5{font-size:1.2em;margin-bottom:.4em}
-h6{font-size:1.1em;margin-bottom:0.8em;padding:0.5em 0}
-dd{padding-top:.35em}
-dt{padding-top:.5em}
-b{font-weight:700}
-dt b{font-size:1.3em}
-a,a:visited{color:#ff2a00;text-decoration:none}
-a:active,a:hover{outline:0;text-decoration:underline}
-.nav a,.nav b,.nav a:visited{display:block;color:#ff2a00;font-weight:700; margin-top:15px}
-.nav b{color:#4dc71f;margin-top:20px;cursor:default;width:auto}
-ul{list-style-type:none;padding:0 0 0 20px}
-.nav ul{line-height:14px;padding-left:0;margin:5px 0 0}
-.nav ul a,.nav ul a:visited,span{display:inline;color:#000;font-family:Verdana,Geneva,sans-serif;
- font-size:11px;font-weight:400;margin:0}
-.inset,ul.inset{margin-left:20px}
-.inset{font-size:.9em}
-.nav li{width:auto;margin:0 0 3px}
-.alias{font-style:italic;margin-left:20px}
-table{border-collapse:collapse;border-spacing:0;border:2px solid #a7dbd8;margin:1.75em 0;padding:0}
-td,th{text-align:left;margin:0;padding:2px 5px;border:1px dotted #a7dbd8}
-th{border-top:2px solid #a7dbd8;border-bottom:2px solid #a7dbd8;color:#ff2a00}
-code,pre{font-family:Consolas, monaco, monospace;font-weight:400}
-pre{background:#f5f5f5;white-space:pre-wrap;word-wrap:break-word;border-left:5px solid #abef98;
- padding:1px 0 1px 15px;margin:1.2em 0}
-code,.nav-title{color:#ff2a00}
-.end{margin-bottom:25px}
-.centre{text-align:center}
-.error-table{font-size:13px;width:100%}
-#faq{margin:3em 0 0}
-li span{float:right;margin-right:10px;color:#c0c0c0}
-#js{font:inherit;color:#4dc71f}
-</style>
-</head>
-<body>
-
- <div class="nav">
-
- <b>v8.1.0</b>
-
- <a class='nav-title' href="#">API</a>
-
- <b> CONSTRUCTOR </b>
- <ul>
- <li><a href="#bignumber">BigNumber</a></li>
- </ul>
-
- <a href="#methods">Methods</a>
- <ul>
- <li><a href="#clone">clone</a></li>
- <li><a href="#config" >config</a><span>set</span></li>
- <li>
- <ul class="inset">
- <li><a href="#decimal-places">DECIMAL_PLACES</a></li>
- <li><a href="#rounding-mode" >ROUNDING_MODE</a></li>
- <li><a href="#exponential-at">EXPONENTIAL_AT</a></li>
- <li><a href="#range" >RANGE</a></li>
- <li><a href="#crypto" >CRYPTO</a></li>
- <li><a href="#modulo-mode" >MODULO_MODE</a></li>
- <li><a href="#pow-precision" >POW_PRECISION</a></li>
- <li><a href="#format" >FORMAT</a></li>
- <li><a href="#alphabet" >ALPHABET</a></li>
- </ul>
- </li>
- <li><a href="#isBigNumber">isBigNumber</a></li>
- <li><a href="#max" >maximum</a><span>max</span></li>
- <li><a href="#min" >minimum</a><span>min</span></li>
- <li><a href="#random" >random</a></li>
- <li><a href="#sum" >sum</a></li>
- </ul>
-
- <a href="#constructor-properties">Properties</a>
- <ul>
- <li><a href="#round-up" >ROUND_UP</a></li>
- <li><a href="#round-down" >ROUND_DOWN</a></li>
- <li><a href="#round-ceil" >ROUND_CEIL</a></li>
- <li><a href="#round-floor" >ROUND_FLOOR</a></li>
- <li><a href="#round-half-up" >ROUND_HALF_UP</a></li>
- <li><a href="#round-half-down" >ROUND_HALF_DOWN</a></li>
- <li><a href="#round-half-even" >ROUND_HALF_EVEN</a></li>
- <li><a href="#round-half-ceil" >ROUND_HALF_CEIL</a></li>
- <li><a href="#round-half-floor">ROUND_HALF_FLOOR</a></li>
- <li><a href="#debug" >DEBUG</a></li>
- </ul>
-
- <b> INSTANCE </b>
-
- <a href="#prototype-methods">Methods</a>
- <ul>
- <li><a href="#abs" >absoluteValue </a><span>abs</span> </li>
- <li><a href="#cmp" >comparedTo </a> </li>
- <li><a href="#dp" >decimalPlaces </a><span>dp</span> </li>
- <li><a href="#div" >dividedBy </a><span>div</span> </li>
- <li><a href="#divInt" >dividedToIntegerBy </a><span>idiv</span> </li>
- <li><a href="#pow" >exponentiatedBy </a><span>pow</span> </li>
- <li><a href="#int" >integerValue </a> </li>
- <li><a href="#eq" >isEqualTo </a><span>eq</span> </li>
- <li><a href="#isF" >isFinite </a> </li>
- <li><a href="#gt" >isGreaterThan </a><span>gt</span> </li>
- <li><a href="#gte" >isGreaterThanOrEqualTo</a><span>gte</span> </li>
- <li><a href="#isInt" >isInteger </a> </li>
- <li><a href="#lt" >isLessThan </a><span>lt</span> </li>
- <li><a href="#lte" >isLessThanOrEqualTo </a><span>lte</span> </li>
- <li><a href="#isNaN" >isNaN </a> </li>
- <li><a href="#isNeg" >isNegative </a> </li>
- <li><a href="#isPos" >isPositive </a> </li>
- <li><a href="#isZ" >isZero </a> </li>
- <li><a href="#minus" >minus </a> </li>
- <li><a href="#mod" >modulo </a><span>mod</span> </li>
- <li><a href="#times" >multipliedBy </a><span>times</span></li>
- <li><a href="#neg" >negated </a> </li>
- <li><a href="#plus" >plus </a> </li>
- <li><a href="#sd" >precision </a><span>sd</span> </li>
- <li><a href="#shift" >shiftedBy </a> </li>
- <li><a href="#sqrt" >squareRoot </a><span>sqrt</span> </li>
- <li><a href="#toE" >toExponential </a> </li>
- <li><a href="#toFix" >toFixed </a> </li>
- <li><a href="#toFor" >toFormat </a> </li>
- <li><a href="#toFr" >toFraction </a> </li>
- <li><a href="#toJSON" >toJSON </a> </li>
- <li><a href="#toN" >toNumber </a> </li>
- <li><a href="#toP" >toPrecision </a> </li>
- <li><a href="#toS" >toString </a> </li>
- <li><a href="#valueOf">valueOf </a> </li>
- </ul>
-
- <a href="#instance-properties">Properties</a>
- <ul>
- <li><a href="#coefficient">c: coefficient</a></li>
- <li><a href="#exponent" >e: exponent</a></li>
- <li><a href="#sign" >s: sign</a></li>
- </ul>
-
- <a href="#zero-nan-infinity">Zero, NaN &amp; Infinity</a>
- <a href="#Errors">Errors</a>
- <a href="#type-coercion">Type coercion</a>
- <a class='end' href="#faq">FAQ</a>
-
- </div>
-
- <div class="container">
-
- <h1>bignumber<span id='js'>.js</span></h1>
-
- <p>A JavaScript library for arbitrary-precision arithmetic.</p>
- <p><a href="https://github.com/MikeMcl/bignumber.js">Hosted on GitHub</a>. </p>
-
- <h2>API</h2>
-
- <p>
- See the <a href='https://github.com/MikeMcl/bignumber.js'>README</a> on GitHub for a
- quick-start introduction.
- </p>
- <p>
- In all examples below, <code>var</code> and semicolons are not shown, and if a commented-out
- value is in quotes it means <code>toString</code> has been called on the preceding expression.
- </p>
-
-
- <h3>CONSTRUCTOR</h3>
-
-
- <h5 id="bignumber">
- BigNumber<code class='inset'>BigNumber(n [, base]) <i>&rArr; BigNumber</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i>: integer, <code>2</code> to <code>36</code> inclusive. (See
- <a href='#alphabet'><code>ALPHABET</code></a> to extend this range).
- </p>
- <p>
- Returns a new instance of a BigNumber object with value <code>n</code>, where <code>n</code>
- is a numeric value in the specified <code>base</code>, or base <code>10</code> if
- <code>base</code> is omitted or is <code>null</code> or <code>undefined</code>.
- </p>
- <pre>
-x = new BigNumber(123.4567) // '123.4567'
-// 'new' is optional
-y = BigNumber(x) // '123.4567'</pre>
- <p>
- If <code>n</code> is a base <code>10</code> value it can be in normal (fixed-point) or
- exponential notation. Values in other bases must be in normal notation. Values in any base can
- have fraction digits, i.e. digits after the decimal point.
- </p>
- <pre>
-new BigNumber(43210) // '43210'
-new BigNumber('4.321e+4') // '43210'
-new BigNumber('-735.0918e-430') // '-7.350918e-428'
-new BigNumber('123412421.234324', 5) // '607236.557696'</pre>
- <p>
- Signed <code>0</code>, signed <code>Infinity</code> and <code>NaN</code> are supported.
- </p>
- <pre>
-new BigNumber('-Infinity') // '-Infinity'
-new BigNumber(NaN) // 'NaN'
-new BigNumber(-0) // '0'
-new BigNumber('.5') // '0.5'
-new BigNumber('+2') // '2'</pre>
- <p>
- String values in hexadecimal literal form, e.g. <code>'0xff'</code>, are valid, as are
- string values with the octal and binary prefixs <code>'0o'</code> and <code>'0b'</code>.
- String values in octal literal form without the prefix will be interpreted as
- decimals, e.g. <code>'011'</code> is interpreted as 11, not 9.
- </p>
- <pre>
-new BigNumber(-10110100.1, 2) // '-180.5'
-new BigNumber('-0b10110100.1') // '-180.5'
-new BigNumber('ff.8', 16) // '255.5'
-new BigNumber('0xff.8') // '255.5'</pre>
- <p>
- If a base is specified, <code>n</code> is rounded according to the current
- <a href='#decimal-places'><code>DECIMAL_PLACES</code></a> and
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> settings. <em>This includes base
- <code>10</code> so don't include a <code>base</code> parameter for decimal values unless
- this behaviour is wanted.</em>
- </p>
- <pre>BigNumber.config({ DECIMAL_PLACES: 5 })
-new BigNumber(1.23456789) // '1.23456789'
-new BigNumber(1.23456789, 10) // '1.23457'</pre>
- <p>An error is thrown if <code>base</code> is invalid. See <a href='#Errors'>Errors</a>.</p>
- <p>
- There is no limit to the number of digits of a value of type <em>string</em> (other than
- that of JavaScript's maximum array size). See <a href='#range'><code>RANGE</code></a> to set
- the maximum and minimum possible exponent value of a BigNumber.
- </p>
- <pre>
-new BigNumber('5032485723458348569331745.33434346346912144534543')
-new BigNumber('4.321e10000000')</pre>
- <p>BigNumber <code>NaN</code> is returned if <code>n</code> is invalid
- (unless <code>BigNumber.DEBUG</code> is <code>true</code>, see below).</p>
- <pre>
-new BigNumber('.1*') // 'NaN'
-new BigNumber('blurgh') // 'NaN'
-new BigNumber(9, 2) // 'NaN'</pre>
- <p>
- To aid in debugging, if <code>BigNumber.DEBUG</code> is <code>true</code> then an error will
- be thrown on an invalid <code>n</code>. An error will also be thrown if <code>n</code> is of
- type <em>number</em> with more than <code>15</code> significant digits, as calling
- <code><a href='#toS'>toString</a></code> or <code><a href='#valueOf'>valueOf</a></code> on
- these numbers may not result in the intended value.
- </p>
- <pre>
-console.log(823456789123456.3) // 823456789123456.2
-new BigNumber(823456789123456.3) // '823456789123456.2'
-BigNumber.DEBUG = true
-// '[BigNumber Error] Number primitive has more than 15 significant digits'
-new BigNumber(823456789123456.3)
-// '[BigNumber Error] Not a base 2 number'
-new BigNumber(9, 2)</pre>
- <p>
- A BigNumber can also be created from an object literal.
- Use <code><a href='#isBigNumber'>isBigNumber</a></code> to check that it is well-formed.
- </p>
- <pre>new BigNumber({ s: 1, e: 2, c: [ 777, 12300000000000 ], _isBigNumber: true }) // '777.123'</pre>
-
-
-
-
- <h4 id="methods">Methods</h4>
- <p>The static methods of a BigNumber constructor.</p>
-
-
-
-
- <h5 id="clone">clone
- <code class='inset'>.clone([object]) <i>&rArr; BigNumber constructor</i></code>
- </h5>
- <p><code>object</code>: <i>object</i></p>
- <p>
- Returns a new independent BigNumber constructor with configuration as described by
- <code>object</code> (see <a href='#config'><code>config</code></a>), or with the default
- configuration if <code>object</code> is <code>null</code> or <code>undefined</code>.
- </p>
- <p>
- Throws if <code>object</code> is not an object. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>BigNumber.config({ DECIMAL_PLACES: 5 })
-BN = BigNumber.clone({ DECIMAL_PLACES: 9 })
-
-x = new BigNumber(1)
-y = new BN(1)
-
-x.div(3) // 0.33333
-y.div(3) // 0.333333333
-
-// BN = BigNumber.clone({ DECIMAL_PLACES: 9 }) is equivalent to:
-BN = BigNumber.clone()
-BN.config({ DECIMAL_PLACES: 9 })</pre>
-
-
-
- <h5 id="config">config<code class='inset'>set([object]) <i>&rArr; object</i></code></h5>
- <p>
- <code>object</code>: <i>object</i>: an object that contains some or all of the following
- properties.
- </p>
- <p>Configures the settings for this particular BigNumber constructor.</p>
-
- <dl class='inset'>
- <dt id="decimal-places"><code><b>DECIMAL_PLACES</b></code></dt>
- <dd>
- <i>number</i>: integer, <code>0</code> to <code>1e+9</code> inclusive<br />
- Default value: <code>20</code>
- </dd>
- <dd>
- The <u>maximum</u> number of decimal places of the results of operations involving
- division, i.e. division, square root and base conversion operations, and power
- operations with negative exponents.<br />
- </dd>
- <dd>
- <pre>BigNumber.config({ DECIMAL_PLACES: 5 })
-BigNumber.set({ DECIMAL_PLACES: 5 }) // equivalent</pre>
- </dd>
-
-
-
- <dt id="rounding-mode"><code><b>ROUNDING_MODE</b></code></dt>
- <dd>
- <i>number</i>: integer, <code>0</code> to <code>8</code> inclusive<br />
- Default value: <code>4</code> <a href="#round-half-up">(<code>ROUND_HALF_UP</code>)</a>
- </dd>
- <dd>
- The rounding mode used in the above operations and the default rounding mode of
- <a href='#dp'><code>decimalPlaces</code></a>,
- <a href='#sd'><code>precision</code></a>,
- <a href='#toE'><code>toExponential</code></a>,
- <a href='#toFix'><code>toFixed</code></a>,
- <a href='#toFor'><code>toFormat</code></a> and
- <a href='#toP'><code>toPrecision</code></a>.
- </dd>
- <dd>The modes are available as enumerated properties of the BigNumber constructor.</dd>
- <dd>
- <pre>BigNumber.config({ ROUNDING_MODE: 0 })
-BigNumber.set({ ROUNDING_MODE: BigNumber.ROUND_UP }) // equivalent</pre>
- </dd>
-
-
-
- <dt id="exponential-at"><code><b>EXPONENTIAL_AT</b></code></dt>
- <dd>
- <i>number</i>: integer, magnitude <code>0</code> to <code>1e+9</code> inclusive, or
- <br />
- <i>number</i>[]: [ integer <code>-1e+9</code> to <code>0</code> inclusive, integer
- <code>0</code> to <code>1e+9</code> inclusive ]<br />
- Default value: <code>[-7, 20]</code>
- </dd>
- <dd>
- The exponent value(s) at which <code>toString</code> returns exponential notation.
- </dd>
- <dd>
- If a single number is assigned, the value is the exponent magnitude.<br />
- If an array of two numbers is assigned then the first number is the negative exponent
- value at and beneath which exponential notation is used, and the second number is the
- positive exponent value at and above which the same.
- </dd>
- <dd>
- For example, to emulate JavaScript numbers in terms of the exponent values at which they
- begin to use exponential notation, use <code>[-7, 20]</code>.
- </dd>
- <dd>
- <pre>BigNumber.config({ EXPONENTIAL_AT: 2 })
-new BigNumber(12.3) // '12.3' e is only 1
-new BigNumber(123) // '1.23e+2'
-new BigNumber(0.123) // '0.123' e is only -1
-new BigNumber(0.0123) // '1.23e-2'
-
-BigNumber.config({ EXPONENTIAL_AT: [-7, 20] })
-new BigNumber(123456789) // '123456789' e is only 8
-new BigNumber(0.000000123) // '1.23e-7'
-
-// Almost never return exponential notation:
-BigNumber.config({ EXPONENTIAL_AT: 1e+9 })
-
-// Always return exponential notation:
-BigNumber.config({ EXPONENTIAL_AT: 0 })</pre>
- </dd>
- <dd>
- Regardless of the value of <code>EXPONENTIAL_AT</code>, the <code>toFixed</code> method
- will always return a value in normal notation and the <code>toExponential</code> method
- will always return a value in exponential form.
- </dd>
- <dd>
- Calling <code>toString</code> with a base argument, e.g. <code>toString(10)</code>, will
- also always return normal notation.
- </dd>
-
-
-
- <dt id="range"><code><b>RANGE</b></code></dt>
- <dd>
- <i>number</i>: integer, magnitude <code>1</code> to <code>1e+9</code> inclusive, or
- <br />
- <i>number</i>[]: [ integer <code>-1e+9</code> to <code>-1</code> inclusive, integer
- <code>1</code> to <code>1e+9</code> inclusive ]<br />
- Default value: <code>[-1e+9, 1e+9]</code>
- </dd>
- <dd>
- The exponent value(s) beyond which overflow to <code>Infinity</code> and underflow to
- zero occurs.
- </dd>
- <dd>
- If a single number is assigned, it is the maximum exponent magnitude: values wth a
- positive exponent of greater magnitude become <code>Infinity</code> and those with a
- negative exponent of greater magnitude become zero.
- <dd>
- If an array of two numbers is assigned then the first number is the negative exponent
- limit and the second number is the positive exponent limit.
- </dd>
- <dd>
- For example, to emulate JavaScript numbers in terms of the exponent values at which they
- become zero and <code>Infinity</code>, use <code>[-324, 308]</code>.
- </dd>
- <dd>
- <pre>BigNumber.config({ RANGE: 500 })
-BigNumber.config().RANGE // [ -500, 500 ]
-new BigNumber('9.999e499') // '9.999e+499'
-new BigNumber('1e500') // 'Infinity'
-new BigNumber('1e-499') // '1e-499'
-new BigNumber('1e-500') // '0'
-
-BigNumber.config({ RANGE: [-3, 4] })
-new BigNumber(99999) // '99999' e is only 4
-new BigNumber(100000) // 'Infinity' e is 5
-new BigNumber(0.001) // '0.01' e is only -3
-new BigNumber(0.0001) // '0' e is -4</pre>
- </dd>
- <dd>
- The largest possible magnitude of a finite BigNumber is
- <code>9.999...e+1000000000</code>.<br />
- The smallest possible magnitude of a non-zero BigNumber is <code>1e-1000000000</code>.
- </dd>
-
-
-
- <dt id="crypto"><code><b>CRYPTO</b></code></dt>
- <dd>
- <i>boolean</i>: <code>true</code> or <code>false</code>.<br />
- Default value: <code>false</code>
- </dd>
- <dd>
- The value that determines whether cryptographically-secure pseudo-random number
- generation is used.
- </dd>
- <dd>
- If <code>CRYPTO</code> is set to <code>true</code> then the
- <a href='#random'><code>random</code></a> method will generate random digits using
- <code>crypto.getRandomValues</code> in browsers that support it, or
- <code>crypto.randomBytes</code> if using Node.js.
- </dd>
- <dd>
- If neither function is supported by the host environment then attempting to set
- <code>CRYPTO</code> to <code>true</code> will fail and an exception will be thrown.
- </dd>
- <dd>
- If <code>CRYPTO</code> is <code>false</code> then the source of randomness used will be
- <code>Math.random</code> (which is assumed to generate at least <code>30</code> bits of
- randomness).
- </dd>
- <dd>See <a href='#random'><code>random</code></a>.</dd>
- <dd>
- <pre>
-// Node.js
-global.crypto = require('crypto')
-
-BigNumber.config({ CRYPTO: true })
-BigNumber.config().CRYPTO // true
-BigNumber.random() // 0.54340758610486147524</pre>
- </dd>
-
-
-
- <dt id="modulo-mode"><code><b>MODULO_MODE</b></code></dt>
- <dd>
- <i>number</i>: integer, <code>0</code> to <code>9</code> inclusive<br />
- Default value: <code>1</code> (<a href="#round-down"><code>ROUND_DOWN</code></a>)
- </dd>
- <dd>The modulo mode used when calculating the modulus: <code>a mod n</code>.</dd>
- <dd>
- The quotient, <code>q = a / n</code>, is calculated according to the
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> that corresponds to the chosen
- <code>MODULO_MODE</code>.
- </dd>
- <dd>The remainder, <code>r</code>, is calculated as: <code>r = a - n * q</code>.</dd>
- <dd>
- The modes that are most commonly used for the modulus/remainder operation are shown in
- the following table. Although the other rounding modes can be used, they may not give
- useful results.
- </dd>
- <dd>
- <table>
- <tr><th>Property</th><th>Value</th><th>Description</th></tr>
- <tr>
- <td><b>ROUND_UP</b></td><td class='centre'>0</td>
- <td>
- The remainder is positive if the dividend is negative, otherwise it is negative.
- </td>
- </tr>
- <tr>
- <td><b>ROUND_DOWN</b></td><td class='centre'>1</td>
- <td>
- The remainder has the same sign as the dividend.<br />
- This uses 'truncating division' and matches the behaviour of JavaScript's
- remainder operator <code>%</code>.
- </td>
- </tr>
- <tr>
- <td><b>ROUND_FLOOR</b></td><td class='centre'>3</td>
- <td>
- The remainder has the same sign as the divisor.<br />
- This matches Python's <code>%</code> operator.
- </td>
- </tr>
- <tr>
- <td><b>ROUND_HALF_EVEN</b></td><td class='centre'>6</td>
- <td>The <i>IEEE 754</i> remainder function.</td>
- </tr>
- <tr>
- <td><b>EUCLID</b></td><td class='centre'>9</td>
- <td>
- The remainder is always positive. Euclidian division: <br />
- <code>q = sign(n) * floor(a / abs(n))</code>
- </td>
- </tr>
- </table>
- </dd>
- <dd>
- The rounding/modulo modes are available as enumerated properties of the BigNumber
- constructor.
- </dd>
- <dd>See <a href='#mod'><code>modulo</code></a>.</dd>
- <dd>
- <pre>BigNumber.config({ MODULO_MODE: BigNumber.EUCLID })
-BigNumber.config({ MODULO_MODE: 9 }) // equivalent</pre>
- </dd>
-
-
-
- <dt id="pow-precision"><code><b>POW_PRECISION</b></code></dt>
- <dd>
- <i>number</i>: integer, <code>0</code> to <code>1e+9</code> inclusive.<br />
- Default value: <code>0</code>
- </dd>
- <dd>
- The <i>maximum</i> precision, i.e. number of significant digits, of the result of the power
- operation (unless a modulus is specified).
- </dd>
- <dd>If set to <code>0</code>, the number of significant digits will not be limited.</dd>
- <dd>See <a href='#pow'><code>exponentiatedBy</code></a>.</dd>
- <dd><pre>BigNumber.config({ POW_PRECISION: 100 })</pre></dd>
-
-
-
- <dt id="format"><code><b>FORMAT</b></code></dt>
- <dd><i>object</i></dd>
- <dd>
- The <code>FORMAT</code> object configures the format of the string returned by the
- <a href='#toFor'><code>toFormat</code></a> method.
- </dd>
- <dd>
- The example below shows the properties of the <code>FORMAT</code> object that are
- recognised, and their default values.
- </dd>
- <dd>
- Unlike the other configuration properties, the values of the properties of the
- <code>FORMAT</code> object will not be checked for validity. The existing
- <code>FORMAT</code> object will simply be replaced by the object that is passed in.
- The object can include any number of the properties shown below.
- </dd>
- <dd>See <a href='#toFor'><code>toFormat</code></a> for examples of usage.</dd>
- <dd>
- <pre>
-BigNumber.config({
- FORMAT: {
- // string to prepend
- prefix: '',
- // decimal separator
- decimalSeparator: '.',
- // grouping separator of the integer part
- groupSeparator: ',',
- // primary grouping size of the integer part
- groupSize: 3,
- // secondary grouping size of the integer part
- secondaryGroupSize: 0,
- // grouping separator of the fraction part
- fractionGroupSeparator: ' ',
- // grouping size of the fraction part
- fractionGroupSize: 0,
- // string to append
- suffix: ''
- }
-});</pre>
- </dd>
-
-
-
- <dt id="alphabet"><code><b>ALPHABET</b></code></dt>
- <dd>
- <i>string</i><br />
- Default value: <code>'0123456789abcdefghijklmnopqrstuvwxyz'</code>
- </dd>
- <dd>
- The alphabet used for base conversion. The length of the alphabet corresponds to the
- maximum value of the base argument that can be passed to the
- <a href='#bignumber'><code>BigNumber</code></a> constructor or
- <a href='#toS'><code>toString</code></a>.
- </dd>
- <dd>
- There is no maximum length for the alphabet, but it must be at least 2 characters long, and
- it must not contain whitespace or a repeated character, or the sign indicators
- <code>'+'</code> and <code>'-'</code>, or the decimal separator <code>'.'</code>.
- </dd>
- <dd>
- <pre>// duodecimal (base 12)
-BigNumber.config({ ALPHABET: '0123456789TE' })
-x = new BigNumber('T', 12)
-x.toString() // '10'
-x.toString(12) // 'T'</pre>
- </dd>
-
-
-
- </dl>
- <br /><br />
- <p>Returns an object with the above properties and their current values.</p>
- <p>
- Throws if <code>object</code> is not an object, or if an invalid value is assigned to
- one or more of the above properties. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-BigNumber.config({
- DECIMAL_PLACES: 40,
- ROUNDING_MODE: BigNumber.ROUND_HALF_CEIL,
- EXPONENTIAL_AT: [-10, 20],
- RANGE: [-500, 500],
- CRYPTO: true,
- MODULO_MODE: BigNumber.ROUND_FLOOR,
- POW_PRECISION: 80,
- FORMAT: {
- groupSize: 3,
- groupSeparator: ' ',
- decimalSeparator: ','
- },
- ALPHABET: '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'
-});
-
-obj = BigNumber.config();
-obj.DECIMAL_PLACES // 40
-obj.RANGE // [-500, 500]</pre>
-
-
-
- <h5 id="isBigNumber">
- isBigNumber<code class='inset'>.isBigNumber(value) <i>&rArr; boolean</i></code>
- </h5>
- <p><code>value</code>: <i>any</i><br /></p>
- <p>
- Returns <code>true</code> if <code>value</code> is a BigNumber instance, otherwise returns
- <code>false</code>.
- </p>
- <pre>x = 42
-y = new BigNumber(x)
-
-BigNumber.isBigNumber(x) // false
-y instanceof BigNumber // true
-BigNumber.isBigNumber(y) // true
-
-BN = BigNumber.clone();
-z = new BN(x)
-z instanceof BigNumber // false
-BigNumber.isBigNumber(z) // true</pre>
- <p>
- If <code>value</code> is a BigNumber instance and <code>BigNumber.DEBUG</code> is <code>true</code>,
- then this method will also check if <code>value</code> is well-formed, and throw if it is not.
- See <a href='#Errors'>Errors</a>.
- </p>
- <p>
- The check can be useful if creating a BigNumber from an object literal.
- See <a href='#bignumber'>BigNumber</a>.
- </p>
- <pre>
-x = new BigNumber(10)
-
-// Change x.c to an illegitimate value.
-x.c = NaN
-
-BigNumber.DEBUG = false
-
-// No error.
-BigNumber.isBigNumber(x) // true
-
-BigNumber.DEBUG = true
-
-// Error.
-BigNumber.isBigNumber(x) // '[BigNumber Error] Invalid BigNumber'</pre>
-
-
-
- <h5 id="max">maximum<code class='inset'>.max(n...) <i>&rArr; BigNumber</i></code></h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <i>See <code><a href="#bignumber">BigNumber</a></code> for further parameter details.</i>
- </p>
- <p>
- Returns a BigNumber whose value is the maximum of the arguments.
- </p>
- <p>The return value is always exact and unrounded.</p>
- <pre>x = new BigNumber('3257869345.0378653')
-BigNumber.maximum(4e9, x, '123456789.9') // '4000000000'
-
-arr = [12, '13', new BigNumber(14)]
-BigNumber.max.apply(null, arr) // '14'</pre>
-
-
-
- <h5 id="min">minimum<code class='inset'>.min(n...) <i>&rArr; BigNumber</i></code></h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <i>See <code><a href="#bignumber">BigNumber</a></code> for further parameter details.</i>
- </p>
- <p>
- Returns a BigNumber whose value is the minimum of the arguments.
- </p>
- <p>The return value is always exact and unrounded.</p>
- <pre>x = new BigNumber('3257869345.0378653')
-BigNumber.minimum(4e9, x, '123456789.9') // '123456789.9'
-
-arr = [2, new BigNumber(-14), '-15.9999', -12]
-BigNumber.min.apply(null, arr) // '-15.9999'</pre>
-
-
-
- <h5 id="random">
- random<code class='inset'>.random([dp]) <i>&rArr; BigNumber</i></code>
- </h5>
- <p><code>dp</code>: <i>number</i>: integer, <code>0</code> to <code>1e+9</code> inclusive</p>
- <p>
- Returns a new BigNumber with a pseudo-random value equal to or greater than <code>0</code> and
- less than <code>1</code>.
- </p>
- <p>
- The return value will have <code>dp</code> decimal places (or less if trailing zeros are
- produced).<br />
- If <code>dp</code> is omitted then the number of decimal places will default to the current
- <a href='#decimal-places'><code>DECIMAL_PLACES</code></a> setting.
- </p>
- <p>
- Depending on the value of this BigNumber constructor's
- <a href='#crypto'><code>CRYPTO</code></a> setting and the support for the
- <code>crypto</code> object in the host environment, the random digits of the return value are
- generated by either <code>Math.random</code> (fastest), <code>crypto.getRandomValues</code>
- (Web Cryptography API in recent browsers) or <code>crypto.randomBytes</code> (Node.js).
- </p>
- <p>
- To be able to set <a href='#crypto'><code>CRYPTO</code></a> to <code>true</code> when using
- Node.js, the <code>crypto</code> object must be available globally:
- </p>
- <pre>global.crypto = require('crypto')</pre>
- <p>
- If <a href='#crypto'><code>CRYPTO</code></a> is <code>true</code>, i.e. one of the
- <code>crypto</code> methods is to be used, the value of a returned BigNumber should be
- cryptographically-secure and statistically indistinguishable from a random value.
- </p>
- <p>
- Throws if <code>dp</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>BigNumber.config({ DECIMAL_PLACES: 10 })
-BigNumber.random() // '0.4117936847'
-BigNumber.random(20) // '0.78193327636914089009'</pre>
-
-
-
- <h5 id="sum">sum<code class='inset'>.sum(n...) <i>&rArr; BigNumber</i></code></h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <i>See <code><a href="#bignumber">BigNumber</a></code> for further parameter details.</i>
- </p>
- <p>Returns a BigNumber whose value is the sum of the arguments.</p>
- <p>The return value is always exact and unrounded.</p>
- <pre>x = new BigNumber('3257869345.0378653')
-BigNumber.sum(4e9, x, '123456789.9') // '7381326134.9378653'
-
-arr = [2, new BigNumber(14), '15.9999', 12]
-BigNumber.sum.apply(null, arr) // '43.9999'</pre>
-
-
-
- <h4 id="constructor-properties">Properties</h4>
- <p>
- The library's enumerated rounding modes are stored as properties of the constructor.<br />
- (They are not referenced internally by the library itself.)
- </p>
- <p>
- Rounding modes <code>0</code> to <code>6</code> (inclusive) are the same as those of Java's
- BigDecimal class.
- </p>
- <table>
- <tr>
- <th>Property</th>
- <th>Value</th>
- <th>Description</th>
- </tr>
- <tr>
- <td id="round-up"><b>ROUND_UP</b></td>
- <td class='centre'>0</td>
- <td>Rounds away from zero</td>
- </tr>
- <tr>
- <td id="round-down"><b>ROUND_DOWN</b></td>
- <td class='centre'>1</td>
- <td>Rounds towards zero</td>
- </tr>
- <tr>
- <td id="round-ceil"><b>ROUND_CEIL</b></td>
- <td class='centre'>2</td>
- <td>Rounds towards <code>Infinity</code></td>
- </tr>
- <tr>
- <td id="round-floor"><b>ROUND_FLOOR</b></td>
- <td class='centre'>3</td>
- <td>Rounds towards <code>-Infinity</code></td>
- </tr>
- <tr>
- <td id="round-half-up"><b>ROUND_HALF_UP</b></td>
- <td class='centre'>4</td>
- <td>
- Rounds towards nearest neighbour.<br />
- If equidistant, rounds away from zero
- </td>
- </tr>
- <tr>
- <td id="round-half-down"><b>ROUND_HALF_DOWN</b></td>
- <td class='centre'>5</td>
- <td>
- Rounds towards nearest neighbour.<br />
- If equidistant, rounds towards zero
- </td>
- </tr>
- <tr>
- <td id="round-half-even"><b>ROUND_HALF_EVEN</b></td>
- <td class='centre'>6</td>
- <td>
- Rounds towards nearest neighbour.<br />
- If equidistant, rounds towards even neighbour
- </td>
- </tr>
- <tr>
- <td id="round-half-ceil"><b>ROUND_HALF_CEIL</b></td>
- <td class='centre'>7</td>
- <td>
- Rounds towards nearest neighbour.<br />
- If equidistant, rounds towards <code>Infinity</code>
- </td>
- </tr>
- <tr>
- <td id="round-half-floor"><b>ROUND_HALF_FLOOR</b></td>
- <td class='centre'>8</td>
- <td>
- Rounds towards nearest neighbour.<br />
- If equidistant, rounds towards <code>-Infinity</code>
- </td>
- </tr>
- </table>
- <pre>
-BigNumber.config({ ROUNDING_MODE: BigNumber.ROUND_CEIL })
-BigNumber.config({ ROUNDING_MODE: 2 }) // equivalent</pre>
-
- <h5 id="debug">DEBUG</h5>
- <p><i>undefined|false|true</i></p>
- <p>
- If <code>BigNumber.DEBUG</code> is set <code>true</code> then an error will be thrown
- if this <a href='#bignumber'>BigNumber</a> constructor receives an invalid value, such as
- a value of type <em>number</em> with more than <code>15</code> significant digits.
- See <a href='#bignumber'>BigNumber</a>.
- </p>
- <p>
- An error will also be thrown if the <code><a href='#isBigNumber'>isBigNumber</a></code>
- method receives a BigNumber that is not well-formed.
- See <code><a href='#isBigNumber'>isBigNumber</a></code>.
- </p>
- <pre>BigNumber.DEBUG = true</pre>
-
-
- <h3>INSTANCE</h3>
-
-
- <h4 id="prototype-methods">Methods</h4>
- <p>The methods inherited by a BigNumber instance from its constructor's prototype object.</p>
- <p>A BigNumber is immutable in the sense that it is not changed by its methods. </p>
- <p>
- The treatment of &plusmn;<code>0</code>, &plusmn;<code>Infinity</code> and <code>NaN</code> is
- consistent with how JavaScript treats these values.
- </p>
- <p>Many method names have a shorter alias.</p>
-
-
-
- <h5 id="abs">absoluteValue<code class='inset'>.abs() <i>&rArr; BigNumber</i></code></h5>
- <p>
- Returns a BigNumber whose value is the absolute value, i.e. the magnitude, of the value of
- this BigNumber.
- </p>
- <p>The return value is always exact and unrounded.</p>
- <pre>
-x = new BigNumber(-0.8)
-y = x.absoluteValue() // '0.8'
-z = y.abs() // '0.8'</pre>
-
-
-
- <h5 id="cmp">
- comparedTo<code class='inset'>.comparedTo(n [, base]) <i>&rArr; number</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <table>
- <tr><th>Returns</th><th>&nbsp;</th></tr>
- <tr>
- <td class='centre'><code>1</code></td>
- <td>If the value of this BigNumber is greater than the value of <code>n</code></td>
- </tr>
- <tr>
- <td class='centre'><code>-1</code></td>
- <td>If the value of this BigNumber is less than the value of <code>n</code></td>
- </tr>
- <tr>
- <td class='centre'><code>0</code></td>
- <td>If this BigNumber and <code>n</code> have the same value</td>
- </tr>
- <tr>
- <td class='centre'><code>null</code></td>
- <td>If the value of either this BigNumber or <code>n</code> is <code>NaN</code></td>
- </tr>
- </table>
- <pre>
-x = new BigNumber(Infinity)
-y = new BigNumber(5)
-x.comparedTo(y) // 1
-x.comparedTo(x.minus(1)) // 0
-y.comparedTo(NaN) // null
-y.comparedTo('110', 2) // -1</pre>
-
-
-
- <h5 id="dp">
- decimalPlaces<code class='inset'>.dp([dp [, rm]]) <i>&rArr; BigNumber|number</i></code>
- </h5>
- <p>
- <code>dp</code>: <i>number</i>: integer, <code>0</code> to <code>1e+9</code> inclusive<br />
- <code>rm</code>: <i>number</i>: integer, <code>0</code> to <code>8</code> inclusive
- </p>
- <p>
- If <code>dp</code> is a number, returns a BigNumber whose value is the value of this BigNumber
- rounded by rounding mode <code>rm</code> to a maximum of <code>dp</code> decimal places.
- </p>
- <p>
- If <code>dp</code> is omitted, or is <code>null</code> or <code>undefined</code>, the return
- value is the number of decimal places of the value of this BigNumber, or <code>null</code> if
- the value of this BigNumber is &plusmn;<code>Infinity</code> or <code>NaN</code>.
- </p>
- <p>
- If <code>rm</code> is omitted, or is <code>null</code> or <code>undefined</code>,
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> is used.
- </p>
- <p>
- Throws if <code>dp</code> or <code>rm</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = new BigNumber(1234.56)
-x.decimalPlaces(1) // '1234.6'
-x.dp() // 2
-x.decimalPlaces(2) // '1234.56'
-x.dp(10) // '1234.56'
-x.decimalPlaces(0, 1) // '1234'
-x.dp(0, 6) // '1235'
-x.decimalPlaces(1, 1) // '1234.5'
-x.dp(1, BigNumber.ROUND_HALF_EVEN) // '1234.6'
-x // '1234.56'
-y = new BigNumber('9.9e-101')
-y.dp() // 102</pre>
-
-
-
- <h5 id="div">dividedBy<code class='inset'>.div(n [, base]) <i>&rArr; BigNumber</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns a BigNumber whose value is the value of this BigNumber divided by
- <code>n</code>, rounded according to the current
- <a href='#decimal-places'><code>DECIMAL_PLACES</code></a> and
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> settings.
- </p>
- <pre>
-x = new BigNumber(355)
-y = new BigNumber(113)
-x.dividedBy(y) // '3.14159292035398230088'
-x.div(5) // '71'
-x.div(47, 16) // '5'</pre>
-
-
-
- <h5 id="divInt">
- dividedToIntegerBy<code class='inset'>.idiv(n [, base]) &rArr;
- <i>BigNumber</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns a BigNumber whose value is the integer part of dividing the value of this BigNumber by
- <code>n</code>.
- </p>
- <pre>
-x = new BigNumber(5)
-y = new BigNumber(3)
-x.dividedToIntegerBy(y) // '1'
-x.idiv(0.7) // '7'
-x.idiv('0.f', 16) // '5'</pre>
-
-
-
- <h5 id="pow">
- exponentiatedBy<code class='inset'>.pow(n [, m]) <i>&rArr; BigNumber</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i>: integer<br />
- <code>m</code>: <i>number|string|BigNumber</i>
- </p>
- <p>
- Returns a BigNumber whose value is the value of this BigNumber exponentiated by
- <code>n</code>, i.e. raised to the power <code>n</code>, and optionally modulo a modulus
- <code>m</code>.
- </p>
- <p>
- Throws if <code>n</code> is not an integer. See <a href='#Errors'>Errors</a>.
- </p>
- <p>
- If <code>n</code> is negative the result is rounded according to the current
- <a href='#decimal-places'><code>DECIMAL_PLACES</code></a> and
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> settings.
- </p>
- <p>
- As the number of digits of the result of the power operation can grow so large so quickly,
- e.g. 123.456<sup>10000</sup> has over <code>50000</code> digits, the number of significant
- digits calculated is limited to the value of the
- <a href='#pow-precision'><code>POW_PRECISION</code></a> setting (unless a modulus
- <code>m</code> is specified).
- </p>
- <p>
- By default <a href='#pow-precision'><code>POW_PRECISION</code></a> is set to <code>0</code>.
- This means that an unlimited number of significant digits will be calculated, and that the
- method's performance will decrease dramatically for larger exponents.
- </p>
- <p>
- If <code>m</code> is specified and the value of <code>m</code>, <code>n</code> and this
- BigNumber are integers, and <code>n</code> is positive, then a fast modular exponentiation
- algorithm is used, otherwise the operation will be performed as
- <code>x.exponentiatedBy(n).modulo(m)</code> with a
- <a href='#pow-precision'><code>POW_PRECISION</code></a> of <code>0</code>.
- </p>
- <pre>
-Math.pow(0.7, 2) // 0.48999999999999994
-x = new BigNumber(0.7)
-x.exponentiatedBy(2) // '0.49'
-BigNumber(3).pow(-2) // '0.11111111111111111111'</pre>
-
-
-
- <h5 id="int">
- integerValue<code class='inset'>.integerValue([rm]) <i>&rArr; BigNumber</i></code>
- </h5>
- <p>
- <code>rm</code>: <i>number</i>: integer, <code>0</code> to <code>8</code> inclusive
- </p>
- <p>
- Returns a BigNumber whose value is the value of this BigNumber rounded to an integer using
- rounding mode <code>rm</code>.
- </p>
- <p>
- If <code>rm</code> is omitted, or is <code>null</code> or <code>undefined</code>,
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> is used.
- </p>
- <p>
- Throws if <code>rm</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = new BigNumber(123.456)
-x.integerValue() // '123'
-x.integerValue(BigNumber.ROUND_CEIL) // '124'
-y = new BigNumber(-12.7)
-y.integerValue() // '-13'
-y.integerValue(BigNumber.ROUND_DOWN) // '-12'</pre>
- <p>
- The following is an example of how to add a prototype method that emulates JavaScript's
- <code>Math.round</code> function. <code>Math.ceil</code>, <code>Math.floor</code> and
- <code>Math.trunc</code> can be emulated in the same way with
- <code>BigNumber.ROUND_CEIL</code>, <code>BigNumber.ROUND_FLOOR</code> and
- <code> BigNumber.ROUND_DOWN</code> respectively.
- </p>
- <pre>
-BigNumber.prototype.round = function (n) {
- return n.integerValue(BigNumber.ROUND_HALF_CEIL);
-};
-x.round() // '123'</pre>
-
-
-
- <h5 id="eq">isEqualTo<code class='inset'>.eq(n [, base]) <i>&rArr; boolean</i></code></h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns <code>true</code> if the value of this BigNumber is equal to the value of
- <code>n</code>, otherwise returns <code>false</code>.<br />
- As with JavaScript, <code>NaN</code> does not equal <code>NaN</code>.
- </p>
- <p>Note: This method uses the <a href='#cmp'><code>comparedTo</code></a> method internally.</p>
- <pre>
-0 === 1e-324 // true
-x = new BigNumber(0)
-x.isEqualTo('1e-324') // false
-BigNumber(-0).eq(x) // true ( -0 === 0 )
-BigNumber(255).eq('ff', 16) // true
-
-y = new BigNumber(NaN)
-y.isEqualTo(NaN) // false</pre>
-
-
-
- <h5 id="isF">isFinite<code class='inset'>.isFinite() <i>&rArr; boolean</i></code></h5>
- <p>
- Returns <code>true</code> if the value of this BigNumber is a finite number, otherwise
- returns <code>false</code>.
- </p>
- <p>
- The only possible non-finite values of a BigNumber are <code>NaN</code>, <code>Infinity</code>
- and <code>-Infinity</code>.
- </p>
- <pre>
-x = new BigNumber(1)
-x.isFinite() // true
-y = new BigNumber(Infinity)
-y.isFinite() // false</pre>
- <p>
- Note: The native method <code>isFinite()</code> can be used if
- <code>n &lt;= Number.MAX_VALUE</code>.
- </p>
-
-
-
- <h5 id="gt">isGreaterThan<code class='inset'>.gt(n [, base]) <i>&rArr; boolean</i></code></h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns <code>true</code> if the value of this BigNumber is greater than the value of
- <code>n</code>, otherwise returns <code>false</code>.
- </p>
- <p>Note: This method uses the <a href='#cmp'><code>comparedTo</code></a> method internally.</p>
- <pre>
-0.1 &gt; (0.3 - 0.2) // true
-x = new BigNumber(0.1)
-x.isGreaterThan(BigNumber(0.3).minus(0.2)) // false
-BigNumber(0).gt(x) // false
-BigNumber(11, 3).gt(11.1, 2) // true</pre>
-
-
-
- <h5 id="gte">
- isGreaterThanOrEqualTo<code class='inset'>.gte(n [, base]) <i>&rArr; boolean</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns <code>true</code> if the value of this BigNumber is greater than or equal to the value
- of <code>n</code>, otherwise returns <code>false</code>.
- </p>
- <p>Note: This method uses the <a href='#cmp'><code>comparedTo</code></a> method internally.</p>
- <pre>
-(0.3 - 0.2) &gt;= 0.1 // false
-x = new BigNumber(0.3).minus(0.2)
-x.isGreaterThanOrEqualTo(0.1) // true
-BigNumber(1).gte(x) // true
-BigNumber(10, 18).gte('i', 36) // true</pre>
-
-
-
- <h5 id="isInt">isInteger<code class='inset'>.isInteger() <i>&rArr; boolean</i></code></h5>
- <p>
- Returns <code>true</code> if the value of this BigNumber is an integer, otherwise returns
- <code>false</code>.
- </p>
- <pre>
-x = new BigNumber(1)
-x.isInteger() // true
-y = new BigNumber(123.456)
-y.isInteger() // false</pre>
-
-
-
- <h5 id="lt">isLessThan<code class='inset'>.lt(n [, base]) <i>&rArr; boolean</i></code></h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns <code>true</code> if the value of this BigNumber is less than the value of
- <code>n</code>, otherwise returns <code>false</code>.
- </p>
- <p>Note: This method uses the <a href='#cmp'><code>comparedTo</code></a> method internally.</p>
- <pre>
-(0.3 - 0.2) &lt; 0.1 // true
-x = new BigNumber(0.3).minus(0.2)
-x.isLessThan(0.1) // false
-BigNumber(0).lt(x) // true
-BigNumber(11.1, 2).lt(11, 3) // true</pre>
-
-
-
- <h5 id="lte">
- isLessThanOrEqualTo<code class='inset'>.lte(n [, base]) <i>&rArr; boolean</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns <code>true</code> if the value of this BigNumber is less than or equal to the value of
- <code>n</code>, otherwise returns <code>false</code>.
- </p>
- <p>Note: This method uses the <a href='#cmp'><code>comparedTo</code></a> method internally.</p>
- <pre>
-0.1 &lt;= (0.3 - 0.2) // false
-x = new BigNumber(0.1)
-x.isLessThanOrEqualTo(BigNumber(0.3).minus(0.2)) // true
-BigNumber(-1).lte(x) // true
-BigNumber(10, 18).lte('i', 36) // true</pre>
-
-
-
- <h5 id="isNaN">isNaN<code class='inset'>.isNaN() <i>&rArr; boolean</i></code></h5>
- <p>
- Returns <code>true</code> if the value of this BigNumber is <code>NaN</code>, otherwise
- returns <code>false</code>.
- </p>
- <pre>
-x = new BigNumber(NaN)
-x.isNaN() // true
-y = new BigNumber('Infinity')
-y.isNaN() // false</pre>
- <p>Note: The native method <code>isNaN()</code> can also be used.</p>
-
-
-
- <h5 id="isNeg">isNegative<code class='inset'>.isNegative() <i>&rArr; boolean</i></code></h5>
- <p>
- Returns <code>true</code> if the sign of this BigNumber is negative, otherwise returns
- <code>false</code>.
- </p>
- <pre>
-x = new BigNumber(-0)
-x.isNegative() // true
-y = new BigNumber(2)
-y.isNegative() // false</pre>
- <p>Note: <code>n &lt; 0</code> can be used if <code>n &lt;= -Number.MIN_VALUE</code>.</p>
-
-
-
- <h5 id="isPos">isPositive<code class='inset'>.isPositive() <i>&rArr; boolean</i></code></h5>
- <p>
- Returns <code>true</code> if the sign of this BigNumber is positive, otherwise returns
- <code>false</code>.
- </p>
- <pre>
-x = new BigNumber(-0)
-x.isPositive() // false
-y = new BigNumber(2)
-y.isPositive() // true</pre>
-
-
-
- <h5 id="isZ">isZero<code class='inset'>.isZero() <i>&rArr; boolean</i></code></h5>
- <p>
- Returns <code>true</code> if the value of this BigNumber is zero or minus zero, otherwise
- returns <code>false</code>.
- </p>
- <pre>
-x = new BigNumber(-0)
-x.isZero() && x.isNegative() // true
-y = new BigNumber(Infinity)
-y.isZero() // false</pre>
- <p>Note: <code>n == 0</code> can be used if <code>n &gt;= Number.MIN_VALUE</code>.</p>
-
-
-
- <h5 id="minus">
- minus<code class='inset'>.minus(n [, base]) <i>&rArr; BigNumber</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>Returns a BigNumber whose value is the value of this BigNumber minus <code>n</code>.</p>
- <p>The return value is always exact and unrounded.</p>
- <pre>
-0.3 - 0.1 // 0.19999999999999998
-x = new BigNumber(0.3)
-x.minus(0.1) // '0.2'
-x.minus(0.6, 20) // '0'</pre>
-
-
-
- <h5 id="mod">modulo<code class='inset'>.mod(n [, base]) <i>&rArr; BigNumber</i></code></h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns a BigNumber whose value is the value of this BigNumber modulo <code>n</code>, i.e.
- the integer remainder of dividing this BigNumber by <code>n</code>.
- </p>
- <p>
- The value returned, and in particular its sign, is dependent on the value of the
- <a href='#modulo-mode'><code>MODULO_MODE</code></a> setting of this BigNumber constructor.
- If it is <code>1</code> (default value), the result will have the same sign as this BigNumber,
- and it will match that of Javascript's <code>%</code> operator (within the limits of double
- precision) and BigDecimal's <code>remainder</code> method.
- </p>
- <p>The return value is always exact and unrounded.</p>
- <p>
- See <a href='#modulo-mode'><code>MODULO_MODE</code></a> for a description of the other
- modulo modes.
- </p>
- <pre>
-1 % 0.9 // 0.09999999999999998
-x = new BigNumber(1)
-x.modulo(0.9) // '0.1'
-y = new BigNumber(33)
-y.mod('a', 33) // '3'</pre>
-
-
-
- <h5 id="times">
- multipliedBy<code class='inset'>.times(n [, base]) <i>&rArr; BigNumber</i></code>
- </h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>
- Returns a BigNumber whose value is the value of this BigNumber multiplied by <code>n</code>.
- </p>
- <p>The return value is always exact and unrounded.</p>
- <pre>
-0.6 * 3 // 1.7999999999999998
-x = new BigNumber(0.6)
-y = x.multipliedBy(3) // '1.8'
-BigNumber('7e+500').times(y) // '1.26e+501'
-x.multipliedBy('-a', 16) // '-6'</pre>
-
-
-
- <h5 id="neg">negated<code class='inset'>.negated() <i>&rArr; BigNumber</i></code></h5>
- <p>
- Returns a BigNumber whose value is the value of this BigNumber negated, i.e. multiplied by
- <code>-1</code>.
- </p>
- <pre>
-x = new BigNumber(1.8)
-x.negated() // '-1.8'
-y = new BigNumber(-1.3)
-y.negated() // '1.3'</pre>
-
-
-
- <h5 id="plus">plus<code class='inset'>.plus(n [, base]) <i>&rArr; BigNumber</i></code></h5>
- <p>
- <code>n</code>: <i>number|string|BigNumber</i><br />
- <code>base</code>: <i>number</i><br />
- <i>See <a href="#bignumber">BigNumber</a> for further parameter details.</i>
- </p>
- <p>Returns a BigNumber whose value is the value of this BigNumber plus <code>n</code>.</p>
- <p>The return value is always exact and unrounded.</p>
- <pre>
-0.1 + 0.2 // 0.30000000000000004
-x = new BigNumber(0.1)
-y = x.plus(0.2) // '0.3'
-BigNumber(0.7).plus(x).plus(y) // '1'
-x.plus('0.1', 8) // '0.225'</pre>
-
-
-
- <h5 id="sd">
- precision<code class='inset'>.sd([d [, rm]]) <i>&rArr; BigNumber|number</i></code>
- </h5>
- <p>
- <code>d</code>: <i>number|boolean</i>: integer, <code>1</code> to <code>1e+9</code>
- inclusive, or <code>true</code> or <code>false</code><br />
- <code>rm</code>: <i>number</i>: integer, <code>0</code> to <code>8</code> inclusive.
- </p>
- <p>
- If <code>d</code> is a number, returns a BigNumber whose value is the value of this BigNumber
- rounded to a precision of <code>d</code> significant digits using rounding mode
- <code>rm</code>.
- </p>
- <p>
- If <code>d</code> is omitted or is <code>null</code> or <code>undefined</code>, the return
- value is the number of significant digits of the value of this BigNumber, or <code>null</code>
- if the value of this BigNumber is &plusmn;<code>Infinity</code> or <code>NaN</code>.</p>
- </p>
- <p>
- If <code>d</code> is <code>true</code> then any trailing zeros of the integer
- part of a number are counted as significant digits, otherwise they are not.
- </p>
- <p>
- If <code>rm</code> is omitted or is <code>null</code> or <code>undefined</code>,
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> will be used.
- </p>
- <p>
- Throws if <code>d</code> or <code>rm</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = new BigNumber(9876.54321)
-x.precision(6) // '9876.54'
-x.sd() // 9
-x.precision(6, BigNumber.ROUND_UP) // '9876.55'
-x.sd(2) // '9900'
-x.precision(2, 1) // '9800'
-x // '9876.54321'
-y = new BigNumber(987000)
-y.precision() // 3
-y.sd(true) // 6</pre>
-
-
-
-<h5 id="shift">shiftedBy<code class='inset'>.shiftedBy(n) <i>&rArr; BigNumber</i></code></h5>
- <p>
- <code>n</code>: <i>number</i>: integer,
- <code>-9007199254740991</code> to <code>9007199254740991</code> inclusive
- </p>
- <p>
- Returns a BigNumber whose value is the value of this BigNumber shifted by <code>n</code>
- places.
- <p>
- The shift is of the decimal point, i.e. of powers of ten, and is to the left if <code>n</code>
- is negative or to the right if <code>n</code> is positive.
- </p>
- <p>The return value is always exact and unrounded.</p>
- <p>
- Throws if <code>n</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = new BigNumber(1.23)
-x.shiftedBy(3) // '1230'
-x.shiftedBy(-3) // '0.00123'</pre>
-
-
-
- <h5 id="sqrt">squareRoot<code class='inset'>.sqrt() <i>&rArr; BigNumber</i></code></h5>
- <p>
- Returns a BigNumber whose value is the square root of the value of this BigNumber,
- rounded according to the current
- <a href='#decimal-places'><code>DECIMAL_PLACES</code></a> and
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> settings.
- </p>
- <p>
- The return value will be correctly rounded, i.e. rounded as if the result was first calculated
- to an infinite number of correct digits before rounding.
- </p>
- <pre>
-x = new BigNumber(16)
-x.squareRoot() // '4'
-y = new BigNumber(3)
-y.sqrt() // '1.73205080756887729353'</pre>
-
-
-
- <h5 id="toE">
- toExponential<code class='inset'>.toExponential([dp [, rm]]) <i>&rArr; string</i></code>
- </h5>
- <p>
- <code>dp</code>: <i>number</i>: integer, <code>0</code> to <code>1e+9</code> inclusive<br />
- <code>rm</code>: <i>number</i>: integer, <code>0</code> to <code>8</code> inclusive
- </p>
- <p>
- Returns a string representing the value of this BigNumber in exponential notation rounded
- using rounding mode <code>rm</code> to <code>dp</code> decimal places, i.e with one digit
- before the decimal point and <code>dp</code> digits after it.
- </p>
- <p>
- If the value of this BigNumber in exponential notation has fewer than <code>dp</code> fraction
- digits, the return value will be appended with zeros accordingly.
- </p>
- <p>
- If <code>dp</code> is omitted, or is <code>null</code> or <code>undefined</code>, the number
- of digits after the decimal point defaults to the minimum number of digits necessary to
- represent the value exactly.<br />
- If <code>rm</code> is omitted or is <code>null</code> or <code>undefined</code>,
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> is used.
- </p>
- <p>
- Throws if <code>dp</code> or <code>rm</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = 45.6
-y = new BigNumber(x)
-x.toExponential() // '4.56e+1'
-y.toExponential() // '4.56e+1'
-x.toExponential(0) // '5e+1'
-y.toExponential(0) // '5e+1'
-x.toExponential(1) // '4.6e+1'
-y.toExponential(1) // '4.6e+1'
-y.toExponential(1, 1) // '4.5e+1' (ROUND_DOWN)
-x.toExponential(3) // '4.560e+1'
-y.toExponential(3) // '4.560e+1'</pre>
-
-
-
- <h5 id="toFix">
- toFixed<code class='inset'>.toFixed([dp [, rm]]) <i>&rArr; string</i></code>
- </h5>
- <p>
- <code>dp</code>: <i>number</i>: integer, <code>0</code> to <code>1e+9</code> inclusive<br />
- <code>rm</code>: <i>number</i>: integer, <code>0</code> to <code>8</code> inclusive
- </p>
- <p>
- Returns a string representing the value of this BigNumber in normal (fixed-point) notation
- rounded to <code>dp</code> decimal places using rounding mode <code>rm</code>.
- </p>
- <p>
- If the value of this BigNumber in normal notation has fewer than <code>dp</code> fraction
- digits, the return value will be appended with zeros accordingly.
- </p>
- <p>
- Unlike <code>Number.prototype.toFixed</code>, which returns exponential notation if a number
- is greater or equal to <code>10<sup>21</sup></code>, this method will always return normal
- notation.
- </p>
- <p>
- If <code>dp</code> is omitted or is <code>null</code> or <code>undefined</code>, the return
- value will be unrounded and in normal notation. This is also unlike
- <code>Number.prototype.toFixed</code>, which returns the value to zero decimal places.<br />
- It is useful when fixed-point notation is required and the current
- <a href="#exponential-at"><code>EXPONENTIAL_AT</code></a> setting causes
- <code><a href='#toS'>toString</a></code> to return exponential notation.<br />
- If <code>rm</code> is omitted or is <code>null</code> or <code>undefined</code>,
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> is used.
- </p>
- <p>
- Throws if <code>dp</code> or <code>rm</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = 3.456
-y = new BigNumber(x)
-x.toFixed() // '3'
-y.toFixed() // '3.456'
-y.toFixed(0) // '3'
-x.toFixed(2) // '3.46'
-y.toFixed(2) // '3.46'
-y.toFixed(2, 1) // '3.45' (ROUND_DOWN)
-x.toFixed(5) // '3.45600'
-y.toFixed(5) // '3.45600'</pre>
-
-
-
- <h5 id="toFor">
- toFormat<code class='inset'>.toFormat([dp [, rm[, format]]]) <i>&rArr; string</i></code>
- </h5>
- <p>
- <code>dp</code>: <i>number</i>: integer, <code>0</code> to <code>1e+9</code> inclusive<br />
- <code>rm</code>: <i>number</i>: integer, <code>0</code> to <code>8</code> inclusive<br />
- <code>format</code>: <i>object</i>: see <a href='#format'><code>FORMAT</code></a>
- </p>
- <p>
- <p>
- Returns a string representing the value of this BigNumber in normal (fixed-point) notation
- rounded to <code>dp</code> decimal places using rounding mode <code>rm</code>, and formatted
- according to the properties of the <code>format</code> object.
- </p>
- <p>
- See <a href='#format'><code>FORMAT</code></a> and the examples below for the properties of the
- <code>format</code> object, their types, and their usage. A formatting object may contain
- some or all of the recognised properties.
- </p>
- <p>
- If <code>dp</code> is omitted or is <code>null</code> or <code>undefined</code>, then the
- return value is not rounded to a fixed number of decimal places.<br />
- If <code>rm</code> is omitted or is <code>null</code> or <code>undefined</code>,
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> is used.<br />
- If <code>format</code> is omitted or is <code>null</code> or <code>undefined</code>, the
- <a href='#format'><code>FORMAT</code></a> object is used.
- </p>
- <p>
- Throws if <code>dp</code>, <code>rm</code> or <code>format</code> is invalid. See
- <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-fmt = {
- prefix = '',
- decimalSeparator: '.',
- groupSeparator: ',',
- groupSize: 3,
- secondaryGroupSize: 0,
- fractionGroupSeparator: ' ',
- fractionGroupSize: 0,
- suffix = ''
-}
-
-x = new BigNumber('123456789.123456789')
-
-// Set the global formatting options
-BigNumber.config({ FORMAT: fmt })
-
-x.toFormat() // '123,456,789.123456789'
-x.toFormat(3) // '123,456,789.123'
-
-// If a reference to the object assigned to FORMAT has been retained,
-// the format properties can be changed directly
-fmt.groupSeparator = ' '
-fmt.fractionGroupSize = 5
-x.toFormat() // '123 456 789.12345 6789'
-
-// Alternatively, pass the formatting options as an argument
-fmt = {
- prefix: '=> ',
- decimalSeparator: ',',
- groupSeparator: '.',
- groupSize: 3,
- secondaryGroupSize: 2
-}
-
-x.toFormat() // '123 456 789.12345 6789'
-x.toFormat(fmt) // '=> 12.34.56.789,123456789'
-x.toFormat(2, fmt) // '=> 12.34.56.789,12'
-x.toFormat(3, BigNumber.ROUND_UP, fmt) // '=> 12.34.56.789,124'</pre>
-
-
-
- <h5 id="toFr">
- toFraction<code class='inset'>.toFraction([maximum_denominator])
- <i>&rArr; [BigNumber, BigNumber]</i></code>
- </h5>
- <p>
- <code>maximum_denominator</code>:
- <i>number|string|BigNumber</i>: integer &gt;= <code>1</code> and &lt;=
- <code>Infinity</code>
- </p>
- <p>
- Returns an array of two BigNumbers representing the value of this BigNumber as a simple
- fraction with an integer numerator and an integer denominator. The denominator will be a
- positive non-zero value less than or equal to <code>maximum_denominator</code>.
- </p>
- <p>
- If a <code>maximum_denominator</code> is not specified, or is <code>null</code> or
- <code>undefined</code>, the denominator will be the lowest value necessary to represent the
- number exactly.
- </p>
- <p>
- Throws if <code>maximum_denominator</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = new BigNumber(1.75)
-x.toFraction() // '7, 4'
-
-pi = new BigNumber('3.14159265358')
-pi.toFraction() // '157079632679,50000000000'
-pi.toFraction(100000) // '312689, 99532'
-pi.toFraction(10000) // '355, 113'
-pi.toFraction(100) // '311, 99'
-pi.toFraction(10) // '22, 7'
-pi.toFraction(1) // '3, 1'</pre>
-
-
-
- <h5 id="toJSON">toJSON<code class='inset'>.toJSON() <i>&rArr; string</i></code></h5>
- <p>As <a href='#valueOf'><code>valueOf</code></a>.</p>
- <pre>
-x = new BigNumber('177.7e+457')
-y = new BigNumber(235.4325)
-z = new BigNumber('0.0098074')
-
-// Serialize an array of three BigNumbers
-str = JSON.stringify( [x, y, z] )
-// "["1.777e+459","235.4325","0.0098074"]"
-
-// Return an array of three BigNumbers
-JSON.parse(str, function (key, val) {
- return key === '' ? val : new BigNumber(val)
-})</pre>
-
-
-
- <h5 id="toN">toNumber<code class='inset'>.toNumber() <i>&rArr; number</i></code></h5>
- <p>Returns the value of this BigNumber as a JavaScript number primitive.</p>
- <p>
- This method is identical to using type coercion with the unary plus operator.
- </p>
- <pre>
-x = new BigNumber(456.789)
-x.toNumber() // 456.789
-+x // 456.789
-
-y = new BigNumber('45987349857634085409857349856430985')
-y.toNumber() // 4.598734985763409e+34
-
-z = new BigNumber(-0)
-1 / z.toNumber() // -Infinity
-1 / +z // -Infinity</pre>
-
-
-
- <h5 id="toP">
- toPrecision<code class='inset'>.toPrecision([sd [, rm]]) <i>&rArr; string</i></code>
- </h5>
- <p>
- <code>sd</code>: <i>number</i>: integer, <code>1</code> to <code>1e+9</code> inclusive<br />
- <code>rm</code>: <i>number</i>: integer, <code>0</code> to <code>8</code> inclusive
- </p>
- <p>
- Returns a string representing the value of this BigNumber rounded to <code>sd</code>
- significant digits using rounding mode <code>rm</code>.
- </p>
- <p>
- If <code>sd</code> is less than the number of digits necessary to represent the integer part
- of the value in normal (fixed-point) notation, then exponential notation is used.
- </p>
- <p>
- If <code>sd</code> is omitted, or is <code>null</code> or <code>undefined</code>, then the
- return value is the same as <code>n.toString()</code>.<br />
- If <code>rm</code> is omitted or is <code>null</code> or <code>undefined</code>,
- <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> is used.
- </p>
- <p>
- Throws if <code>sd</code> or <code>rm</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = 45.6
-y = new BigNumber(x)
-x.toPrecision() // '45.6'
-y.toPrecision() // '45.6'
-x.toPrecision(1) // '5e+1'
-y.toPrecision(1) // '5e+1'
-y.toPrecision(2, 0) // '4.6e+1' (ROUND_UP)
-y.toPrecision(2, 1) // '4.5e+1' (ROUND_DOWN)
-x.toPrecision(5) // '45.600'
-y.toPrecision(5) // '45.600'</pre>
-
-
-
- <h5 id="toS">toString<code class='inset'>.toString([base]) <i>&rArr; string</i></code></h5>
- <p>
- <code>base</code>: <i>number</i>: integer, <code>2</code> to <code>ALPHABET.length</code>
- inclusive (see <a href='#alphabet'><code>ALPHABET</code></a>).
- </p>
- <p>
- Returns a string representing the value of this BigNumber in the specified base, or base
- <code>10</code> if <code>base</code> is omitted or is <code>null</code> or
- <code>undefined</code>.
- </p>
- <p>
- For bases above <code>10</code>, and using the default base conversion alphabet
- (see <a href='#alphabet'><code>ALPHABET</code></a>), values from <code>10</code> to
- <code>35</code> are represented by <code>a-z</code>
- (as with <code>Number.prototype.toString</code>).
- </p>
- <p>
- If a base is specified the value is rounded according to the current
- <a href='#decimal-places'><code>DECIMAL_PLACES</code></a>
- and <a href='#rounding-mode'><code>ROUNDING_MODE</code></a> settings.
- </p>
- <p>
- If a base is not specified, and this BigNumber has a positive
- exponent that is equal to or greater than the positive component of the
- current <a href="#exponential-at"><code>EXPONENTIAL_AT</code></a> setting,
- or a negative exponent equal to or less than the negative component of the
- setting, then exponential notation is returned.
- </p>
- <p>If <code>base</code> is <code>null</code> or <code>undefined</code> it is ignored.</p>
- <p>
- Throws if <code>base</code> is invalid. See <a href='#Errors'>Errors</a>.
- </p>
- <pre>
-x = new BigNumber(750000)
-x.toString() // '750000'
-BigNumber.config({ EXPONENTIAL_AT: 5 })
-x.toString() // '7.5e+5'
-
-y = new BigNumber(362.875)
-y.toString(2) // '101101010.111'
-y.toString(9) // '442.77777777777777777778'
-y.toString(32) // 'ba.s'
-
-BigNumber.config({ DECIMAL_PLACES: 4 });
-z = new BigNumber('1.23456789')
-z.toString() // '1.23456789'
-z.toString(10) // '1.2346'</pre>
-
-
-
- <h5 id="valueOf">valueOf<code class='inset'>.valueOf() <i>&rArr; string</i></code></h5>
- <p>
- As <a href='#toS'><code>toString</code></a>, but does not accept a base argument and includes
- the minus sign for negative zero.
- </p>
- <pre>
-x = new BigNumber('-0')
-x.toString() // '0'
-x.valueOf() // '-0'
-y = new BigNumber('1.777e+457')
-y.valueOf() // '1.777e+457'</pre>
-
-
-
- <h4 id="instance-properties">Properties</h4>
- <p>The properties of a BigNumber instance:</p>
- <table>
- <tr>
- <th>Property</th>
- <th>Description</th>
- <th>Type</th>
- <th>Value</th>
- </tr>
- <tr>
- <td class='centre' id='coefficient'><b>c</b></td>
- <td>coefficient<sup>*</sup></td>
- <td><i>number</i><code>[]</code></td>
- <td> Array of base <code>1e14</code> numbers</td>
- </tr>
- <tr>
- <td class='centre' id='exponent'><b>e</b></td>
- <td>exponent</td>
- <td><i>number</i></td>
- <td>Integer, <code>-1000000000</code> to <code>1000000000</code> inclusive</td>
- </tr>
- <tr>
- <td class='centre' id='sign'><b>s</b></td>
- <td>sign</td>
- <td><i>number</i></td>
- <td><code>-1</code> or <code>1</code></td>
- </tr>
- </table>
- <p><sup>*</sup>significand</p>
- <p>
- The value of any of the <code>c</code>, <code>e</code> and <code>s</code> properties may also
- be <code>null</code>.
- </p>
- <p>
- The above properties are best considered to be read-only. In early versions of this library it
- was okay to change the exponent of a BigNumber by writing to its exponent property directly,
- but this is no longer reliable as the value of the first element of the coefficient array is
- now dependent on the exponent.
- </p>
- <p>
- Note that, as with JavaScript numbers, the original exponent and fractional trailing zeros are
- not necessarily preserved.
- </p>
- <pre>x = new BigNumber(0.123) // '0.123'
-x.toExponential() // '1.23e-1'
-x.c // '1,2,3'
-x.e // -1
-x.s // 1
-
-y = new Number(-123.4567000e+2) // '-12345.67'
-y.toExponential() // '-1.234567e+4'
-z = new BigNumber('-123.4567000e+2') // '-12345.67'
-z.toExponential() // '-1.234567e+4'
-z.c // '1,2,3,4,5,6,7'
-z.e // 4
-z.s // -1</pre>
-
-
-
- <h4 id="zero-nan-infinity">Zero, NaN and Infinity</h4>
- <p>
- The table below shows how &plusmn;<code>0</code>, <code>NaN</code> and
- &plusmn;<code>Infinity</code> are stored.
- </p>
- <table>
- <tr>
- <th> </th>
- <th class='centre'>c</th>
- <th class='centre'>e</th>
- <th class='centre'>s</th>
- </tr>
- <tr>
- <td>&plusmn;0</td>
- <td><code>[0]</code></td>
- <td><code>0</code></td>
- <td><code>&plusmn;1</code></td>
- </tr>
- <tr>
- <td>NaN</td>
- <td><code>null</code></td>
- <td><code>null</code></td>
- <td><code>null</code></td>
- </tr>
- <tr>
- <td>&plusmn;Infinity</td>
- <td><code>null</code></td>
- <td><code>null</code></td>
- <td><code>&plusmn;1</code></td>
- </tr>
- </table>
- <pre>
-x = new Number(-0) // 0
-1 / x == -Infinity // true
-
-y = new BigNumber(-0) // '0'
-y.c // '0' ( [0].toString() )
-y.e // 0
-y.s // -1</pre>
-
-
-
- <h4 id='Errors'>Errors</h4>
- <p>The table below shows the errors that are thrown.</p>
- <p>
- The errors are generic <code>Error</code> objects whose message begins
- <code>'[BigNumber Error]'</code>.
- </p>
- <table class='error-table'>
- <tr>
- <th>Method</th>
- <th>Throws</th>
- </tr>
- <tr>
- <td rowspan=6>
- <code>BigNumber</code><br />
- <code>comparedTo</code><br />
- <code>dividedBy</code><br />
- <code>dividedToIntegerBy</code><br />
- <code>isEqualTo</code><br />
- <code>isGreaterThan</code><br />
- <code>isGreaterThanOrEqualTo</code><br />
- <code>isLessThan</code><br />
- <code>isLessThanOrEqualTo</code><br />
- <code>minus</code><br />
- <code>modulo</code><br />
- <code>plus</code><br />
- <code>multipliedBy</code>
- </td>
- <td>Base not a primitive number</td>
- </tr>
- <tr>
- <td>Base not an integer</td>
- </tr>
- <tr>
- <td>Base out of range</td>
- </tr>
- <tr>
- <td>Number primitive has more than 15 significant digits<sup>*</sup></td>
- </tr>
- <tr>
- <td>Not a base... number<sup>*</sup></td>
- </tr>
- <tr>
- <td>Not a number<sup>*</sup></td>
- </tr>
- <tr>
- <td><code>clone</code></td>
- <td>Object expected</td>
- </tr>
- <tr>
- <td rowspan=24><code>config</code></td>
- <td>Object expected</td>
- </tr>
- <tr>
- <td><code>DECIMAL_PLACES</code> not a primitive number</td>
- </tr>
- <tr>
- <td><code>DECIMAL_PLACES</code> not an integer</td>
- </tr>
- <tr>
- <td><code>DECIMAL_PLACES</code> out of range</td>
- </tr>
- <tr>
- <td><code>ROUNDING_MODE</code> not a primitive number</td>
- </tr>
- <tr>
- <td><code>ROUNDING_MODE</code> not an integer</td>
- </tr>
- <tr>
- <td><code>ROUNDING_MODE</code> out of range</td>
- </tr>
- <tr>
- <td><code>EXPONENTIAL_AT</code> not a primitive number</td>
- </tr>
- <tr>
- <td><code>EXPONENTIAL_AT</code> not an integer</td>
- </tr>
- <tr>
- <td><code>EXPONENTIAL_AT</code> out of range</td>
- </tr>
- <tr>
- <td><code>RANGE</code> not a primitive number</td>
- </tr>
- <tr>
- <td><code>RANGE</code> not an integer</td>
- </tr>
- <tr>
- <td><code>RANGE</code> cannot be zero</td>
- </tr>
- <tr>
- <td><code>RANGE</code> cannot be zero</td>
- </tr>
- <tr>
- <td><code>CRYPTO</code> not true or false</td>
- </tr>
- <tr>
- <td><code>crypto</code> unavailable</td>
- </tr>
- <tr>
- <td><code>MODULO_MODE</code> not a primitive number</td>
- </tr>
- <tr>
- <td><code>MODULO_MODE</code> not an integer</td>
- </tr>
- <tr>
- <td><code>MODULO_MODE</code> out of range</td>
- </tr>
- <tr>
- <td><code>POW_PRECISION</code> not a primitive number</td>
- </tr>
- <tr>
- <td><code>POW_PRECISION</code> not an integer</td>
- </tr>
- <tr>
- <td><code>POW_PRECISION</code> out of range</td>
- </tr>
- <tr>
- <td><code>FORMAT</code> not an object</td>
- </tr>
- <tr>
- <td><code>ALPHABET</code> invalid</td>
- </tr>
- <tr>
- <td rowspan=3>
- <code>decimalPlaces</code><br />
- <code>precision</code><br />
- <code>random</code><br />
- <code>shiftedBy</code><br />
- <code>toExponential</code><br />
- <code>toFixed</code><br />
- <code>toFormat</code><br />
- <code>toPrecision</code>
- </td>
- <td>Argument not a primitive number</td>
- </tr>
- <tr>
- <td>Argument not an integer</td>
- </tr>
- <tr>
- <td>Argument out of range</td>
- </tr>
- <tr>
- <td>
- <code>decimalPlaces</code><br />
- <code>precision</code>
- </td>
- <td>Argument not true or false</td>
- </tr>
- <tr>
- <td><code>exponentiatedBy</code></td>
- <td>Argument not an integer</td>
- </tr>
- <tr>
- <td><code>isBigNumber</code></td>
- <td>Invalid BigNumber<sup>*</sup></td>
- </tr>
- <tr>
- <td>
- <code>minimum</code><br />
- <code>maximum</code>
- </td>
- <td>Not a number<sup>*</sup></td>
- </tr>
- <tr>
- <td>
- <code>random</code>
- </td>
- <td>crypto unavailable</td>
- </tr>
- <tr>
- <td>
- <code>toFormat</code>
- </td>
- <td>Argument not an object</td>
- </tr>
- <tr>
- <td rowspan=2><code>toFraction</code></td>
- <td>Argument not an integer</td>
- </tr>
- <tr>
- <td>Argument out of range</td>
- </tr>
- <tr>
- <td rowspan=3><code>toString</code></td>
- <td>Base not a primitive number</td>
- </tr>
- <tr>
- <td>Base not an integer</td>
- </tr>
- <tr>
- <td>Base out of range</td>
- </tr>
- </table>
- <p><sup>*</sup>Only thrown if <code>BigNumber.DEBUG</code> is <code>true</code>.</p>
- <p>To determine if an exception is a BigNumber Error:</p>
- <pre>
-try {
- // ...
-} catch (e) {
- if (e instanceof Error && e.message.indexOf('[BigNumber Error]') === 0) {
- // ...
- }
-}</pre>
-
-
-
- <h4 id="type-coercion">Type coercion</h4>
- <p>
- To prevent the accidental use of a BigNumber in primitive number operations, or the
- accidental addition of a BigNumber to a string, the <code>valueOf</code> method can be safely
- overwritten as shown below.
- </p>
- <p>
- The <a href='#valueOf'><code>valueOf</code></a> method is the same as the
- <a href='#toJSON'><code>toJSON</code></a> method, and both are the same as the
- <a href='#toS'><code>toString</code></a> method except they do not take a <code>base</code>
- argument and they include the minus sign for negative zero.
- </p>
- <pre>
-BigNumber.prototype.valueOf = function () {
- throw Error('valueOf called!')
-}
-
-x = new BigNumber(1)
-x / 2 // '[BigNumber Error] valueOf called!'
-x + 'abc' // '[BigNumber Error] valueOf called!'
-</pre>
-
-
-
- <h4 id='faq'>FAQ</h4>
-
- <h6>Why are trailing fractional zeros removed from BigNumbers?</h6>
- <p>
- Some arbitrary-precision libraries retain trailing fractional zeros as they can indicate the
- precision of a value. This can be useful but the results of arithmetic operations can be
- misleading.
- </p>
- <pre>
-x = new BigDecimal("1.0")
-y = new BigDecimal("1.1000")
-z = x.add(y) // 2.1000
-
-x = new BigDecimal("1.20")
-y = new BigDecimal("3.45000")
-z = x.multiply(y) // 4.1400000</pre>
- <p>
- To specify the precision of a value is to specify that the value lies
- within a certain range.
- </p>
- <p>
- In the first example, <code>x</code> has a value of <code>1.0</code>. The trailing zero shows
- the precision of the value, implying that it is in the range <code>0.95</code> to
- <code>1.05</code>. Similarly, the precision indicated by the trailing zeros of <code>y</code>
- indicates that the value is in the range <code>1.09995</code> to <code>1.10005</code>.
- </p>
- <p>
- If we add the two lowest values in the ranges we have, <code>0.95 + 1.09995 = 2.04995</code>,
- and if we add the two highest values we have, <code>1.05 + 1.10005 = 2.15005</code>, so the
- range of the result of the addition implied by the precision of its operands is
- <code>2.04995</code> to <code>2.15005</code>.
- </p>
- <p>
- The result given by BigDecimal of <code>2.1000</code> however, indicates that the value is in
- the range <code>2.09995</code> to <code>2.10005</code> and therefore the precision implied by
- its trailing zeros may be misleading.
- </p>
- <p>
- In the second example, the true range is <code>4.122744</code> to <code>4.157256</code> yet
- the BigDecimal answer of <code>4.1400000</code> indicates a range of <code>4.13999995</code>
- to <code>4.14000005</code>. Again, the precision implied by the trailing zeros may be
- misleading.
- </p>
- <p>
- This library, like binary floating point and most calculators, does not retain trailing
- fractional zeros. Instead, the <code>toExponential</code>, <code>toFixed</code> and
- <code>toPrecision</code> methods enable trailing zeros to be added if and when required.<br />
- </p>
- </div>
-
-</body>
-</html>
diff --git a/Server/node_modules/bignumber.js/package.json b/Server/node_modules/bignumber.js/package.json
deleted file mode 100644
index f89de31..0000000
--- a/Server/node_modules/bignumber.js/package.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "_from": "bignumber.js@9.0.0",
- "_id": "bignumber.js@9.0.0",
- "_inBundle": false,
- "_integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==",
- "_location": "/bignumber.js",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "bignumber.js@9.0.0",
- "name": "bignumber.js",
- "escapedName": "bignumber.js",
- "rawSpec": "9.0.0",
- "saveSpec": null,
- "fetchSpec": "9.0.0"
- },
- "_requiredBy": [
- "/mysql"
- ],
- "_resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
- "_shasum": "805880f84a329b5eac6e7cb6f8274b6d82bdf075",
- "_spec": "bignumber.js@9.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/mysql",
- "author": {
- "name": "Michael Mclaughlin",
- "email": "M8ch88l@gmail.com"
- },
- "browser": "bignumber.js",
- "bugs": {
- "url": "https://github.com/MikeMcl/bignumber.js/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "A library for arbitrary-precision decimal and non-decimal arithmetic",
- "engines": {
- "node": "*"
- },
- "homepage": "https://github.com/MikeMcl/bignumber.js#readme",
- "keywords": [
- "arbitrary",
- "precision",
- "arithmetic",
- "big",
- "number",
- "decimal",
- "float",
- "biginteger",
- "bigdecimal",
- "bignumber",
- "bigint",
- "bignum"
- ],
- "license": "MIT",
- "main": "bignumber",
- "module": "bignumber.mjs",
- "name": "bignumber.js",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/MikeMcl/bignumber.js.git"
- },
- "scripts": {
- "build": "uglifyjs bignumber.js --source-map -c -m -o bignumber.min.js",
- "test": "node test/test"
- },
- "types": "bignumber.d.ts",
- "version": "9.0.0"
-}
diff --git a/Server/node_modules/body-parser/HISTORY.md b/Server/node_modules/body-parser/HISTORY.md
deleted file mode 100644
index a1d3fbf..0000000
--- a/Server/node_modules/body-parser/HISTORY.md
+++ /dev/null
@@ -1,609 +0,0 @@
-1.19.0 / 2019-04-25
-===================
-
- * deps: bytes@3.1.0
- - Add petabyte (`pb`) support
- * deps: http-errors@1.7.2
- - Set constructor name when possible
- - deps: setprototypeof@1.1.1
- - deps: statuses@'>= 1.5.0 < 2'
- * deps: iconv-lite@0.4.24
- - Added encoding MIK
- * deps: qs@6.7.0
- - Fix parsing array brackets after index
- * deps: raw-body@2.4.0
- - deps: bytes@3.1.0
- - deps: http-errors@1.7.2
- - deps: iconv-lite@0.4.24
- * deps: type-is@~1.6.17
- - deps: mime-types@~2.1.24
- - perf: prevent internal `throw` on invalid type
-
-1.18.3 / 2018-05-14
-===================
-
- * Fix stack trace for strict json parse error
- * deps: depd@~1.1.2
- - perf: remove argument reassignment
- * deps: http-errors@~1.6.3
- - deps: depd@~1.1.2
- - deps: setprototypeof@1.1.0
- - deps: statuses@'>= 1.3.1 < 2'
- * deps: iconv-lite@0.4.23
- - Fix loading encoding with year appended
- - Fix deprecation warnings on Node.js 10+
- * deps: qs@6.5.2
- * deps: raw-body@2.3.3
- - deps: http-errors@1.6.3
- - deps: iconv-lite@0.4.23
- * deps: type-is@~1.6.16
- - deps: mime-types@~2.1.18
-
-1.18.2 / 2017-09-22
-===================
-
- * deps: debug@2.6.9
- * perf: remove argument reassignment
-
-1.18.1 / 2017-09-12
-===================
-
- * deps: content-type@~1.0.4
- - perf: remove argument reassignment
- - perf: skip parameter parsing when no parameters
- * deps: iconv-lite@0.4.19
- - Fix ISO-8859-1 regression
- - Update Windows-1255
- * deps: qs@6.5.1
- - Fix parsing & compacting very deep objects
- * deps: raw-body@2.3.2
- - deps: iconv-lite@0.4.19
-
-1.18.0 / 2017-09-08
-===================
-
- * Fix JSON strict violation error to match native parse error
- * Include the `body` property on verify errors
- * Include the `type` property on all generated errors
- * Use `http-errors` to set status code on errors
- * deps: bytes@3.0.0
- * deps: debug@2.6.8
- * deps: depd@~1.1.1
- - Remove unnecessary `Buffer` loading
- * deps: http-errors@~1.6.2
- - deps: depd@1.1.1
- * deps: iconv-lite@0.4.18
- - Add support for React Native
- - Add a warning if not loaded as utf-8
- - Fix CESU-8 decoding in Node.js 8
- - Improve speed of ISO-8859-1 encoding
- * deps: qs@6.5.0
- * deps: raw-body@2.3.1
- - Use `http-errors` for standard emitted errors
- - deps: bytes@3.0.0
- - deps: iconv-lite@0.4.18
- - perf: skip buffer decoding on overage chunk
- * perf: prevent internal `throw` when missing charset
-
-1.17.2 / 2017-05-17
-===================
-
- * deps: debug@2.6.7
- - Fix `DEBUG_MAX_ARRAY_LENGTH`
- - deps: ms@2.0.0
- * deps: type-is@~1.6.15
- - deps: mime-types@~2.1.15
-
-1.17.1 / 2017-03-06
-===================
-
- * deps: qs@6.4.0
- - Fix regression parsing keys starting with `[`
-
-1.17.0 / 2017-03-01
-===================
-
- * deps: http-errors@~1.6.1
- - Make `message` property enumerable for `HttpError`s
- - deps: setprototypeof@1.0.3
- * deps: qs@6.3.1
- - Fix compacting nested arrays
-
-1.16.1 / 2017-02-10
-===================
-
- * deps: debug@2.6.1
- - Fix deprecation messages in WebStorm and other editors
- - Undeprecate `DEBUG_FD` set to `1` or `2`
-
-1.16.0 / 2017-01-17
-===================
-
- * deps: debug@2.6.0
- - Allow colors in workers
- - Deprecated `DEBUG_FD` environment variable
- - Fix error when running under React Native
- - Use same color for same namespace
- - deps: ms@0.7.2
- * deps: http-errors@~1.5.1
- - deps: inherits@2.0.3
- - deps: setprototypeof@1.0.2
- - deps: statuses@'>= 1.3.1 < 2'
- * deps: iconv-lite@0.4.15
- - Added encoding MS-31J
- - Added encoding MS-932
- - Added encoding MS-936
- - Added encoding MS-949
- - Added encoding MS-950
- - Fix GBK/GB18030 handling of Euro character
- * deps: qs@6.2.1
- - Fix array parsing from skipping empty values
- * deps: raw-body@~2.2.0
- - deps: iconv-lite@0.4.15
- * deps: type-is@~1.6.14
- - deps: mime-types@~2.1.13
-
-1.15.2 / 2016-06-19
-===================
-
- * deps: bytes@2.4.0
- * deps: content-type@~1.0.2
- - perf: enable strict mode
- * deps: http-errors@~1.5.0
- - Use `setprototypeof` module to replace `__proto__` setting
- - deps: statuses@'>= 1.3.0 < 2'
- - perf: enable strict mode
- * deps: qs@6.2.0
- * deps: raw-body@~2.1.7
- - deps: bytes@2.4.0
- - perf: remove double-cleanup on happy path
- * deps: type-is@~1.6.13
- - deps: mime-types@~2.1.11
-
-1.15.1 / 2016-05-05
-===================
-
- * deps: bytes@2.3.0
- - Drop partial bytes on all parsed units
- - Fix parsing byte string that looks like hex
- * deps: raw-body@~2.1.6
- - deps: bytes@2.3.0
- * deps: type-is@~1.6.12
- - deps: mime-types@~2.1.10
-
-1.15.0 / 2016-02-10
-===================
-
- * deps: http-errors@~1.4.0
- - Add `HttpError` export, for `err instanceof createError.HttpError`
- - deps: inherits@2.0.1
- - deps: statuses@'>= 1.2.1 < 2'
- * deps: qs@6.1.0
- * deps: type-is@~1.6.11
- - deps: mime-types@~2.1.9
-
-1.14.2 / 2015-12-16
-===================
-
- * deps: bytes@2.2.0
- * deps: iconv-lite@0.4.13
- * deps: qs@5.2.0
- * deps: raw-body@~2.1.5
- - deps: bytes@2.2.0
- - deps: iconv-lite@0.4.13
- * deps: type-is@~1.6.10
- - deps: mime-types@~2.1.8
-
-1.14.1 / 2015-09-27
-===================
-
- * Fix issue where invalid charset results in 400 when `verify` used
- * deps: iconv-lite@0.4.12
- - Fix CESU-8 decoding in Node.js 4.x
- * deps: raw-body@~2.1.4
- - Fix masking critical errors from `iconv-lite`
- - deps: iconv-lite@0.4.12
- * deps: type-is@~1.6.9
- - deps: mime-types@~2.1.7
-
-1.14.0 / 2015-09-16
-===================
-
- * Fix JSON strict parse error to match syntax errors
- * Provide static `require` analysis in `urlencoded` parser
- * deps: depd@~1.1.0
- - Support web browser loading
- * deps: qs@5.1.0
- * deps: raw-body@~2.1.3
- - Fix sync callback when attaching data listener causes sync read
- * deps: type-is@~1.6.8
- - Fix type error when given invalid type to match against
- - deps: mime-types@~2.1.6
-
-1.13.3 / 2015-07-31
-===================
-
- * deps: type-is@~1.6.6
- - deps: mime-types@~2.1.4
-
-1.13.2 / 2015-07-05
-===================
-
- * deps: iconv-lite@0.4.11
- * deps: qs@4.0.0
- - Fix dropping parameters like `hasOwnProperty`
- - Fix user-visible incompatibilities from 3.1.0
- - Fix various parsing edge cases
- * deps: raw-body@~2.1.2
- - Fix error stack traces to skip `makeError`
- - deps: iconv-lite@0.4.11
- * deps: type-is@~1.6.4
- - deps: mime-types@~2.1.2
- - perf: enable strict mode
- - perf: remove argument reassignment
-
-1.13.1 / 2015-06-16
-===================
-
- * deps: qs@2.4.2
- - Downgraded from 3.1.0 because of user-visible incompatibilities
-
-1.13.0 / 2015-06-14
-===================
-
- * Add `statusCode` property on `Error`s, in addition to `status`
- * Change `type` default to `application/json` for JSON parser
- * Change `type` default to `application/x-www-form-urlencoded` for urlencoded parser
- * Provide static `require` analysis
- * Use the `http-errors` module to generate errors
- * deps: bytes@2.1.0
- - Slight optimizations
- * deps: iconv-lite@0.4.10
- - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
- - Leading BOM is now removed when decoding
- * deps: on-finished@~2.3.0
- - Add defined behavior for HTTP `CONNECT` requests
- - Add defined behavior for HTTP `Upgrade` requests
- - deps: ee-first@1.1.1
- * deps: qs@3.1.0
- - Fix dropping parameters like `hasOwnProperty`
- - Fix various parsing edge cases
- - Parsed object now has `null` prototype
- * deps: raw-body@~2.1.1
- - Use `unpipe` module for unpiping requests
- - deps: iconv-lite@0.4.10
- * deps: type-is@~1.6.3
- - deps: mime-types@~2.1.1
- - perf: reduce try block size
- - perf: remove bitwise operations
- * perf: enable strict mode
- * perf: remove argument reassignment
- * perf: remove delete call
-
-1.12.4 / 2015-05-10
-===================
-
- * deps: debug@~2.2.0
- * deps: qs@2.4.2
- - Fix allowing parameters like `constructor`
- * deps: on-finished@~2.2.1
- * deps: raw-body@~2.0.1
- - Fix a false-positive when unpiping in Node.js 0.8
- - deps: bytes@2.0.1
- * deps: type-is@~1.6.2
- - deps: mime-types@~2.0.11
-
-1.12.3 / 2015-04-15
-===================
-
- * Slight efficiency improvement when not debugging
- * deps: depd@~1.0.1
- * deps: iconv-lite@0.4.8
- - Add encoding alias UNICODE-1-1-UTF-7
- * deps: raw-body@1.3.4
- - Fix hanging callback if request aborts during read
- - deps: iconv-lite@0.4.8
-
-1.12.2 / 2015-03-16
-===================
-
- * deps: qs@2.4.1
- - Fix error when parameter `hasOwnProperty` is present
-
-1.12.1 / 2015-03-15
-===================
-
- * deps: debug@~2.1.3
- - Fix high intensity foreground color for bold
- - deps: ms@0.7.0
- * deps: type-is@~1.6.1
- - deps: mime-types@~2.0.10
-
-1.12.0 / 2015-02-13
-===================
-
- * add `debug` messages
- * accept a function for the `type` option
- * use `content-type` to parse `Content-Type` headers
- * deps: iconv-lite@0.4.7
- - Gracefully support enumerables on `Object.prototype`
- * deps: raw-body@1.3.3
- - deps: iconv-lite@0.4.7
- * deps: type-is@~1.6.0
- - fix argument reassignment
- - fix false-positives in `hasBody` `Transfer-Encoding` check
- - support wildcard for both type and subtype (`*/*`)
- - deps: mime-types@~2.0.9
-
-1.11.0 / 2015-01-30
-===================
-
- * make internal `extended: true` depth limit infinity
- * deps: type-is@~1.5.6
- - deps: mime-types@~2.0.8
-
-1.10.2 / 2015-01-20
-===================
-
- * deps: iconv-lite@0.4.6
- - Fix rare aliases of single-byte encodings
- * deps: raw-body@1.3.2
- - deps: iconv-lite@0.4.6
-
-1.10.1 / 2015-01-01
-===================
-
- * deps: on-finished@~2.2.0
- * deps: type-is@~1.5.5
- - deps: mime-types@~2.0.7
-
-1.10.0 / 2014-12-02
-===================
-
- * make internal `extended: true` array limit dynamic
-
-1.9.3 / 2014-11-21
-==================
-
- * deps: iconv-lite@0.4.5
- - Fix Windows-31J and X-SJIS encoding support
- * deps: qs@2.3.3
- - Fix `arrayLimit` behavior
- * deps: raw-body@1.3.1
- - deps: iconv-lite@0.4.5
- * deps: type-is@~1.5.3
- - deps: mime-types@~2.0.3
-
-1.9.2 / 2014-10-27
-==================
-
- * deps: qs@2.3.2
- - Fix parsing of mixed objects and values
-
-1.9.1 / 2014-10-22
-==================
-
- * deps: on-finished@~2.1.1
- - Fix handling of pipelined requests
- * deps: qs@2.3.0
- - Fix parsing of mixed implicit and explicit arrays
- * deps: type-is@~1.5.2
- - deps: mime-types@~2.0.2
-
-1.9.0 / 2014-09-24
-==================
-
- * include the charset in "unsupported charset" error message
- * include the encoding in "unsupported content encoding" error message
- * deps: depd@~1.0.0
-
-1.8.4 / 2014-09-23
-==================
-
- * fix content encoding to be case-insensitive
-
-1.8.3 / 2014-09-19
-==================
-
- * deps: qs@2.2.4
- - Fix issue with object keys starting with numbers truncated
-
-1.8.2 / 2014-09-15
-==================
-
- * deps: depd@0.4.5
-
-1.8.1 / 2014-09-07
-==================
-
- * deps: media-typer@0.3.0
- * deps: type-is@~1.5.1
-
-1.8.0 / 2014-09-05
-==================
-
- * make empty-body-handling consistent between chunked requests
- - empty `json` produces `{}`
- - empty `raw` produces `new Buffer(0)`
- - empty `text` produces `''`
- - empty `urlencoded` produces `{}`
- * deps: qs@2.2.3
- - Fix issue where first empty value in array is discarded
- * deps: type-is@~1.5.0
- - fix `hasbody` to be true for `content-length: 0`
-
-1.7.0 / 2014-09-01
-==================
-
- * add `parameterLimit` option to `urlencoded` parser
- * change `urlencoded` extended array limit to 100
- * respond with 413 when over `parameterLimit` in `urlencoded`
-
-1.6.7 / 2014-08-29
-==================
-
- * deps: qs@2.2.2
- - Remove unnecessary cloning
-
-1.6.6 / 2014-08-27
-==================
-
- * deps: qs@2.2.0
- - Array parsing fix
- - Performance improvements
-
-1.6.5 / 2014-08-16
-==================
-
- * deps: on-finished@2.1.0
-
-1.6.4 / 2014-08-14
-==================
-
- * deps: qs@1.2.2
-
-1.6.3 / 2014-08-10
-==================
-
- * deps: qs@1.2.1
-
-1.6.2 / 2014-08-07
-==================
-
- * deps: qs@1.2.0
- - Fix parsing array of objects
-
-1.6.1 / 2014-08-06
-==================
-
- * deps: qs@1.1.0
- - Accept urlencoded square brackets
- - Accept empty values in implicit array notation
-
-1.6.0 / 2014-08-05
-==================
-
- * deps: qs@1.0.2
- - Complete rewrite
- - Limits array length to 20
- - Limits object depth to 5
- - Limits parameters to 1,000
-
-1.5.2 / 2014-07-27
-==================
-
- * deps: depd@0.4.4
- - Work-around v8 generating empty stack traces
-
-1.5.1 / 2014-07-26
-==================
-
- * deps: depd@0.4.3
- - Fix exception when global `Error.stackTraceLimit` is too low
-
-1.5.0 / 2014-07-20
-==================
-
- * deps: depd@0.4.2
- - Add `TRACE_DEPRECATION` environment variable
- - Remove non-standard grey color from color output
- - Support `--no-deprecation` argument
- - Support `--trace-deprecation` argument
- * deps: iconv-lite@0.4.4
- - Added encoding UTF-7
- * deps: raw-body@1.3.0
- - deps: iconv-lite@0.4.4
- - Added encoding UTF-7
- - Fix `Cannot switch to old mode now` error on Node.js 0.10+
- * deps: type-is@~1.3.2
-
-1.4.3 / 2014-06-19
-==================
-
- * deps: type-is@1.3.1
- - fix global variable leak
-
-1.4.2 / 2014-06-19
-==================
-
- * deps: type-is@1.3.0
- - improve type parsing
-
-1.4.1 / 2014-06-19
-==================
-
- * fix urlencoded extended deprecation message
-
-1.4.0 / 2014-06-19
-==================
-
- * add `text` parser
- * add `raw` parser
- * check accepted charset in content-type (accepts utf-8)
- * check accepted encoding in content-encoding (accepts identity)
- * deprecate `bodyParser()` middleware; use `.json()` and `.urlencoded()` as needed
- * deprecate `urlencoded()` without provided `extended` option
- * lazy-load urlencoded parsers
- * parsers split into files for reduced mem usage
- * support gzip and deflate bodies
- - set `inflate: false` to turn off
- * deps: raw-body@1.2.2
- - Support all encodings from `iconv-lite`
-
-1.3.1 / 2014-06-11
-==================
-
- * deps: type-is@1.2.1
- - Switch dependency from mime to mime-types@1.0.0
-
-1.3.0 / 2014-05-31
-==================
-
- * add `extended` option to urlencoded parser
-
-1.2.2 / 2014-05-27
-==================
-
- * deps: raw-body@1.1.6
- - assert stream encoding on node.js 0.8
- - assert stream encoding on node.js < 0.10.6
- - deps: bytes@1
-
-1.2.1 / 2014-05-26
-==================
-
- * invoke `next(err)` after request fully read
- - prevents hung responses and socket hang ups
-
-1.2.0 / 2014-05-11
-==================
-
- * add `verify` option
- * deps: type-is@1.2.0
- - support suffix matching
-
-1.1.2 / 2014-05-11
-==================
-
- * improve json parser speed
-
-1.1.1 / 2014-05-11
-==================
-
- * fix repeated limit parsing with every request
-
-1.1.0 / 2014-05-10
-==================
-
- * add `type` option
- * deps: pin for safety and consistency
-
-1.0.2 / 2014-04-14
-==================
-
- * use `type-is` module
-
-1.0.1 / 2014-03-20
-==================
-
- * lower default limits to 100kb
diff --git a/Server/node_modules/body-parser/LICENSE b/Server/node_modules/body-parser/LICENSE
deleted file mode 100644
index 386b7b6..0000000
--- a/Server/node_modules/body-parser/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2014-2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/body-parser/README.md b/Server/node_modules/body-parser/README.md
deleted file mode 100644
index aba6297..0000000
--- a/Server/node_modules/body-parser/README.md
+++ /dev/null
@@ -1,443 +0,0 @@
-# body-parser
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Node.js body parsing middleware.
-
-Parse incoming request bodies in a middleware before your handlers, available
-under the `req.body` property.
-
-**Note** As `req.body`'s shape is based on user-controlled input, all
-properties and values in this object are untrusted and should be validated
-before trusting. For example, `req.body.foo.toString()` may fail in multiple
-ways, for example the `foo` property may not be there or may not be a string,
-and `toString` may not be a function and instead a string or other user input.
-
-[Learn about the anatomy of an HTTP transaction in Node.js](https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/).
-
-_This does not handle multipart bodies_, due to their complex and typically
-large nature. For multipart bodies, you may be interested in the following
-modules:
-
- * [busboy](https://www.npmjs.org/package/busboy#readme) and
- [connect-busboy](https://www.npmjs.org/package/connect-busboy#readme)
- * [multiparty](https://www.npmjs.org/package/multiparty#readme) and
- [connect-multiparty](https://www.npmjs.org/package/connect-multiparty#readme)
- * [formidable](https://www.npmjs.org/package/formidable#readme)
- * [multer](https://www.npmjs.org/package/multer#readme)
-
-This module provides the following parsers:
-
- * [JSON body parser](#bodyparserjsonoptions)
- * [Raw body parser](#bodyparserrawoptions)
- * [Text body parser](#bodyparsertextoptions)
- * [URL-encoded form body parser](#bodyparserurlencodedoptions)
-
-Other body parsers you might be interested in:
-
-- [body](https://www.npmjs.org/package/body#readme)
-- [co-body](https://www.npmjs.org/package/co-body#readme)
-
-## Installation
-
-```sh
-$ npm install body-parser
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var bodyParser = require('body-parser')
-```
-
-The `bodyParser` object exposes various factories to create middlewares. All
-middlewares will populate the `req.body` property with the parsed body when
-the `Content-Type` request header matches the `type` option, or an empty
-object (`{}`) if there was no body to parse, the `Content-Type` was not matched,
-or an error occurred.
-
-The various errors returned by this module are described in the
-[errors section](#errors).
-
-### bodyParser.json([options])
-
-Returns middleware that only parses `json` and only looks at requests where
-the `Content-Type` header matches the `type` option. This parser accepts any
-Unicode encoding of the body and supports automatic inflation of `gzip` and
-`deflate` encodings.
-
-A new `body` object containing the parsed data is populated on the `request`
-object after the middleware (i.e. `req.body`).
-
-#### Options
-
-The `json` function takes an optional `options` object that may contain any of
-the following keys:
-
-##### inflate
-
-When set to `true`, then deflated (compressed) bodies will be inflated; when
-`false`, deflated bodies are rejected. Defaults to `true`.
-
-##### limit
-
-Controls the maximum request body size. If this is a number, then the value
-specifies the number of bytes; if it is a string, the value is passed to the
-[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
-to `'100kb'`.
-
-##### reviver
-
-The `reviver` option is passed directly to `JSON.parse` as the second
-argument. You can find more information on this argument
-[in the MDN documentation about JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Example.3A_Using_the_reviver_parameter).
-
-##### strict
-
-When set to `true`, will only accept arrays and objects; when `false` will
-accept anything `JSON.parse` accepts. Defaults to `true`.
-
-##### type
-
-The `type` option is used to determine what media type the middleware will
-parse. This option can be a string, array of strings, or a function. If not a
-function, `type` option is passed directly to the
-[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
-be an extension name (like `json`), a mime type (like `application/json`), or
-a mime type with a wildcard (like `*/*` or `*/json`). If a function, the `type`
-option is called as `fn(req)` and the request is parsed if it returns a truthy
-value. Defaults to `application/json`.
-
-##### verify
-
-The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
-where `buf` is a `Buffer` of the raw request body and `encoding` is the
-encoding of the request. The parsing can be aborted by throwing an error.
-
-### bodyParser.raw([options])
-
-Returns middleware that parses all bodies as a `Buffer` and only looks at
-requests where the `Content-Type` header matches the `type` option. This
-parser supports automatic inflation of `gzip` and `deflate` encodings.
-
-A new `body` object containing the parsed data is populated on the `request`
-object after the middleware (i.e. `req.body`). This will be a `Buffer` object
-of the body.
-
-#### Options
-
-The `raw` function takes an optional `options` object that may contain any of
-the following keys:
-
-##### inflate
-
-When set to `true`, then deflated (compressed) bodies will be inflated; when
-`false`, deflated bodies are rejected. Defaults to `true`.
-
-##### limit
-
-Controls the maximum request body size. If this is a number, then the value
-specifies the number of bytes; if it is a string, the value is passed to the
-[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
-to `'100kb'`.
-
-##### type
-
-The `type` option is used to determine what media type the middleware will
-parse. This option can be a string, array of strings, or a function.
-If not a function, `type` option is passed directly to the
-[type-is](https://www.npmjs.org/package/type-is#readme) library and this
-can be an extension name (like `bin`), a mime type (like
-`application/octet-stream`), or a mime type with a wildcard (like `*/*` or
-`application/*`). If a function, the `type` option is called as `fn(req)`
-and the request is parsed if it returns a truthy value. Defaults to
-`application/octet-stream`.
-
-##### verify
-
-The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
-where `buf` is a `Buffer` of the raw request body and `encoding` is the
-encoding of the request. The parsing can be aborted by throwing an error.
-
-### bodyParser.text([options])
-
-Returns middleware that parses all bodies as a string and only looks at
-requests where the `Content-Type` header matches the `type` option. This
-parser supports automatic inflation of `gzip` and `deflate` encodings.
-
-A new `body` string containing the parsed data is populated on the `request`
-object after the middleware (i.e. `req.body`). This will be a string of the
-body.
-
-#### Options
-
-The `text` function takes an optional `options` object that may contain any of
-the following keys:
-
-##### defaultCharset
-
-Specify the default character set for the text content if the charset is not
-specified in the `Content-Type` header of the request. Defaults to `utf-8`.
-
-##### inflate
-
-When set to `true`, then deflated (compressed) bodies will be inflated; when
-`false`, deflated bodies are rejected. Defaults to `true`.
-
-##### limit
-
-Controls the maximum request body size. If this is a number, then the value
-specifies the number of bytes; if it is a string, the value is passed to the
-[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
-to `'100kb'`.
-
-##### type
-
-The `type` option is used to determine what media type the middleware will
-parse. This option can be a string, array of strings, or a function. If not
-a function, `type` option is passed directly to the
-[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
-be an extension name (like `txt`), a mime type (like `text/plain`), or a mime
-type with a wildcard (like `*/*` or `text/*`). If a function, the `type`
-option is called as `fn(req)` and the request is parsed if it returns a
-truthy value. Defaults to `text/plain`.
-
-##### verify
-
-The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
-where `buf` is a `Buffer` of the raw request body and `encoding` is the
-encoding of the request. The parsing can be aborted by throwing an error.
-
-### bodyParser.urlencoded([options])
-
-Returns middleware that only parses `urlencoded` bodies and only looks at
-requests where the `Content-Type` header matches the `type` option. This
-parser accepts only UTF-8 encoding of the body and supports automatic
-inflation of `gzip` and `deflate` encodings.
-
-A new `body` object containing the parsed data is populated on the `request`
-object after the middleware (i.e. `req.body`). This object will contain
-key-value pairs, where the value can be a string or array (when `extended` is
-`false`), or any type (when `extended` is `true`).
-
-#### Options
-
-The `urlencoded` function takes an optional `options` object that may contain
-any of the following keys:
-
-##### extended
-
-The `extended` option allows to choose between parsing the URL-encoded data
-with the `querystring` library (when `false`) or the `qs` library (when
-`true`). The "extended" syntax allows for rich objects and arrays to be
-encoded into the URL-encoded format, allowing for a JSON-like experience
-with URL-encoded. For more information, please
-[see the qs library](https://www.npmjs.org/package/qs#readme).
-
-Defaults to `true`, but using the default has been deprecated. Please
-research into the difference between `qs` and `querystring` and choose the
-appropriate setting.
-
-##### inflate
-
-When set to `true`, then deflated (compressed) bodies will be inflated; when
-`false`, deflated bodies are rejected. Defaults to `true`.
-
-##### limit
-
-Controls the maximum request body size. If this is a number, then the value
-specifies the number of bytes; if it is a string, the value is passed to the
-[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
-to `'100kb'`.
-
-##### parameterLimit
-
-The `parameterLimit` option controls the maximum number of parameters that
-are allowed in the URL-encoded data. If a request contains more parameters
-than this value, a 413 will be returned to the client. Defaults to `1000`.
-
-##### type
-
-The `type` option is used to determine what media type the middleware will
-parse. This option can be a string, array of strings, or a function. If not
-a function, `type` option is passed directly to the
-[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
-be an extension name (like `urlencoded`), a mime type (like
-`application/x-www-form-urlencoded`), or a mime type with a wildcard (like
-`*/x-www-form-urlencoded`). If a function, the `type` option is called as
-`fn(req)` and the request is parsed if it returns a truthy value. Defaults
-to `application/x-www-form-urlencoded`.
-
-##### verify
-
-The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
-where `buf` is a `Buffer` of the raw request body and `encoding` is the
-encoding of the request. The parsing can be aborted by throwing an error.
-
-## Errors
-
-The middlewares provided by this module create errors depending on the error
-condition during parsing. The errors will typically have a `status`/`statusCode`
-property that contains the suggested HTTP response code, an `expose` property
-to determine if the `message` property should be displayed to the client, a
-`type` property to determine the type of error without matching against the
-`message`, and a `body` property containing the read body, if available.
-
-The following are the common errors emitted, though any error can come through
-for various reasons.
-
-### content encoding unsupported
-
-This error will occur when the request had a `Content-Encoding` header that
-contained an encoding but the "inflation" option was set to `false`. The
-`status` property is set to `415`, the `type` property is set to
-`'encoding.unsupported'`, and the `charset` property will be set to the
-encoding that is unsupported.
-
-### request aborted
-
-This error will occur when the request is aborted by the client before reading
-the body has finished. The `received` property will be set to the number of
-bytes received before the request was aborted and the `expected` property is
-set to the number of expected bytes. The `status` property is set to `400`
-and `type` property is set to `'request.aborted'`.
-
-### request entity too large
-
-This error will occur when the request body's size is larger than the "limit"
-option. The `limit` property will be set to the byte limit and the `length`
-property will be set to the request body's length. The `status` property is
-set to `413` and the `type` property is set to `'entity.too.large'`.
-
-### request size did not match content length
-
-This error will occur when the request's length did not match the length from
-the `Content-Length` header. This typically occurs when the request is malformed,
-typically when the `Content-Length` header was calculated based on characters
-instead of bytes. The `status` property is set to `400` and the `type` property
-is set to `'request.size.invalid'`.
-
-### stream encoding should not be set
-
-This error will occur when something called the `req.setEncoding` method prior
-to this middleware. This module operates directly on bytes only and you cannot
-call `req.setEncoding` when using this module. The `status` property is set to
-`500` and the `type` property is set to `'stream.encoding.set'`.
-
-### too many parameters
-
-This error will occur when the content of the request exceeds the configured
-`parameterLimit` for the `urlencoded` parser. The `status` property is set to
-`413` and the `type` property is set to `'parameters.too.many'`.
-
-### unsupported charset "BOGUS"
-
-This error will occur when the request had a charset parameter in the
-`Content-Type` header, but the `iconv-lite` module does not support it OR the
-parser does not support it. The charset is contained in the message as well
-as in the `charset` property. The `status` property is set to `415`, the
-`type` property is set to `'charset.unsupported'`, and the `charset` property
-is set to the charset that is unsupported.
-
-### unsupported content encoding "bogus"
-
-This error will occur when the request had a `Content-Encoding` header that
-contained an unsupported encoding. The encoding is contained in the message
-as well as in the `encoding` property. The `status` property is set to `415`,
-the `type` property is set to `'encoding.unsupported'`, and the `encoding`
-property is set to the encoding that is unsupported.
-
-## Examples
-
-### Express/Connect top-level generic
-
-This example demonstrates adding a generic JSON and URL-encoded parser as a
-top-level middleware, which will parse the bodies of all incoming requests.
-This is the simplest setup.
-
-```js
-var express = require('express')
-var bodyParser = require('body-parser')
-
-var app = express()
-
-// parse application/x-www-form-urlencoded
-app.use(bodyParser.urlencoded({ extended: false }))
-
-// parse application/json
-app.use(bodyParser.json())
-
-app.use(function (req, res) {
- res.setHeader('Content-Type', 'text/plain')
- res.write('you posted:\n')
- res.end(JSON.stringify(req.body, null, 2))
-})
-```
-
-### Express route-specific
-
-This example demonstrates adding body parsers specifically to the routes that
-need them. In general, this is the most recommended way to use body-parser with
-Express.
-
-```js
-var express = require('express')
-var bodyParser = require('body-parser')
-
-var app = express()
-
-// create application/json parser
-var jsonParser = bodyParser.json()
-
-// create application/x-www-form-urlencoded parser
-var urlencodedParser = bodyParser.urlencoded({ extended: false })
-
-// POST /login gets urlencoded bodies
-app.post('/login', urlencodedParser, function (req, res) {
- res.send('welcome, ' + req.body.username)
-})
-
-// POST /api/users gets JSON bodies
-app.post('/api/users', jsonParser, function (req, res) {
- // create user in req.body
-})
-```
-
-### Change accepted type for parsers
-
-All the parsers accept a `type` option which allows you to change the
-`Content-Type` that the middleware will parse.
-
-```js
-var express = require('express')
-var bodyParser = require('body-parser')
-
-var app = express()
-
-// parse various different custom JSON types as JSON
-app.use(bodyParser.json({ type: 'application/*+json' }))
-
-// parse some custom thing into a Buffer
-app.use(bodyParser.raw({ type: 'application/vnd.custom-type' }))
-
-// parse an HTML body into a string
-app.use(bodyParser.text({ type: 'text/html' }))
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/body-parser.svg
-[npm-url]: https://npmjs.org/package/body-parser
-[travis-image]: https://img.shields.io/travis/expressjs/body-parser/master.svg
-[travis-url]: https://travis-ci.org/expressjs/body-parser
-[coveralls-image]: https://img.shields.io/coveralls/expressjs/body-parser/master.svg
-[coveralls-url]: https://coveralls.io/r/expressjs/body-parser?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/body-parser.svg
-[downloads-url]: https://npmjs.org/package/body-parser
diff --git a/Server/node_modules/body-parser/index.js b/Server/node_modules/body-parser/index.js
deleted file mode 100644
index 93c3a1f..0000000
--- a/Server/node_modules/body-parser/index.js
+++ /dev/null
@@ -1,157 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var deprecate = require('depd')('body-parser')
-
-/**
- * Cache of loaded parsers.
- * @private
- */
-
-var parsers = Object.create(null)
-
-/**
- * @typedef Parsers
- * @type {function}
- * @property {function} json
- * @property {function} raw
- * @property {function} text
- * @property {function} urlencoded
- */
-
-/**
- * Module exports.
- * @type {Parsers}
- */
-
-exports = module.exports = deprecate.function(bodyParser,
- 'bodyParser: use individual json/urlencoded middlewares')
-
-/**
- * JSON parser.
- * @public
- */
-
-Object.defineProperty(exports, 'json', {
- configurable: true,
- enumerable: true,
- get: createParserGetter('json')
-})
-
-/**
- * Raw parser.
- * @public
- */
-
-Object.defineProperty(exports, 'raw', {
- configurable: true,
- enumerable: true,
- get: createParserGetter('raw')
-})
-
-/**
- * Text parser.
- * @public
- */
-
-Object.defineProperty(exports, 'text', {
- configurable: true,
- enumerable: true,
- get: createParserGetter('text')
-})
-
-/**
- * URL-encoded parser.
- * @public
- */
-
-Object.defineProperty(exports, 'urlencoded', {
- configurable: true,
- enumerable: true,
- get: createParserGetter('urlencoded')
-})
-
-/**
- * Create a middleware to parse json and urlencoded bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @deprecated
- * @public
- */
-
-function bodyParser (options) {
- var opts = {}
-
- // exclude type option
- if (options) {
- for (var prop in options) {
- if (prop !== 'type') {
- opts[prop] = options[prop]
- }
- }
- }
-
- var _urlencoded = exports.urlencoded(opts)
- var _json = exports.json(opts)
-
- return function bodyParser (req, res, next) {
- _json(req, res, function (err) {
- if (err) return next(err)
- _urlencoded(req, res, next)
- })
- }
-}
-
-/**
- * Create a getter for loading a parser.
- * @private
- */
-
-function createParserGetter (name) {
- return function get () {
- return loadParser(name)
- }
-}
-
-/**
- * Load a parser module.
- * @private
- */
-
-function loadParser (parserName) {
- var parser = parsers[parserName]
-
- if (parser !== undefined) {
- return parser
- }
-
- // this uses a switch for static require analysis
- switch (parserName) {
- case 'json':
- parser = require('./lib/types/json')
- break
- case 'raw':
- parser = require('./lib/types/raw')
- break
- case 'text':
- parser = require('./lib/types/text')
- break
- case 'urlencoded':
- parser = require('./lib/types/urlencoded')
- break
- }
-
- // store to prevent invoking require()
- return (parsers[parserName] = parser)
-}
diff --git a/Server/node_modules/body-parser/lib/read.js b/Server/node_modules/body-parser/lib/read.js
deleted file mode 100644
index c102609..0000000
--- a/Server/node_modules/body-parser/lib/read.js
+++ /dev/null
@@ -1,181 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var createError = require('http-errors')
-var getBody = require('raw-body')
-var iconv = require('iconv-lite')
-var onFinished = require('on-finished')
-var zlib = require('zlib')
-
-/**
- * Module exports.
- */
-
-module.exports = read
-
-/**
- * Read a request into a buffer and parse.
- *
- * @param {object} req
- * @param {object} res
- * @param {function} next
- * @param {function} parse
- * @param {function} debug
- * @param {object} options
- * @private
- */
-
-function read (req, res, next, parse, debug, options) {
- var length
- var opts = options
- var stream
-
- // flag as parsed
- req._body = true
-
- // read options
- var encoding = opts.encoding !== null
- ? opts.encoding
- : null
- var verify = opts.verify
-
- try {
- // get the content stream
- stream = contentstream(req, debug, opts.inflate)
- length = stream.length
- stream.length = undefined
- } catch (err) {
- return next(err)
- }
-
- // set raw-body options
- opts.length = length
- opts.encoding = verify
- ? null
- : encoding
-
- // assert charset is supported
- if (opts.encoding === null && encoding !== null && !iconv.encodingExists(encoding)) {
- return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
- charset: encoding.toLowerCase(),
- type: 'charset.unsupported'
- }))
- }
-
- // read body
- debug('read body')
- getBody(stream, opts, function (error, body) {
- if (error) {
- var _error
-
- if (error.type === 'encoding.unsupported') {
- // echo back charset
- _error = createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
- charset: encoding.toLowerCase(),
- type: 'charset.unsupported'
- })
- } else {
- // set status code on error
- _error = createError(400, error)
- }
-
- // read off entire request
- stream.resume()
- onFinished(req, function onfinished () {
- next(createError(400, _error))
- })
- return
- }
-
- // verify
- if (verify) {
- try {
- debug('verify body')
- verify(req, res, body, encoding)
- } catch (err) {
- next(createError(403, err, {
- body: body,
- type: err.type || 'entity.verify.failed'
- }))
- return
- }
- }
-
- // parse
- var str = body
- try {
- debug('parse body')
- str = typeof body !== 'string' && encoding !== null
- ? iconv.decode(body, encoding)
- : body
- req.body = parse(str)
- } catch (err) {
- next(createError(400, err, {
- body: str,
- type: err.type || 'entity.parse.failed'
- }))
- return
- }
-
- next()
- })
-}
-
-/**
- * Get the content stream of the request.
- *
- * @param {object} req
- * @param {function} debug
- * @param {boolean} [inflate=true]
- * @return {object}
- * @api private
- */
-
-function contentstream (req, debug, inflate) {
- var encoding = (req.headers['content-encoding'] || 'identity').toLowerCase()
- var length = req.headers['content-length']
- var stream
-
- debug('content-encoding "%s"', encoding)
-
- if (inflate === false && encoding !== 'identity') {
- throw createError(415, 'content encoding unsupported', {
- encoding: encoding,
- type: 'encoding.unsupported'
- })
- }
-
- switch (encoding) {
- case 'deflate':
- stream = zlib.createInflate()
- debug('inflate body')
- req.pipe(stream)
- break
- case 'gzip':
- stream = zlib.createGunzip()
- debug('gunzip body')
- req.pipe(stream)
- break
- case 'identity':
- stream = req
- stream.length = length
- break
- default:
- throw createError(415, 'unsupported content encoding "' + encoding + '"', {
- encoding: encoding,
- type: 'encoding.unsupported'
- })
- }
-
- return stream
-}
diff --git a/Server/node_modules/body-parser/lib/types/json.js b/Server/node_modules/body-parser/lib/types/json.js
deleted file mode 100644
index 2971dc1..0000000
--- a/Server/node_modules/body-parser/lib/types/json.js
+++ /dev/null
@@ -1,230 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var bytes = require('bytes')
-var contentType = require('content-type')
-var createError = require('http-errors')
-var debug = require('debug')('body-parser:json')
-var read = require('../read')
-var typeis = require('type-is')
-
-/**
- * Module exports.
- */
-
-module.exports = json
-
-/**
- * RegExp to match the first non-space in a string.
- *
- * Allowed whitespace is defined in RFC 7159:
- *
- * ws = *(
- * %x20 / ; Space
- * %x09 / ; Horizontal tab
- * %x0A / ; Line feed or New line
- * %x0D ) ; Carriage return
- */
-
-var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*(.)/ // eslint-disable-line no-control-regex
-
-/**
- * Create a middleware to parse JSON bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @public
- */
-
-function json (options) {
- var opts = options || {}
-
- var limit = typeof opts.limit !== 'number'
- ? bytes.parse(opts.limit || '100kb')
- : opts.limit
- var inflate = opts.inflate !== false
- var reviver = opts.reviver
- var strict = opts.strict !== false
- var type = opts.type || 'application/json'
- var verify = opts.verify || false
-
- if (verify !== false && typeof verify !== 'function') {
- throw new TypeError('option verify must be function')
- }
-
- // create the appropriate type checking function
- var shouldParse = typeof type !== 'function'
- ? typeChecker(type)
- : type
-
- function parse (body) {
- if (body.length === 0) {
- // special-case empty json body, as it's a common client-side mistake
- // TODO: maybe make this configurable or part of "strict" option
- return {}
- }
-
- if (strict) {
- var first = firstchar(body)
-
- if (first !== '{' && first !== '[') {
- debug('strict violation')
- throw createStrictSyntaxError(body, first)
- }
- }
-
- try {
- debug('parse json')
- return JSON.parse(body, reviver)
- } catch (e) {
- throw normalizeJsonSyntaxError(e, {
- message: e.message,
- stack: e.stack
- })
- }
- }
-
- return function jsonParser (req, res, next) {
- if (req._body) {
- debug('body already parsed')
- next()
- return
- }
-
- req.body = req.body || {}
-
- // skip requests without bodies
- if (!typeis.hasBody(req)) {
- debug('skip empty body')
- next()
- return
- }
-
- debug('content-type %j', req.headers['content-type'])
-
- // determine if request should be parsed
- if (!shouldParse(req)) {
- debug('skip parsing')
- next()
- return
- }
-
- // assert charset per RFC 7159 sec 8.1
- var charset = getCharset(req) || 'utf-8'
- if (charset.substr(0, 4) !== 'utf-') {
- debug('invalid charset')
- next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', {
- charset: charset,
- type: 'charset.unsupported'
- }))
- return
- }
-
- // read
- read(req, res, next, parse, debug, {
- encoding: charset,
- inflate: inflate,
- limit: limit,
- verify: verify
- })
- }
-}
-
-/**
- * Create strict violation syntax error matching native error.
- *
- * @param {string} str
- * @param {string} char
- * @return {Error}
- * @private
- */
-
-function createStrictSyntaxError (str, char) {
- var index = str.indexOf(char)
- var partial = str.substring(0, index) + '#'
-
- try {
- JSON.parse(partial); /* istanbul ignore next */ throw new SyntaxError('strict violation')
- } catch (e) {
- return normalizeJsonSyntaxError(e, {
- message: e.message.replace('#', char),
- stack: e.stack
- })
- }
-}
-
-/**
- * Get the first non-whitespace character in a string.
- *
- * @param {string} str
- * @return {function}
- * @private
- */
-
-function firstchar (str) {
- return FIRST_CHAR_REGEXP.exec(str)[1]
-}
-
-/**
- * Get the charset of a request.
- *
- * @param {object} req
- * @api private
- */
-
-function getCharset (req) {
- try {
- return (contentType.parse(req).parameters.charset || '').toLowerCase()
- } catch (e) {
- return undefined
- }
-}
-
-/**
- * Normalize a SyntaxError for JSON.parse.
- *
- * @param {SyntaxError} error
- * @param {object} obj
- * @return {SyntaxError}
- */
-
-function normalizeJsonSyntaxError (error, obj) {
- var keys = Object.getOwnPropertyNames(error)
-
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i]
- if (key !== 'stack' && key !== 'message') {
- delete error[key]
- }
- }
-
- // replace stack before message for Node.js 0.10 and below
- error.stack = obj.stack.replace(error.message, obj.message)
- error.message = obj.message
-
- return error
-}
-
-/**
- * Get the simple type checker.
- *
- * @param {string} type
- * @return {function}
- */
-
-function typeChecker (type) {
- return function checkType (req) {
- return Boolean(typeis(req, type))
- }
-}
diff --git a/Server/node_modules/body-parser/lib/types/raw.js b/Server/node_modules/body-parser/lib/types/raw.js
deleted file mode 100644
index f5d1b67..0000000
--- a/Server/node_modules/body-parser/lib/types/raw.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- */
-
-var bytes = require('bytes')
-var debug = require('debug')('body-parser:raw')
-var read = require('../read')
-var typeis = require('type-is')
-
-/**
- * Module exports.
- */
-
-module.exports = raw
-
-/**
- * Create a middleware to parse raw bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @api public
- */
-
-function raw (options) {
- var opts = options || {}
-
- var inflate = opts.inflate !== false
- var limit = typeof opts.limit !== 'number'
- ? bytes.parse(opts.limit || '100kb')
- : opts.limit
- var type = opts.type || 'application/octet-stream'
- var verify = opts.verify || false
-
- if (verify !== false && typeof verify !== 'function') {
- throw new TypeError('option verify must be function')
- }
-
- // create the appropriate type checking function
- var shouldParse = typeof type !== 'function'
- ? typeChecker(type)
- : type
-
- function parse (buf) {
- return buf
- }
-
- return function rawParser (req, res, next) {
- if (req._body) {
- debug('body already parsed')
- next()
- return
- }
-
- req.body = req.body || {}
-
- // skip requests without bodies
- if (!typeis.hasBody(req)) {
- debug('skip empty body')
- next()
- return
- }
-
- debug('content-type %j', req.headers['content-type'])
-
- // determine if request should be parsed
- if (!shouldParse(req)) {
- debug('skip parsing')
- next()
- return
- }
-
- // read
- read(req, res, next, parse, debug, {
- encoding: null,
- inflate: inflate,
- limit: limit,
- verify: verify
- })
- }
-}
-
-/**
- * Get the simple type checker.
- *
- * @param {string} type
- * @return {function}
- */
-
-function typeChecker (type) {
- return function checkType (req) {
- return Boolean(typeis(req, type))
- }
-}
diff --git a/Server/node_modules/body-parser/lib/types/text.js b/Server/node_modules/body-parser/lib/types/text.js
deleted file mode 100644
index 083a009..0000000
--- a/Server/node_modules/body-parser/lib/types/text.js
+++ /dev/null
@@ -1,121 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- */
-
-var bytes = require('bytes')
-var contentType = require('content-type')
-var debug = require('debug')('body-parser:text')
-var read = require('../read')
-var typeis = require('type-is')
-
-/**
- * Module exports.
- */
-
-module.exports = text
-
-/**
- * Create a middleware to parse text bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @api public
- */
-
-function text (options) {
- var opts = options || {}
-
- var defaultCharset = opts.defaultCharset || 'utf-8'
- var inflate = opts.inflate !== false
- var limit = typeof opts.limit !== 'number'
- ? bytes.parse(opts.limit || '100kb')
- : opts.limit
- var type = opts.type || 'text/plain'
- var verify = opts.verify || false
-
- if (verify !== false && typeof verify !== 'function') {
- throw new TypeError('option verify must be function')
- }
-
- // create the appropriate type checking function
- var shouldParse = typeof type !== 'function'
- ? typeChecker(type)
- : type
-
- function parse (buf) {
- return buf
- }
-
- return function textParser (req, res, next) {
- if (req._body) {
- debug('body already parsed')
- next()
- return
- }
-
- req.body = req.body || {}
-
- // skip requests without bodies
- if (!typeis.hasBody(req)) {
- debug('skip empty body')
- next()
- return
- }
-
- debug('content-type %j', req.headers['content-type'])
-
- // determine if request should be parsed
- if (!shouldParse(req)) {
- debug('skip parsing')
- next()
- return
- }
-
- // get charset
- var charset = getCharset(req) || defaultCharset
-
- // read
- read(req, res, next, parse, debug, {
- encoding: charset,
- inflate: inflate,
- limit: limit,
- verify: verify
- })
- }
-}
-
-/**
- * Get the charset of a request.
- *
- * @param {object} req
- * @api private
- */
-
-function getCharset (req) {
- try {
- return (contentType.parse(req).parameters.charset || '').toLowerCase()
- } catch (e) {
- return undefined
- }
-}
-
-/**
- * Get the simple type checker.
- *
- * @param {string} type
- * @return {function}
- */
-
-function typeChecker (type) {
- return function checkType (req) {
- return Boolean(typeis(req, type))
- }
-}
diff --git a/Server/node_modules/body-parser/lib/types/urlencoded.js b/Server/node_modules/body-parser/lib/types/urlencoded.js
deleted file mode 100644
index b2ca8f1..0000000
--- a/Server/node_modules/body-parser/lib/types/urlencoded.js
+++ /dev/null
@@ -1,284 +0,0 @@
-/*!
- * body-parser
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var bytes = require('bytes')
-var contentType = require('content-type')
-var createError = require('http-errors')
-var debug = require('debug')('body-parser:urlencoded')
-var deprecate = require('depd')('body-parser')
-var read = require('../read')
-var typeis = require('type-is')
-
-/**
- * Module exports.
- */
-
-module.exports = urlencoded
-
-/**
- * Cache of parser modules.
- */
-
-var parsers = Object.create(null)
-
-/**
- * Create a middleware to parse urlencoded bodies.
- *
- * @param {object} [options]
- * @return {function}
- * @public
- */
-
-function urlencoded (options) {
- var opts = options || {}
-
- // notice because option default will flip in next major
- if (opts.extended === undefined) {
- deprecate('undefined extended: provide extended option')
- }
-
- var extended = opts.extended !== false
- var inflate = opts.inflate !== false
- var limit = typeof opts.limit !== 'number'
- ? bytes.parse(opts.limit || '100kb')
- : opts.limit
- var type = opts.type || 'application/x-www-form-urlencoded'
- var verify = opts.verify || false
-
- if (verify !== false && typeof verify !== 'function') {
- throw new TypeError('option verify must be function')
- }
-
- // create the appropriate query parser
- var queryparse = extended
- ? extendedparser(opts)
- : simpleparser(opts)
-
- // create the appropriate type checking function
- var shouldParse = typeof type !== 'function'
- ? typeChecker(type)
- : type
-
- function parse (body) {
- return body.length
- ? queryparse(body)
- : {}
- }
-
- return function urlencodedParser (req, res, next) {
- if (req._body) {
- debug('body already parsed')
- next()
- return
- }
-
- req.body = req.body || {}
-
- // skip requests without bodies
- if (!typeis.hasBody(req)) {
- debug('skip empty body')
- next()
- return
- }
-
- debug('content-type %j', req.headers['content-type'])
-
- // determine if request should be parsed
- if (!shouldParse(req)) {
- debug('skip parsing')
- next()
- return
- }
-
- // assert charset
- var charset = getCharset(req) || 'utf-8'
- if (charset !== 'utf-8') {
- debug('invalid charset')
- next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', {
- charset: charset,
- type: 'charset.unsupported'
- }))
- return
- }
-
- // read
- read(req, res, next, parse, debug, {
- debug: debug,
- encoding: charset,
- inflate: inflate,
- limit: limit,
- verify: verify
- })
- }
-}
-
-/**
- * Get the extended query parser.
- *
- * @param {object} options
- */
-
-function extendedparser (options) {
- var parameterLimit = options.parameterLimit !== undefined
- ? options.parameterLimit
- : 1000
- var parse = parser('qs')
-
- if (isNaN(parameterLimit) || parameterLimit < 1) {
- throw new TypeError('option parameterLimit must be a positive number')
- }
-
- if (isFinite(parameterLimit)) {
- parameterLimit = parameterLimit | 0
- }
-
- return function queryparse (body) {
- var paramCount = parameterCount(body, parameterLimit)
-
- if (paramCount === undefined) {
- debug('too many parameters')
- throw createError(413, 'too many parameters', {
- type: 'parameters.too.many'
- })
- }
-
- var arrayLimit = Math.max(100, paramCount)
-
- debug('parse extended urlencoding')
- return parse(body, {
- allowPrototypes: true,
- arrayLimit: arrayLimit,
- depth: Infinity,
- parameterLimit: parameterLimit
- })
- }
-}
-
-/**
- * Get the charset of a request.
- *
- * @param {object} req
- * @api private
- */
-
-function getCharset (req) {
- try {
- return (contentType.parse(req).parameters.charset || '').toLowerCase()
- } catch (e) {
- return undefined
- }
-}
-
-/**
- * Count the number of parameters, stopping once limit reached
- *
- * @param {string} body
- * @param {number} limit
- * @api private
- */
-
-function parameterCount (body, limit) {
- var count = 0
- var index = 0
-
- while ((index = body.indexOf('&', index)) !== -1) {
- count++
- index++
-
- if (count === limit) {
- return undefined
- }
- }
-
- return count
-}
-
-/**
- * Get parser for module name dynamically.
- *
- * @param {string} name
- * @return {function}
- * @api private
- */
-
-function parser (name) {
- var mod = parsers[name]
-
- if (mod !== undefined) {
- return mod.parse
- }
-
- // this uses a switch for static require analysis
- switch (name) {
- case 'qs':
- mod = require('qs')
- break
- case 'querystring':
- mod = require('querystring')
- break
- }
-
- // store to prevent invoking require()
- parsers[name] = mod
-
- return mod.parse
-}
-
-/**
- * Get the simple query parser.
- *
- * @param {object} options
- */
-
-function simpleparser (options) {
- var parameterLimit = options.parameterLimit !== undefined
- ? options.parameterLimit
- : 1000
- var parse = parser('querystring')
-
- if (isNaN(parameterLimit) || parameterLimit < 1) {
- throw new TypeError('option parameterLimit must be a positive number')
- }
-
- if (isFinite(parameterLimit)) {
- parameterLimit = parameterLimit | 0
- }
-
- return function queryparse (body) {
- var paramCount = parameterCount(body, parameterLimit)
-
- if (paramCount === undefined) {
- debug('too many parameters')
- throw createError(413, 'too many parameters', {
- type: 'parameters.too.many'
- })
- }
-
- debug('parse urlencoding')
- return parse(body, undefined, undefined, { maxKeys: parameterLimit })
- }
-}
-
-/**
- * Get the simple type checker.
- *
- * @param {string} type
- * @return {function}
- */
-
-function typeChecker (type) {
- return function checkType (req) {
- return Boolean(typeis(req, type))
- }
-}
diff --git a/Server/node_modules/body-parser/package.json b/Server/node_modules/body-parser/package.json
deleted file mode 100644
index 9feb98d..0000000
--- a/Server/node_modules/body-parser/package.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
- "_from": "body-parser@^1.19.0",
- "_id": "body-parser@1.19.0",
- "_inBundle": false,
- "_integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
- "_location": "/body-parser",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "body-parser@^1.19.0",
- "name": "body-parser",
- "escapedName": "body-parser",
- "rawSpec": "^1.19.0",
- "saveSpec": null,
- "fetchSpec": "^1.19.0"
- },
- "_requiredBy": [
- "#USER",
- "/",
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
- "_shasum": "96b2709e57c9c4e09a6fd66a8fd979844f69f08a",
- "_spec": "body-parser@^1.19.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server",
- "bugs": {
- "url": "https://github.com/expressjs/body-parser/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "dependencies": {
- "bytes": "3.1.0",
- "content-type": "~1.0.4",
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "http-errors": "1.7.2",
- "iconv-lite": "0.4.24",
- "on-finished": "~2.3.0",
- "qs": "6.7.0",
- "raw-body": "2.4.0",
- "type-is": "~1.6.17"
- },
- "deprecated": false,
- "description": "Node.js body parsing middleware",
- "devDependencies": {
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.17.2",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "8.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "istanbul": "0.4.5",
- "methods": "1.1.2",
- "mocha": "6.1.4",
- "safe-buffer": "5.1.2",
- "supertest": "4.0.2"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "lib/",
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "homepage": "https://github.com/expressjs/body-parser#readme",
- "license": "MIT",
- "name": "body-parser",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/expressjs/body-parser.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --require test/support/env --reporter spec --check-leaks --bail test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/"
- },
- "version": "1.19.0"
-}
diff --git a/Server/node_modules/brace-expansion/LICENSE b/Server/node_modules/brace-expansion/LICENSE
deleted file mode 100644
index de32266..0000000
--- a/Server/node_modules/brace-expansion/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
-
-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.
diff --git a/Server/node_modules/brace-expansion/README.md b/Server/node_modules/brace-expansion/README.md
deleted file mode 100644
index 6b4e0e1..0000000
--- a/Server/node_modules/brace-expansion/README.md
+++ /dev/null
@@ -1,129 +0,0 @@
-# brace-expansion
-
-[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html),
-as known from sh/bash, in JavaScript.
-
-[![build status](https://secure.travis-ci.org/juliangruber/brace-expansion.svg)](http://travis-ci.org/juliangruber/brace-expansion)
-[![downloads](https://img.shields.io/npm/dm/brace-expansion.svg)](https://www.npmjs.org/package/brace-expansion)
-[![Greenkeeper badge](https://badges.greenkeeper.io/juliangruber/brace-expansion.svg)](https://greenkeeper.io/)
-
-[![testling badge](https://ci.testling.com/juliangruber/brace-expansion.png)](https://ci.testling.com/juliangruber/brace-expansion)
-
-## Example
-
-```js
-var expand = require('brace-expansion');
-
-expand('file-{a,b,c}.jpg')
-// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
-
-expand('-v{,,}')
-// => ['-v', '-v', '-v']
-
-expand('file{0..2}.jpg')
-// => ['file0.jpg', 'file1.jpg', 'file2.jpg']
-
-expand('file-{a..c}.jpg')
-// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']
-
-expand('file{2..0}.jpg')
-// => ['file2.jpg', 'file1.jpg', 'file0.jpg']
-
-expand('file{0..4..2}.jpg')
-// => ['file0.jpg', 'file2.jpg', 'file4.jpg']
-
-expand('file-{a..e..2}.jpg')
-// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg']
-
-expand('file{00..10..5}.jpg')
-// => ['file00.jpg', 'file05.jpg', 'file10.jpg']
-
-expand('{{A..C},{a..c}}')
-// => ['A', 'B', 'C', 'a', 'b', 'c']
-
-expand('ppp{,config,oe{,conf}}')
-// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf']
-```
-
-## API
-
-```js
-var expand = require('brace-expansion');
-```
-
-### var expanded = expand(str)
-
-Return an array of all possible and valid expansions of `str`. If none are
-found, `[str]` is returned.
-
-Valid expansions are:
-
-```js
-/^(.*,)+(.+)?$/
-// {a,b,...}
-```
-
-A comma separated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`.
-
-```js
-/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
-// {x..y[..incr]}
-```
-
-A numeric sequence from `x` to `y` inclusive, with optional increment.
-If `x` or `y` start with a leading `0`, all the numbers will be padded
-to have equal length. Negative numbers and backwards iteration work too.
-
-```js
-/^-?\d+\.\.-?\d+(\.\.-?\d+)?$/
-// {x..y[..incr]}
-```
-
-An alphabetic sequence from `x` to `y` inclusive, with optional increment.
-`x` and `y` must be exactly one character, and if given, `incr` must be a
-number.
-
-For compatibility reasons, the string `${` is not eligible for brace expansion.
-
-## Installation
-
-With [npm](https://npmjs.org) do:
-
-```bash
-npm install brace-expansion
-```
-
-## Contributors
-
-- [Julian Gruber](https://github.com/juliangruber)
-- [Isaac Z. Schlueter](https://github.com/isaacs)
-
-## Sponsors
-
-This module is proudly supported by my [Sponsors](https://github.com/juliangruber/sponsors)!
-
-Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my [Patreon](https://www.patreon.com/juliangruber). Not sure how much of my modules you're using? Try [feross/thanks](https://github.com/feross/thanks)!
-
-## License
-
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;julian@juliangruber.com&gt;
-
-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.
diff --git a/Server/node_modules/brace-expansion/index.js b/Server/node_modules/brace-expansion/index.js
deleted file mode 100644
index 0478be8..0000000
--- a/Server/node_modules/brace-expansion/index.js
+++ /dev/null
@@ -1,201 +0,0 @@
-var concatMap = require('concat-map');
-var balanced = require('balanced-match');
-
-module.exports = expandTop;
-
-var escSlash = '\0SLASH'+Math.random()+'\0';
-var escOpen = '\0OPEN'+Math.random()+'\0';
-var escClose = '\0CLOSE'+Math.random()+'\0';
-var escComma = '\0COMMA'+Math.random()+'\0';
-var escPeriod = '\0PERIOD'+Math.random()+'\0';
-
-function numeric(str) {
- return parseInt(str, 10) == str
- ? parseInt(str, 10)
- : str.charCodeAt(0);
-}
-
-function escapeBraces(str) {
- return str.split('\\\\').join(escSlash)
- .split('\\{').join(escOpen)
- .split('\\}').join(escClose)
- .split('\\,').join(escComma)
- .split('\\.').join(escPeriod);
-}
-
-function unescapeBraces(str) {
- return str.split(escSlash).join('\\')
- .split(escOpen).join('{')
- .split(escClose).join('}')
- .split(escComma).join(',')
- .split(escPeriod).join('.');
-}
-
-
-// Basically just str.split(","), but handling cases
-// where we have nested braced sections, which should be
-// treated as individual members, like {a,{b,c},d}
-function parseCommaParts(str) {
- if (!str)
- return [''];
-
- var parts = [];
- var m = balanced('{', '}', str);
-
- if (!m)
- return str.split(',');
-
- var pre = m.pre;
- var body = m.body;
- var post = m.post;
- var p = pre.split(',');
-
- p[p.length-1] += '{' + body + '}';
- var postParts = parseCommaParts(post);
- if (post.length) {
- p[p.length-1] += postParts.shift();
- p.push.apply(p, postParts);
- }
-
- parts.push.apply(parts, p);
-
- return parts;
-}
-
-function expandTop(str) {
- if (!str)
- return [];
-
- // I don't know why Bash 4.3 does this, but it does.
- // Anything starting with {} will have the first two bytes preserved
- // but *only* at the top level, so {},a}b will not expand to anything,
- // but a{},b}c will be expanded to [a}c,abc].
- // One could argue that this is a bug in Bash, but since the goal of
- // this module is to match Bash's rules, we escape a leading {}
- if (str.substr(0, 2) === '{}') {
- str = '\\{\\}' + str.substr(2);
- }
-
- return expand(escapeBraces(str), true).map(unescapeBraces);
-}
-
-function identity(e) {
- return e;
-}
-
-function embrace(str) {
- return '{' + str + '}';
-}
-function isPadded(el) {
- return /^-?0\d/.test(el);
-}
-
-function lte(i, y) {
- return i <= y;
-}
-function gte(i, y) {
- return i >= y;
-}
-
-function expand(str, isTop) {
- var expansions = [];
-
- var m = balanced('{', '}', str);
- if (!m || /\$$/.test(m.pre)) return [str];
-
- var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
- var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
- var isSequence = isNumericSequence || isAlphaSequence;
- var isOptions = m.body.indexOf(',') >= 0;
- if (!isSequence && !isOptions) {
- // {a},b}
- if (m.post.match(/,.*\}/)) {
- str = m.pre + '{' + m.body + escClose + m.post;
- return expand(str);
- }
- return [str];
- }
-
- var n;
- if (isSequence) {
- n = m.body.split(/\.\./);
- } else {
- n = parseCommaParts(m.body);
- if (n.length === 1) {
- // x{{a,b}}y ==> x{a}y x{b}y
- n = expand(n[0], false).map(embrace);
- if (n.length === 1) {
- var post = m.post.length
- ? expand(m.post, false)
- : [''];
- return post.map(function(p) {
- return m.pre + n[0] + p;
- });
- }
- }
- }
-
- // at this point, n is the parts, and we know it's not a comma set
- // with a single entry.
-
- // no need to expand pre, since it is guaranteed to be free of brace-sets
- var pre = m.pre;
- var post = m.post.length
- ? expand(m.post, false)
- : [''];
-
- var N;
-
- if (isSequence) {
- var x = numeric(n[0]);
- var y = numeric(n[1]);
- var width = Math.max(n[0].length, n[1].length)
- var incr = n.length == 3
- ? Math.abs(numeric(n[2]))
- : 1;
- var test = lte;
- var reverse = y < x;
- if (reverse) {
- incr *= -1;
- test = gte;
- }
- var pad = n.some(isPadded);
-
- N = [];
-
- for (var i = x; test(i, y); i += incr) {
- var c;
- if (isAlphaSequence) {
- c = String.fromCharCode(i);
- if (c === '\\')
- c = '';
- } else {
- c = String(i);
- if (pad) {
- var need = width - c.length;
- if (need > 0) {
- var z = new Array(need + 1).join('0');
- if (i < 0)
- c = '-' + z + c.slice(1);
- else
- c = z + c;
- }
- }
- }
- N.push(c);
- }
- } else {
- N = concatMap(n, function(el) { return expand(el, false) });
- }
-
- for (var j = 0; j < N.length; j++) {
- for (var k = 0; k < post.length; k++) {
- var expansion = pre + N[j] + post[k];
- if (!isTop || isSequence || expansion)
- expansions.push(expansion);
- }
- }
-
- return expansions;
-}
-
diff --git a/Server/node_modules/brace-expansion/package.json b/Server/node_modules/brace-expansion/package.json
deleted file mode 100644
index 2faf452..0000000
--- a/Server/node_modules/brace-expansion/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "_from": "brace-expansion@^1.1.7",
- "_id": "brace-expansion@1.1.11",
- "_inBundle": false,
- "_integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "_location": "/brace-expansion",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "brace-expansion@^1.1.7",
- "name": "brace-expansion",
- "escapedName": "brace-expansion",
- "rawSpec": "^1.1.7",
- "saveSpec": null,
- "fetchSpec": "^1.1.7"
- },
- "_requiredBy": [
- "/minimatch"
- ],
- "_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "_shasum": "3c7fcbf529d87226f3d2f52b966ff5271eb441dd",
- "_spec": "brace-expansion@^1.1.7",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/minimatch",
- "author": {
- "name": "Julian Gruber",
- "email": "mail@juliangruber.com",
- "url": "http://juliangruber.com"
- },
- "bugs": {
- "url": "https://github.com/juliangruber/brace-expansion/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- },
- "deprecated": false,
- "description": "Brace expansion as known from sh/bash",
- "devDependencies": {
- "matcha": "^0.7.0",
- "tape": "^4.6.0"
- },
- "homepage": "https://github.com/juliangruber/brace-expansion",
- "keywords": [],
- "license": "MIT",
- "main": "index.js",
- "name": "brace-expansion",
- "repository": {
- "type": "git",
- "url": "git://github.com/juliangruber/brace-expansion.git"
- },
- "scripts": {
- "bench": "matcha test/perf/bench.js",
- "gentest": "bash test/generate.sh",
- "test": "tape test/*.js"
- },
- "testling": {
- "files": "test/*.js",
- "browsers": [
- "ie/8..latest",
- "firefox/20..latest",
- "firefox/nightly",
- "chrome/25..latest",
- "chrome/canary",
- "opera/12..latest",
- "opera/next",
- "safari/5.1..latest",
- "ipad/6.0..latest",
- "iphone/6.0..latest",
- "android-browser/4.2..latest"
- ]
- },
- "version": "1.1.11"
-}
diff --git a/Server/node_modules/busboy/.travis.yml b/Server/node_modules/busboy/.travis.yml
deleted file mode 100644
index 76a4d5b..0000000
--- a/Server/node_modules/busboy/.travis.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-sudo: false
-language: cpp
-notifications:
- email: false
-env:
- matrix:
- - TRAVIS_NODE_VERSION="4"
- - TRAVIS_NODE_VERSION="6"
- - TRAVIS_NODE_VERSION="8"
- - TRAVIS_NODE_VERSION="10"
-install:
- - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- - node --version
- - npm --version
- - npm install
-script: npm test
diff --git a/Server/node_modules/busboy/LICENSE b/Server/node_modules/busboy/LICENSE
deleted file mode 100644
index 290762e..0000000
--- a/Server/node_modules/busboy/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright Brian White. All rights reserved.
-
-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.
\ No newline at end of file
diff --git a/Server/node_modules/busboy/README.md b/Server/node_modules/busboy/README.md
deleted file mode 100644
index 471a6d4..0000000
--- a/Server/node_modules/busboy/README.md
+++ /dev/null
@@ -1,222 +0,0 @@
-Description
-===========
-
-A node.js module for parsing incoming HTML form data.
-
-
-Requirements
-============
-
-* [node.js](http://nodejs.org/) -- v4.5.0 or newer
-
-
-Install
-=======
-
- npm install busboy
-
-
-Examples
-========
-
-* Parsing (multipart) with default options:
-
-```javascript
-var http = require('http'),
- inspect = require('util').inspect;
-
-var Busboy = require('busboy');
-
-http.createServer(function(req, res) {
- if (req.method === 'POST') {
- var busboy = new Busboy({ headers: req.headers });
- busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {
- console.log('File [' + fieldname + ']: filename: ' + filename + ', encoding: ' + encoding + ', mimetype: ' + mimetype);
- file.on('data', function(data) {
- console.log('File [' + fieldname + '] got ' + data.length + ' bytes');
- });
- file.on('end', function() {
- console.log('File [' + fieldname + '] Finished');
- });
- });
- busboy.on('field', function(fieldname, val, fieldnameTruncated, valTruncated, encoding, mimetype) {
- console.log('Field [' + fieldname + ']: value: ' + inspect(val));
- });
- busboy.on('finish', function() {
- console.log('Done parsing form!');
- res.writeHead(303, { Connection: 'close', Location: '/' });
- res.end();
- });
- req.pipe(busboy);
- } else if (req.method === 'GET') {
- res.writeHead(200, { Connection: 'close' });
- res.end('<html><head></head><body>\
- <form method="POST" enctype="multipart/form-data">\
- <input type="text" name="textfield"><br />\
- <input type="file" name="filefield"><br />\
- <input type="submit">\
- </form>\
- </body></html>');
- }
-}).listen(8000, function() {
- console.log('Listening for requests');
-});
-
-// Example output, using http://nodejs.org/images/ryan-speaker.jpg as the file:
-//
-// Listening for requests
-// File [filefield]: filename: ryan-speaker.jpg, encoding: binary
-// File [filefield] got 11971 bytes
-// Field [textfield]: value: 'testing! :-)'
-// File [filefield] Finished
-// Done parsing form!
-```
-
-* Save all incoming files to disk:
-
-```javascript
-var http = require('http'),
- path = require('path'),
- os = require('os'),
- fs = require('fs');
-
-var Busboy = require('busboy');
-
-http.createServer(function(req, res) {
- if (req.method === 'POST') {
- var busboy = new Busboy({ headers: req.headers });
- busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {
- var saveTo = path.join(os.tmpDir(), path.basename(fieldname));
- file.pipe(fs.createWriteStream(saveTo));
- });
- busboy.on('finish', function() {
- res.writeHead(200, { 'Connection': 'close' });
- res.end("That's all folks!");
- });
- return req.pipe(busboy);
- }
- res.writeHead(404);
- res.end();
-}).listen(8000, function() {
- console.log('Listening for requests');
-});
-```
-
-* Parsing (urlencoded) with default options:
-
-```javascript
-var http = require('http'),
- inspect = require('util').inspect;
-
-var Busboy = require('busboy');
-
-http.createServer(function(req, res) {
- if (req.method === 'POST') {
- var busboy = new Busboy({ headers: req.headers });
- busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {
- console.log('File [' + fieldname + ']: filename: ' + filename);
- file.on('data', function(data) {
- console.log('File [' + fieldname + '] got ' + data.length + ' bytes');
- });
- file.on('end', function() {
- console.log('File [' + fieldname + '] Finished');
- });
- });
- busboy.on('field', function(fieldname, val, fieldnameTruncated, valTruncated) {
- console.log('Field [' + fieldname + ']: value: ' + inspect(val));
- });
- busboy.on('finish', function() {
- console.log('Done parsing form!');
- res.writeHead(303, { Connection: 'close', Location: '/' });
- res.end();
- });
- req.pipe(busboy);
- } else if (req.method === 'GET') {
- res.writeHead(200, { Connection: 'close' });
- res.end('<html><head></head><body>\
- <form method="POST">\
- <input type="text" name="textfield"><br />\
- <select name="selectfield">\
- <option value="1">1</option>\
- <option value="10">10</option>\
- <option value="100">100</option>\
- <option value="9001">9001</option>\
- </select><br />\
- <input type="checkbox" name="checkfield">Node.js rules!<br />\
- <input type="submit">\
- </form>\
- </body></html>');
- }
-}).listen(8000, function() {
- console.log('Listening for requests');
-});
-
-// Example output:
-//
-// Listening for requests
-// Field [textfield]: value: 'testing! :-)'
-// Field [selectfield]: value: '9001'
-// Field [checkfield]: value: 'on'
-// Done parsing form!
-```
-
-
-API
-===
-
-_Busboy_ is a _Writable_ stream
-
-Busboy (special) events
------------------------
-
-* **file**(< _string_ >fieldname, < _ReadableStream_ >stream, < _string_ >filename, < _string_ >transferEncoding, < _string_ >mimeType) - Emitted for each new file form field found. `transferEncoding` contains the 'Content-Transfer-Encoding' value for the file stream. `mimeType` contains the 'Content-Type' value for the file stream.
- * Note: if you listen for this event, you should always handle the `stream` no matter if you care about the file contents or not (e.g. you can simply just do `stream.resume();` if you want to discard the contents), otherwise the 'finish' event will never fire on the Busboy instance. However, if you don't care about **any** incoming files, you can simply not listen for the 'file' event at all and any/all files will be automatically and safely discarded (these discarded files do still count towards `files` and `parts` limits).
- * If a configured file size limit was reached, `stream` will both have a boolean property `truncated` (best checked at the end of the stream) and emit a 'limit' event to notify you when this happens.
-
-* **field**(< _string_ >fieldname, < _string_ >value, < _boolean_ >fieldnameTruncated, < _boolean_ >valueTruncated, < _string_ >transferEncoding, < _string_ >mimeType) - Emitted for each new non-file field found.
-
-* **partsLimit**() - Emitted when specified `parts` limit has been reached. No more 'file' or 'field' events will be emitted.
-
-* **filesLimit**() - Emitted when specified `files` limit has been reached. No more 'file' events will be emitted.
-
-* **fieldsLimit**() - Emitted when specified `fields` limit has been reached. No more 'field' events will be emitted.
-
-
-Busboy methods
---------------
-
-* **(constructor)**(< _object_ >config) - Creates and returns a new Busboy instance.
-
- * The constructor takes the following valid `config` settings:
-
- * **headers** - _object_ - These are the HTTP headers of the incoming request, which are used by individual parsers.
-
- * **highWaterMark** - _integer_ - highWaterMark to use for this Busboy instance (Default: WritableStream default).
-
- * **fileHwm** - _integer_ - highWaterMark to use for file streams (Default: ReadableStream default).
-
- * **defCharset** - _string_ - Default character set to use when one isn't defined (Default: 'utf8').
-
- * **preservePath** - _boolean_ - If paths in the multipart 'filename' field shall be preserved. (Default: false).
-
- * **limits** - _object_ - Various limits on incoming data. Valid properties are:
-
- * **fieldNameSize** - _integer_ - Max field name size (in bytes) (Default: 100 bytes).
-
- * **fieldSize** - _integer_ - Max field value size (in bytes) (Default: 1MB).
-
- * **fields** - _integer_ - Max number of non-file fields (Default: Infinity).
-
- * **fileSize** - _integer_ - For multipart forms, the max file size (in bytes) (Default: Infinity).
-
- * **files** - _integer_ - For multipart forms, the max number of file fields (Default: Infinity).
-
- * **parts** - _integer_ - For multipart forms, the max number of parts (fields + files) (Default: Infinity).
-
- * **headerPairs** - _integer_ - For multipart forms, the max number of header key=>value pairs to parse **Default:** 2000 (same as node's http).
-
- * The constructor can throw errors:
-
- * **Unsupported content type: $type** - The `Content-Type` isn't one Busboy can parse.
-
- * **Missing Content-Type** - The provided headers don't include `Content-Type` at all.
diff --git a/Server/node_modules/busboy/deps/encoding/encoding-indexes.js b/Server/node_modules/busboy/deps/encoding/encoding-indexes.js
deleted file mode 100644
index 1ee254d..0000000
--- a/Server/node_modules/busboy/deps/encoding/encoding-indexes.js
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- Modifications for better node.js integration:
- Copyright 2013 Brian White. All rights reserved.
-
- 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.
-*/
-/*
- Copyright 2012 Joshua Bell
-
- 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.
-*/
-module.exports = {
- "big5":[null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 17392, 19506, 17923, 17830, 17784, 160359, 19831, 17843, 162993, 19682, 163013, 15253, 18230, 18244, 19527, 19520, 148159, 144919, 160594, 159371, 159954, 19543, 172881, 18255, 17882, 19589, 162924, 19719, 19108, 18081, 158499, 29221, 154196, 137827, 146950, 147297, 26189, 22267, null, 32149, 22813, 166841, 15860, 38708, 162799, 23515, 138590, 23204, 13861, 171696, 23249, 23479, 23804, 26478, 34195, 170309, 29793, 29853, 14453, 138579, 145054, 155681, 16108, 153822, 15093, 31484, 40855, 147809, 166157, 143850, 133770, 143966, 17162, 33924, 40854, 37935, 18736, 34323, 22678, 38730, 37400, 31184, 31282, 26208, 27177, 34973, 29772, 31685, 26498, 31276, 21071, 36934, 13542, 29636, 155065, 29894, 40903, 22451, 18735, 21580, 16689, 145038, 22552, 31346, 162661, 35727, 18094, 159368, 16769, 155033, 31662, 140476, 40904, 140481, 140489, 140492, 40905, 34052, 144827, 16564, 40906, 17633, 175615, 25281, 28782, 40907, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 12736, 12737, 12738, 12739, 12740, 131340, 12741, 131281, 131277, 12742, 12743, 131275, 139240, 12744, 131274, 12745, 12746, 12747, 12748, 131342, 12749, 12750, 256, 193, 461, 192, 274, 201, 282, 200, 332, 211, 465, 210, null, 7870, null, 7872, 202, 257, 225, 462, 224, 593, 275, 233, 283, 232, 299, 237, 464, 236, 333, 243, 466, 242, 363, 250, 468, 249, 470, 472, 474, 476, 252, null, 7871, null, 7873, 234, 609, 9178, 9179, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 172969, 135493, null, 25866, null, null, 20029, 28381, 40270, 37343, null, null, 161589, 25745, 20250, 20264, 20392, 20822, 20852, 20892, 20964, 21153, 21160, 21307, 21326, 21457, 21464, 22242, 22768, 22788, 22791, 22834, 22836, 23398, 23454, 23455, 23706, 24198, 24635, 25993, 26622, 26628, 26725, 27982, 28860, 30005, 32420, 32428, 32442, 32455, 32463, 32479, 32518, 32567, 33402, 33487, 33647, 35270, 35774, 35810, 36710, 36711, 36718, 29713, 31996, 32205, 26950, 31433, 21031, null, null, null, null, 37260, 30904, 37214, 32956, null, 36107, 33014, 133607, null, null, 32927, 40647, 19661, 40393, 40460, 19518, 171510, 159758, 40458, 172339, 13761, null, 28314, 33342, 29977, null, 18705, 39532, 39567, 40857, 31111, 164972, 138698, 132560, 142054, 20004, 20097, 20096, 20103, 20159, 20203, 20279, 13388, 20413, 15944, 20483, 20616, 13437, 13459, 13477, 20870, 22789, 20955, 20988, 20997, 20105, 21113, 21136, 21287, 13767, 21417, 13649, 21424, 13651, 21442, 21539, 13677, 13682, 13953, 21651, 21667, 21684, 21689, 21712, 21743, 21784, 21795, 21800, 13720, 21823, 13733, 13759, 21975, 13765, 163204, 21797, null, 134210, 134421, 151851, 21904, 142534, 14828, 131905, 36422, 150968, 169189, 16467, 164030, 30586, 142392, 14900, 18389, 164189, 158194, 151018, 25821, 134524, 135092, 134357, 135412, 25741, 36478, 134806, 134155, 135012, 142505, 164438, 148691, null, 134470, 170573, 164073, 18420, 151207, 142530, 39602, 14951, 169460, 16365, 13574, 152263, 169940, 161992, 142660, 40302, 38933, null, 17369, 155813, 25780, 21731, 142668, 142282, 135287, 14843, 135279, 157402, 157462, 162208, 25834, 151634, 134211, 36456, 139681, 166732, 132913, null, 18443, 131497, 16378, 22643, 142733, null, 148936, 132348, 155799, 134988, 134550, 21881, 16571, 17338, null, 19124, 141926, 135325, 33194, 39157, 134556, 25465, 14846, 141173, 36288, 22177, 25724, 15939, null, 173569, 134665, 142031, 142537, null, 135368, 145858, 14738, 14854, 164507, 13688, 155209, 139463, 22098, 134961, 142514, 169760, 13500, 27709, 151099, null, null, 161140, 142987, 139784, 173659, 167117, 134778, 134196, 157724, 32659, 135375, 141315, 141625, 13819, 152035, 134796, 135053, 134826, 16275, 134960, 134471, 135503, 134732, null, 134827, 134057, 134472, 135360, 135485, 16377, 140950, 25650, 135085, 144372, 161337, 142286, 134526, 134527, 142417, 142421, 14872, 134808, 135367, 134958, 173618, 158544, 167122, 167321, 167114, 38314, 21708, 33476, 21945, null, 171715, 39974, 39606, 161630, 142830, 28992, 33133, 33004, 23580, 157042, 33076, 14231, 21343, 164029, 37302, 134906, 134671, 134775, 134907, 13789, 151019, 13833, 134358, 22191, 141237, 135369, 134672, 134776, 135288, 135496, 164359, 136277, 134777, 151120, 142756, 23124, 135197, 135198, 135413, 135414, 22428, 134673, 161428, 164557, 135093, 134779, 151934, 14083, 135094, 135552, 152280, 172733, 149978, 137274, 147831, 164476, 22681, 21096, 13850, 153405, 31666, 23400, 18432, 19244, 40743, 18919, 39967, 39821, 154484, 143677, 22011, 13810, 22153, 20008, 22786, 138177, 194680, 38737, 131206, 20059, 20155, 13630, 23587, 24401, 24516, 14586, 25164, 25909, 27514, 27701, 27706, 28780, 29227, 20012, 29357, 149737, 32594, 31035, 31993, 32595, 156266, 13505, null, 156491, 32770, 32896, 157202, 158033, 21341, 34916, 35265, 161970, 35744, 36125, 38021, 38264, 38271, 38376, 167439, 38886, 39029, 39118, 39134, 39267, 170000, 40060, 40479, 40644, 27503, 63751, 20023, 131207, 38429, 25143, 38050, null, 20539, 28158, 171123, 40870, 15817, 34959, 147790, 28791, 23797, 19232, 152013, 13657, 154928, 24866, 166450, 36775, 37366, 29073, 26393, 29626, 144001, 172295, 15499, 137600, 19216, 30948, 29698, 20910, 165647, 16393, 27235, 172730, 16931, 34319, 133743, 31274, 170311, 166634, 38741, 28749, 21284, 139390, 37876, 30425, 166371, 40871, 30685, 20131, 20464, 20668, 20015, 20247, 40872, 21556, 32139, 22674, 22736, 138678, 24210, 24217, 24514, 141074, 25995, 144377, 26905, 27203, 146531, 27903, null, 29184, 148741, 29580, 16091, 150035, 23317, 29881, 35715, 154788, 153237, 31379, 31724, 31939, 32364, 33528, 34199, 40873, 34960, 40874, 36537, 40875, 36815, 34143, 39392, 37409, 40876, 167353, 136255, 16497, 17058, 23066, null, null, null, 39016, 26475, 17014, 22333, null, 34262, 149883, 33471, 160013, 19585, 159092, 23931, 158485, 159678, 40877, 40878, 23446, 40879, 26343, 32347, 28247, 31178, 15752, 17603, 143958, 141206, 17306, 17718, null, 23765, 146202, 35577, 23672, 15634, 144721, 23928, 40882, 29015, 17752, 147692, 138787, 19575, 14712, 13386, 131492, 158785, 35532, 20404, 131641, 22975, 33132, 38998, 170234, 24379, 134047, null, 139713, 166253, 16642, 18107, 168057, 16135, 40883, 172469, 16632, 14294, 18167, 158790, 16764, 165554, 160767, 17773, 14548, 152730, 17761, 17691, 19849, 19579, 19830, 17898, 16328, 150287, 13921, 17630, 17597, 16877, 23870, 23880, 23894, 15868, 14351, 23972, 23993, 14368, 14392, 24130, 24253, 24357, 24451, 14600, 14612, 14655, 14669, 24791, 24893, 23781, 14729, 25015, 25017, 25039, 14776, 25132, 25232, 25317, 25368, 14840, 22193, 14851, 25570, 25595, 25607, 25690, 14923, 25792, 23829, 22049, 40863, 14999, 25990, 15037, 26111, 26195, 15090, 26258, 15138, 26390, 15170, 26532, 26624, 15192, 26698, 26756, 15218, 15217, 15227, 26889, 26947, 29276, 26980, 27039, 27013, 15292, 27094, 15325, 27237, 27252, 27249, 27266, 15340, 27289, 15346, 27307, 27317, 27348, 27382, 27521, 27585, 27626, 27765, 27818, 15563, 27906, 27910, 27942, 28033, 15599, 28068, 28081, 28181, 28184, 28201, 28294, 166336, 28347, 28386, 28378, 40831, 28392, 28393, 28452, 28468, 15686, 147265, 28545, 28606, 15722, 15733, 29111, 23705, 15754, 28716, 15761, 28752, 28756, 28783, 28799, 28809, 131877, 17345, 13809, 134872, 147159, 22462, 159443, 28990, 153568, 13902, 27042, 166889, 23412, 31305, 153825, 169177, 31333, 31357, 154028, 31419, 31408, 31426, 31427, 29137, 156813, 16842, 31450, 31453, 31466, 16879, 21682, 154625, 31499, 31573, 31529, 152334, 154878, 31650, 31599, 33692, 154548, 158847, 31696, 33825, 31634, 31672, 154912, 15789, 154725, 33938, 31738, 31750, 31797, 154817, 31812, 31875, 149634, 31910, 26237, 148856, 31945, 31943, 31974, 31860, 31987, 31989, 31950, 32359, 17693, 159300, 32093, 159446, 29837, 32137, 32171, 28981, 32179, 32210, 147543, 155689, 32228, 15635, 32245, 137209, 32229, 164717, 32285, 155937, 155994, 32366, 32402, 17195, 37996, 32295, 32576, 32577, 32583, 31030, 156368, 39393, 32663, 156497, 32675, 136801, 131176, 17756, 145254, 17667, 164666, 32762, 156809, 32773, 32776, 32797, 32808, 32815, 172167, 158915, 32827, 32828, 32865, 141076, 18825, 157222, 146915, 157416, 26405, 32935, 166472, 33031, 33050, 22704, 141046, 27775, 156824, 151480, 25831, 136330, 33304, 137310, 27219, 150117, 150165, 17530, 33321, 133901, 158290, 146814, 20473, 136445, 34018, 33634, 158474, 149927, 144688, 137075, 146936, 33450, 26907, 194964, 16859, 34123, 33488, 33562, 134678, 137140, 14017, 143741, 144730, 33403, 33506, 33560, 147083, 159139, 158469, 158615, 144846, 15807, 33565, 21996, 33669, 17675, 159141, 33708, 33729, 33747, 13438, 159444, 27223, 34138, 13462, 159298, 143087, 33880, 154596, 33905, 15827, 17636, 27303, 33866, 146613, 31064, 33960, 158614, 159351, 159299, 34014, 33807, 33681, 17568, 33939, 34020, 154769, 16960, 154816, 17731, 34100, 23282, 159385, 17703, 34163, 17686, 26559, 34326, 165413, 165435, 34241, 159880, 34306, 136578, 159949, 194994, 17770, 34344, 13896, 137378, 21495, 160666, 34430, 34673, 172280, 34798, 142375, 34737, 34778, 34831, 22113, 34412, 26710, 17935, 34885, 34886, 161248, 146873, 161252, 34910, 34972, 18011, 34996, 34997, 25537, 35013, 30583, 161551, 35207, 35210, 35238, 35241, 35239, 35260, 166437, 35303, 162084, 162493, 35484, 30611, 37374, 35472, 162393, 31465, 162618, 147343, 18195, 162616, 29052, 35596, 35615, 152624, 152933, 35647, 35660, 35661, 35497, 150138, 35728, 35739, 35503, 136927, 17941, 34895, 35995, 163156, 163215, 195028, 14117, 163155, 36054, 163224, 163261, 36114, 36099, 137488, 36059, 28764, 36113, 150729, 16080, 36215, 36265, 163842, 135188, 149898, 15228, 164284, 160012, 31463, 36525, 36534, 36547, 37588, 36633, 36653, 164709, 164882, 36773, 37635, 172703, 133712, 36787, 18730, 166366, 165181, 146875, 24312, 143970, 36857, 172052, 165564, 165121, 140069, 14720, 159447, 36919, 165180, 162494, 36961, 165228, 165387, 37032, 165651, 37060, 165606, 37038, 37117, 37223, 15088, 37289, 37316, 31916, 166195, 138889, 37390, 27807, 37441, 37474, 153017, 37561, 166598, 146587, 166668, 153051, 134449, 37676, 37739, 166625, 166891, 28815, 23235, 166626, 166629, 18789, 37444, 166892, 166969, 166911, 37747, 37979, 36540, 38277, 38310, 37926, 38304, 28662, 17081, 140922, 165592, 135804, 146990, 18911, 27676, 38523, 38550, 16748, 38563, 159445, 25050, 38582, 30965, 166624, 38589, 21452, 18849, 158904, 131700, 156688, 168111, 168165, 150225, 137493, 144138, 38705, 34370, 38710, 18959, 17725, 17797, 150249, 28789, 23361, 38683, 38748, 168405, 38743, 23370, 168427, 38751, 37925, 20688, 143543, 143548, 38793, 38815, 38833, 38846, 38848, 38866, 38880, 152684, 38894, 29724, 169011, 38911, 38901, 168989, 162170, 19153, 38964, 38963, 38987, 39014, 15118, 160117, 15697, 132656, 147804, 153350, 39114, 39095, 39112, 39111, 19199, 159015, 136915, 21936, 39137, 39142, 39148, 37752, 39225, 150057, 19314, 170071, 170245, 39413, 39436, 39483, 39440, 39512, 153381, 14020, 168113, 170965, 39648, 39650, 170757, 39668, 19470, 39700, 39725, 165376, 20532, 39732, 158120, 14531, 143485, 39760, 39744, 171326, 23109, 137315, 39822, 148043, 39938, 39935, 39948, 171624, 40404, 171959, 172434, 172459, 172257, 172323, 172511, 40318, 40323, 172340, 40462, 26760, 40388, 139611, 172435, 172576, 137531, 172595, 40249, 172217, 172724, 40592, 40597, 40606, 40610, 19764, 40618, 40623, 148324, 40641, 15200, 14821, 15645, 20274, 14270, 166955, 40706, 40712, 19350, 37924, 159138, 40727, 40726, 40761, 22175, 22154, 40773, 39352, 168075, 38898, 33919, 40802, 40809, 31452, 40846, 29206, 19390, 149877, 149947, 29047, 150008, 148296, 150097, 29598, 166874, 137466, 31135, 166270, 167478, 37737, 37875, 166468, 37612, 37761, 37835, 166252, 148665, 29207, 16107, 30578, 31299, 28880, 148595, 148472, 29054, 137199, 28835, 137406, 144793, 16071, 137349, 152623, 137208, 14114, 136955, 137273, 14049, 137076, 137425, 155467, 14115, 136896, 22363, 150053, 136190, 135848, 136134, 136374, 34051, 145062, 34051, 33877, 149908, 160101, 146993, 152924, 147195, 159826, 17652, 145134, 170397, 159526, 26617, 14131, 15381, 15847, 22636, 137506, 26640, 16471, 145215, 147681, 147595, 147727, 158753, 21707, 22174, 157361, 22162, 135135, 134056, 134669, 37830, 166675, 37788, 20216, 20779, 14361, 148534, 20156, 132197, 131967, 20299, 20362, 153169, 23144, 131499, 132043, 14745, 131850, 132116, 13365, 20265, 131776, 167603, 131701, 35546, 131596, 20120, 20685, 20749, 20386, 20227, 150030, 147082, 20290, 20526, 20588, 20609, 20428, 20453, 20568, 20732, 20825, 20827, 20829, 20830, 28278, 144789, 147001, 147135, 28018, 137348, 147081, 20904, 20931, 132576, 17629, 132259, 132242, 132241, 36218, 166556, 132878, 21081, 21156, 133235, 21217, 37742, 18042, 29068, 148364, 134176, 149932, 135396, 27089, 134685, 29817, 16094, 29849, 29716, 29782, 29592, 19342, 150204, 147597, 21456, 13700, 29199, 147657, 21940, 131909, 21709, 134086, 22301, 37469, 38644, 37734, 22493, 22413, 22399, 13886, 22731, 23193, 166470, 136954, 137071, 136976, 23084, 22968, 37519, 23166, 23247, 23058, 153926, 137715, 137313, 148117, 14069, 27909, 29763, 23073, 155267, 23169, 166871, 132115, 37856, 29836, 135939, 28933, 18802, 37896, 166395, 37821, 14240, 23582, 23710, 24158, 24136, 137622, 137596, 146158, 24269, 23375, 137475, 137476, 14081, 137376, 14045, 136958, 14035, 33066, 166471, 138682, 144498, 166312, 24332, 24334, 137511, 137131, 23147, 137019, 23364, 34324, 161277, 34912, 24702, 141408, 140843, 24539, 16056, 140719, 140734, 168072, 159603, 25024, 131134, 131142, 140827, 24985, 24984, 24693, 142491, 142599, 149204, 168269, 25713, 149093, 142186, 14889, 142114, 144464, 170218, 142968, 25399, 173147, 25782, 25393, 25553, 149987, 142695, 25252, 142497, 25659, 25963, 26994, 15348, 143502, 144045, 149897, 144043, 21773, 144096, 137433, 169023, 26318, 144009, 143795, 15072, 16784, 152964, 166690, 152975, 136956, 152923, 152613, 30958, 143619, 137258, 143924, 13412, 143887, 143746, 148169, 26254, 159012, 26219, 19347, 26160, 161904, 138731, 26211, 144082, 144097, 26142, 153714, 14545, 145466, 145340, 15257, 145314, 144382, 29904, 15254, 26511, 149034, 26806, 26654, 15300, 27326, 14435, 145365, 148615, 27187, 27218, 27337, 27397, 137490, 25873, 26776, 27212, 15319, 27258, 27479, 147392, 146586, 37792, 37618, 166890, 166603, 37513, 163870, 166364, 37991, 28069, 28427, 149996, 28007, 147327, 15759, 28164, 147516, 23101, 28170, 22599, 27940, 30786, 28987, 148250, 148086, 28913, 29264, 29319, 29332, 149391, 149285, 20857, 150180, 132587, 29818, 147192, 144991, 150090, 149783, 155617, 16134, 16049, 150239, 166947, 147253, 24743, 16115, 29900, 29756, 37767, 29751, 17567, 159210, 17745, 30083, 16227, 150745, 150790, 16216, 30037, 30323, 173510, 15129, 29800, 166604, 149931, 149902, 15099, 15821, 150094, 16127, 149957, 149747, 37370, 22322, 37698, 166627, 137316, 20703, 152097, 152039, 30584, 143922, 30478, 30479, 30587, 149143, 145281, 14942, 149744, 29752, 29851, 16063, 150202, 150215, 16584, 150166, 156078, 37639, 152961, 30750, 30861, 30856, 30930, 29648, 31065, 161601, 153315, 16654, 31131, 33942, 31141, 27181, 147194, 31290, 31220, 16750, 136934, 16690, 37429, 31217, 134476, 149900, 131737, 146874, 137070, 13719, 21867, 13680, 13994, 131540, 134157, 31458, 23129, 141045, 154287, 154268, 23053, 131675, 30960, 23082, 154566, 31486, 16889, 31837, 31853, 16913, 154547, 155324, 155302, 31949, 150009, 137136, 31886, 31868, 31918, 27314, 32220, 32263, 32211, 32590, 156257, 155996, 162632, 32151, 155266, 17002, 158581, 133398, 26582, 131150, 144847, 22468, 156690, 156664, 149858, 32733, 31527, 133164, 154345, 154947, 31500, 155150, 39398, 34373, 39523, 27164, 144447, 14818, 150007, 157101, 39455, 157088, 33920, 160039, 158929, 17642, 33079, 17410, 32966, 33033, 33090, 157620, 39107, 158274, 33378, 33381, 158289, 33875, 159143, 34320, 160283, 23174, 16767, 137280, 23339, 137377, 23268, 137432, 34464, 195004, 146831, 34861, 160802, 23042, 34926, 20293, 34951, 35007, 35046, 35173, 35149, 153219, 35156, 161669, 161668, 166901, 166873, 166812, 166393, 16045, 33955, 18165, 18127, 14322, 35389, 35356, 169032, 24397, 37419, 148100, 26068, 28969, 28868, 137285, 40301, 35999, 36073, 163292, 22938, 30659, 23024, 17262, 14036, 36394, 36519, 150537, 36656, 36682, 17140, 27736, 28603, 140065, 18587, 28537, 28299, 137178, 39913, 14005, 149807, 37051, 37015, 21873, 18694, 37307, 37892, 166475, 16482, 166652, 37927, 166941, 166971, 34021, 35371, 38297, 38311, 38295, 38294, 167220, 29765, 16066, 149759, 150082, 148458, 16103, 143909, 38543, 167655, 167526, 167525, 16076, 149997, 150136, 147438, 29714, 29803, 16124, 38721, 168112, 26695, 18973, 168083, 153567, 38749, 37736, 166281, 166950, 166703, 156606, 37562, 23313, 35689, 18748, 29689, 147995, 38811, 38769, 39224, 134950, 24001, 166853, 150194, 38943, 169178, 37622, 169431, 37349, 17600, 166736, 150119, 166756, 39132, 166469, 16128, 37418, 18725, 33812, 39227, 39245, 162566, 15869, 39323, 19311, 39338, 39516, 166757, 153800, 27279, 39457, 23294, 39471, 170225, 19344, 170312, 39356, 19389, 19351, 37757, 22642, 135938, 22562, 149944, 136424, 30788, 141087, 146872, 26821, 15741, 37976, 14631, 24912, 141185, 141675, 24839, 40015, 40019, 40059, 39989, 39952, 39807, 39887, 171565, 39839, 172533, 172286, 40225, 19630, 147716, 40472, 19632, 40204, 172468, 172269, 172275, 170287, 40357, 33981, 159250, 159711, 158594, 34300, 17715, 159140, 159364, 159216, 33824, 34286, 159232, 145367, 155748, 31202, 144796, 144960, 18733, 149982, 15714, 37851, 37566, 37704, 131775, 30905, 37495, 37965, 20452, 13376, 36964, 152925, 30781, 30804, 30902, 30795, 137047, 143817, 149825, 13978, 20338, 28634, 28633, 28702, 28702, 21524, 147893, 22459, 22771, 22410, 40214, 22487, 28980, 13487, 147884, 29163, 158784, 151447, 23336, 137141, 166473, 24844, 23246, 23051, 17084, 148616, 14124, 19323, 166396, 37819, 37816, 137430, 134941, 33906, 158912, 136211, 148218, 142374, 148417, 22932, 146871, 157505, 32168, 155995, 155812, 149945, 149899, 166394, 37605, 29666, 16105, 29876, 166755, 137375, 16097, 150195, 27352, 29683, 29691, 16086, 150078, 150164, 137177, 150118, 132007, 136228, 149989, 29768, 149782, 28837, 149878, 37508, 29670, 37727, 132350, 37681, 166606, 166422, 37766, 166887, 153045, 18741, 166530, 29035, 149827, 134399, 22180, 132634, 134123, 134328, 21762, 31172, 137210, 32254, 136898, 150096, 137298, 17710, 37889, 14090, 166592, 149933, 22960, 137407, 137347, 160900, 23201, 14050, 146779, 14000, 37471, 23161, 166529, 137314, 37748, 15565, 133812, 19094, 14730, 20724, 15721, 15692, 136092, 29045, 17147, 164376, 28175, 168164, 17643, 27991, 163407, 28775, 27823, 15574, 147437, 146989, 28162, 28428, 15727, 132085, 30033, 14012, 13512, 18048, 16090, 18545, 22980, 37486, 18750, 36673, 166940, 158656, 22546, 22472, 14038, 136274, 28926, 148322, 150129, 143331, 135856, 140221, 26809, 26983, 136088, 144613, 162804, 145119, 166531, 145366, 144378, 150687, 27162, 145069, 158903, 33854, 17631, 17614, 159014, 159057, 158850, 159710, 28439, 160009, 33597, 137018, 33773, 158848, 159827, 137179, 22921, 23170, 137139, 23137, 23153, 137477, 147964, 14125, 23023, 137020, 14023, 29070, 37776, 26266, 148133, 23150, 23083, 148115, 27179, 147193, 161590, 148571, 148170, 28957, 148057, 166369, 20400, 159016, 23746, 148686, 163405, 148413, 27148, 148054, 135940, 28838, 28979, 148457, 15781, 27871, 194597, 150095, 32357, 23019, 23855, 15859, 24412, 150109, 137183, 32164, 33830, 21637, 146170, 144128, 131604, 22398, 133333, 132633, 16357, 139166, 172726, 28675, 168283, 23920, 29583, 31955, 166489, 168992, 20424, 32743, 29389, 29456, 162548, 29496, 29497, 153334, 29505, 29512, 16041, 162584, 36972, 29173, 149746, 29665, 33270, 16074, 30476, 16081, 27810, 22269, 29721, 29726, 29727, 16098, 16112, 16116, 16122, 29907, 16142, 16211, 30018, 30061, 30066, 30093, 16252, 30152, 30172, 16320, 30285, 16343, 30324, 16348, 30330, 151388, 29064, 22051, 35200, 22633, 16413, 30531, 16441, 26465, 16453, 13787, 30616, 16490, 16495, 23646, 30654, 30667, 22770, 30744, 28857, 30748, 16552, 30777, 30791, 30801, 30822, 33864, 152885, 31027, 26627, 31026, 16643, 16649, 31121, 31129, 36795, 31238, 36796, 16743, 31377, 16818, 31420, 33401, 16836, 31439, 31451, 16847, 20001, 31586, 31596, 31611, 31762, 31771, 16992, 17018, 31867, 31900, 17036, 31928, 17044, 31981, 36755, 28864, 134351, 32207, 32212, 32208, 32253, 32686, 32692, 29343, 17303, 32800, 32805, 31545, 32814, 32817, 32852, 15820, 22452, 28832, 32951, 33001, 17389, 33036, 29482, 33038, 33042, 30048, 33044, 17409, 15161, 33110, 33113, 33114, 17427, 22586, 33148, 33156, 17445, 33171, 17453, 33189, 22511, 33217, 33252, 33364, 17551, 33446, 33398, 33482, 33496, 33535, 17584, 33623, 38505, 27018, 33797, 28917, 33892, 24803, 33928, 17668, 33982, 34017, 34040, 34064, 34104, 34130, 17723, 34159, 34160, 34272, 17783, 34418, 34450, 34482, 34543, 38469, 34699, 17926, 17943, 34990, 35071, 35108, 35143, 35217, 162151, 35369, 35384, 35476, 35508, 35921, 36052, 36082, 36124, 18328, 22623, 36291, 18413, 20206, 36410, 21976, 22356, 36465, 22005, 36528, 18487, 36558, 36578, 36580, 36589, 36594, 36791, 36801, 36810, 36812, 36915, 39364, 18605, 39136, 37395, 18718, 37416, 37464, 37483, 37553, 37550, 37567, 37603, 37611, 37619, 37620, 37629, 37699, 37764, 37805, 18757, 18769, 40639, 37911, 21249, 37917, 37933, 37950, 18794, 37972, 38009, 38189, 38306, 18855, 38388, 38451, 18917, 26528, 18980, 38720, 18997, 38834, 38850, 22100, 19172, 24808, 39097, 19225, 39153, 22596, 39182, 39193, 20916, 39196, 39223, 39234, 39261, 39266, 19312, 39365, 19357, 39484, 39695, 31363, 39785, 39809, 39901, 39921, 39924, 19565, 39968, 14191, 138178, 40265, 39994, 40702, 22096, 40339, 40381, 40384, 40444, 38134, 36790, 40571, 40620, 40625, 40637, 40646, 38108, 40674, 40689, 40696, 31432, 40772, 131220, 131767, 132000, 26906, 38083, 22956, 132311, 22592, 38081, 14265, 132565, 132629, 132726, 136890, 22359, 29043, 133826, 133837, 134079, 21610, 194619, 134091, 21662, 134139, 134203, 134227, 134245, 134268, 24807, 134285, 22138, 134325, 134365, 134381, 134511, 134578, 134600, 26965, 39983, 34725, 134660, 134670, 134871, 135056, 134957, 134771, 23584, 135100, 24075, 135260, 135247, 135286, 26398, 135291, 135304, 135318, 13895, 135359, 135379, 135471, 135483, 21348, 33965, 135907, 136053, 135990, 35713, 136567, 136729, 137155, 137159, 20088, 28859, 137261, 137578, 137773, 137797, 138282, 138352, 138412, 138952, 25283, 138965, 139029, 29080, 26709, 139333, 27113, 14024, 139900, 140247, 140282, 141098, 141425, 141647, 33533, 141671, 141715, 142037, 35237, 142056, 36768, 142094, 38840, 142143, 38983, 39613, 142412, null, 142472, 142519, 154600, 142600, 142610, 142775, 142741, 142914, 143220, 143308, 143411, 143462, 144159, 144350, 24497, 26184, 26303, 162425, 144743, 144883, 29185, 149946, 30679, 144922, 145174, 32391, 131910, 22709, 26382, 26904, 146087, 161367, 155618, 146961, 147129, 161278, 139418, 18640, 19128, 147737, 166554, 148206, 148237, 147515, 148276, 148374, 150085, 132554, 20946, 132625, 22943, 138920, 15294, 146687, 148484, 148694, 22408, 149108, 14747, 149295, 165352, 170441, 14178, 139715, 35678, 166734, 39382, 149522, 149755, 150037, 29193, 150208, 134264, 22885, 151205, 151430, 132985, 36570, 151596, 21135, 22335, 29041, 152217, 152601, 147274, 150183, 21948, 152646, 152686, 158546, 37332, 13427, 152895, 161330, 152926, 18200, 152930, 152934, 153543, 149823, 153693, 20582, 13563, 144332, 24798, 153859, 18300, 166216, 154286, 154505, 154630, 138640, 22433, 29009, 28598, 155906, 162834, 36950, 156082, 151450, 35682, 156674, 156746, 23899, 158711, 36662, 156804, 137500, 35562, 150006, 156808, 147439, 156946, 19392, 157119, 157365, 141083, 37989, 153569, 24981, 23079, 194765, 20411, 22201, 148769, 157436, 20074, 149812, 38486, 28047, 158909, 13848, 35191, 157593, 157806, 156689, 157790, 29151, 157895, 31554, 168128, 133649, 157990, 37124, 158009, 31301, 40432, 158202, 39462, 158253, 13919, 156777, 131105, 31107, 158260, 158555, 23852, 144665, 33743, 158621, 18128, 158884, 30011, 34917, 159150, 22710, 14108, 140685, 159819, 160205, 15444, 160384, 160389, 37505, 139642, 160395, 37680, 160486, 149968, 27705, 38047, 160848, 134904, 34855, 35061, 141606, 164979, 137137, 28344, 150058, 137248, 14756, 14009, 23568, 31203, 17727, 26294, 171181, 170148, 35139, 161740, 161880, 22230, 16607, 136714, 14753, 145199, 164072, 136133, 29101, 33638, 162269, 168360, 23143, 19639, 159919, 166315, 162301, 162314, 162571, 163174, 147834, 31555, 31102, 163849, 28597, 172767, 27139, 164632, 21410, 159239, 37823, 26678, 38749, 164207, 163875, 158133, 136173, 143919, 163912, 23941, 166960, 163971, 22293, 38947, 166217, 23979, 149896, 26046, 27093, 21458, 150181, 147329, 15377, 26422, 163984, 164084, 164142, 139169, 164175, 164233, 164271, 164378, 164614, 164655, 164746, 13770, 164968, 165546, 18682, 25574, 166230, 30728, 37461, 166328, 17394, 166375, 17375, 166376, 166726, 166868, 23032, 166921, 36619, 167877, 168172, 31569, 168208, 168252, 15863, 168286, 150218, 36816, 29327, 22155, 169191, 169449, 169392, 169400, 169778, 170193, 170313, 170346, 170435, 170536, 170766, 171354, 171419, 32415, 171768, 171811, 19620, 38215, 172691, 29090, 172799, 19857, 36882, 173515, 19868, 134300, 36798, 21953, 36794, 140464, 36793, 150163, 17673, 32383, 28502, 27313, 20202, 13540, 166700, 161949, 14138, 36480, 137205, 163876, 166764, 166809, 162366, 157359, 15851, 161365, 146615, 153141, 153942, 20122, 155265, 156248, 22207, 134765, 36366, 23405, 147080, 150686, 25566, 25296, 137206, 137339, 25904, 22061, 154698, 21530, 152337, 15814, 171416, 19581, 22050, 22046, 32585, 155352, 22901, 146752, 34672, 19996, 135146, 134473, 145082, 33047, 40286, 36120, 30267, 40005, 30286, 30649, 37701, 21554, 33096, 33527, 22053, 33074, 33816, 32957, 21994, 31074, 22083, 21526, 134813, 13774, 22021, 22001, 26353, 164578, 13869, 30004, 22000, 21946, 21655, 21874, 134209, 134294, 24272, 151880, 134774, 142434, 134818, 40619, 32090, 21982, 135285, 25245, 38765, 21652, 36045, 29174, 37238, 25596, 25529, 25598, 21865, 142147, 40050, 143027, 20890, 13535, 134567, 20903, 21581, 21790, 21779, 30310, 36397, 157834, 30129, 32950, 34820, 34694, 35015, 33206, 33820, 135361, 17644, 29444, 149254, 23440, 33547, 157843, 22139, 141044, 163119, 147875, 163187, 159440, 160438, 37232, 135641, 37384, 146684, 173737, 134828, 134905, 29286, 138402, 18254, 151490, 163833, 135147, 16634, 40029, 25887, 142752, 18675, 149472, 171388, 135148, 134666, 24674, 161187, 135149, null, 155720, 135559, 29091, 32398, 40272, 19994, 19972, 13687, 23309, 27826, 21351, 13996, 14812, 21373, 13989, 149016, 22682, 150382, 33325, 21579, 22442, 154261, 133497, null, 14930, 140389, 29556, 171692, 19721, 39917, 146686, 171824, 19547, 151465, 169374, 171998, 33884, 146870, 160434, 157619, 145184, 25390, 32037, 147191, 146988, 14890, 36872, 21196, 15988, 13946, 17897, 132238, 30272, 23280, 134838, 30842, 163630, 22695, 16575, 22140, 39819, 23924, 30292, 173108, 40581, 19681, 30201, 14331, 24857, 143578, 148466, null, 22109, 135849, 22439, 149859, 171526, 21044, 159918, 13741, 27722, 40316, 31830, 39737, 22494, 137068, 23635, 25811, 169168, 156469, 160100, 34477, 134440, 159010, 150242, 134513, null, 20990, 139023, 23950, 38659, 138705, 40577, 36940, 31519, 39682, 23761, 31651, 25192, 25397, 39679, 31695, 39722, 31870, 39726, 31810, 31878, 39957, 31740, 39689, 40727, 39963, 149822, 40794, 21875, 23491, 20477, 40600, 20466, 21088, 15878, 21201, 22375, 20566, 22967, 24082, 38856, 40363, 36700, 21609, 38836, 39232, 38842, 21292, 24880, 26924, 21466, 39946, 40194, 19515, 38465, 27008, 20646, 30022, 137069, 39386, 21107, null, 37209, 38529, 37212, null, 37201, 167575, 25471, 159011, 27338, 22033, 37262, 30074, 25221, 132092, 29519, 31856, 154657, 146685, null, 149785, 30422, 39837, 20010, 134356, 33726, 34882, null, 23626, 27072, 20717, 22394, 21023, 24053, 20174, 27697, 131570, 20281, 21660, 21722, 21146, 36226, 13822, 24332, 13811, null, 27474, 37244, 40869, 39831, 38958, 39092, 39610, 40616, 40580, 29050, 31508, null, 27642, 34840, 32632, null, 22048, 173642, 36471, 40787, null, 36308, 36431, 40476, 36353, 25218, 164733, 36392, 36469, 31443, 150135, 31294, 30936, 27882, 35431, 30215, 166490, 40742, 27854, 34774, 30147, 172722, 30803, 194624, 36108, 29410, 29553, 35629, 29442, 29937, 36075, 150203, 34351, 24506, 34976, 17591, null, 137275, 159237, null, 35454, 140571, null, 24829, 30311, 39639, 40260, 37742, 39823, 34805, null, 34831, 36087, 29484, 38689, 39856, 13782, 29362, 19463, 31825, 39242, 155993, 24921, 19460, 40598, 24957, null, 22367, 24943, 25254, 25145, 25294, 14940, 25058, 21418, 144373, 25444, 26626, 13778, 23895, 166850, 36826, 167481, null, 20697, 138566, 30982, 21298, 38456, 134971, 16485, null, 30718, null, 31938, 155418, 31962, 31277, 32870, 32867, 32077, 29957, 29938, 35220, 33306, 26380, 32866, 160902, 32859, 29936, 33027, 30500, 35209, 157644, 30035, 159441, 34729, 34766, 33224, 34700, 35401, 36013, 35651, 30507, 29944, 34010, 13877, 27058, 36262, null, 35241, 29800, 28089, 34753, 147473, 29927, 15835, 29046, 24740, 24988, 15569, 29026, 24695, null, 32625, 166701, 29264, 24809, 19326, 21024, 15384, 146631, 155351, 161366, 152881, 137540, 135934, 170243, 159196, 159917, 23745, 156077, 166415, 145015, 131310, 157766, 151310, 17762, 23327, 156492, 40784, 40614, 156267, 12288, 65292, 12289, 12290, 65294, 8231, 65307, 65306, 65311, 65281, 65072, 8230, 8229, 65104, 65105, 65106, 183, 65108, 65109, 65110, 65111, 65372, 8211, 65073, 8212, 65075, 9588, 65076, 65103, 65288, 65289, 65077, 65078, 65371, 65373, 65079, 65080, 12308, 12309, 65081, 65082, 12304, 12305, 65083, 65084, 12298, 12299, 65085, 65086, 12296, 12297, 65087, 65088, 12300, 12301, 65089, 65090, 12302, 12303, 65091, 65092, 65113, 65114, 65115, 65116, 65117, 65118, 8216, 8217, 8220, 8221, 12317, 12318, 8245, 8242, 65283, 65286, 65290, 8251, 167, 12291, 9675, 9679, 9651, 9650, 9678, 9734, 9733, 9671, 9670, 9633, 9632, 9661, 9660, 12963, 8453, 175, 65507, 65343, 717, 65097, 65098, 65101, 65102, 65099, 65100, 65119, 65120, 65121, 65291, 65293, 215, 247, 177, 8730, 65308, 65310, 65309, 8806, 8807, 8800, 8734, 8786, 8801, 65122, 65123, 65124, 65125, 65126, 65374, 8745, 8746, 8869, 8736, 8735, 8895, 13266, 13265, 8747, 8750, 8757, 8756, 9792, 9794, 8853, 8857, 8593, 8595, 8592, 8594, 8598, 8599, 8601, 8600, 8741, 8739, 65295, 65340, 8725, 65128, 65284, 65509, 12306, 65504, 65505, 65285, 65312, 8451, 8457, 65129, 65130, 65131, 13269, 13212, 13213, 13214, 13262, 13217, 13198, 13199, 13252, 176, 20825, 20827, 20830, 20829, 20833, 20835, 21991, 29929, 31950, 9601, 9602, 9603, 9604, 9605, 9606, 9607, 9608, 9615, 9614, 9613, 9612, 9611, 9610, 9609, 9532, 9524, 9516, 9508, 9500, 9620, 9472, 9474, 9621, 9484, 9488, 9492, 9496, 9581, 9582, 9584, 9583, 9552, 9566, 9578, 9569, 9698, 9699, 9701, 9700, 9585, 9586, 9587, 65296, 65297, 65298, 65299, 65300, 65301, 65302, 65303, 65304, 65305, 8544, 8545, 8546, 8547, 8548, 8549, 8550, 8551, 8552, 8553, 12321, 12322, 12323, 12324, 12325, 12326, 12327, 12328, 12329, 21313, 21316, 21317, 65313, 65314, 65315, 65316, 65317, 65318, 65319, 65320, 65321, 65322, 65323, 65324, 65325, 65326, 65327, 65328, 65329, 65330, 65331, 65332, 65333, 65334, 65335, 65336, 65337, 65338, 65345, 65346, 65347, 65348, 65349, 65350, 65351, 65352, 65353, 65354, 65355, 65356, 65357, 65358, 65359, 65360, 65361, 65362, 65363, 65364, 65365, 65366, 65367, 65368, 65369, 65370, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 963, 964, 965, 966, 967, 968, 969, 12549, 12550, 12551, 12552, 12553, 12554, 12555, 12556, 12557, 12558, 12559, 12560, 12561, 12562, 12563, 12564, 12565, 12566, 12567, 12568, 12569, 12570, 12571, 12572, 12573, 12574, 12575, 12576, 12577, 12578, 12579, 12580, 12581, 12582, 12583, 12584, 12585, 729, 713, 714, 711, 715, 9216, 9217, 9218, 9219, 9220, 9221, 9222, 9223, 9224, 9225, 9226, 9227, 9228, 9229, 9230, 9231, 9232, 9233, 9234, 9235, 9236, 9237, 9238, 9239, 9240, 9241, 9242, 9243, 9244, 9245, 9246, 9247, 9249, 8364, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 19968, 20057, 19969, 19971, 20035, 20061, 20102, 20108, 20154, 20799, 20837, 20843, 20960, 20992, 20993, 21147, 21269, 21313, 21340, 21448, 19977, 19979, 19976, 19978, 20011, 20024, 20961, 20037, 20040, 20063, 20062, 20110, 20129, 20800, 20995, 21242, 21315, 21449, 21475, 22303, 22763, 22805, 22823, 22899, 23376, 23377, 23379, 23544, 23567, 23586, 23608, 23665, 24029, 24037, 24049, 24050, 24051, 24062, 24178, 24318, 24331, 24339, 25165, 19985, 19984, 19981, 20013, 20016, 20025, 20043, 23609, 20104, 20113, 20117, 20114, 20116, 20130, 20161, 20160, 20163, 20166, 20167, 20173, 20170, 20171, 20164, 20803, 20801, 20839, 20845, 20846, 20844, 20887, 20982, 20998, 20999, 21000, 21243, 21246, 21247, 21270, 21305, 21320, 21319, 21317, 21342, 21380, 21451, 21450, 21453, 22764, 22825, 22827, 22826, 22829, 23380, 23569, 23588, 23610, 23663, 24052, 24187, 24319, 24340, 24341, 24515, 25096, 25142, 25163, 25166, 25903, 25991, 26007, 26020, 26041, 26085, 26352, 26376, 26408, 27424, 27490, 27513, 27595, 27604, 27611, 27663, 27700, 28779, 29226, 29238, 29243, 29255, 29273, 29275, 29356, 29579, 19993, 19990, 19989, 19988, 19992, 20027, 20045, 20047, 20046, 20197, 20184, 20180, 20181, 20182, 20183, 20195, 20196, 20185, 20190, 20805, 20804, 20873, 20874, 20908, 20985, 20986, 20984, 21002, 21152, 21151, 21253, 21254, 21271, 21277, 20191, 21322, 21321, 21345, 21344, 21359, 21358, 21435, 21487, 21476, 21491, 21484, 21486, 21481, 21480, 21500, 21496, 21493, 21483, 21478, 21482, 21490, 21489, 21488, 21477, 21485, 21499, 22235, 22234, 22806, 22830, 22833, 22900, 22902, 23381, 23427, 23612, 24040, 24039, 24038, 24066, 24067, 24179, 24188, 24321, 24344, 24343, 24517, 25098, 25171, 25172, 25170, 25169, 26021, 26086, 26414, 26412, 26410, 26411, 26413, 27491, 27597, 27665, 27664, 27704, 27713, 27712, 27710, 29359, 29572, 29577, 29916, 29926, 29976, 29983, 29992, 29993, 30000, 30001, 30002, 30003, 30091, 30333, 30382, 30399, 30446, 30683, 30690, 30707, 31034, 31166, 31348, 31435, 19998, 19999, 20050, 20051, 20073, 20121, 20132, 20134, 20133, 20223, 20233, 20249, 20234, 20245, 20237, 20240, 20241, 20239, 20210, 20214, 20219, 20208, 20211, 20221, 20225, 20235, 20809, 20807, 20806, 20808, 20840, 20849, 20877, 20912, 21015, 21009, 21010, 21006, 21014, 21155, 21256, 21281, 21280, 21360, 21361, 21513, 21519, 21516, 21514, 21520, 21505, 21515, 21508, 21521, 21517, 21512, 21507, 21518, 21510, 21522, 22240, 22238, 22237, 22323, 22320, 22312, 22317, 22316, 22319, 22313, 22809, 22810, 22839, 22840, 22916, 22904, 22915, 22909, 22905, 22914, 22913, 23383, 23384, 23431, 23432, 23429, 23433, 23546, 23574, 23673, 24030, 24070, 24182, 24180, 24335, 24347, 24537, 24534, 25102, 25100, 25101, 25104, 25187, 25179, 25176, 25910, 26089, 26088, 26092, 26093, 26354, 26355, 26377, 26429, 26420, 26417, 26421, 27425, 27492, 27515, 27670, 27741, 27735, 27737, 27743, 27744, 27728, 27733, 27745, 27739, 27725, 27726, 28784, 29279, 29277, 30334, 31481, 31859, 31992, 32566, 32650, 32701, 32769, 32771, 32780, 32786, 32819, 32895, 32905, 32907, 32908, 33251, 33258, 33267, 33276, 33292, 33307, 33311, 33390, 33394, 33406, 34411, 34880, 34892, 34915, 35199, 38433, 20018, 20136, 20301, 20303, 20295, 20311, 20318, 20276, 20315, 20309, 20272, 20304, 20305, 20285, 20282, 20280, 20291, 20308, 20284, 20294, 20323, 20316, 20320, 20271, 20302, 20278, 20313, 20317, 20296, 20314, 20812, 20811, 20813, 20853, 20918, 20919, 21029, 21028, 21033, 21034, 21032, 21163, 21161, 21162, 21164, 21283, 21363, 21365, 21533, 21549, 21534, 21566, 21542, 21582, 21543, 21574, 21571, 21555, 21576, 21570, 21531, 21545, 21578, 21561, 21563, 21560, 21550, 21557, 21558, 21536, 21564, 21568, 21553, 21547, 21535, 21548, 22250, 22256, 22244, 22251, 22346, 22353, 22336, 22349, 22343, 22350, 22334, 22352, 22351, 22331, 22767, 22846, 22941, 22930, 22952, 22942, 22947, 22937, 22934, 22925, 22948, 22931, 22922, 22949, 23389, 23388, 23386, 23387, 23436, 23435, 23439, 23596, 23616, 23617, 23615, 23614, 23696, 23697, 23700, 23692, 24043, 24076, 24207, 24199, 24202, 24311, 24324, 24351, 24420, 24418, 24439, 24441, 24536, 24524, 24535, 24525, 24561, 24555, 24568, 24554, 25106, 25105, 25220, 25239, 25238, 25216, 25206, 25225, 25197, 25226, 25212, 25214, 25209, 25203, 25234, 25199, 25240, 25198, 25237, 25235, 25233, 25222, 25913, 25915, 25912, 26097, 26356, 26463, 26446, 26447, 26448, 26449, 26460, 26454, 26462, 26441, 26438, 26464, 26451, 26455, 27493, 27599, 27714, 27742, 27801, 27777, 27784, 27785, 27781, 27803, 27754, 27770, 27792, 27760, 27788, 27752, 27798, 27794, 27773, 27779, 27762, 27774, 27764, 27782, 27766, 27789, 27796, 27800, 27778, 28790, 28796, 28797, 28792, 29282, 29281, 29280, 29380, 29378, 29590, 29996, 29995, 30007, 30008, 30338, 30447, 30691, 31169, 31168, 31167, 31350, 31995, 32597, 32918, 32915, 32925, 32920, 32923, 32922, 32946, 33391, 33426, 33419, 33421, 35211, 35282, 35328, 35895, 35910, 35925, 35997, 36196, 36208, 36275, 36523, 36554, 36763, 36784, 36802, 36806, 36805, 36804, 24033, 37009, 37026, 37034, 37030, 37027, 37193, 37318, 37324, 38450, 38446, 38449, 38442, 38444, 20006, 20054, 20083, 20107, 20123, 20126, 20139, 20140, 20335, 20381, 20365, 20339, 20351, 20332, 20379, 20363, 20358, 20355, 20336, 20341, 20360, 20329, 20347, 20374, 20350, 20367, 20369, 20346, 20820, 20818, 20821, 20841, 20855, 20854, 20856, 20925, 20989, 21051, 21048, 21047, 21050, 21040, 21038, 21046, 21057, 21182, 21179, 21330, 21332, 21331, 21329, 21350, 21367, 21368, 21369, 21462, 21460, 21463, 21619, 21621, 21654, 21624, 21653, 21632, 21627, 21623, 21636, 21650, 21638, 21628, 21648, 21617, 21622, 21644, 21658, 21602, 21608, 21643, 21629, 21646, 22266, 22403, 22391, 22378, 22377, 22369, 22374, 22372, 22396, 22812, 22857, 22855, 22856, 22852, 22868, 22974, 22971, 22996, 22969, 22958, 22993, 22982, 22992, 22989, 22987, 22995, 22986, 22959, 22963, 22994, 22981, 23391, 23396, 23395, 23447, 23450, 23448, 23452, 23449, 23451, 23578, 23624, 23621, 23622, 23735, 23713, 23736, 23721, 23723, 23729, 23731, 24088, 24090, 24086, 24085, 24091, 24081, 24184, 24218, 24215, 24220, 24213, 24214, 24310, 24358, 24359, 24361, 24448, 24449, 24447, 24444, 24541, 24544, 24573, 24565, 24575, 24591, 24596, 24623, 24629, 24598, 24618, 24597, 24609, 24615, 24617, 24619, 24603, 25110, 25109, 25151, 25150, 25152, 25215, 25289, 25292, 25284, 25279, 25282, 25273, 25298, 25307, 25259, 25299, 25300, 25291, 25288, 25256, 25277, 25276, 25296, 25305, 25287, 25293, 25269, 25306, 25265, 25304, 25302, 25303, 25286, 25260, 25294, 25918, 26023, 26044, 26106, 26132, 26131, 26124, 26118, 26114, 26126, 26112, 26127, 26133, 26122, 26119, 26381, 26379, 26477, 26507, 26517, 26481, 26524, 26483, 26487, 26503, 26525, 26519, 26479, 26480, 26495, 26505, 26494, 26512, 26485, 26522, 26515, 26492, 26474, 26482, 27427, 27494, 27495, 27519, 27667, 27675, 27875, 27880, 27891, 27825, 27852, 27877, 27827, 27837, 27838, 27836, 27874, 27819, 27861, 27859, 27832, 27844, 27833, 27841, 27822, 27863, 27845, 27889, 27839, 27835, 27873, 27867, 27850, 27820, 27887, 27868, 27862, 27872, 28821, 28814, 28818, 28810, 28825, 29228, 29229, 29240, 29256, 29287, 29289, 29376, 29390, 29401, 29399, 29392, 29609, 29608, 29599, 29611, 29605, 30013, 30109, 30105, 30106, 30340, 30402, 30450, 30452, 30693, 30717, 31038, 31040, 31041, 31177, 31176, 31354, 31353, 31482, 31998, 32596, 32652, 32651, 32773, 32954, 32933, 32930, 32945, 32929, 32939, 32937, 32948, 32938, 32943, 33253, 33278, 33293, 33459, 33437, 33433, 33453, 33469, 33439, 33465, 33457, 33452, 33445, 33455, 33464, 33443, 33456, 33470, 33463, 34382, 34417, 21021, 34920, 36555, 36814, 36820, 36817, 37045, 37048, 37041, 37046, 37319, 37329, 38263, 38272, 38428, 38464, 38463, 38459, 38468, 38466, 38585, 38632, 38738, 38750, 20127, 20141, 20142, 20449, 20405, 20399, 20415, 20448, 20433, 20431, 20445, 20419, 20406, 20440, 20447, 20426, 20439, 20398, 20432, 20420, 20418, 20442, 20430, 20446, 20407, 20823, 20882, 20881, 20896, 21070, 21059, 21066, 21069, 21068, 21067, 21063, 21191, 21193, 21187, 21185, 21261, 21335, 21371, 21402, 21467, 21676, 21696, 21672, 21710, 21705, 21688, 21670, 21683, 21703, 21698, 21693, 21674, 21697, 21700, 21704, 21679, 21675, 21681, 21691, 21673, 21671, 21695, 22271, 22402, 22411, 22432, 22435, 22434, 22478, 22446, 22419, 22869, 22865, 22863, 22862, 22864, 23004, 23000, 23039, 23011, 23016, 23043, 23013, 23018, 23002, 23014, 23041, 23035, 23401, 23459, 23462, 23460, 23458, 23461, 23553, 23630, 23631, 23629, 23627, 23769, 23762, 24055, 24093, 24101, 24095, 24189, 24224, 24230, 24314, 24328, 24365, 24421, 24456, 24453, 24458, 24459, 24455, 24460, 24457, 24594, 24605, 24608, 24613, 24590, 24616, 24653, 24688, 24680, 24674, 24646, 24643, 24684, 24683, 24682, 24676, 25153, 25308, 25366, 25353, 25340, 25325, 25345, 25326, 25341, 25351, 25329, 25335, 25327, 25324, 25342, 25332, 25361, 25346, 25919, 25925, 26027, 26045, 26082, 26149, 26157, 26144, 26151, 26159, 26143, 26152, 26161, 26148, 26359, 26623, 26579, 26609, 26580, 26576, 26604, 26550, 26543, 26613, 26601, 26607, 26564, 26577, 26548, 26586, 26597, 26552, 26575, 26590, 26611, 26544, 26585, 26594, 26589, 26578, 27498, 27523, 27526, 27573, 27602, 27607, 27679, 27849, 27915, 27954, 27946, 27969, 27941, 27916, 27953, 27934, 27927, 27963, 27965, 27966, 27958, 27931, 27893, 27961, 27943, 27960, 27945, 27950, 27957, 27918, 27947, 28843, 28858, 28851, 28844, 28847, 28845, 28856, 28846, 28836, 29232, 29298, 29295, 29300, 29417, 29408, 29409, 29623, 29642, 29627, 29618, 29645, 29632, 29619, 29978, 29997, 30031, 30028, 30030, 30027, 30123, 30116, 30117, 30114, 30115, 30328, 30342, 30343, 30344, 30408, 30406, 30403, 30405, 30465, 30457, 30456, 30473, 30475, 30462, 30460, 30471, 30684, 30722, 30740, 30732, 30733, 31046, 31049, 31048, 31047, 31161, 31162, 31185, 31186, 31179, 31359, 31361, 31487, 31485, 31869, 32002, 32005, 32000, 32009, 32007, 32004, 32006, 32568, 32654, 32703, 32772, 32784, 32781, 32785, 32822, 32982, 32997, 32986, 32963, 32964, 32972, 32993, 32987, 32974, 32990, 32996, 32989, 33268, 33314, 33511, 33539, 33541, 33507, 33499, 33510, 33540, 33509, 33538, 33545, 33490, 33495, 33521, 33537, 33500, 33492, 33489, 33502, 33491, 33503, 33519, 33542, 34384, 34425, 34427, 34426, 34893, 34923, 35201, 35284, 35336, 35330, 35331, 35998, 36000, 36212, 36211, 36276, 36557, 36556, 36848, 36838, 36834, 36842, 36837, 36845, 36843, 36836, 36840, 37066, 37070, 37057, 37059, 37195, 37194, 37325, 38274, 38480, 38475, 38476, 38477, 38754, 38761, 38859, 38893, 38899, 38913, 39080, 39131, 39135, 39318, 39321, 20056, 20147, 20492, 20493, 20515, 20463, 20518, 20517, 20472, 20521, 20502, 20486, 20540, 20511, 20506, 20498, 20497, 20474, 20480, 20500, 20520, 20465, 20513, 20491, 20505, 20504, 20467, 20462, 20525, 20522, 20478, 20523, 20489, 20860, 20900, 20901, 20898, 20941, 20940, 20934, 20939, 21078, 21084, 21076, 21083, 21085, 21290, 21375, 21407, 21405, 21471, 21736, 21776, 21761, 21815, 21756, 21733, 21746, 21766, 21754, 21780, 21737, 21741, 21729, 21769, 21742, 21738, 21734, 21799, 21767, 21757, 21775, 22275, 22276, 22466, 22484, 22475, 22467, 22537, 22799, 22871, 22872, 22874, 23057, 23064, 23068, 23071, 23067, 23059, 23020, 23072, 23075, 23081, 23077, 23052, 23049, 23403, 23640, 23472, 23475, 23478, 23476, 23470, 23477, 23481, 23480, 23556, 23633, 23637, 23632, 23789, 23805, 23803, 23786, 23784, 23792, 23798, 23809, 23796, 24046, 24109, 24107, 24235, 24237, 24231, 24369, 24466, 24465, 24464, 24665, 24675, 24677, 24656, 24661, 24685, 24681, 24687, 24708, 24735, 24730, 24717, 24724, 24716, 24709, 24726, 25159, 25331, 25352, 25343, 25422, 25406, 25391, 25429, 25410, 25414, 25423, 25417, 25402, 25424, 25405, 25386, 25387, 25384, 25421, 25420, 25928, 25929, 26009, 26049, 26053, 26178, 26185, 26191, 26179, 26194, 26188, 26181, 26177, 26360, 26388, 26389, 26391, 26657, 26680, 26696, 26694, 26707, 26681, 26690, 26708, 26665, 26803, 26647, 26700, 26705, 26685, 26612, 26704, 26688, 26684, 26691, 26666, 26693, 26643, 26648, 26689, 27530, 27529, 27575, 27683, 27687, 27688, 27686, 27684, 27888, 28010, 28053, 28040, 28039, 28006, 28024, 28023, 27993, 28051, 28012, 28041, 28014, 27994, 28020, 28009, 28044, 28042, 28025, 28037, 28005, 28052, 28874, 28888, 28900, 28889, 28872, 28879, 29241, 29305, 29436, 29433, 29437, 29432, 29431, 29574, 29677, 29705, 29678, 29664, 29674, 29662, 30036, 30045, 30044, 30042, 30041, 30142, 30149, 30151, 30130, 30131, 30141, 30140, 30137, 30146, 30136, 30347, 30384, 30410, 30413, 30414, 30505, 30495, 30496, 30504, 30697, 30768, 30759, 30776, 30749, 30772, 30775, 30757, 30765, 30752, 30751, 30770, 31061, 31056, 31072, 31071, 31062, 31070, 31069, 31063, 31066, 31204, 31203, 31207, 31199, 31206, 31209, 31192, 31364, 31368, 31449, 31494, 31505, 31881, 32033, 32023, 32011, 32010, 32032, 32034, 32020, 32016, 32021, 32026, 32028, 32013, 32025, 32027, 32570, 32607, 32660, 32709, 32705, 32774, 32792, 32789, 32793, 32791, 32829, 32831, 33009, 33026, 33008, 33029, 33005, 33012, 33030, 33016, 33011, 33032, 33021, 33034, 33020, 33007, 33261, 33260, 33280, 33296, 33322, 33323, 33320, 33324, 33467, 33579, 33618, 33620, 33610, 33592, 33616, 33609, 33589, 33588, 33615, 33586, 33593, 33590, 33559, 33600, 33585, 33576, 33603, 34388, 34442, 34474, 34451, 34468, 34473, 34444, 34467, 34460, 34928, 34935, 34945, 34946, 34941, 34937, 35352, 35344, 35342, 35340, 35349, 35338, 35351, 35347, 35350, 35343, 35345, 35912, 35962, 35961, 36001, 36002, 36215, 36524, 36562, 36564, 36559, 36785, 36865, 36870, 36855, 36864, 36858, 36852, 36867, 36861, 36869, 36856, 37013, 37089, 37085, 37090, 37202, 37197, 37196, 37336, 37341, 37335, 37340, 37337, 38275, 38498, 38499, 38497, 38491, 38493, 38500, 38488, 38494, 38587, 39138, 39340, 39592, 39640, 39717, 39730, 39740, 20094, 20602, 20605, 20572, 20551, 20547, 20556, 20570, 20553, 20581, 20598, 20558, 20565, 20597, 20596, 20599, 20559, 20495, 20591, 20589, 20828, 20885, 20976, 21098, 21103, 21202, 21209, 21208, 21205, 21264, 21263, 21273, 21311, 21312, 21310, 21443, 26364, 21830, 21866, 21862, 21828, 21854, 21857, 21827, 21834, 21809, 21846, 21839, 21845, 21807, 21860, 21816, 21806, 21852, 21804, 21859, 21811, 21825, 21847, 22280, 22283, 22281, 22495, 22533, 22538, 22534, 22496, 22500, 22522, 22530, 22581, 22519, 22521, 22816, 22882, 23094, 23105, 23113, 23142, 23146, 23104, 23100, 23138, 23130, 23110, 23114, 23408, 23495, 23493, 23492, 23490, 23487, 23494, 23561, 23560, 23559, 23648, 23644, 23645, 23815, 23814, 23822, 23835, 23830, 23842, 23825, 23849, 23828, 23833, 23844, 23847, 23831, 24034, 24120, 24118, 24115, 24119, 24247, 24248, 24246, 24245, 24254, 24373, 24375, 24407, 24428, 24425, 24427, 24471, 24473, 24478, 24472, 24481, 24480, 24476, 24703, 24739, 24713, 24736, 24744, 24779, 24756, 24806, 24765, 24773, 24763, 24757, 24796, 24764, 24792, 24789, 24774, 24799, 24760, 24794, 24775, 25114, 25115, 25160, 25504, 25511, 25458, 25494, 25506, 25509, 25463, 25447, 25496, 25514, 25457, 25513, 25481, 25475, 25499, 25451, 25512, 25476, 25480, 25497, 25505, 25516, 25490, 25487, 25472, 25467, 25449, 25448, 25466, 25949, 25942, 25937, 25945, 25943, 21855, 25935, 25944, 25941, 25940, 26012, 26011, 26028, 26063, 26059, 26060, 26062, 26205, 26202, 26212, 26216, 26214, 26206, 26361, 21207, 26395, 26753, 26799, 26786, 26771, 26805, 26751, 26742, 26801, 26791, 26775, 26800, 26755, 26820, 26797, 26758, 26757, 26772, 26781, 26792, 26783, 26785, 26754, 27442, 27578, 27627, 27628, 27691, 28046, 28092, 28147, 28121, 28082, 28129, 28108, 28132, 28155, 28154, 28165, 28103, 28107, 28079, 28113, 28078, 28126, 28153, 28088, 28151, 28149, 28101, 28114, 28186, 28085, 28122, 28139, 28120, 28138, 28145, 28142, 28136, 28102, 28100, 28074, 28140, 28095, 28134, 28921, 28937, 28938, 28925, 28911, 29245, 29309, 29313, 29468, 29467, 29462, 29459, 29465, 29575, 29701, 29706, 29699, 29702, 29694, 29709, 29920, 29942, 29943, 29980, 29986, 30053, 30054, 30050, 30064, 30095, 30164, 30165, 30133, 30154, 30157, 30350, 30420, 30418, 30427, 30519, 30526, 30524, 30518, 30520, 30522, 30827, 30787, 30798, 31077, 31080, 31085, 31227, 31378, 31381, 31520, 31528, 31515, 31532, 31526, 31513, 31518, 31534, 31890, 31895, 31893, 32070, 32067, 32113, 32046, 32057, 32060, 32064, 32048, 32051, 32068, 32047, 32066, 32050, 32049, 32573, 32670, 32666, 32716, 32718, 32722, 32796, 32842, 32838, 33071, 33046, 33059, 33067, 33065, 33072, 33060, 33282, 33333, 33335, 33334, 33337, 33678, 33694, 33688, 33656, 33698, 33686, 33725, 33707, 33682, 33674, 33683, 33673, 33696, 33655, 33659, 33660, 33670, 33703, 34389, 24426, 34503, 34496, 34486, 34500, 34485, 34502, 34507, 34481, 34479, 34505, 34899, 34974, 34952, 34987, 34962, 34966, 34957, 34955, 35219, 35215, 35370, 35357, 35363, 35365, 35377, 35373, 35359, 35355, 35362, 35913, 35930, 36009, 36012, 36011, 36008, 36010, 36007, 36199, 36198, 36286, 36282, 36571, 36575, 36889, 36877, 36890, 36887, 36899, 36895, 36893, 36880, 36885, 36894, 36896, 36879, 36898, 36886, 36891, 36884, 37096, 37101, 37117, 37207, 37326, 37365, 37350, 37347, 37351, 37357, 37353, 38281, 38506, 38517, 38515, 38520, 38512, 38516, 38518, 38519, 38508, 38592, 38634, 38633, 31456, 31455, 38914, 38915, 39770, 40165, 40565, 40575, 40613, 40635, 20642, 20621, 20613, 20633, 20625, 20608, 20630, 20632, 20634, 26368, 20977, 21106, 21108, 21109, 21097, 21214, 21213, 21211, 21338, 21413, 21883, 21888, 21927, 21884, 21898, 21917, 21912, 21890, 21916, 21930, 21908, 21895, 21899, 21891, 21939, 21934, 21919, 21822, 21938, 21914, 21947, 21932, 21937, 21886, 21897, 21931, 21913, 22285, 22575, 22570, 22580, 22564, 22576, 22577, 22561, 22557, 22560, 22777, 22778, 22880, 23159, 23194, 23167, 23186, 23195, 23207, 23411, 23409, 23506, 23500, 23507, 23504, 23562, 23563, 23601, 23884, 23888, 23860, 23879, 24061, 24133, 24125, 24128, 24131, 24190, 24266, 24257, 24258, 24260, 24380, 24429, 24489, 24490, 24488, 24785, 24801, 24754, 24758, 24800, 24860, 24867, 24826, 24853, 24816, 24827, 24820, 24936, 24817, 24846, 24822, 24841, 24832, 24850, 25119, 25161, 25507, 25484, 25551, 25536, 25577, 25545, 25542, 25549, 25554, 25571, 25552, 25569, 25558, 25581, 25582, 25462, 25588, 25578, 25563, 25682, 25562, 25593, 25950, 25958, 25954, 25955, 26001, 26000, 26031, 26222, 26224, 26228, 26230, 26223, 26257, 26234, 26238, 26231, 26366, 26367, 26399, 26397, 26874, 26837, 26848, 26840, 26839, 26885, 26847, 26869, 26862, 26855, 26873, 26834, 26866, 26851, 26827, 26829, 26893, 26898, 26894, 26825, 26842, 26990, 26875, 27454, 27450, 27453, 27544, 27542, 27580, 27631, 27694, 27695, 27692, 28207, 28216, 28244, 28193, 28210, 28263, 28234, 28192, 28197, 28195, 28187, 28251, 28248, 28196, 28246, 28270, 28205, 28198, 28271, 28212, 28237, 28218, 28204, 28227, 28189, 28222, 28363, 28297, 28185, 28238, 28259, 28228, 28274, 28265, 28255, 28953, 28954, 28966, 28976, 28961, 28982, 29038, 28956, 29260, 29316, 29312, 29494, 29477, 29492, 29481, 29754, 29738, 29747, 29730, 29733, 29749, 29750, 29748, 29743, 29723, 29734, 29736, 29989, 29990, 30059, 30058, 30178, 30171, 30179, 30169, 30168, 30174, 30176, 30331, 30332, 30358, 30355, 30388, 30428, 30543, 30701, 30813, 30828, 30831, 31245, 31240, 31243, 31237, 31232, 31384, 31383, 31382, 31461, 31459, 31561, 31574, 31558, 31568, 31570, 31572, 31565, 31563, 31567, 31569, 31903, 31909, 32094, 32080, 32104, 32085, 32043, 32110, 32114, 32097, 32102, 32098, 32112, 32115, 21892, 32724, 32725, 32779, 32850, 32901, 33109, 33108, 33099, 33105, 33102, 33081, 33094, 33086, 33100, 33107, 33140, 33298, 33308, 33769, 33795, 33784, 33805, 33760, 33733, 33803, 33729, 33775, 33777, 33780, 33879, 33802, 33776, 33804, 33740, 33789, 33778, 33738, 33848, 33806, 33796, 33756, 33799, 33748, 33759, 34395, 34527, 34521, 34541, 34516, 34523, 34532, 34512, 34526, 34903, 35009, 35010, 34993, 35203, 35222, 35387, 35424, 35413, 35422, 35388, 35393, 35412, 35419, 35408, 35398, 35380, 35386, 35382, 35414, 35937, 35970, 36015, 36028, 36019, 36029, 36033, 36027, 36032, 36020, 36023, 36022, 36031, 36024, 36234, 36229, 36225, 36302, 36317, 36299, 36314, 36305, 36300, 36315, 36294, 36603, 36600, 36604, 36764, 36910, 36917, 36913, 36920, 36914, 36918, 37122, 37109, 37129, 37118, 37219, 37221, 37327, 37396, 37397, 37411, 37385, 37406, 37389, 37392, 37383, 37393, 38292, 38287, 38283, 38289, 38291, 38290, 38286, 38538, 38542, 38539, 38525, 38533, 38534, 38541, 38514, 38532, 38593, 38597, 38596, 38598, 38599, 38639, 38642, 38860, 38917, 38918, 38920, 39143, 39146, 39151, 39145, 39154, 39149, 39342, 39341, 40643, 40653, 40657, 20098, 20653, 20661, 20658, 20659, 20677, 20670, 20652, 20663, 20667, 20655, 20679, 21119, 21111, 21117, 21215, 21222, 21220, 21218, 21219, 21295, 21983, 21992, 21971, 21990, 21966, 21980, 21959, 21969, 21987, 21988, 21999, 21978, 21985, 21957, 21958, 21989, 21961, 22290, 22291, 22622, 22609, 22616, 22615, 22618, 22612, 22635, 22604, 22637, 22602, 22626, 22610, 22603, 22887, 23233, 23241, 23244, 23230, 23229, 23228, 23219, 23234, 23218, 23913, 23919, 24140, 24185, 24265, 24264, 24338, 24409, 24492, 24494, 24858, 24847, 24904, 24863, 24819, 24859, 24825, 24833, 24840, 24910, 24908, 24900, 24909, 24894, 24884, 24871, 24845, 24838, 24887, 25121, 25122, 25619, 25662, 25630, 25642, 25645, 25661, 25644, 25615, 25628, 25620, 25613, 25654, 25622, 25623, 25606, 25964, 26015, 26032, 26263, 26249, 26247, 26248, 26262, 26244, 26264, 26253, 26371, 27028, 26989, 26970, 26999, 26976, 26964, 26997, 26928, 27010, 26954, 26984, 26987, 26974, 26963, 27001, 27014, 26973, 26979, 26971, 27463, 27506, 27584, 27583, 27603, 27645, 28322, 28335, 28371, 28342, 28354, 28304, 28317, 28359, 28357, 28325, 28312, 28348, 28346, 28331, 28369, 28310, 28316, 28356, 28372, 28330, 28327, 28340, 29006, 29017, 29033, 29028, 29001, 29031, 29020, 29036, 29030, 29004, 29029, 29022, 28998, 29032, 29014, 29242, 29266, 29495, 29509, 29503, 29502, 29807, 29786, 29781, 29791, 29790, 29761, 29759, 29785, 29787, 29788, 30070, 30072, 30208, 30192, 30209, 30194, 30193, 30202, 30207, 30196, 30195, 30430, 30431, 30555, 30571, 30566, 30558, 30563, 30585, 30570, 30572, 30556, 30565, 30568, 30562, 30702, 30862, 30896, 30871, 30872, 30860, 30857, 30844, 30865, 30867, 30847, 31098, 31103, 31105, 33836, 31165, 31260, 31258, 31264, 31252, 31263, 31262, 31391, 31392, 31607, 31680, 31584, 31598, 31591, 31921, 31923, 31925, 32147, 32121, 32145, 32129, 32143, 32091, 32622, 32617, 32618, 32626, 32681, 32680, 32676, 32854, 32856, 32902, 32900, 33137, 33136, 33144, 33125, 33134, 33139, 33131, 33145, 33146, 33126, 33285, 33351, 33922, 33911, 33853, 33841, 33909, 33894, 33899, 33865, 33900, 33883, 33852, 33845, 33889, 33891, 33897, 33901, 33862, 34398, 34396, 34399, 34553, 34579, 34568, 34567, 34560, 34558, 34555, 34562, 34563, 34566, 34570, 34905, 35039, 35028, 35033, 35036, 35032, 35037, 35041, 35018, 35029, 35026, 35228, 35299, 35435, 35442, 35443, 35430, 35433, 35440, 35463, 35452, 35427, 35488, 35441, 35461, 35437, 35426, 35438, 35436, 35449, 35451, 35390, 35432, 35938, 35978, 35977, 36042, 36039, 36040, 36036, 36018, 36035, 36034, 36037, 36321, 36319, 36328, 36335, 36339, 36346, 36330, 36324, 36326, 36530, 36611, 36617, 36606, 36618, 36767, 36786, 36939, 36938, 36947, 36930, 36948, 36924, 36949, 36944, 36935, 36943, 36942, 36941, 36945, 36926, 36929, 37138, 37143, 37228, 37226, 37225, 37321, 37431, 37463, 37432, 37437, 37440, 37438, 37467, 37451, 37476, 37457, 37428, 37449, 37453, 37445, 37433, 37439, 37466, 38296, 38552, 38548, 38549, 38605, 38603, 38601, 38602, 38647, 38651, 38649, 38646, 38742, 38772, 38774, 38928, 38929, 38931, 38922, 38930, 38924, 39164, 39156, 39165, 39166, 39347, 39345, 39348, 39649, 40169, 40578, 40718, 40723, 40736, 20711, 20718, 20709, 20694, 20717, 20698, 20693, 20687, 20689, 20721, 20686, 20713, 20834, 20979, 21123, 21122, 21297, 21421, 22014, 22016, 22043, 22039, 22013, 22036, 22022, 22025, 22029, 22030, 22007, 22038, 22047, 22024, 22032, 22006, 22296, 22294, 22645, 22654, 22659, 22675, 22666, 22649, 22661, 22653, 22781, 22821, 22818, 22820, 22890, 22889, 23265, 23270, 23273, 23255, 23254, 23256, 23267, 23413, 23518, 23527, 23521, 23525, 23526, 23528, 23522, 23524, 23519, 23565, 23650, 23940, 23943, 24155, 24163, 24149, 24151, 24148, 24275, 24278, 24330, 24390, 24432, 24505, 24903, 24895, 24907, 24951, 24930, 24931, 24927, 24922, 24920, 24949, 25130, 25735, 25688, 25684, 25764, 25720, 25695, 25722, 25681, 25703, 25652, 25709, 25723, 25970, 26017, 26071, 26070, 26274, 26280, 26269, 27036, 27048, 27029, 27073, 27054, 27091, 27083, 27035, 27063, 27067, 27051, 27060, 27088, 27085, 27053, 27084, 27046, 27075, 27043, 27465, 27468, 27699, 28467, 28436, 28414, 28435, 28404, 28457, 28478, 28448, 28460, 28431, 28418, 28450, 28415, 28399, 28422, 28465, 28472, 28466, 28451, 28437, 28459, 28463, 28552, 28458, 28396, 28417, 28402, 28364, 28407, 29076, 29081, 29053, 29066, 29060, 29074, 29246, 29330, 29334, 29508, 29520, 29796, 29795, 29802, 29808, 29805, 29956, 30097, 30247, 30221, 30219, 30217, 30227, 30433, 30435, 30596, 30589, 30591, 30561, 30913, 30879, 30887, 30899, 30889, 30883, 31118, 31119, 31117, 31278, 31281, 31402, 31401, 31469, 31471, 31649, 31637, 31627, 31605, 31639, 31645, 31636, 31631, 31672, 31623, 31620, 31929, 31933, 31934, 32187, 32176, 32156, 32189, 32190, 32160, 32202, 32180, 32178, 32177, 32186, 32162, 32191, 32181, 32184, 32173, 32210, 32199, 32172, 32624, 32736, 32737, 32735, 32862, 32858, 32903, 33104, 33152, 33167, 33160, 33162, 33151, 33154, 33255, 33274, 33287, 33300, 33310, 33355, 33993, 33983, 33990, 33988, 33945, 33950, 33970, 33948, 33995, 33976, 33984, 34003, 33936, 33980, 34001, 33994, 34623, 34588, 34619, 34594, 34597, 34612, 34584, 34645, 34615, 34601, 35059, 35074, 35060, 35065, 35064, 35069, 35048, 35098, 35055, 35494, 35468, 35486, 35491, 35469, 35489, 35475, 35492, 35498, 35493, 35496, 35480, 35473, 35482, 35495, 35946, 35981, 35980, 36051, 36049, 36050, 36203, 36249, 36245, 36348, 36628, 36626, 36629, 36627, 36771, 36960, 36952, 36956, 36963, 36953, 36958, 36962, 36957, 36955, 37145, 37144, 37150, 37237, 37240, 37239, 37236, 37496, 37504, 37509, 37528, 37526, 37499, 37523, 37532, 37544, 37500, 37521, 38305, 38312, 38313, 38307, 38309, 38308, 38553, 38556, 38555, 38604, 38610, 38656, 38780, 38789, 38902, 38935, 38936, 39087, 39089, 39171, 39173, 39180, 39177, 39361, 39599, 39600, 39654, 39745, 39746, 40180, 40182, 40179, 40636, 40763, 40778, 20740, 20736, 20731, 20725, 20729, 20738, 20744, 20745, 20741, 20956, 21127, 21128, 21129, 21133, 21130, 21232, 21426, 22062, 22075, 22073, 22066, 22079, 22068, 22057, 22099, 22094, 22103, 22132, 22070, 22063, 22064, 22656, 22687, 22686, 22707, 22684, 22702, 22697, 22694, 22893, 23305, 23291, 23307, 23285, 23308, 23304, 23534, 23532, 23529, 23531, 23652, 23653, 23965, 23956, 24162, 24159, 24161, 24290, 24282, 24287, 24285, 24291, 24288, 24392, 24433, 24503, 24501, 24950, 24935, 24942, 24925, 24917, 24962, 24956, 24944, 24939, 24958, 24999, 24976, 25003, 24974, 25004, 24986, 24996, 24980, 25006, 25134, 25705, 25711, 25721, 25758, 25778, 25736, 25744, 25776, 25765, 25747, 25749, 25769, 25746, 25774, 25773, 25771, 25754, 25772, 25753, 25762, 25779, 25973, 25975, 25976, 26286, 26283, 26292, 26289, 27171, 27167, 27112, 27137, 27166, 27161, 27133, 27169, 27155, 27146, 27123, 27138, 27141, 27117, 27153, 27472, 27470, 27556, 27589, 27590, 28479, 28540, 28548, 28497, 28518, 28500, 28550, 28525, 28507, 28536, 28526, 28558, 28538, 28528, 28516, 28567, 28504, 28373, 28527, 28512, 28511, 29087, 29100, 29105, 29096, 29270, 29339, 29518, 29527, 29801, 29835, 29827, 29822, 29824, 30079, 30240, 30249, 30239, 30244, 30246, 30241, 30242, 30362, 30394, 30436, 30606, 30599, 30604, 30609, 30603, 30923, 30917, 30906, 30922, 30910, 30933, 30908, 30928, 31295, 31292, 31296, 31293, 31287, 31291, 31407, 31406, 31661, 31665, 31684, 31668, 31686, 31687, 31681, 31648, 31692, 31946, 32224, 32244, 32239, 32251, 32216, 32236, 32221, 32232, 32227, 32218, 32222, 32233, 32158, 32217, 32242, 32249, 32629, 32631, 32687, 32745, 32806, 33179, 33180, 33181, 33184, 33178, 33176, 34071, 34109, 34074, 34030, 34092, 34093, 34067, 34065, 34083, 34081, 34068, 34028, 34085, 34047, 34054, 34690, 34676, 34678, 34656, 34662, 34680, 34664, 34649, 34647, 34636, 34643, 34907, 34909, 35088, 35079, 35090, 35091, 35093, 35082, 35516, 35538, 35527, 35524, 35477, 35531, 35576, 35506, 35529, 35522, 35519, 35504, 35542, 35533, 35510, 35513, 35547, 35916, 35918, 35948, 36064, 36062, 36070, 36068, 36076, 36077, 36066, 36067, 36060, 36074, 36065, 36205, 36255, 36259, 36395, 36368, 36381, 36386, 36367, 36393, 36383, 36385, 36382, 36538, 36637, 36635, 36639, 36649, 36646, 36650, 36636, 36638, 36645, 36969, 36974, 36968, 36973, 36983, 37168, 37165, 37159, 37169, 37255, 37257, 37259, 37251, 37573, 37563, 37559, 37610, 37548, 37604, 37569, 37555, 37564, 37586, 37575, 37616, 37554, 38317, 38321, 38660, 38662, 38663, 38665, 38752, 38797, 38795, 38799, 38945, 38955, 38940, 39091, 39178, 39187, 39186, 39192, 39389, 39376, 39391, 39387, 39377, 39381, 39378, 39385, 39607, 39662, 39663, 39719, 39749, 39748, 39799, 39791, 40198, 40201, 40195, 40617, 40638, 40654, 22696, 40786, 20754, 20760, 20756, 20752, 20757, 20864, 20906, 20957, 21137, 21139, 21235, 22105, 22123, 22137, 22121, 22116, 22136, 22122, 22120, 22117, 22129, 22127, 22124, 22114, 22134, 22721, 22718, 22727, 22725, 22894, 23325, 23348, 23416, 23536, 23566, 24394, 25010, 24977, 25001, 24970, 25037, 25014, 25022, 25034, 25032, 25136, 25797, 25793, 25803, 25787, 25788, 25818, 25796, 25799, 25794, 25805, 25791, 25810, 25812, 25790, 25972, 26310, 26313, 26297, 26308, 26311, 26296, 27197, 27192, 27194, 27225, 27243, 27224, 27193, 27204, 27234, 27233, 27211, 27207, 27189, 27231, 27208, 27481, 27511, 27653, 28610, 28593, 28577, 28611, 28580, 28609, 28583, 28595, 28608, 28601, 28598, 28582, 28576, 28596, 29118, 29129, 29136, 29138, 29128, 29141, 29113, 29134, 29145, 29148, 29123, 29124, 29544, 29852, 29859, 29848, 29855, 29854, 29922, 29964, 29965, 30260, 30264, 30266, 30439, 30437, 30624, 30622, 30623, 30629, 30952, 30938, 30956, 30951, 31142, 31309, 31310, 31302, 31308, 31307, 31418, 31705, 31761, 31689, 31716, 31707, 31713, 31721, 31718, 31957, 31958, 32266, 32273, 32264, 32283, 32291, 32286, 32285, 32265, 32272, 32633, 32690, 32752, 32753, 32750, 32808, 33203, 33193, 33192, 33275, 33288, 33368, 33369, 34122, 34137, 34120, 34152, 34153, 34115, 34121, 34157, 34154, 34142, 34691, 34719, 34718, 34722, 34701, 34913, 35114, 35122, 35109, 35115, 35105, 35242, 35238, 35558, 35578, 35563, 35569, 35584, 35548, 35559, 35566, 35582, 35585, 35586, 35575, 35565, 35571, 35574, 35580, 35947, 35949, 35987, 36084, 36420, 36401, 36404, 36418, 36409, 36405, 36667, 36655, 36664, 36659, 36776, 36774, 36981, 36980, 36984, 36978, 36988, 36986, 37172, 37266, 37664, 37686, 37624, 37683, 37679, 37666, 37628, 37675, 37636, 37658, 37648, 37670, 37665, 37653, 37678, 37657, 38331, 38567, 38568, 38570, 38613, 38670, 38673, 38678, 38669, 38675, 38671, 38747, 38748, 38758, 38808, 38960, 38968, 38971, 38967, 38957, 38969, 38948, 39184, 39208, 39198, 39195, 39201, 39194, 39405, 39394, 39409, 39608, 39612, 39675, 39661, 39720, 39825, 40213, 40227, 40230, 40232, 40210, 40219, 40664, 40660, 40845, 40860, 20778, 20767, 20769, 20786, 21237, 22158, 22144, 22160, 22149, 22151, 22159, 22741, 22739, 22737, 22734, 23344, 23338, 23332, 23418, 23607, 23656, 23996, 23994, 23997, 23992, 24171, 24396, 24509, 25033, 25026, 25031, 25062, 25035, 25138, 25140, 25806, 25802, 25816, 25824, 25840, 25830, 25836, 25841, 25826, 25837, 25986, 25987, 26329, 26326, 27264, 27284, 27268, 27298, 27292, 27355, 27299, 27262, 27287, 27280, 27296, 27484, 27566, 27610, 27656, 28632, 28657, 28639, 28640, 28635, 28644, 28651, 28655, 28544, 28652, 28641, 28649, 28629, 28654, 28656, 29159, 29151, 29166, 29158, 29157, 29165, 29164, 29172, 29152, 29237, 29254, 29552, 29554, 29865, 29872, 29862, 29864, 30278, 30274, 30284, 30442, 30643, 30634, 30640, 30636, 30631, 30637, 30703, 30967, 30970, 30964, 30959, 30977, 31143, 31146, 31319, 31423, 31751, 31757, 31742, 31735, 31756, 31712, 31968, 31964, 31966, 31970, 31967, 31961, 31965, 32302, 32318, 32326, 32311, 32306, 32323, 32299, 32317, 32305, 32325, 32321, 32308, 32313, 32328, 32309, 32319, 32303, 32580, 32755, 32764, 32881, 32882, 32880, 32879, 32883, 33222, 33219, 33210, 33218, 33216, 33215, 33213, 33225, 33214, 33256, 33289, 33393, 34218, 34180, 34174, 34204, 34193, 34196, 34223, 34203, 34183, 34216, 34186, 34407, 34752, 34769, 34739, 34770, 34758, 34731, 34747, 34746, 34760, 34763, 35131, 35126, 35140, 35128, 35133, 35244, 35598, 35607, 35609, 35611, 35594, 35616, 35613, 35588, 35600, 35905, 35903, 35955, 36090, 36093, 36092, 36088, 36091, 36264, 36425, 36427, 36424, 36426, 36676, 36670, 36674, 36677, 36671, 36991, 36989, 36996, 36993, 36994, 36992, 37177, 37283, 37278, 37276, 37709, 37762, 37672, 37749, 37706, 37733, 37707, 37656, 37758, 37740, 37723, 37744, 37722, 37716, 38346, 38347, 38348, 38344, 38342, 38577, 38584, 38614, 38684, 38686, 38816, 38867, 38982, 39094, 39221, 39425, 39423, 39854, 39851, 39850, 39853, 40251, 40255, 40587, 40655, 40670, 40668, 40669, 40667, 40766, 40779, 21474, 22165, 22190, 22745, 22744, 23352, 24413, 25059, 25139, 25844, 25842, 25854, 25862, 25850, 25851, 25847, 26039, 26332, 26406, 27315, 27308, 27331, 27323, 27320, 27330, 27310, 27311, 27487, 27512, 27567, 28681, 28683, 28670, 28678, 28666, 28689, 28687, 29179, 29180, 29182, 29176, 29559, 29557, 29863, 29887, 29973, 30294, 30296, 30290, 30653, 30655, 30651, 30652, 30990, 31150, 31329, 31330, 31328, 31428, 31429, 31787, 31783, 31786, 31774, 31779, 31777, 31975, 32340, 32341, 32350, 32346, 32353, 32338, 32345, 32584, 32761, 32763, 32887, 32886, 33229, 33231, 33290, 34255, 34217, 34253, 34256, 34249, 34224, 34234, 34233, 34214, 34799, 34796, 34802, 34784, 35206, 35250, 35316, 35624, 35641, 35628, 35627, 35920, 36101, 36441, 36451, 36454, 36452, 36447, 36437, 36544, 36681, 36685, 36999, 36995, 37000, 37291, 37292, 37328, 37780, 37770, 37782, 37794, 37811, 37806, 37804, 37808, 37784, 37786, 37783, 38356, 38358, 38352, 38357, 38626, 38620, 38617, 38619, 38622, 38692, 38819, 38822, 38829, 38905, 38989, 38991, 38988, 38990, 38995, 39098, 39230, 39231, 39229, 39214, 39333, 39438, 39617, 39683, 39686, 39759, 39758, 39757, 39882, 39881, 39933, 39880, 39872, 40273, 40285, 40288, 40672, 40725, 40748, 20787, 22181, 22750, 22751, 22754, 23541, 40848, 24300, 25074, 25079, 25078, 25077, 25856, 25871, 26336, 26333, 27365, 27357, 27354, 27347, 28699, 28703, 28712, 28698, 28701, 28693, 28696, 29190, 29197, 29272, 29346, 29560, 29562, 29885, 29898, 29923, 30087, 30086, 30303, 30305, 30663, 31001, 31153, 31339, 31337, 31806, 31807, 31800, 31805, 31799, 31808, 32363, 32365, 32377, 32361, 32362, 32645, 32371, 32694, 32697, 32696, 33240, 34281, 34269, 34282, 34261, 34276, 34277, 34295, 34811, 34821, 34829, 34809, 34814, 35168, 35167, 35158, 35166, 35649, 35676, 35672, 35657, 35674, 35662, 35663, 35654, 35673, 36104, 36106, 36476, 36466, 36487, 36470, 36460, 36474, 36468, 36692, 36686, 36781, 37002, 37003, 37297, 37294, 37857, 37841, 37855, 37827, 37832, 37852, 37853, 37846, 37858, 37837, 37848, 37860, 37847, 37864, 38364, 38580, 38627, 38698, 38695, 38753, 38876, 38907, 39006, 39000, 39003, 39100, 39237, 39241, 39446, 39449, 39693, 39912, 39911, 39894, 39899, 40329, 40289, 40306, 40298, 40300, 40594, 40599, 40595, 40628, 21240, 22184, 22199, 22198, 22196, 22204, 22756, 23360, 23363, 23421, 23542, 24009, 25080, 25082, 25880, 25876, 25881, 26342, 26407, 27372, 28734, 28720, 28722, 29200, 29563, 29903, 30306, 30309, 31014, 31018, 31020, 31019, 31431, 31478, 31820, 31811, 31821, 31983, 31984, 36782, 32381, 32380, 32386, 32588, 32768, 33242, 33382, 34299, 34297, 34321, 34298, 34310, 34315, 34311, 34314, 34836, 34837, 35172, 35258, 35320, 35696, 35692, 35686, 35695, 35679, 35691, 36111, 36109, 36489, 36481, 36485, 36482, 37300, 37323, 37912, 37891, 37885, 38369, 38704, 39108, 39250, 39249, 39336, 39467, 39472, 39479, 39477, 39955, 39949, 40569, 40629, 40680, 40751, 40799, 40803, 40801, 20791, 20792, 22209, 22208, 22210, 22804, 23660, 24013, 25084, 25086, 25885, 25884, 26005, 26345, 27387, 27396, 27386, 27570, 28748, 29211, 29351, 29910, 29908, 30313, 30675, 31824, 32399, 32396, 32700, 34327, 34349, 34330, 34851, 34850, 34849, 34847, 35178, 35180, 35261, 35700, 35703, 35709, 36115, 36490, 36493, 36491, 36703, 36783, 37306, 37934, 37939, 37941, 37946, 37944, 37938, 37931, 38370, 38712, 38713, 38706, 38911, 39015, 39013, 39255, 39493, 39491, 39488, 39486, 39631, 39764, 39761, 39981, 39973, 40367, 40372, 40386, 40376, 40605, 40687, 40729, 40796, 40806, 40807, 20796, 20795, 22216, 22218, 22217, 23423, 24020, 24018, 24398, 25087, 25892, 27402, 27489, 28753, 28760, 29568, 29924, 30090, 30318, 30316, 31155, 31840, 31839, 32894, 32893, 33247, 35186, 35183, 35324, 35712, 36118, 36119, 36497, 36499, 36705, 37192, 37956, 37969, 37970, 38717, 38718, 38851, 38849, 39019, 39253, 39509, 39501, 39634, 39706, 40009, 39985, 39998, 39995, 40403, 40407, 40756, 40812, 40810, 40852, 22220, 24022, 25088, 25891, 25899, 25898, 26348, 27408, 29914, 31434, 31844, 31843, 31845, 32403, 32406, 32404, 33250, 34360, 34367, 34865, 35722, 37008, 37007, 37987, 37984, 37988, 38760, 39023, 39260, 39514, 39515, 39511, 39635, 39636, 39633, 40020, 40023, 40022, 40421, 40607, 40692, 22225, 22761, 25900, 28766, 30321, 30322, 30679, 32592, 32648, 34870, 34873, 34914, 35731, 35730, 35734, 33399, 36123, 37312, 37994, 38722, 38728, 38724, 38854, 39024, 39519, 39714, 39768, 40031, 40441, 40442, 40572, 40573, 40711, 40823, 40818, 24307, 27414, 28771, 31852, 31854, 34875, 35264, 36513, 37313, 38002, 38000, 39025, 39262, 39638, 39715, 40652, 28772, 30682, 35738, 38007, 38857, 39522, 39525, 32412, 35740, 36522, 37317, 38013, 38014, 38012, 40055, 40056, 40695, 35924, 38015, 40474, 29224, 39530, 39729, 40475, 40478, 31858, 9312, 9313, 9314, 9315, 9316, 9317, 9318, 9319, 9320, 9321, 9332, 9333, 9334, 9335, 9336, 9337, 9338, 9339, 9340, 9341, 8560, 8561, 8562, 8563, 8564, 8565, 8566, 8567, 8568, 8569, 20022, 20031, 20101, 20128, 20866, 20886, 20907, 21241, 21304, 21353, 21430, 22794, 23424, 24027, 12083, 24191, 24308, 24400, 24417, 25908, 26080, 30098, 30326, 36789, 38582, 168, 710, 12541, 12542, 12445, 12446, 12291, 20189, 12293, 12294, 12295, 12540, 65339, 65341, 10045, 12353, 12354, 12355, 12356, 12357, 12358, 12359, 12360, 12361, 12362, 12363, 12364, 12365, 12366, 12367, 12368, 12369, 12370, 12371, 12372, 12373, 12374, 12375, 12376, 12377, 12378, 12379, 12380, 12381, 12382, 12383, 12384, 12385, 12386, 12387, 12388, 12389, 12390, 12391, 12392, 12393, 12394, 12395, 12396, 12397, 12398, 12399, 12400, 12401, 12402, 12403, 12404, 12405, 12406, 12407, 12408, 12409, 12410, 12411, 12412, 12413, 12414, 12415, 12416, 12417, 12418, 12419, 12420, 12421, 12422, 12423, 12424, 12425, 12426, 12427, 12428, 12429, 12430, 12431, 12432, 12433, 12434, 12435, 12449, 12450, 12451, 12452, 12453, 12454, 12455, 12456, 12457, 12458, 12459, 12460, 12461, 12462, 12463, 12464, 12465, 12466, 12467, 12468, 12469, 12470, 12471, 12472, 12473, 12474, 12475, 12476, 12477, 12478, 12479, 12480, 12481, 12482, 12483, 12484, 12485, 12486, 12487, 12488, 12489, 12490, 12491, 12492, 12493, 12494, 12495, 12496, 12497, 12498, 12499, 12500, 12501, 12502, 12503, 12504, 12505, 12506, 12507, 12508, 12509, 12510, 12511, 12512, 12513, 12514, 12515, 12516, 12517, 12518, 12519, 12520, 12521, 12522, 12523, 12524, 12525, 12526, 12527, 12528, 12529, 12530, 12531, 12532, 12533, 12534, 1040, 1041, 1042, 1043, 1044, 1045, 1025, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1105, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 8679, 8632, 8633, 12751, 131276, 20058, 131210, 20994, 17553, 40880, 20872, 40881, 161287, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 65506, 65508, 65287, 65282, 12849, 8470, 8481, 12443, 12444, 11904, 11908, 11910, 11911, 11912, 11914, 11916, 11917, 11925, 11932, 11933, 11941, 11943, 11946, 11948, 11950, 11958, 11964, 11966, 11974, 11978, 11980, 11981, 11983, 11990, 11991, 11998, 12003, null, null, null, 643, 592, 603, 596, 629, 339, 248, 331, 650, 618, 20034, 20060, 20981, 21274, 21378, 19975, 19980, 20039, 20109, 22231, 64012, 23662, 24435, 19983, 20871, 19982, 20014, 20115, 20162, 20169, 20168, 20888, 21244, 21356, 21433, 22304, 22787, 22828, 23568, 24063, 26081, 27571, 27596, 27668, 29247, 20017, 20028, 20200, 20188, 20201, 20193, 20189, 20186, 21004, 21276, 21324, 22306, 22307, 22807, 22831, 23425, 23428, 23570, 23611, 23668, 23667, 24068, 24192, 24194, 24521, 25097, 25168, 27669, 27702, 27715, 27711, 27707, 29358, 29360, 29578, 31160, 32906, 38430, 20238, 20248, 20268, 20213, 20244, 20209, 20224, 20215, 20232, 20253, 20226, 20229, 20258, 20243, 20228, 20212, 20242, 20913, 21011, 21001, 21008, 21158, 21282, 21279, 21325, 21386, 21511, 22241, 22239, 22318, 22314, 22324, 22844, 22912, 22908, 22917, 22907, 22910, 22903, 22911, 23382, 23573, 23589, 23676, 23674, 23675, 23678, 24031, 24181, 24196, 24322, 24346, 24436, 24533, 24532, 24527, 25180, 25182, 25188, 25185, 25190, 25186, 25177, 25184, 25178, 25189, 26095, 26094, 26430, 26425, 26424, 26427, 26426, 26431, 26428, 26419, 27672, 27718, 27730, 27740, 27727, 27722, 27732, 27723, 27724, 28785, 29278, 29364, 29365, 29582, 29994, 30335, 31349, 32593, 33400, 33404, 33408, 33405, 33407, 34381, 35198, 37017, 37015, 37016, 37019, 37012, 38434, 38436, 38432, 38435, 20310, 20283, 20322, 20297, 20307, 20324, 20286, 20327, 20306, 20319, 20289, 20312, 20269, 20275, 20287, 20321, 20879, 20921, 21020, 21022, 21025, 21165, 21166, 21257, 21347, 21362, 21390, 21391, 21552, 21559, 21546, 21588, 21573, 21529, 21532, 21541, 21528, 21565, 21583, 21569, 21544, 21540, 21575, 22254, 22247, 22245, 22337, 22341, 22348, 22345, 22347, 22354, 22790, 22848, 22950, 22936, 22944, 22935, 22926, 22946, 22928, 22927, 22951, 22945, 23438, 23442, 23592, 23594, 23693, 23695, 23688, 23691, 23689, 23698, 23690, 23686, 23699, 23701, 24032, 24074, 24078, 24203, 24201, 24204, 24200, 24205, 24325, 24349, 24440, 24438, 24530, 24529, 24528, 24557, 24552, 24558, 24563, 24545, 24548, 24547, 24570, 24559, 24567, 24571, 24576, 24564, 25146, 25219, 25228, 25230, 25231, 25236, 25223, 25201, 25211, 25210, 25200, 25217, 25224, 25207, 25213, 25202, 25204, 25911, 26096, 26100, 26099, 26098, 26101, 26437, 26439, 26457, 26453, 26444, 26440, 26461, 26445, 26458, 26443, 27600, 27673, 27674, 27768, 27751, 27755, 27780, 27787, 27791, 27761, 27759, 27753, 27802, 27757, 27783, 27797, 27804, 27750, 27763, 27749, 27771, 27790, 28788, 28794, 29283, 29375, 29373, 29379, 29382, 29377, 29370, 29381, 29589, 29591, 29587, 29588, 29586, 30010, 30009, 30100, 30101, 30337, 31037, 32820, 32917, 32921, 32912, 32914, 32924, 33424, 33423, 33413, 33422, 33425, 33427, 33418, 33411, 33412, 35960, 36809, 36799, 37023, 37025, 37029, 37022, 37031, 37024, 38448, 38440, 38447, 38445, 20019, 20376, 20348, 20357, 20349, 20352, 20359, 20342, 20340, 20361, 20356, 20343, 20300, 20375, 20330, 20378, 20345, 20353, 20344, 20368, 20380, 20372, 20382, 20370, 20354, 20373, 20331, 20334, 20894, 20924, 20926, 21045, 21042, 21043, 21062, 21041, 21180, 21258, 21259, 21308, 21394, 21396, 21639, 21631, 21633, 21649, 21634, 21640, 21611, 21626, 21630, 21605, 21612, 21620, 21606, 21645, 21615, 21601, 21600, 21656, 21603, 21607, 21604, 22263, 22265, 22383, 22386, 22381, 22379, 22385, 22384, 22390, 22400, 22389, 22395, 22387, 22388, 22370, 22376, 22397, 22796, 22853, 22965, 22970, 22991, 22990, 22962, 22988, 22977, 22966, 22972, 22979, 22998, 22961, 22973, 22976, 22984, 22964, 22983, 23394, 23397, 23443, 23445, 23620, 23623, 23726, 23716, 23712, 23733, 23727, 23720, 23724, 23711, 23715, 23725, 23714, 23722, 23719, 23709, 23717, 23734, 23728, 23718, 24087, 24084, 24089, 24360, 24354, 24355, 24356, 24404, 24450, 24446, 24445, 24542, 24549, 24621, 24614, 24601, 24626, 24587, 24628, 24586, 24599, 24627, 24602, 24606, 24620, 24610, 24589, 24592, 24622, 24595, 24593, 24588, 24585, 24604, 25108, 25149, 25261, 25268, 25297, 25278, 25258, 25270, 25290, 25262, 25267, 25263, 25275, 25257, 25264, 25272, 25917, 26024, 26043, 26121, 26108, 26116, 26130, 26120, 26107, 26115, 26123, 26125, 26117, 26109, 26129, 26128, 26358, 26378, 26501, 26476, 26510, 26514, 26486, 26491, 26520, 26502, 26500, 26484, 26509, 26508, 26490, 26527, 26513, 26521, 26499, 26493, 26497, 26488, 26489, 26516, 27429, 27520, 27518, 27614, 27677, 27795, 27884, 27883, 27886, 27865, 27830, 27860, 27821, 27879, 27831, 27856, 27842, 27834, 27843, 27846, 27885, 27890, 27858, 27869, 27828, 27786, 27805, 27776, 27870, 27840, 27952, 27853, 27847, 27824, 27897, 27855, 27881, 27857, 28820, 28824, 28805, 28819, 28806, 28804, 28817, 28822, 28802, 28826, 28803, 29290, 29398, 29387, 29400, 29385, 29404, 29394, 29396, 29402, 29388, 29393, 29604, 29601, 29613, 29606, 29602, 29600, 29612, 29597, 29917, 29928, 30015, 30016, 30014, 30092, 30104, 30383, 30451, 30449, 30448, 30453, 30712, 30716, 30713, 30715, 30714, 30711, 31042, 31039, 31173, 31352, 31355, 31483, 31861, 31997, 32821, 32911, 32942, 32931, 32952, 32949, 32941, 33312, 33440, 33472, 33451, 33434, 33432, 33435, 33461, 33447, 33454, 33468, 33438, 33466, 33460, 33448, 33441, 33449, 33474, 33444, 33475, 33462, 33442, 34416, 34415, 34413, 34414, 35926, 36818, 36811, 36819, 36813, 36822, 36821, 36823, 37042, 37044, 37039, 37043, 37040, 38457, 38461, 38460, 38458, 38467, 20429, 20421, 20435, 20402, 20425, 20427, 20417, 20436, 20444, 20441, 20411, 20403, 20443, 20423, 20438, 20410, 20416, 20409, 20460, 21060, 21065, 21184, 21186, 21309, 21372, 21399, 21398, 21401, 21400, 21690, 21665, 21677, 21669, 21711, 21699, 33549, 21687, 21678, 21718, 21686, 21701, 21702, 21664, 21616, 21692, 21666, 21694, 21618, 21726, 21680, 22453, 22430, 22431, 22436, 22412, 22423, 22429, 22427, 22420, 22424, 22415, 22425, 22437, 22426, 22421, 22772, 22797, 22867, 23009, 23006, 23022, 23040, 23025, 23005, 23034, 23037, 23036, 23030, 23012, 23026, 23031, 23003, 23017, 23027, 23029, 23008, 23038, 23028, 23021, 23464, 23628, 23760, 23768, 23756, 23767, 23755, 23771, 23774, 23770, 23753, 23751, 23754, 23766, 23763, 23764, 23759, 23752, 23750, 23758, 23775, 23800, 24057, 24097, 24098, 24099, 24096, 24100, 24240, 24228, 24226, 24219, 24227, 24229, 24327, 24366, 24406, 24454, 24631, 24633, 24660, 24690, 24670, 24645, 24659, 24647, 24649, 24667, 24652, 24640, 24642, 24671, 24612, 24644, 24664, 24678, 24686, 25154, 25155, 25295, 25357, 25355, 25333, 25358, 25347, 25323, 25337, 25359, 25356, 25336, 25334, 25344, 25363, 25364, 25338, 25365, 25339, 25328, 25921, 25923, 26026, 26047, 26166, 26145, 26162, 26165, 26140, 26150, 26146, 26163, 26155, 26170, 26141, 26164, 26169, 26158, 26383, 26384, 26561, 26610, 26568, 26554, 26588, 26555, 26616, 26584, 26560, 26551, 26565, 26603, 26596, 26591, 26549, 26573, 26547, 26615, 26614, 26606, 26595, 26562, 26553, 26574, 26599, 26608, 26546, 26620, 26566, 26605, 26572, 26542, 26598, 26587, 26618, 26569, 26570, 26563, 26602, 26571, 27432, 27522, 27524, 27574, 27606, 27608, 27616, 27680, 27681, 27944, 27956, 27949, 27935, 27964, 27967, 27922, 27914, 27866, 27955, 27908, 27929, 27962, 27930, 27921, 27904, 27933, 27970, 27905, 27928, 27959, 27907, 27919, 27968, 27911, 27936, 27948, 27912, 27938, 27913, 27920, 28855, 28831, 28862, 28849, 28848, 28833, 28852, 28853, 28841, 29249, 29257, 29258, 29292, 29296, 29299, 29294, 29386, 29412, 29416, 29419, 29407, 29418, 29414, 29411, 29573, 29644, 29634, 29640, 29637, 29625, 29622, 29621, 29620, 29675, 29631, 29639, 29630, 29635, 29638, 29624, 29643, 29932, 29934, 29998, 30023, 30024, 30119, 30122, 30329, 30404, 30472, 30467, 30468, 30469, 30474, 30455, 30459, 30458, 30695, 30696, 30726, 30737, 30738, 30725, 30736, 30735, 30734, 30729, 30723, 30739, 31050, 31052, 31051, 31045, 31044, 31189, 31181, 31183, 31190, 31182, 31360, 31358, 31441, 31488, 31489, 31866, 31864, 31865, 31871, 31872, 31873, 32003, 32008, 32001, 32600, 32657, 32653, 32702, 32775, 32782, 32783, 32788, 32823, 32984, 32967, 32992, 32977, 32968, 32962, 32976, 32965, 32995, 32985, 32988, 32970, 32981, 32969, 32975, 32983, 32998, 32973, 33279, 33313, 33428, 33497, 33534, 33529, 33543, 33512, 33536, 33493, 33594, 33515, 33494, 33524, 33516, 33505, 33522, 33525, 33548, 33531, 33526, 33520, 33514, 33508, 33504, 33530, 33523, 33517, 34423, 34420, 34428, 34419, 34881, 34894, 34919, 34922, 34921, 35283, 35332, 35335, 36210, 36835, 36833, 36846, 36832, 37105, 37053, 37055, 37077, 37061, 37054, 37063, 37067, 37064, 37332, 37331, 38484, 38479, 38481, 38483, 38474, 38478, 20510, 20485, 20487, 20499, 20514, 20528, 20507, 20469, 20468, 20531, 20535, 20524, 20470, 20471, 20503, 20508, 20512, 20519, 20533, 20527, 20529, 20494, 20826, 20884, 20883, 20938, 20932, 20933, 20936, 20942, 21089, 21082, 21074, 21086, 21087, 21077, 21090, 21197, 21262, 21406, 21798, 21730, 21783, 21778, 21735, 21747, 21732, 21786, 21759, 21764, 21768, 21739, 21777, 21765, 21745, 21770, 21755, 21751, 21752, 21728, 21774, 21763, 21771, 22273, 22274, 22476, 22578, 22485, 22482, 22458, 22470, 22461, 22460, 22456, 22454, 22463, 22471, 22480, 22457, 22465, 22798, 22858, 23065, 23062, 23085, 23086, 23061, 23055, 23063, 23050, 23070, 23091, 23404, 23463, 23469, 23468, 23555, 23638, 23636, 23788, 23807, 23790, 23793, 23799, 23808, 23801, 24105, 24104, 24232, 24238, 24234, 24236, 24371, 24368, 24423, 24669, 24666, 24679, 24641, 24738, 24712, 24704, 24722, 24705, 24733, 24707, 24725, 24731, 24727, 24711, 24732, 24718, 25113, 25158, 25330, 25360, 25430, 25388, 25412, 25413, 25398, 25411, 25572, 25401, 25419, 25418, 25404, 25385, 25409, 25396, 25432, 25428, 25433, 25389, 25415, 25395, 25434, 25425, 25400, 25431, 25408, 25416, 25930, 25926, 26054, 26051, 26052, 26050, 26186, 26207, 26183, 26193, 26386, 26387, 26655, 26650, 26697, 26674, 26675, 26683, 26699, 26703, 26646, 26673, 26652, 26677, 26667, 26669, 26671, 26702, 26692, 26676, 26653, 26642, 26644, 26662, 26664, 26670, 26701, 26682, 26661, 26656, 27436, 27439, 27437, 27441, 27444, 27501, 32898, 27528, 27622, 27620, 27624, 27619, 27618, 27623, 27685, 28026, 28003, 28004, 28022, 27917, 28001, 28050, 27992, 28002, 28013, 28015, 28049, 28045, 28143, 28031, 28038, 27998, 28007, 28000, 28055, 28016, 28028, 27999, 28034, 28056, 27951, 28008, 28043, 28030, 28032, 28036, 27926, 28035, 28027, 28029, 28021, 28048, 28892, 28883, 28881, 28893, 28875, 32569, 28898, 28887, 28882, 28894, 28896, 28884, 28877, 28869, 28870, 28871, 28890, 28878, 28897, 29250, 29304, 29303, 29302, 29440, 29434, 29428, 29438, 29430, 29427, 29435, 29441, 29651, 29657, 29669, 29654, 29628, 29671, 29667, 29673, 29660, 29650, 29659, 29652, 29661, 29658, 29655, 29656, 29672, 29918, 29919, 29940, 29941, 29985, 30043, 30047, 30128, 30145, 30139, 30148, 30144, 30143, 30134, 30138, 30346, 30409, 30493, 30491, 30480, 30483, 30482, 30499, 30481, 30485, 30489, 30490, 30498, 30503, 30755, 30764, 30754, 30773, 30767, 30760, 30766, 30763, 30753, 30761, 30771, 30762, 30769, 31060, 31067, 31055, 31068, 31059, 31058, 31057, 31211, 31212, 31200, 31214, 31213, 31210, 31196, 31198, 31197, 31366, 31369, 31365, 31371, 31372, 31370, 31367, 31448, 31504, 31492, 31507, 31493, 31503, 31496, 31498, 31502, 31497, 31506, 31876, 31889, 31882, 31884, 31880, 31885, 31877, 32030, 32029, 32017, 32014, 32024, 32022, 32019, 32031, 32018, 32015, 32012, 32604, 32609, 32606, 32608, 32605, 32603, 32662, 32658, 32707, 32706, 32704, 32790, 32830, 32825, 33018, 33010, 33017, 33013, 33025, 33019, 33024, 33281, 33327, 33317, 33587, 33581, 33604, 33561, 33617, 33573, 33622, 33599, 33601, 33574, 33564, 33570, 33602, 33614, 33563, 33578, 33544, 33596, 33613, 33558, 33572, 33568, 33591, 33583, 33577, 33607, 33605, 33612, 33619, 33566, 33580, 33611, 33575, 33608, 34387, 34386, 34466, 34472, 34454, 34445, 34449, 34462, 34439, 34455, 34438, 34443, 34458, 34437, 34469, 34457, 34465, 34471, 34453, 34456, 34446, 34461, 34448, 34452, 34883, 34884, 34925, 34933, 34934, 34930, 34944, 34929, 34943, 34927, 34947, 34942, 34932, 34940, 35346, 35911, 35927, 35963, 36004, 36003, 36214, 36216, 36277, 36279, 36278, 36561, 36563, 36862, 36853, 36866, 36863, 36859, 36868, 36860, 36854, 37078, 37088, 37081, 37082, 37091, 37087, 37093, 37080, 37083, 37079, 37084, 37092, 37200, 37198, 37199, 37333, 37346, 37338, 38492, 38495, 38588, 39139, 39647, 39727, 20095, 20592, 20586, 20577, 20574, 20576, 20563, 20555, 20573, 20594, 20552, 20557, 20545, 20571, 20554, 20578, 20501, 20549, 20575, 20585, 20587, 20579, 20580, 20550, 20544, 20590, 20595, 20567, 20561, 20944, 21099, 21101, 21100, 21102, 21206, 21203, 21293, 21404, 21877, 21878, 21820, 21837, 21840, 21812, 21802, 21841, 21858, 21814, 21813, 21808, 21842, 21829, 21772, 21810, 21861, 21838, 21817, 21832, 21805, 21819, 21824, 21835, 22282, 22279, 22523, 22548, 22498, 22518, 22492, 22516, 22528, 22509, 22525, 22536, 22520, 22539, 22515, 22479, 22535, 22510, 22499, 22514, 22501, 22508, 22497, 22542, 22524, 22544, 22503, 22529, 22540, 22513, 22505, 22512, 22541, 22532, 22876, 23136, 23128, 23125, 23143, 23134, 23096, 23093, 23149, 23120, 23135, 23141, 23148, 23123, 23140, 23127, 23107, 23133, 23122, 23108, 23131, 23112, 23182, 23102, 23117, 23097, 23116, 23152, 23145, 23111, 23121, 23126, 23106, 23132, 23410, 23406, 23489, 23488, 23641, 23838, 23819, 23837, 23834, 23840, 23820, 23848, 23821, 23846, 23845, 23823, 23856, 23826, 23843, 23839, 23854, 24126, 24116, 24241, 24244, 24249, 24242, 24243, 24374, 24376, 24475, 24470, 24479, 24714, 24720, 24710, 24766, 24752, 24762, 24787, 24788, 24783, 24804, 24793, 24797, 24776, 24753, 24795, 24759, 24778, 24767, 24771, 24781, 24768, 25394, 25445, 25482, 25474, 25469, 25533, 25502, 25517, 25501, 25495, 25515, 25486, 25455, 25479, 25488, 25454, 25519, 25461, 25500, 25453, 25518, 25468, 25508, 25403, 25503, 25464, 25477, 25473, 25489, 25485, 25456, 25939, 26061, 26213, 26209, 26203, 26201, 26204, 26210, 26392, 26745, 26759, 26768, 26780, 26733, 26734, 26798, 26795, 26966, 26735, 26787, 26796, 26793, 26741, 26740, 26802, 26767, 26743, 26770, 26748, 26731, 26738, 26794, 26752, 26737, 26750, 26779, 26774, 26763, 26784, 26761, 26788, 26744, 26747, 26769, 26764, 26762, 26749, 27446, 27443, 27447, 27448, 27537, 27535, 27533, 27534, 27532, 27690, 28096, 28075, 28084, 28083, 28276, 28076, 28137, 28130, 28087, 28150, 28116, 28160, 28104, 28128, 28127, 28118, 28094, 28133, 28124, 28125, 28123, 28148, 28106, 28093, 28141, 28144, 28090, 28117, 28098, 28111, 28105, 28112, 28146, 28115, 28157, 28119, 28109, 28131, 28091, 28922, 28941, 28919, 28951, 28916, 28940, 28912, 28932, 28915, 28944, 28924, 28927, 28934, 28947, 28928, 28920, 28918, 28939, 28930, 28942, 29310, 29307, 29308, 29311, 29469, 29463, 29447, 29457, 29464, 29450, 29448, 29439, 29455, 29470, 29576, 29686, 29688, 29685, 29700, 29697, 29693, 29703, 29696, 29690, 29692, 29695, 29708, 29707, 29684, 29704, 30052, 30051, 30158, 30162, 30159, 30155, 30156, 30161, 30160, 30351, 30345, 30419, 30521, 30511, 30509, 30513, 30514, 30516, 30515, 30525, 30501, 30523, 30517, 30792, 30802, 30793, 30797, 30794, 30796, 30758, 30789, 30800, 31076, 31079, 31081, 31082, 31075, 31083, 31073, 31163, 31226, 31224, 31222, 31223, 31375, 31380, 31376, 31541, 31559, 31540, 31525, 31536, 31522, 31524, 31539, 31512, 31530, 31517, 31537, 31531, 31533, 31535, 31538, 31544, 31514, 31523, 31892, 31896, 31894, 31907, 32053, 32061, 32056, 32054, 32058, 32069, 32044, 32041, 32065, 32071, 32062, 32063, 32074, 32059, 32040, 32611, 32661, 32668, 32669, 32667, 32714, 32715, 32717, 32720, 32721, 32711, 32719, 32713, 32799, 32798, 32795, 32839, 32835, 32840, 33048, 33061, 33049, 33051, 33069, 33055, 33068, 33054, 33057, 33045, 33063, 33053, 33058, 33297, 33336, 33331, 33338, 33332, 33330, 33396, 33680, 33699, 33704, 33677, 33658, 33651, 33700, 33652, 33679, 33665, 33685, 33689, 33653, 33684, 33705, 33661, 33667, 33676, 33693, 33691, 33706, 33675, 33662, 33701, 33711, 33672, 33687, 33712, 33663, 33702, 33671, 33710, 33654, 33690, 34393, 34390, 34495, 34487, 34498, 34497, 34501, 34490, 34480, 34504, 34489, 34483, 34488, 34508, 34484, 34491, 34492, 34499, 34493, 34494, 34898, 34953, 34965, 34984, 34978, 34986, 34970, 34961, 34977, 34975, 34968, 34983, 34969, 34971, 34967, 34980, 34988, 34956, 34963, 34958, 35202, 35286, 35289, 35285, 35376, 35367, 35372, 35358, 35897, 35899, 35932, 35933, 35965, 36005, 36221, 36219, 36217, 36284, 36290, 36281, 36287, 36289, 36568, 36574, 36573, 36572, 36567, 36576, 36577, 36900, 36875, 36881, 36892, 36876, 36897, 37103, 37098, 37104, 37108, 37106, 37107, 37076, 37099, 37100, 37097, 37206, 37208, 37210, 37203, 37205, 37356, 37364, 37361, 37363, 37368, 37348, 37369, 37354, 37355, 37367, 37352, 37358, 38266, 38278, 38280, 38524, 38509, 38507, 38513, 38511, 38591, 38762, 38916, 39141, 39319, 20635, 20629, 20628, 20638, 20619, 20643, 20611, 20620, 20622, 20637, 20584, 20636, 20626, 20610, 20615, 20831, 20948, 21266, 21265, 21412, 21415, 21905, 21928, 21925, 21933, 21879, 22085, 21922, 21907, 21896, 21903, 21941, 21889, 21923, 21906, 21924, 21885, 21900, 21926, 21887, 21909, 21921, 21902, 22284, 22569, 22583, 22553, 22558, 22567, 22563, 22568, 22517, 22600, 22565, 22556, 22555, 22579, 22591, 22582, 22574, 22585, 22584, 22573, 22572, 22587, 22881, 23215, 23188, 23199, 23162, 23202, 23198, 23160, 23206, 23164, 23205, 23212, 23189, 23214, 23095, 23172, 23178, 23191, 23171, 23179, 23209, 23163, 23165, 23180, 23196, 23183, 23187, 23197, 23530, 23501, 23499, 23508, 23505, 23498, 23502, 23564, 23600, 23863, 23875, 23915, 23873, 23883, 23871, 23861, 23889, 23886, 23893, 23859, 23866, 23890, 23869, 23857, 23897, 23874, 23865, 23881, 23864, 23868, 23858, 23862, 23872, 23877, 24132, 24129, 24408, 24486, 24485, 24491, 24777, 24761, 24780, 24802, 24782, 24772, 24852, 24818, 24842, 24854, 24837, 24821, 24851, 24824, 24828, 24830, 24769, 24835, 24856, 24861, 24848, 24831, 24836, 24843, 25162, 25492, 25521, 25520, 25550, 25573, 25576, 25583, 25539, 25757, 25587, 25546, 25568, 25590, 25557, 25586, 25589, 25697, 25567, 25534, 25565, 25564, 25540, 25560, 25555, 25538, 25543, 25548, 25547, 25544, 25584, 25559, 25561, 25906, 25959, 25962, 25956, 25948, 25960, 25957, 25996, 26013, 26014, 26030, 26064, 26066, 26236, 26220, 26235, 26240, 26225, 26233, 26218, 26226, 26369, 26892, 26835, 26884, 26844, 26922, 26860, 26858, 26865, 26895, 26838, 26871, 26859, 26852, 26870, 26899, 26896, 26867, 26849, 26887, 26828, 26888, 26992, 26804, 26897, 26863, 26822, 26900, 26872, 26832, 26877, 26876, 26856, 26891, 26890, 26903, 26830, 26824, 26845, 26846, 26854, 26868, 26833, 26886, 26836, 26857, 26901, 26917, 26823, 27449, 27451, 27455, 27452, 27540, 27543, 27545, 27541, 27581, 27632, 27634, 27635, 27696, 28156, 28230, 28231, 28191, 28233, 28296, 28220, 28221, 28229, 28258, 28203, 28223, 28225, 28253, 28275, 28188, 28211, 28235, 28224, 28241, 28219, 28163, 28206, 28254, 28264, 28252, 28257, 28209, 28200, 28256, 28273, 28267, 28217, 28194, 28208, 28243, 28261, 28199, 28280, 28260, 28279, 28245, 28281, 28242, 28262, 28213, 28214, 28250, 28960, 28958, 28975, 28923, 28974, 28977, 28963, 28965, 28962, 28978, 28959, 28968, 28986, 28955, 29259, 29274, 29320, 29321, 29318, 29317, 29323, 29458, 29451, 29488, 29474, 29489, 29491, 29479, 29490, 29485, 29478, 29475, 29493, 29452, 29742, 29740, 29744, 29739, 29718, 29722, 29729, 29741, 29745, 29732, 29731, 29725, 29737, 29728, 29746, 29947, 29999, 30063, 30060, 30183, 30170, 30177, 30182, 30173, 30175, 30180, 30167, 30357, 30354, 30426, 30534, 30535, 30532, 30541, 30533, 30538, 30542, 30539, 30540, 30686, 30700, 30816, 30820, 30821, 30812, 30829, 30833, 30826, 30830, 30832, 30825, 30824, 30814, 30818, 31092, 31091, 31090, 31088, 31234, 31242, 31235, 31244, 31236, 31385, 31462, 31460, 31562, 31547, 31556, 31560, 31564, 31566, 31552, 31576, 31557, 31906, 31902, 31912, 31905, 32088, 32111, 32099, 32083, 32086, 32103, 32106, 32079, 32109, 32092, 32107, 32082, 32084, 32105, 32081, 32095, 32078, 32574, 32575, 32613, 32614, 32674, 32672, 32673, 32727, 32849, 32847, 32848, 33022, 32980, 33091, 33098, 33106, 33103, 33095, 33085, 33101, 33082, 33254, 33262, 33271, 33272, 33273, 33284, 33340, 33341, 33343, 33397, 33595, 33743, 33785, 33827, 33728, 33768, 33810, 33767, 33764, 33788, 33782, 33808, 33734, 33736, 33771, 33763, 33727, 33793, 33757, 33765, 33752, 33791, 33761, 33739, 33742, 33750, 33781, 33737, 33801, 33807, 33758, 33809, 33798, 33730, 33779, 33749, 33786, 33735, 33745, 33770, 33811, 33731, 33772, 33774, 33732, 33787, 33751, 33762, 33819, 33755, 33790, 34520, 34530, 34534, 34515, 34531, 34522, 34538, 34525, 34539, 34524, 34540, 34537, 34519, 34536, 34513, 34888, 34902, 34901, 35002, 35031, 35001, 35000, 35008, 35006, 34998, 35004, 34999, 35005, 34994, 35073, 35017, 35221, 35224, 35223, 35293, 35290, 35291, 35406, 35405, 35385, 35417, 35392, 35415, 35416, 35396, 35397, 35410, 35400, 35409, 35402, 35404, 35407, 35935, 35969, 35968, 36026, 36030, 36016, 36025, 36021, 36228, 36224, 36233, 36312, 36307, 36301, 36295, 36310, 36316, 36303, 36309, 36313, 36296, 36311, 36293, 36591, 36599, 36602, 36601, 36582, 36590, 36581, 36597, 36583, 36584, 36598, 36587, 36593, 36588, 36596, 36585, 36909, 36916, 36911, 37126, 37164, 37124, 37119, 37116, 37128, 37113, 37115, 37121, 37120, 37127, 37125, 37123, 37217, 37220, 37215, 37218, 37216, 37377, 37386, 37413, 37379, 37402, 37414, 37391, 37388, 37376, 37394, 37375, 37373, 37382, 37380, 37415, 37378, 37404, 37412, 37401, 37399, 37381, 37398, 38267, 38285, 38284, 38288, 38535, 38526, 38536, 38537, 38531, 38528, 38594, 38600, 38595, 38641, 38640, 38764, 38768, 38766, 38919, 39081, 39147, 40166, 40697, 20099, 20100, 20150, 20669, 20671, 20678, 20654, 20676, 20682, 20660, 20680, 20674, 20656, 20673, 20666, 20657, 20683, 20681, 20662, 20664, 20951, 21114, 21112, 21115, 21116, 21955, 21979, 21964, 21968, 21963, 21962, 21981, 21952, 21972, 21956, 21993, 21951, 21970, 21901, 21967, 21973, 21986, 21974, 21960, 22002, 21965, 21977, 21954, 22292, 22611, 22632, 22628, 22607, 22605, 22601, 22639, 22613, 22606, 22621, 22617, 22629, 22619, 22589, 22627, 22641, 22780, 23239, 23236, 23243, 23226, 23224, 23217, 23221, 23216, 23231, 23240, 23227, 23238, 23223, 23232, 23242, 23220, 23222, 23245, 23225, 23184, 23510, 23512, 23513, 23583, 23603, 23921, 23907, 23882, 23909, 23922, 23916, 23902, 23912, 23911, 23906, 24048, 24143, 24142, 24138, 24141, 24139, 24261, 24268, 24262, 24267, 24263, 24384, 24495, 24493, 24823, 24905, 24906, 24875, 24901, 24886, 24882, 24878, 24902, 24879, 24911, 24873, 24896, 25120, 37224, 25123, 25125, 25124, 25541, 25585, 25579, 25616, 25618, 25609, 25632, 25636, 25651, 25667, 25631, 25621, 25624, 25657, 25655, 25634, 25635, 25612, 25638, 25648, 25640, 25665, 25653, 25647, 25610, 25626, 25664, 25637, 25639, 25611, 25575, 25627, 25646, 25633, 25614, 25967, 26002, 26067, 26246, 26252, 26261, 26256, 26251, 26250, 26265, 26260, 26232, 26400, 26982, 26975, 26936, 26958, 26978, 26993, 26943, 26949, 26986, 26937, 26946, 26967, 26969, 27002, 26952, 26953, 26933, 26988, 26931, 26941, 26981, 26864, 27000, 26932, 26985, 26944, 26991, 26948, 26998, 26968, 26945, 26996, 26956, 26939, 26955, 26935, 26972, 26959, 26961, 26930, 26962, 26927, 27003, 26940, 27462, 27461, 27459, 27458, 27464, 27457, 27547, 64013, 27643, 27644, 27641, 27639, 27640, 28315, 28374, 28360, 28303, 28352, 28319, 28307, 28308, 28320, 28337, 28345, 28358, 28370, 28349, 28353, 28318, 28361, 28343, 28336, 28365, 28326, 28367, 28338, 28350, 28355, 28380, 28376, 28313, 28306, 28302, 28301, 28324, 28321, 28351, 28339, 28368, 28362, 28311, 28334, 28323, 28999, 29012, 29010, 29027, 29024, 28993, 29021, 29026, 29042, 29048, 29034, 29025, 28994, 29016, 28995, 29003, 29040, 29023, 29008, 29011, 28996, 29005, 29018, 29263, 29325, 29324, 29329, 29328, 29326, 29500, 29506, 29499, 29498, 29504, 29514, 29513, 29764, 29770, 29771, 29778, 29777, 29783, 29760, 29775, 29776, 29774, 29762, 29766, 29773, 29780, 29921, 29951, 29950, 29949, 29981, 30073, 30071, 27011, 30191, 30223, 30211, 30199, 30206, 30204, 30201, 30200, 30224, 30203, 30198, 30189, 30197, 30205, 30361, 30389, 30429, 30549, 30559, 30560, 30546, 30550, 30554, 30569, 30567, 30548, 30553, 30573, 30688, 30855, 30874, 30868, 30863, 30852, 30869, 30853, 30854, 30881, 30851, 30841, 30873, 30848, 30870, 30843, 31100, 31106, 31101, 31097, 31249, 31256, 31257, 31250, 31255, 31253, 31266, 31251, 31259, 31248, 31395, 31394, 31390, 31467, 31590, 31588, 31597, 31604, 31593, 31602, 31589, 31603, 31601, 31600, 31585, 31608, 31606, 31587, 31922, 31924, 31919, 32136, 32134, 32128, 32141, 32127, 32133, 32122, 32142, 32123, 32131, 32124, 32140, 32148, 32132, 32125, 32146, 32621, 32619, 32615, 32616, 32620, 32678, 32677, 32679, 32731, 32732, 32801, 33124, 33120, 33143, 33116, 33129, 33115, 33122, 33138, 26401, 33118, 33142, 33127, 33135, 33092, 33121, 33309, 33353, 33348, 33344, 33346, 33349, 34033, 33855, 33878, 33910, 33913, 33935, 33933, 33893, 33873, 33856, 33926, 33895, 33840, 33869, 33917, 33882, 33881, 33908, 33907, 33885, 34055, 33886, 33847, 33850, 33844, 33914, 33859, 33912, 33842, 33861, 33833, 33753, 33867, 33839, 33858, 33837, 33887, 33904, 33849, 33870, 33868, 33874, 33903, 33989, 33934, 33851, 33863, 33846, 33843, 33896, 33918, 33860, 33835, 33888, 33876, 33902, 33872, 34571, 34564, 34551, 34572, 34554, 34518, 34549, 34637, 34552, 34574, 34569, 34561, 34550, 34573, 34565, 35030, 35019, 35021, 35022, 35038, 35035, 35034, 35020, 35024, 35205, 35227, 35295, 35301, 35300, 35297, 35296, 35298, 35292, 35302, 35446, 35462, 35455, 35425, 35391, 35447, 35458, 35460, 35445, 35459, 35457, 35444, 35450, 35900, 35915, 35914, 35941, 35940, 35942, 35974, 35972, 35973, 36044, 36200, 36201, 36241, 36236, 36238, 36239, 36237, 36243, 36244, 36240, 36242, 36336, 36320, 36332, 36337, 36334, 36304, 36329, 36323, 36322, 36327, 36338, 36331, 36340, 36614, 36607, 36609, 36608, 36613, 36615, 36616, 36610, 36619, 36946, 36927, 36932, 36937, 36925, 37136, 37133, 37135, 37137, 37142, 37140, 37131, 37134, 37230, 37231, 37448, 37458, 37424, 37434, 37478, 37427, 37477, 37470, 37507, 37422, 37450, 37446, 37485, 37484, 37455, 37472, 37479, 37487, 37430, 37473, 37488, 37425, 37460, 37475, 37456, 37490, 37454, 37459, 37452, 37462, 37426, 38303, 38300, 38302, 38299, 38546, 38547, 38545, 38551, 38606, 38650, 38653, 38648, 38645, 38771, 38775, 38776, 38770, 38927, 38925, 38926, 39084, 39158, 39161, 39343, 39346, 39344, 39349, 39597, 39595, 39771, 40170, 40173, 40167, 40576, 40701, 20710, 20692, 20695, 20712, 20723, 20699, 20714, 20701, 20708, 20691, 20716, 20720, 20719, 20707, 20704, 20952, 21120, 21121, 21225, 21227, 21296, 21420, 22055, 22037, 22028, 22034, 22012, 22031, 22044, 22017, 22035, 22018, 22010, 22045, 22020, 22015, 22009, 22665, 22652, 22672, 22680, 22662, 22657, 22655, 22644, 22667, 22650, 22663, 22673, 22670, 22646, 22658, 22664, 22651, 22676, 22671, 22782, 22891, 23260, 23278, 23269, 23253, 23274, 23258, 23277, 23275, 23283, 23266, 23264, 23259, 23276, 23262, 23261, 23257, 23272, 23263, 23415, 23520, 23523, 23651, 23938, 23936, 23933, 23942, 23930, 23937, 23927, 23946, 23945, 23944, 23934, 23932, 23949, 23929, 23935, 24152, 24153, 24147, 24280, 24273, 24279, 24270, 24284, 24277, 24281, 24274, 24276, 24388, 24387, 24431, 24502, 24876, 24872, 24897, 24926, 24945, 24947, 24914, 24915, 24946, 24940, 24960, 24948, 24916, 24954, 24923, 24933, 24891, 24938, 24929, 24918, 25129, 25127, 25131, 25643, 25677, 25691, 25693, 25716, 25718, 25714, 25715, 25725, 25717, 25702, 25766, 25678, 25730, 25694, 25692, 25675, 25683, 25696, 25680, 25727, 25663, 25708, 25707, 25689, 25701, 25719, 25971, 26016, 26273, 26272, 26271, 26373, 26372, 26402, 27057, 27062, 27081, 27040, 27086, 27030, 27056, 27052, 27068, 27025, 27033, 27022, 27047, 27021, 27049, 27070, 27055, 27071, 27076, 27069, 27044, 27092, 27065, 27082, 27034, 27087, 27059, 27027, 27050, 27041, 27038, 27097, 27031, 27024, 27074, 27061, 27045, 27078, 27466, 27469, 27467, 27550, 27551, 27552, 27587, 27588, 27646, 28366, 28405, 28401, 28419, 28453, 28408, 28471, 28411, 28462, 28425, 28494, 28441, 28442, 28455, 28440, 28475, 28434, 28397, 28426, 28470, 28531, 28409, 28398, 28461, 28480, 28464, 28476, 28469, 28395, 28423, 28430, 28483, 28421, 28413, 28406, 28473, 28444, 28412, 28474, 28447, 28429, 28446, 28424, 28449, 29063, 29072, 29065, 29056, 29061, 29058, 29071, 29051, 29062, 29057, 29079, 29252, 29267, 29335, 29333, 29331, 29507, 29517, 29521, 29516, 29794, 29811, 29809, 29813, 29810, 29799, 29806, 29952, 29954, 29955, 30077, 30096, 30230, 30216, 30220, 30229, 30225, 30218, 30228, 30392, 30593, 30588, 30597, 30594, 30574, 30592, 30575, 30590, 30595, 30898, 30890, 30900, 30893, 30888, 30846, 30891, 30878, 30885, 30880, 30892, 30882, 30884, 31128, 31114, 31115, 31126, 31125, 31124, 31123, 31127, 31112, 31122, 31120, 31275, 31306, 31280, 31279, 31272, 31270, 31400, 31403, 31404, 31470, 31624, 31644, 31626, 31633, 31632, 31638, 31629, 31628, 31643, 31630, 31621, 31640, 21124, 31641, 31652, 31618, 31931, 31935, 31932, 31930, 32167, 32183, 32194, 32163, 32170, 32193, 32192, 32197, 32157, 32206, 32196, 32198, 32203, 32204, 32175, 32185, 32150, 32188, 32159, 32166, 32174, 32169, 32161, 32201, 32627, 32738, 32739, 32741, 32734, 32804, 32861, 32860, 33161, 33158, 33155, 33159, 33165, 33164, 33163, 33301, 33943, 33956, 33953, 33951, 33978, 33998, 33986, 33964, 33966, 33963, 33977, 33972, 33985, 33997, 33962, 33946, 33969, 34000, 33949, 33959, 33979, 33954, 33940, 33991, 33996, 33947, 33961, 33967, 33960, 34006, 33944, 33974, 33999, 33952, 34007, 34004, 34002, 34011, 33968, 33937, 34401, 34611, 34595, 34600, 34667, 34624, 34606, 34590, 34593, 34585, 34587, 34627, 34604, 34625, 34622, 34630, 34592, 34610, 34602, 34605, 34620, 34578, 34618, 34609, 34613, 34626, 34598, 34599, 34616, 34596, 34586, 34608, 34577, 35063, 35047, 35057, 35058, 35066, 35070, 35054, 35068, 35062, 35067, 35056, 35052, 35051, 35229, 35233, 35231, 35230, 35305, 35307, 35304, 35499, 35481, 35467, 35474, 35471, 35478, 35901, 35944, 35945, 36053, 36047, 36055, 36246, 36361, 36354, 36351, 36365, 36349, 36362, 36355, 36359, 36358, 36357, 36350, 36352, 36356, 36624, 36625, 36622, 36621, 37155, 37148, 37152, 37154, 37151, 37149, 37146, 37156, 37153, 37147, 37242, 37234, 37241, 37235, 37541, 37540, 37494, 37531, 37498, 37536, 37524, 37546, 37517, 37542, 37530, 37547, 37497, 37527, 37503, 37539, 37614, 37518, 37506, 37525, 37538, 37501, 37512, 37537, 37514, 37510, 37516, 37529, 37543, 37502, 37511, 37545, 37533, 37515, 37421, 38558, 38561, 38655, 38744, 38781, 38778, 38782, 38787, 38784, 38786, 38779, 38788, 38785, 38783, 38862, 38861, 38934, 39085, 39086, 39170, 39168, 39175, 39325, 39324, 39363, 39353, 39355, 39354, 39362, 39357, 39367, 39601, 39651, 39655, 39742, 39743, 39776, 39777, 39775, 40177, 40178, 40181, 40615, 20735, 20739, 20784, 20728, 20742, 20743, 20726, 20734, 20747, 20748, 20733, 20746, 21131, 21132, 21233, 21231, 22088, 22082, 22092, 22069, 22081, 22090, 22089, 22086, 22104, 22106, 22080, 22067, 22077, 22060, 22078, 22072, 22058, 22074, 22298, 22699, 22685, 22705, 22688, 22691, 22703, 22700, 22693, 22689, 22783, 23295, 23284, 23293, 23287, 23286, 23299, 23288, 23298, 23289, 23297, 23303, 23301, 23311, 23655, 23961, 23959, 23967, 23954, 23970, 23955, 23957, 23968, 23964, 23969, 23962, 23966, 24169, 24157, 24160, 24156, 32243, 24283, 24286, 24289, 24393, 24498, 24971, 24963, 24953, 25009, 25008, 24994, 24969, 24987, 24979, 25007, 25005, 24991, 24978, 25002, 24993, 24973, 24934, 25011, 25133, 25710, 25712, 25750, 25760, 25733, 25751, 25756, 25743, 25739, 25738, 25740, 25763, 25759, 25704, 25777, 25752, 25974, 25978, 25977, 25979, 26034, 26035, 26293, 26288, 26281, 26290, 26295, 26282, 26287, 27136, 27142, 27159, 27109, 27128, 27157, 27121, 27108, 27168, 27135, 27116, 27106, 27163, 27165, 27134, 27175, 27122, 27118, 27156, 27127, 27111, 27200, 27144, 27110, 27131, 27149, 27132, 27115, 27145, 27140, 27160, 27173, 27151, 27126, 27174, 27143, 27124, 27158, 27473, 27557, 27555, 27554, 27558, 27649, 27648, 27647, 27650, 28481, 28454, 28542, 28551, 28614, 28562, 28557, 28553, 28556, 28514, 28495, 28549, 28506, 28566, 28534, 28524, 28546, 28501, 28530, 28498, 28496, 28503, 28564, 28563, 28509, 28416, 28513, 28523, 28541, 28519, 28560, 28499, 28555, 28521, 28543, 28565, 28515, 28535, 28522, 28539, 29106, 29103, 29083, 29104, 29088, 29082, 29097, 29109, 29085, 29093, 29086, 29092, 29089, 29098, 29084, 29095, 29107, 29336, 29338, 29528, 29522, 29534, 29535, 29536, 29533, 29531, 29537, 29530, 29529, 29538, 29831, 29833, 29834, 29830, 29825, 29821, 29829, 29832, 29820, 29817, 29960, 29959, 30078, 30245, 30238, 30233, 30237, 30236, 30243, 30234, 30248, 30235, 30364, 30365, 30366, 30363, 30605, 30607, 30601, 30600, 30925, 30907, 30927, 30924, 30929, 30926, 30932, 30920, 30915, 30916, 30921, 31130, 31137, 31136, 31132, 31138, 31131, 27510, 31289, 31410, 31412, 31411, 31671, 31691, 31678, 31660, 31694, 31663, 31673, 31690, 31669, 31941, 31944, 31948, 31947, 32247, 32219, 32234, 32231, 32215, 32225, 32259, 32250, 32230, 32246, 32241, 32240, 32238, 32223, 32630, 32684, 32688, 32685, 32749, 32747, 32746, 32748, 32742, 32744, 32868, 32871, 33187, 33183, 33182, 33173, 33186, 33177, 33175, 33302, 33359, 33363, 33362, 33360, 33358, 33361, 34084, 34107, 34063, 34048, 34089, 34062, 34057, 34061, 34079, 34058, 34087, 34076, 34043, 34091, 34042, 34056, 34060, 34036, 34090, 34034, 34069, 34039, 34027, 34035, 34044, 34066, 34026, 34025, 34070, 34046, 34088, 34077, 34094, 34050, 34045, 34078, 34038, 34097, 34086, 34023, 34024, 34032, 34031, 34041, 34072, 34080, 34096, 34059, 34073, 34095, 34402, 34646, 34659, 34660, 34679, 34785, 34675, 34648, 34644, 34651, 34642, 34657, 34650, 34641, 34654, 34669, 34666, 34640, 34638, 34655, 34653, 34671, 34668, 34682, 34670, 34652, 34661, 34639, 34683, 34677, 34658, 34663, 34665, 34906, 35077, 35084, 35092, 35083, 35095, 35096, 35097, 35078, 35094, 35089, 35086, 35081, 35234, 35236, 35235, 35309, 35312, 35308, 35535, 35526, 35512, 35539, 35537, 35540, 35541, 35515, 35543, 35518, 35520, 35525, 35544, 35523, 35514, 35517, 35545, 35902, 35917, 35983, 36069, 36063, 36057, 36072, 36058, 36061, 36071, 36256, 36252, 36257, 36251, 36384, 36387, 36389, 36388, 36398, 36373, 36379, 36374, 36369, 36377, 36390, 36391, 36372, 36370, 36376, 36371, 36380, 36375, 36378, 36652, 36644, 36632, 36634, 36640, 36643, 36630, 36631, 36979, 36976, 36975, 36967, 36971, 37167, 37163, 37161, 37162, 37170, 37158, 37166, 37253, 37254, 37258, 37249, 37250, 37252, 37248, 37584, 37571, 37572, 37568, 37593, 37558, 37583, 37617, 37599, 37592, 37609, 37591, 37597, 37580, 37615, 37570, 37608, 37578, 37576, 37582, 37606, 37581, 37589, 37577, 37600, 37598, 37607, 37585, 37587, 37557, 37601, 37574, 37556, 38268, 38316, 38315, 38318, 38320, 38564, 38562, 38611, 38661, 38664, 38658, 38746, 38794, 38798, 38792, 38864, 38863, 38942, 38941, 38950, 38953, 38952, 38944, 38939, 38951, 39090, 39176, 39162, 39185, 39188, 39190, 39191, 39189, 39388, 39373, 39375, 39379, 39380, 39374, 39369, 39382, 39384, 39371, 39383, 39372, 39603, 39660, 39659, 39667, 39666, 39665, 39750, 39747, 39783, 39796, 39793, 39782, 39798, 39797, 39792, 39784, 39780, 39788, 40188, 40186, 40189, 40191, 40183, 40199, 40192, 40185, 40187, 40200, 40197, 40196, 40579, 40659, 40719, 40720, 20764, 20755, 20759, 20762, 20753, 20958, 21300, 21473, 22128, 22112, 22126, 22131, 22118, 22115, 22125, 22130, 22110, 22135, 22300, 22299, 22728, 22717, 22729, 22719, 22714, 22722, 22716, 22726, 23319, 23321, 23323, 23329, 23316, 23315, 23312, 23318, 23336, 23322, 23328, 23326, 23535, 23980, 23985, 23977, 23975, 23989, 23984, 23982, 23978, 23976, 23986, 23981, 23983, 23988, 24167, 24168, 24166, 24175, 24297, 24295, 24294, 24296, 24293, 24395, 24508, 24989, 25000, 24982, 25029, 25012, 25030, 25025, 25036, 25018, 25023, 25016, 24972, 25815, 25814, 25808, 25807, 25801, 25789, 25737, 25795, 25819, 25843, 25817, 25907, 25983, 25980, 26018, 26312, 26302, 26304, 26314, 26315, 26319, 26301, 26299, 26298, 26316, 26403, 27188, 27238, 27209, 27239, 27186, 27240, 27198, 27229, 27245, 27254, 27227, 27217, 27176, 27226, 27195, 27199, 27201, 27242, 27236, 27216, 27215, 27220, 27247, 27241, 27232, 27196, 27230, 27222, 27221, 27213, 27214, 27206, 27477, 27476, 27478, 27559, 27562, 27563, 27592, 27591, 27652, 27651, 27654, 28589, 28619, 28579, 28615, 28604, 28622, 28616, 28510, 28612, 28605, 28574, 28618, 28584, 28676, 28581, 28590, 28602, 28588, 28586, 28623, 28607, 28600, 28578, 28617, 28587, 28621, 28591, 28594, 28592, 29125, 29122, 29119, 29112, 29142, 29120, 29121, 29131, 29140, 29130, 29127, 29135, 29117, 29144, 29116, 29126, 29146, 29147, 29341, 29342, 29545, 29542, 29543, 29548, 29541, 29547, 29546, 29823, 29850, 29856, 29844, 29842, 29845, 29857, 29963, 30080, 30255, 30253, 30257, 30269, 30259, 30268, 30261, 30258, 30256, 30395, 30438, 30618, 30621, 30625, 30620, 30619, 30626, 30627, 30613, 30617, 30615, 30941, 30953, 30949, 30954, 30942, 30947, 30939, 30945, 30946, 30957, 30943, 30944, 31140, 31300, 31304, 31303, 31414, 31416, 31413, 31409, 31415, 31710, 31715, 31719, 31709, 31701, 31717, 31706, 31720, 31737, 31700, 31722, 31714, 31708, 31723, 31704, 31711, 31954, 31956, 31959, 31952, 31953, 32274, 32289, 32279, 32268, 32287, 32288, 32275, 32270, 32284, 32277, 32282, 32290, 32267, 32271, 32278, 32269, 32276, 32293, 32292, 32579, 32635, 32636, 32634, 32689, 32751, 32810, 32809, 32876, 33201, 33190, 33198, 33209, 33205, 33195, 33200, 33196, 33204, 33202, 33207, 33191, 33266, 33365, 33366, 33367, 34134, 34117, 34155, 34125, 34131, 34145, 34136, 34112, 34118, 34148, 34113, 34146, 34116, 34129, 34119, 34147, 34110, 34139, 34161, 34126, 34158, 34165, 34133, 34151, 34144, 34188, 34150, 34141, 34132, 34149, 34156, 34403, 34405, 34404, 34715, 34703, 34711, 34707, 34706, 34696, 34689, 34710, 34712, 34681, 34695, 34723, 34693, 34704, 34705, 34717, 34692, 34708, 34716, 34714, 34697, 35102, 35110, 35120, 35117, 35118, 35111, 35121, 35106, 35113, 35107, 35119, 35116, 35103, 35313, 35552, 35554, 35570, 35572, 35573, 35549, 35604, 35556, 35551, 35568, 35528, 35550, 35553, 35560, 35583, 35567, 35579, 35985, 35986, 35984, 36085, 36078, 36081, 36080, 36083, 36204, 36206, 36261, 36263, 36403, 36414, 36408, 36416, 36421, 36406, 36412, 36413, 36417, 36400, 36415, 36541, 36662, 36654, 36661, 36658, 36665, 36663, 36660, 36982, 36985, 36987, 36998, 37114, 37171, 37173, 37174, 37267, 37264, 37265, 37261, 37263, 37671, 37662, 37640, 37663, 37638, 37647, 37754, 37688, 37692, 37659, 37667, 37650, 37633, 37702, 37677, 37646, 37645, 37579, 37661, 37626, 37669, 37651, 37625, 37623, 37684, 37634, 37668, 37631, 37673, 37689, 37685, 37674, 37652, 37644, 37643, 37630, 37641, 37632, 37627, 37654, 38332, 38349, 38334, 38329, 38330, 38326, 38335, 38325, 38333, 38569, 38612, 38667, 38674, 38672, 38809, 38807, 38804, 38896, 38904, 38965, 38959, 38962, 39204, 39199, 39207, 39209, 39326, 39406, 39404, 39397, 39396, 39408, 39395, 39402, 39401, 39399, 39609, 39615, 39604, 39611, 39670, 39674, 39673, 39671, 39731, 39808, 39813, 39815, 39804, 39806, 39803, 39810, 39827, 39826, 39824, 39802, 39829, 39805, 39816, 40229, 40215, 40224, 40222, 40212, 40233, 40221, 40216, 40226, 40208, 40217, 40223, 40584, 40582, 40583, 40622, 40621, 40661, 40662, 40698, 40722, 40765, 20774, 20773, 20770, 20772, 20768, 20777, 21236, 22163, 22156, 22157, 22150, 22148, 22147, 22142, 22146, 22143, 22145, 22742, 22740, 22735, 22738, 23341, 23333, 23346, 23331, 23340, 23335, 23334, 23343, 23342, 23419, 23537, 23538, 23991, 24172, 24170, 24510, 24507, 25027, 25013, 25020, 25063, 25056, 25061, 25060, 25064, 25054, 25839, 25833, 25827, 25835, 25828, 25832, 25985, 25984, 26038, 26074, 26322, 27277, 27286, 27265, 27301, 27273, 27295, 27291, 27297, 27294, 27271, 27283, 27278, 27285, 27267, 27304, 27300, 27281, 27263, 27302, 27290, 27269, 27276, 27282, 27483, 27565, 27657, 28620, 28585, 28660, 28628, 28643, 28636, 28653, 28647, 28646, 28638, 28658, 28637, 28642, 28648, 29153, 29169, 29160, 29170, 29156, 29168, 29154, 29555, 29550, 29551, 29847, 29874, 29867, 29840, 29866, 29869, 29873, 29861, 29871, 29968, 29969, 29970, 29967, 30084, 30275, 30280, 30281, 30279, 30372, 30441, 30645, 30635, 30642, 30647, 30646, 30644, 30641, 30632, 30704, 30963, 30973, 30978, 30971, 30972, 30962, 30981, 30969, 30974, 30980, 31147, 31144, 31324, 31323, 31318, 31320, 31316, 31322, 31422, 31424, 31425, 31749, 31759, 31730, 31744, 31743, 31739, 31758, 31732, 31755, 31731, 31746, 31753, 31747, 31745, 31736, 31741, 31750, 31728, 31729, 31760, 31754, 31976, 32301, 32316, 32322, 32307, 38984, 32312, 32298, 32329, 32320, 32327, 32297, 32332, 32304, 32315, 32310, 32324, 32314, 32581, 32639, 32638, 32637, 32756, 32754, 32812, 33211, 33220, 33228, 33226, 33221, 33223, 33212, 33257, 33371, 33370, 33372, 34179, 34176, 34191, 34215, 34197, 34208, 34187, 34211, 34171, 34212, 34202, 34206, 34167, 34172, 34185, 34209, 34170, 34168, 34135, 34190, 34198, 34182, 34189, 34201, 34205, 34177, 34210, 34178, 34184, 34181, 34169, 34166, 34200, 34192, 34207, 34408, 34750, 34730, 34733, 34757, 34736, 34732, 34745, 34741, 34748, 34734, 34761, 34755, 34754, 34764, 34743, 34735, 34756, 34762, 34740, 34742, 34751, 34744, 34749, 34782, 34738, 35125, 35123, 35132, 35134, 35137, 35154, 35127, 35138, 35245, 35247, 35246, 35314, 35315, 35614, 35608, 35606, 35601, 35589, 35595, 35618, 35599, 35602, 35605, 35591, 35597, 35592, 35590, 35612, 35603, 35610, 35919, 35952, 35954, 35953, 35951, 35989, 35988, 36089, 36207, 36430, 36429, 36435, 36432, 36428, 36423, 36675, 36672, 36997, 36990, 37176, 37274, 37282, 37275, 37273, 37279, 37281, 37277, 37280, 37793, 37763, 37807, 37732, 37718, 37703, 37756, 37720, 37724, 37750, 37705, 37712, 37713, 37728, 37741, 37775, 37708, 37738, 37753, 37719, 37717, 37714, 37711, 37745, 37751, 37755, 37729, 37726, 37731, 37735, 37760, 37710, 37721, 38343, 38336, 38345, 38339, 38341, 38327, 38574, 38576, 38572, 38688, 38687, 38680, 38685, 38681, 38810, 38817, 38812, 38814, 38813, 38869, 38868, 38897, 38977, 38980, 38986, 38985, 38981, 38979, 39205, 39211, 39212, 39210, 39219, 39218, 39215, 39213, 39217, 39216, 39320, 39331, 39329, 39426, 39418, 39412, 39415, 39417, 39416, 39414, 39419, 39421, 39422, 39420, 39427, 39614, 39678, 39677, 39681, 39676, 39752, 39834, 39848, 39838, 39835, 39846, 39841, 39845, 39844, 39814, 39842, 39840, 39855, 40243, 40257, 40295, 40246, 40238, 40239, 40241, 40248, 40240, 40261, 40258, 40259, 40254, 40247, 40256, 40253, 32757, 40237, 40586, 40585, 40589, 40624, 40648, 40666, 40699, 40703, 40740, 40739, 40738, 40788, 40864, 20785, 20781, 20782, 22168, 22172, 22167, 22170, 22173, 22169, 22896, 23356, 23657, 23658, 24000, 24173, 24174, 25048, 25055, 25069, 25070, 25073, 25066, 25072, 25067, 25046, 25065, 25855, 25860, 25853, 25848, 25857, 25859, 25852, 26004, 26075, 26330, 26331, 26328, 27333, 27321, 27325, 27361, 27334, 27322, 27318, 27319, 27335, 27316, 27309, 27486, 27593, 27659, 28679, 28684, 28685, 28673, 28677, 28692, 28686, 28671, 28672, 28667, 28710, 28668, 28663, 28682, 29185, 29183, 29177, 29187, 29181, 29558, 29880, 29888, 29877, 29889, 29886, 29878, 29883, 29890, 29972, 29971, 30300, 30308, 30297, 30288, 30291, 30295, 30298, 30374, 30397, 30444, 30658, 30650, 30975, 30988, 30995, 30996, 30985, 30992, 30994, 30993, 31149, 31148, 31327, 31772, 31785, 31769, 31776, 31775, 31789, 31773, 31782, 31784, 31778, 31781, 31792, 32348, 32336, 32342, 32355, 32344, 32354, 32351, 32337, 32352, 32343, 32339, 32693, 32691, 32759, 32760, 32885, 33233, 33234, 33232, 33375, 33374, 34228, 34246, 34240, 34243, 34242, 34227, 34229, 34237, 34247, 34244, 34239, 34251, 34254, 34248, 34245, 34225, 34230, 34258, 34340, 34232, 34231, 34238, 34409, 34791, 34790, 34786, 34779, 34795, 34794, 34789, 34783, 34803, 34788, 34772, 34780, 34771, 34797, 34776, 34787, 34724, 34775, 34777, 34817, 34804, 34792, 34781, 35155, 35147, 35151, 35148, 35142, 35152, 35153, 35145, 35626, 35623, 35619, 35635, 35632, 35637, 35655, 35631, 35644, 35646, 35633, 35621, 35639, 35622, 35638, 35630, 35620, 35643, 35645, 35642, 35906, 35957, 35993, 35992, 35991, 36094, 36100, 36098, 36096, 36444, 36450, 36448, 36439, 36438, 36446, 36453, 36455, 36443, 36442, 36449, 36445, 36457, 36436, 36678, 36679, 36680, 36683, 37160, 37178, 37179, 37182, 37288, 37285, 37287, 37295, 37290, 37813, 37772, 37778, 37815, 37787, 37789, 37769, 37799, 37774, 37802, 37790, 37798, 37781, 37768, 37785, 37791, 37773, 37809, 37777, 37810, 37796, 37800, 37812, 37795, 37797, 38354, 38355, 38353, 38579, 38615, 38618, 24002, 38623, 38616, 38621, 38691, 38690, 38693, 38828, 38830, 38824, 38827, 38820, 38826, 38818, 38821, 38871, 38873, 38870, 38872, 38906, 38992, 38993, 38994, 39096, 39233, 39228, 39226, 39439, 39435, 39433, 39437, 39428, 39441, 39434, 39429, 39431, 39430, 39616, 39644, 39688, 39684, 39685, 39721, 39733, 39754, 39756, 39755, 39879, 39878, 39875, 39871, 39873, 39861, 39864, 39891, 39862, 39876, 39865, 39869, 40284, 40275, 40271, 40266, 40283, 40267, 40281, 40278, 40268, 40279, 40274, 40276, 40287, 40280, 40282, 40590, 40588, 40671, 40705, 40704, 40726, 40741, 40747, 40746, 40745, 40744, 40780, 40789, 20788, 20789, 21142, 21239, 21428, 22187, 22189, 22182, 22183, 22186, 22188, 22746, 22749, 22747, 22802, 23357, 23358, 23359, 24003, 24176, 24511, 25083, 25863, 25872, 25869, 25865, 25868, 25870, 25988, 26078, 26077, 26334, 27367, 27360, 27340, 27345, 27353, 27339, 27359, 27356, 27344, 27371, 27343, 27341, 27358, 27488, 27568, 27660, 28697, 28711, 28704, 28694, 28715, 28705, 28706, 28707, 28713, 28695, 28708, 28700, 28714, 29196, 29194, 29191, 29186, 29189, 29349, 29350, 29348, 29347, 29345, 29899, 29893, 29879, 29891, 29974, 30304, 30665, 30666, 30660, 30705, 31005, 31003, 31009, 31004, 30999, 31006, 31152, 31335, 31336, 31795, 31804, 31801, 31788, 31803, 31980, 31978, 32374, 32373, 32376, 32368, 32375, 32367, 32378, 32370, 32372, 32360, 32587, 32586, 32643, 32646, 32695, 32765, 32766, 32888, 33239, 33237, 33380, 33377, 33379, 34283, 34289, 34285, 34265, 34273, 34280, 34266, 34263, 34284, 34290, 34296, 34264, 34271, 34275, 34268, 34257, 34288, 34278, 34287, 34270, 34274, 34816, 34810, 34819, 34806, 34807, 34825, 34828, 34827, 34822, 34812, 34824, 34815, 34826, 34818, 35170, 35162, 35163, 35159, 35169, 35164, 35160, 35165, 35161, 35208, 35255, 35254, 35318, 35664, 35656, 35658, 35648, 35667, 35670, 35668, 35659, 35669, 35665, 35650, 35666, 35671, 35907, 35959, 35958, 35994, 36102, 36103, 36105, 36268, 36266, 36269, 36267, 36461, 36472, 36467, 36458, 36463, 36475, 36546, 36690, 36689, 36687, 36688, 36691, 36788, 37184, 37183, 37296, 37293, 37854, 37831, 37839, 37826, 37850, 37840, 37881, 37868, 37836, 37849, 37801, 37862, 37834, 37844, 37870, 37859, 37845, 37828, 37838, 37824, 37842, 37863, 38269, 38362, 38363, 38625, 38697, 38699, 38700, 38696, 38694, 38835, 38839, 38838, 38877, 38878, 38879, 39004, 39001, 39005, 38999, 39103, 39101, 39099, 39102, 39240, 39239, 39235, 39334, 39335, 39450, 39445, 39461, 39453, 39460, 39451, 39458, 39456, 39463, 39459, 39454, 39452, 39444, 39618, 39691, 39690, 39694, 39692, 39735, 39914, 39915, 39904, 39902, 39908, 39910, 39906, 39920, 39892, 39895, 39916, 39900, 39897, 39909, 39893, 39905, 39898, 40311, 40321, 40330, 40324, 40328, 40305, 40320, 40312, 40326, 40331, 40332, 40317, 40299, 40308, 40309, 40304, 40297, 40325, 40307, 40315, 40322, 40303, 40313, 40319, 40327, 40296, 40596, 40593, 40640, 40700, 40749, 40768, 40769, 40781, 40790, 40791, 40792, 21303, 22194, 22197, 22195, 22755, 23365, 24006, 24007, 24302, 24303, 24512, 24513, 25081, 25879, 25878, 25877, 25875, 26079, 26344, 26339, 26340, 27379, 27376, 27370, 27368, 27385, 27377, 27374, 27375, 28732, 28725, 28719, 28727, 28724, 28721, 28738, 28728, 28735, 28730, 28729, 28736, 28731, 28723, 28737, 29203, 29204, 29352, 29565, 29564, 29882, 30379, 30378, 30398, 30445, 30668, 30670, 30671, 30669, 30706, 31013, 31011, 31015, 31016, 31012, 31017, 31154, 31342, 31340, 31341, 31479, 31817, 31816, 31818, 31815, 31813, 31982, 32379, 32382, 32385, 32384, 32698, 32767, 32889, 33243, 33241, 33291, 33384, 33385, 34338, 34303, 34305, 34302, 34331, 34304, 34294, 34308, 34313, 34309, 34316, 34301, 34841, 34832, 34833, 34839, 34835, 34838, 35171, 35174, 35257, 35319, 35680, 35690, 35677, 35688, 35683, 35685, 35687, 35693, 36270, 36486, 36488, 36484, 36697, 36694, 36695, 36693, 36696, 36698, 37005, 37187, 37185, 37303, 37301, 37298, 37299, 37899, 37907, 37883, 37920, 37903, 37908, 37886, 37909, 37904, 37928, 37913, 37901, 37877, 37888, 37879, 37895, 37902, 37910, 37906, 37882, 37897, 37880, 37898, 37887, 37884, 37900, 37878, 37905, 37894, 38366, 38368, 38367, 38702, 38703, 38841, 38843, 38909, 38910, 39008, 39010, 39011, 39007, 39105, 39106, 39248, 39246, 39257, 39244, 39243, 39251, 39474, 39476, 39473, 39468, 39466, 39478, 39465, 39470, 39480, 39469, 39623, 39626, 39622, 39696, 39698, 39697, 39947, 39944, 39927, 39941, 39954, 39928, 40000, 39943, 39950, 39942, 39959, 39956, 39945, 40351, 40345, 40356, 40349, 40338, 40344, 40336, 40347, 40352, 40340, 40348, 40362, 40343, 40353, 40346, 40354, 40360, 40350, 40355, 40383, 40361, 40342, 40358, 40359, 40601, 40603, 40602, 40677, 40676, 40679, 40678, 40752, 40750, 40795, 40800, 40798, 40797, 40793, 40849, 20794, 20793, 21144, 21143, 22211, 22205, 22206, 23368, 23367, 24011, 24015, 24305, 25085, 25883, 27394, 27388, 27395, 27384, 27392, 28739, 28740, 28746, 28744, 28745, 28741, 28742, 29213, 29210, 29209, 29566, 29975, 30314, 30672, 31021, 31025, 31023, 31828, 31827, 31986, 32394, 32391, 32392, 32395, 32390, 32397, 32589, 32699, 32816, 33245, 34328, 34346, 34342, 34335, 34339, 34332, 34329, 34343, 34350, 34337, 34336, 34345, 34334, 34341, 34857, 34845, 34843, 34848, 34852, 34844, 34859, 34890, 35181, 35177, 35182, 35179, 35322, 35705, 35704, 35653, 35706, 35707, 36112, 36116, 36271, 36494, 36492, 36702, 36699, 36701, 37190, 37188, 37189, 37305, 37951, 37947, 37942, 37929, 37949, 37948, 37936, 37945, 37930, 37943, 37932, 37952, 37937, 38373, 38372, 38371, 38709, 38714, 38847, 38881, 39012, 39113, 39110, 39104, 39256, 39254, 39481, 39485, 39494, 39492, 39490, 39489, 39482, 39487, 39629, 39701, 39703, 39704, 39702, 39738, 39762, 39979, 39965, 39964, 39980, 39971, 39976, 39977, 39972, 39969, 40375, 40374, 40380, 40385, 40391, 40394, 40399, 40382, 40389, 40387, 40379, 40373, 40398, 40377, 40378, 40364, 40392, 40369, 40365, 40396, 40371, 40397, 40370, 40570, 40604, 40683, 40686, 40685, 40731, 40728, 40730, 40753, 40782, 40805, 40804, 40850, 20153, 22214, 22213, 22219, 22897, 23371, 23372, 24021, 24017, 24306, 25889, 25888, 25894, 25890, 27403, 27400, 27401, 27661, 28757, 28758, 28759, 28754, 29214, 29215, 29353, 29567, 29912, 29909, 29913, 29911, 30317, 30381, 31029, 31156, 31344, 31345, 31831, 31836, 31833, 31835, 31834, 31988, 31985, 32401, 32591, 32647, 33246, 33387, 34356, 34357, 34355, 34348, 34354, 34358, 34860, 34856, 34854, 34858, 34853, 35185, 35263, 35262, 35323, 35710, 35716, 35714, 35718, 35717, 35711, 36117, 36501, 36500, 36506, 36498, 36496, 36502, 36503, 36704, 36706, 37191, 37964, 37968, 37962, 37963, 37967, 37959, 37957, 37960, 37961, 37958, 38719, 38883, 39018, 39017, 39115, 39252, 39259, 39502, 39507, 39508, 39500, 39503, 39496, 39498, 39497, 39506, 39504, 39632, 39705, 39723, 39739, 39766, 39765, 40006, 40008, 39999, 40004, 39993, 39987, 40001, 39996, 39991, 39988, 39986, 39997, 39990, 40411, 40402, 40414, 40410, 40395, 40400, 40412, 40401, 40415, 40425, 40409, 40408, 40406, 40437, 40405, 40413, 40630, 40688, 40757, 40755, 40754, 40770, 40811, 40853, 40866, 20797, 21145, 22760, 22759, 22898, 23373, 24024, 34863, 24399, 25089, 25091, 25092, 25897, 25893, 26006, 26347, 27409, 27410, 27407, 27594, 28763, 28762, 29218, 29570, 29569, 29571, 30320, 30676, 31847, 31846, 32405, 33388, 34362, 34368, 34361, 34364, 34353, 34363, 34366, 34864, 34866, 34862, 34867, 35190, 35188, 35187, 35326, 35724, 35726, 35723, 35720, 35909, 36121, 36504, 36708, 36707, 37308, 37986, 37973, 37981, 37975, 37982, 38852, 38853, 38912, 39510, 39513, 39710, 39711, 39712, 40018, 40024, 40016, 40010, 40013, 40011, 40021, 40025, 40012, 40014, 40443, 40439, 40431, 40419, 40427, 40440, 40420, 40438, 40417, 40430, 40422, 40434, 40432, 40418, 40428, 40436, 40435, 40424, 40429, 40642, 40656, 40690, 40691, 40710, 40732, 40760, 40759, 40758, 40771, 40783, 40817, 40816, 40814, 40815, 22227, 22221, 23374, 23661, 25901, 26349, 26350, 27411, 28767, 28769, 28765, 28768, 29219, 29915, 29925, 30677, 31032, 31159, 31158, 31850, 32407, 32649, 33389, 34371, 34872, 34871, 34869, 34891, 35732, 35733, 36510, 36511, 36512, 36509, 37310, 37309, 37314, 37995, 37992, 37993, 38629, 38726, 38723, 38727, 38855, 38885, 39518, 39637, 39769, 40035, 40039, 40038, 40034, 40030, 40032, 40450, 40446, 40455, 40451, 40454, 40453, 40448, 40449, 40457, 40447, 40445, 40452, 40608, 40734, 40774, 40820, 40821, 40822, 22228, 25902, 26040, 27416, 27417, 27415, 27418, 28770, 29222, 29354, 30680, 30681, 31033, 31849, 31851, 31990, 32410, 32408, 32411, 32409, 33248, 33249, 34374, 34375, 34376, 35193, 35194, 35196, 35195, 35327, 35736, 35737, 36517, 36516, 36515, 37998, 37997, 37999, 38001, 38003, 38729, 39026, 39263, 40040, 40046, 40045, 40459, 40461, 40464, 40463, 40466, 40465, 40609, 40693, 40713, 40775, 40824, 40827, 40826, 40825, 22302, 28774, 31855, 34876, 36274, 36518, 37315, 38004, 38008, 38006, 38005, 39520, 40052, 40051, 40049, 40053, 40468, 40467, 40694, 40714, 40868, 28776, 28773, 31991, 34410, 34878, 34877, 34879, 35742, 35996, 36521, 36553, 38731, 39027, 39028, 39116, 39265, 39339, 39524, 39526, 39527, 39716, 40469, 40471, 40776, 25095, 27422, 29223, 34380, 36520, 38018, 38016, 38017, 39529, 39528, 39726, 40473, 29225, 34379, 35743, 38019, 40057, 40631, 30325, 39531, 40058, 40477, 28777, 28778, 40612, 40830, 40777, 40856, 30849, 37561, 35023, 22715, 24658, 31911, 23290, 9556, 9574, 9559, 9568, 9580, 9571, 9562, 9577, 9565, 9554, 9572, 9557, 9566, 9578, 9569, 9560, 9575, 9563, 9555, 9573, 9558, 9567, 9579, 9570, 9561, 9576, 9564, 9553, 9552, 9581, 9582, 9584, 9583, 65517, 132423, 37595, 132575, 147397, 34124, 17077, 29679, 20917, 13897, 149826, 166372, 37700, 137691, 33518, 146632, 30780, 26436, 25311, 149811, 166314, 131744, 158643, 135941, 20395, 140525, 20488, 159017, 162436, 144896, 150193, 140563, 20521, 131966, 24484, 131968, 131911, 28379, 132127, 20605, 20737, 13434, 20750, 39020, 14147, 33814, 149924, 132231, 20832, 144308, 20842, 134143, 139516, 131813, 140592, 132494, 143923, 137603, 23426, 34685, 132531, 146585, 20914, 20920, 40244, 20937, 20943, 20945, 15580, 20947, 150182, 20915, 20962, 21314, 20973, 33741, 26942, 145197, 24443, 21003, 21030, 21052, 21173, 21079, 21140, 21177, 21189, 31765, 34114, 21216, 34317, 158483, 21253, 166622, 21833, 28377, 147328, 133460, 147436, 21299, 21316, 134114, 27851, 136998, 26651, 29653, 24650, 16042, 14540, 136936, 29149, 17570, 21357, 21364, 165547, 21374, 21375, 136598, 136723, 30694, 21395, 166555, 21408, 21419, 21422, 29607, 153458, 16217, 29596, 21441, 21445, 27721, 20041, 22526, 21465, 15019, 134031, 21472, 147435, 142755, 21494, 134263, 21523, 28793, 21803, 26199, 27995, 21613, 158547, 134516, 21853, 21647, 21668, 18342, 136973, 134877, 15796, 134477, 166332, 140952, 21831, 19693, 21551, 29719, 21894, 21929, 22021, 137431, 147514, 17746, 148533, 26291, 135348, 22071, 26317, 144010, 26276, 26285, 22093, 22095, 30961, 22257, 38791, 21502, 22272, 22255, 22253, 166758, 13859, 135759, 22342, 147877, 27758, 28811, 22338, 14001, 158846, 22502, 136214, 22531, 136276, 148323, 22566, 150517, 22620, 22698, 13665, 22752, 22748, 135740, 22779, 23551, 22339, 172368, 148088, 37843, 13729, 22815, 26790, 14019, 28249, 136766, 23076, 21843, 136850, 34053, 22985, 134478, 158849, 159018, 137180, 23001, 137211, 137138, 159142, 28017, 137256, 136917, 23033, 159301, 23211, 23139, 14054, 149929, 23159, 14088, 23190, 29797, 23251, 159649, 140628, 15749, 137489, 14130, 136888, 24195, 21200, 23414, 25992, 23420, 162318, 16388, 18525, 131588, 23509, 24928, 137780, 154060, 132517, 23539, 23453, 19728, 23557, 138052, 23571, 29646, 23572, 138405, 158504, 23625, 18653, 23685, 23785, 23791, 23947, 138745, 138807, 23824, 23832, 23878, 138916, 23738, 24023, 33532, 14381, 149761, 139337, 139635, 33415, 14390, 15298, 24110, 27274, 24181, 24186, 148668, 134355, 21414, 20151, 24272, 21416, 137073, 24073, 24308, 164994, 24313, 24315, 14496, 24316, 26686, 37915, 24333, 131521, 194708, 15070, 18606, 135994, 24378, 157832, 140240, 24408, 140401, 24419, 38845, 159342, 24434, 37696, 166454, 24487, 23990, 15711, 152144, 139114, 159992, 140904, 37334, 131742, 166441, 24625, 26245, 137335, 14691, 15815, 13881, 22416, 141236, 31089, 15936, 24734, 24740, 24755, 149890, 149903, 162387, 29860, 20705, 23200, 24932, 33828, 24898, 194726, 159442, 24961, 20980, 132694, 24967, 23466, 147383, 141407, 25043, 166813, 170333, 25040, 14642, 141696, 141505, 24611, 24924, 25886, 25483, 131352, 25285, 137072, 25301, 142861, 25452, 149983, 14871, 25656, 25592, 136078, 137212, 25744, 28554, 142902, 38932, 147596, 153373, 25825, 25829, 38011, 14950, 25658, 14935, 25933, 28438, 150056, 150051, 25989, 25965, 25951, 143486, 26037, 149824, 19255, 26065, 16600, 137257, 26080, 26083, 24543, 144384, 26136, 143863, 143864, 26180, 143780, 143781, 26187, 134773, 26215, 152038, 26227, 26228, 138813, 143921, 165364, 143816, 152339, 30661, 141559, 39332, 26370, 148380, 150049, 15147, 27130, 145346, 26462, 26471, 26466, 147917, 168173, 26583, 17641, 26658, 28240, 37436, 26625, 144358, 159136, 26717, 144495, 27105, 27147, 166623, 26995, 26819, 144845, 26881, 26880, 15666, 14849, 144956, 15232, 26540, 26977, 166474, 17148, 26934, 27032, 15265, 132041, 33635, 20624, 27129, 144985, 139562, 27205, 145155, 27293, 15347, 26545, 27336, 168348, 15373, 27421, 133411, 24798, 27445, 27508, 141261, 28341, 146139, 132021, 137560, 14144, 21537, 146266, 27617, 147196, 27612, 27703, 140427, 149745, 158545, 27738, 33318, 27769, 146876, 17605, 146877, 147876, 149772, 149760, 146633, 14053, 15595, 134450, 39811, 143865, 140433, 32655, 26679, 159013, 159137, 159211, 28054, 27996, 28284, 28420, 149887, 147589, 159346, 34099, 159604, 20935, 27804, 28189, 33838, 166689, 28207, 146991, 29779, 147330, 31180, 28239, 23185, 143435, 28664, 14093, 28573, 146992, 28410, 136343, 147517, 17749, 37872, 28484, 28508, 15694, 28532, 168304, 15675, 28575, 147780, 28627, 147601, 147797, 147513, 147440, 147380, 147775, 20959, 147798, 147799, 147776, 156125, 28747, 28798, 28839, 28801, 28876, 28885, 28886, 28895, 16644, 15848, 29108, 29078, 148087, 28971, 28997, 23176, 29002, 29038, 23708, 148325, 29007, 37730, 148161, 28972, 148570, 150055, 150050, 29114, 166888, 28861, 29198, 37954, 29205, 22801, 37955, 29220, 37697, 153093, 29230, 29248, 149876, 26813, 29269, 29271, 15957, 143428, 26637, 28477, 29314, 29482, 29483, 149539, 165931, 18669, 165892, 29480, 29486, 29647, 29610, 134202, 158254, 29641, 29769, 147938, 136935, 150052, 26147, 14021, 149943, 149901, 150011, 29687, 29717, 26883, 150054, 29753, 132547, 16087, 29788, 141485, 29792, 167602, 29767, 29668, 29814, 33721, 29804, 14128, 29812, 37873, 27180, 29826, 18771, 150156, 147807, 150137, 166799, 23366, 166915, 137374, 29896, 137608, 29966, 29929, 29982, 167641, 137803, 23511, 167596, 37765, 30029, 30026, 30055, 30062, 151426, 16132, 150803, 30094, 29789, 30110, 30132, 30210, 30252, 30289, 30287, 30319, 30326, 156661, 30352, 33263, 14328, 157969, 157966, 30369, 30373, 30391, 30412, 159647, 33890, 151709, 151933, 138780, 30494, 30502, 30528, 25775, 152096, 30552, 144044, 30639, 166244, 166248, 136897, 30708, 30729, 136054, 150034, 26826, 30895, 30919, 30931, 38565, 31022, 153056, 30935, 31028, 30897, 161292, 36792, 34948, 166699, 155779, 140828, 31110, 35072, 26882, 31104, 153687, 31133, 162617, 31036, 31145, 28202, 160038, 16040, 31174, 168205, 31188],
- "euc-kr":[44034,44035,44037,44038,44043,44044,44045,44046,44047,44056,44062,44063,44065,44066,44067,44069,44070,44071,44072,44073,44074,44075,44078,44082,44083,44084,44085,44086,44087,44090,44091,44093,44094,44095,44097,44098,44099,44100,44101,44102,44103,44104,44105,44106,44108,44110,44111,44112,44113,44114,44115,44117,44118,44119,44121,44122,44123,44125,44126,44127,44128,44129,44130,44131,44132,44133,44134,44135,44136,44137,44138,44139,44140,44141,44142,44143,44146,44147,44149,44150,44153,44155,44156,44157,44158,44159,44162,44167,44168,44173,44174,44175,44177,44178,44179,44181,44182,44183,44184,44185,44186,44187,44190,44194,44195,44196,44197,44198,44199,44203,44205,44206,44209,44210,44211,44212,44213,44214,44215,44218,44222,44223,44224,44226,44227,44229,44230,44231,44233,44234,44235,44237,44238,44239,44240,44241,44242,44243,44244,44246,44248,44249,44250,44251,44252,44253,44254,44255,44258,44259,44261,44262,44265,44267,44269,44270,44274,44276,44279,44280,44281,44282,44283,44286,44287,44289,44290,44291,44293,44295,44296,44297,44298,44299,44302,44304,44306,44307,44308,44309,44310,44311,44313,44314,44315,44317,44318,44319,44321,44322,44323,44324,44325,44326,44327,44328,44330,44331,44334,44335,44336,44337,44338,44339,44342,44343,44345,44346,44347,44349,44350,44351,44352,44353,44354,44355,44358,44360,44362,44363,44364,44365,44366,44367,44369,44370,44371,44373,44374,44375,44377,44378,44379,44380,44381,44382,44383,44384,44386,44388,44389,44390,44391,44392,44393,44394,44395,44398,44399,44401,44402,44407,44408,44409,44410,44414,44416,44419,44420,44421,44422,44423,44426,44427,44429,44430,44431,44433,44434,44435,44436,44437,44438,44439,44440,44441,44442,44443,44446,44447,44448,44449,44450,44451,44453,44454,44455,44456,44457,44458,44459,44460,44461,44462,44463,44464,44465,44466,44467,44468,44469,44470,44472,44473,44474,44475,44476,44477,44478,44479,44482,44483,44485,44486,44487,44489,44490,44491,44492,44493,44494,44495,44498,44500,44501,44502,44503,44504,44505,44506,44507,44509,44510,44511,44513,44514,44515,44517,44518,44519,44520,44521,44522,44523,44524,44525,44526,44527,44528,44529,44530,44531,44532,44533,44534,44535,44538,44539,44541,44542,44546,44547,44548,44549,44550,44551,44554,44556,44558,44559,44560,44561,44562,44563,44565,44566,44567,44568,44569,44570,44571,44572,44573,44574,44575,44576,44577,44578,44579,44580,44581,44582,44583,44584,44585,44586,44587,44588,44589,44590,44591,44594,44595,44597,44598,44601,44603,44604,44605,44606,44607,44610,44612,44615,44616,44617,44619,44623,44625,44626,44627,44629,44631,44632,44633,44634,44635,44638,44642,44643,44644,44646,44647,44650,44651,44653,44654,44655,44657,44658,44659,44660,44661,44662,44663,44666,44670,44671,44672,44673,44674,44675,44678,44679,44680,44681,44682,44683,44685,44686,44687,44688,44689,44690,44691,44692,44693,44694,44695,44696,44697,44698,44699,44700,44701,44702,44703,44704,44705,44706,44707,44708,44709,44710,44711,44712,44713,44714,44715,44716,44717,44718,44719,44720,44721,44722,44723,44724,44725,44726,44727,44728,44729,44730,44731,44735,44737,44738,44739,44741,44742,44743,44744,44745,44746,44747,44750,44754,44755,44756,44757,44758,44759,44762,44763,44765,44766,44767,44768,44769,44770,44771,44772,44773,44774,44775,44777,44778,44780,44782,44783,44784,44785,44786,44787,44789,44790,44791,44793,44794,44795,44797,44798,44799,44800,44801,44802,44803,44804,44805,44806,44809,44810,44811,44812,44814,44815,44817,44818,44819,44820,44821,44822,44823,44824,44825,44826,44827,44828,44829,44830,44831,44832,44833,44834,44835,44836,44837,44838,44839,44840,44841,44842,44843,44846,44847,44849,44851,44853,44854,44855,44856,44857,44858,44859,44862,44864,44868,44869,44870,44871,44874,44875,44876,44877,44878,44879,44881,44882,44883,44884,44885,44886,44887,44888,44889,44890,44891,44894,44895,44896,44897,44898,44899,44902,44903,44904,44905,44906,44907,44908,44909,44910,44911,44912,44913,44914,44915,44916,44917,44918,44919,44920,44922,44923,44924,44925,44926,44927,44929,44930,44931,44933,44934,44935,44937,44938,44939,44940,44941,44942,44943,44946,44947,44948,44950,44951,44952,44953,44954,44955,44957,44958,44959,44960,44961,44962,44963,44964,44965,44966,44967,44968,44969,44970,44971,44972,44973,44974,44975,44976,44977,44978,44979,44980,44981,44982,44983,44986,44987,44989,44990,44991,44993,44994,44995,44996,44997,44998,45002,45004,45007,45008,45009,45010,45011,45013,45014,45015,45016,45017,45018,45019,45021,45022,45023,45024,45025,45026,45027,45028,45029,45030,45031,45034,45035,45036,45037,45038,45039,45042,45043,45045,45046,45047,45049,45050,45051,45052,45053,45054,45055,45058,45059,45061,45062,45063,45064,45065,45066,45067,45069,45070,45071,45073,45074,45075,45077,45078,45079,45080,45081,45082,45083,45086,45087,45088,45089,45090,45091,45092,45093,45094,45095,45097,45098,45099,45100,45101,45102,45103,45104,45105,45106,45107,45108,45109,45110,45111,45112,45113,45114,45115,45116,45117,45118,45119,45120,45121,45122,45123,45126,45127,45129,45131,45133,45135,45136,45137,45138,45142,45144,45146,45147,45148,45150,45151,45152,45153,45154,45155,45156,45157,45158,45159,45160,45161,45162,45163,45164,45165,45166,45167,45168,45169,45170,45171,45172,45173,45174,45175,45176,45177,45178,45179,45182,45183,45185,45186,45187,45189,45190,45191,45192,45193,45194,45195,45198,45200,45202,45203,45204,45205,45206,45207,45211,45213,45214,45219,45220,45221,45222,45223,45226,45232,45234,45238,45239,45241,45242,45243,45245,45246,45247,45248,45249,45250,45251,45254,45258,45259,45260,45261,45262,45263,45266,45267,45269,45270,45271,45273,45274,45275,45276,45277,45278,45279,45281,45282,45283,45284,45286,45287,45288,45289,45290,45291,45292,45293,45294,45295,45296,45297,45298,45299,45300,45301,45302,45303,45304,45305,45306,45307,45308,45309,45310,45311,45312,45313,45314,45315,45316,45317,45318,45319,45322,45325,45326,45327,45329,45332,45333,45334,45335,45338,45342,45343,45344,45345,45346,45350,45351,45353,45354,45355,45357,45358,45359,45360,45361,45362,45363,45366,45370,45371,45372,45373,45374,45375,45378,45379,45381,45382,45383,45385,45386,45387,45388,45389,45390,45391,45394,45395,45398,45399,45401,45402,45403,45405,45406,45407,45409,45410,45411,45412,45413,45414,45415,45416,45417,45418,45419,45420,45421,45422,45423,45424,45425,45426,45427,45428,45429,45430,45431,45434,45435,45437,45438,45439,45441,45443,45444,45445,45446,45447,45450,45452,45454,45455,45456,45457,45461,45462,45463,45465,45466,45467,45469,45470,45471,45472,45473,45474,45475,45476,45477,45478,45479,45481,45482,45483,45484,45485,45486,45487,45488,45489,45490,45491,45492,45493,45494,45495,45496,45497,45498,45499,45500,45501,45502,45503,45504,45505,45506,45507,45508,45509,45510,45511,45512,45513,45514,45515,45517,45518,45519,45521,45522,45523,45525,45526,45527,45528,45529,45530,45531,45534,45536,45537,45538,45539,45540,45541,45542,45543,45546,45547,45549,45550,45551,45553,45554,45555,45556,45557,45558,45559,45560,45562,45564,45566,45567,45568,45569,45570,45571,45574,45575,45577,45578,45581,45582,45583,45584,45585,45586,45587,45590,45592,45594,45595,45596,45597,45598,45599,45601,45602,45603,45604,45605,45606,45607,45608,45609,45610,45611,45612,45613,45614,45615,45616,45617,45618,45619,45621,45622,45623,45624,45625,45626,45627,45629,45630,45631,45632,45633,45634,45635,45636,45637,45638,45639,45640,45641,45642,45643,45644,45645,45646,45647,45648,45649,45650,45651,45652,45653,45654,45655,45657,45658,45659,45661,45662,45663,45665,45666,45667,45668,45669,45670,45671,45674,45675,45676,45677,45678,45679,45680,45681,45682,45683,45686,45687,45688,45689,45690,45691,45693,45694,45695,45696,45697,45698,45699,45702,45703,45704,45706,45707,45708,45709,45710,45711,45714,45715,45717,45718,45719,45723,45724,45725,45726,45727,45730,45732,45735,45736,45737,45739,45741,45742,45743,45745,45746,45747,45749,45750,45751,45752,45753,45754,45755,45756,45757,45758,45759,45760,45761,45762,45763,45764,45765,45766,45767,45770,45771,45773,45774,45775,45777,45779,45780,45781,45782,45783,45786,45788,45790,45791,45792,45793,45795,45799,45801,45802,45808,45809,45810,45814,45820,45821,45822,45826,45827,45829,45830,45831,45833,45834,45835,45836,45837,45838,45839,45842,45846,45847,45848,45849,45850,45851,45853,45854,45855,45856,45857,45858,45859,45860,45861,45862,45863,45864,45865,45866,45867,45868,45869,45870,45871,45872,45873,45874,45875,45876,45877,45878,45879,45880,45881,45882,45883,45884,45885,45886,45887,45888,45889,45890,45891,45892,45893,45894,45895,45896,45897,45898,45899,45900,45901,45902,45903,45904,45905,45906,45907,45911,45913,45914,45917,45920,45921,45922,45923,45926,45928,45930,45932,45933,45935,45938,45939,45941,45942,45943,45945,45946,45947,45948,45949,45950,45951,45954,45958,45959,45960,45961,45962,45963,45965,45966,45967,45969,45970,45971,45973,45974,45975,45976,45977,45978,45979,45980,45981,45982,45983,45986,45987,45988,45989,45990,45991,45993,45994,45995,45997,45998,45999,46000,46001,46002,46003,46004,46005,46006,46007,46008,46009,46010,46011,46012,46013,46014,46015,46016,46017,46018,46019,46022,46023,46025,46026,46029,46031,46033,46034,46035,46038,46040,46042,46044,46046,46047,46049,46050,46051,46053,46054,46055,46057,46058,46059,46060,46061,46062,46063,46064,46065,46066,46067,46068,46069,46070,46071,46072,46073,46074,46075,46077,46078,46079,46080,46081,46082,46083,46084,46085,46086,46087,46088,46089,46090,46091,46092,46093,46094,46095,46097,46098,46099,46100,46101,46102,46103,46105,46106,46107,46109,46110,46111,46113,46114,46115,46116,46117,46118,46119,46122,46124,46125,46126,46127,46128,46129,46130,46131,46133,46134,46135,46136,46137,46138,46139,46140,46141,46142,46143,46144,46145,46146,46147,46148,46149,46150,46151,46152,46153,46154,46155,46156,46157,46158,46159,46162,46163,46165,46166,46167,46169,46170,46171,46172,46173,46174,46175,46178,46180,46182,46183,46184,46185,46186,46187,46189,46190,46191,46192,46193,46194,46195,46196,46197,46198,46199,46200,46201,46202,46203,46204,46205,46206,46207,46209,46210,46211,46212,46213,46214,46215,46217,46218,46219,46220,46221,46222,46223,46224,46225,46226,46227,46228,46229,46230,46231,46232,46233,46234,46235,46236,46238,46239,46240,46241,46242,46243,46245,46246,46247,46249,46250,46251,46253,46254,46255,46256,46257,46258,46259,46260,46262,46264,46266,46267,46268,46269,46270,46271,46273,46274,46275,46277,46278,46279,46281,46282,46283,46284,46285,46286,46287,46289,46290,46291,46292,46294,46295,46296,46297,46298,46299,46302,46303,46305,46306,46309,46311,46312,46313,46314,46315,46318,46320,46322,46323,46324,46325,46326,46327,46329,46330,46331,46332,46333,46334,46335,46336,46337,46338,46339,46340,46341,46342,46343,46344,46345,46346,46347,46348,46349,46350,46351,46352,46353,46354,46355,46358,46359,46361,46362,46365,46366,46367,46368,46369,46370,46371,46374,46379,46380,46381,46382,46383,46386,46387,46389,46390,46391,46393,46394,46395,46396,46397,46398,46399,46402,46406,46407,46408,46409,46410,46414,46415,46417,46418,46419,46421,46422,46423,46424,46425,46426,46427,46430,46434,46435,46436,46437,46438,46439,46440,46441,46442,46443,46444,46445,46446,46447,46448,46449,46450,46451,46452,46453,46454,46455,46456,46457,46458,46459,46460,46461,46462,46463,46464,46465,46466,46467,46468,46469,46470,46471,46472,46473,46474,46475,46476,46477,46478,46479,46480,46481,46482,46483,46484,46485,46486,46487,46488,46489,46490,46491,46492,46493,46494,46495,46498,46499,46501,46502,46503,46505,46508,46509,46510,46511,46514,46518,46519,46520,46521,46522,46526,46527,46529,46530,46531,46533,46534,46535,46536,46537,46538,46539,46542,46546,46547,46548,46549,46550,46551,46553,46554,46555,46556,46557,46558,46559,46560,46561,46562,46563,46564,46565,46566,46567,46568,46569,46570,46571,46573,46574,46575,46576,46577,46578,46579,46580,46581,46582,46583,46584,46585,46586,46587,46588,46589,46590,46591,46592,46593,46594,46595,46596,46597,46598,46599,46600,46601,46602,46603,46604,46605,46606,46607,46610,46611,46613,46614,46615,46617,46618,46619,46620,46621,46622,46623,46624,46625,46626,46627,46628,46630,46631,46632,46633,46634,46635,46637,46638,46639,46640,46641,46642,46643,46645,46646,46647,46648,46649,46650,46651,46652,46653,46654,46655,46656,46657,46658,46659,46660,46661,46662,46663,46665,46666,46667,46668,46669,46670,46671,46672,46673,46674,46675,46676,46677,46678,46679,46680,46681,46682,46683,46684,46685,46686,46687,46688,46689,46690,46691,46693,46694,46695,46697,46698,46699,46700,46701,46702,46703,46704,46705,46706,46707,46708,46709,46710,46711,46712,46713,46714,46715,46716,46717,46718,46719,46720,46721,46722,46723,46724,46725,46726,46727,46728,46729,46730,46731,46732,46733,46734,46735,46736,46737,46738,46739,46740,46741,46742,46743,46744,46745,46746,46747,46750,46751,46753,46754,46755,46757,46758,46759,46760,46761,46762,46765,46766,46767,46768,46770,46771,46772,46773,46774,46775,46776,46777,46778,46779,46780,46781,46782,46783,46784,46785,46786,46787,46788,46789,46790,46791,46792,46793,46794,46795,46796,46797,46798,46799,46800,46801,46802,46803,46805,46806,46807,46808,46809,46810,46811,46812,46813,46814,46815,46816,46817,46818,46819,46820,46821,46822,46823,46824,46825,46826,46827,46828,46829,46830,46831,46833,46834,46835,46837,46838,46839,46841,46842,46843,46844,46845,46846,46847,46850,46851,46852,46854,46855,46856,46857,46858,46859,46860,46861,46862,46863,46864,46865,46866,46867,46868,46869,46870,46871,46872,46873,46874,46875,46876,46877,46878,46879,46880,46881,46882,46883,46884,46885,46886,46887,46890,46891,46893,46894,46897,46898,46899,46900,46901,46902,46903,46906,46908,46909,46910,46911,46912,46913,46914,46915,46917,46918,46919,46921,46922,46923,46925,46926,46927,46928,46929,46930,46931,46934,46935,46936,46937,46938,46939,46940,46941,46942,46943,46945,46946,46947,46949,46950,46951,46953,46954,46955,46956,46957,46958,46959,46962,46964,46966,46967,46968,46969,46970,46971,46974,46975,46977,46978,46979,46981,46982,46983,46984,46985,46986,46987,46990,46995,46996,46997,47002,47003,47005,47006,47007,47009,47010,47011,47012,47013,47014,47015,47018,47022,47023,47024,47025,47026,47027,47030,47031,47033,47034,47035,47036,47037,47038,47039,47040,47041,47042,47043,47044,47045,47046,47048,47050,47051,47052,47053,47054,47055,47056,47057,47058,47059,47060,47061,47062,47063,47064,47065,47066,47067,47068,47069,47070,47071,47072,47073,47074,47075,47076,47077,47078,47079,47080,47081,47082,47083,47086,47087,47089,47090,47091,47093,47094,47095,47096,47097,47098,47099,47102,47106,47107,47108,47109,47110,47114,47115,47117,47118,47119,47121,47122,47123,47124,47125,47126,47127,47130,47132,47134,47135,47136,47137,47138,47139,47142,47143,47145,47146,47147,47149,47150,47151,47152,47153,47154,47155,47158,47162,47163,47164,47165,47166,47167,47169,47170,47171,47173,47174,47175,47176,47177,47178,47179,47180,47181,47182,47183,47184,47186,47188,47189,47190,47191,47192,47193,47194,47195,47198,47199,47201,47202,47203,47205,47206,47207,47208,47209,47210,47211,47214,47216,47218,47219,47220,47221,47222,47223,47225,47226,47227,47229,47230,47231,47232,47233,47234,47235,47236,47237,47238,47239,47240,47241,47242,47243,47244,47246,47247,47248,47249,47250,47251,47252,47253,47254,47255,47256,47257,47258,47259,47260,47261,47262,47263,47264,47265,47266,47267,47268,47269,47270,47271,47273,47274,47275,47276,47277,47278,47279,47281,47282,47283,47285,47286,47287,47289,47290,47291,47292,47293,47294,47295,47298,47300,47302,47303,47304,47305,47306,47307,47309,47310,47311,47313,47314,47315,47317,47318,47319,47320,47321,47322,47323,47324,47326,47328,47330,47331,47332,47333,47334,47335,47338,47339,47341,47342,47343,47345,47346,47347,47348,47349,47350,47351,47354,47356,47358,47359,47360,47361,47362,47363,47365,47366,47367,47368,47369,47370,47371,47372,47373,47374,47375,47376,47377,47378,47379,47380,47381,47382,47383,47385,47386,47387,47388,47389,47390,47391,47393,47394,47395,47396,47397,47398,47399,47400,47401,47402,47403,47404,47405,47406,47407,47408,47409,47410,47411,47412,47413,47414,47415,47416,47417,47418,47419,47422,47423,47425,47426,47427,47429,47430,47431,47432,47433,47434,47435,47437,47438,47440,47442,47443,47444,47445,47446,47447,47450,47451,47453,47454,47455,47457,47458,47459,47460,47461,47462,47463,47466,47468,47470,47471,47472,47473,47474,47475,47478,47479,47481,47482,47483,47485,47486,47487,47488,47489,47490,47491,47494,47496,47499,47500,47503,47504,47505,47506,47507,47508,47509,47510,47511,47512,47513,47514,47515,47516,47517,47518,47519,47520,47521,47522,47523,47524,47525,47526,47527,47528,47529,47530,47531,47534,47535,47537,47538,47539,47541,47542,47543,47544,47545,47546,47547,47550,47552,47554,47555,47556,47557,47558,47559,47562,47563,47565,47571,47572,47573,47574,47575,47578,47580,47583,47584,47586,47590,47591,47593,47594,47595,47597,47598,47599,47600,47601,47602,47603,47606,47611,47612,47613,47614,47615,47618,47619,47620,47621,47622,47623,47625,47626,47627,47628,47629,47630,47631,47632,47633,47634,47635,47636,47638,47639,47640,47641,47642,47643,47644,47645,47646,47647,47648,47649,47650,47651,47652,47653,47654,47655,47656,47657,47658,47659,47660,47661,47662,47663,47664,47665,47666,47667,47668,47669,47670,47671,47674,47675,47677,47678,47679,47681,47683,47684,47685,47686,47687,47690,47692,47695,47696,47697,47698,47702,47703,47705,47706,47707,47709,47710,47711,47712,47713,47714,47715,47718,47722,47723,47724,47725,47726,47727,47730,47731,47733,47734,47735,47737,47738,47739,47740,47741,47742,47743,47744,47745,47746,47750,47752,47753,47754,47755,47757,47758,47759,47760,47761,47762,47763,47764,47765,47766,47767,47768,47769,47770,47771,47772,47773,47774,47775,47776,47777,47778,47779,47780,47781,47782,47783,47786,47789,47790,47791,47793,47795,47796,47797,47798,47799,47802,47804,47806,47807,47808,47809,47810,47811,47813,47814,47815,47817,47818,47819,47820,47821,47822,47823,47824,47825,47826,47827,47828,47829,47830,47831,47834,47835,47836,47837,47838,47839,47840,47841,47842,47843,47844,47845,47846,47847,47848,47849,47850,47851,47852,47853,47854,47855,47856,47857,47858,47859,47860,47861,47862,47863,47864,47865,47866,47867,47869,47870,47871,47873,47874,47875,47877,47878,47879,47880,47881,47882,47883,47884,47886,47888,47890,47891,47892,47893,47894,47895,47897,47898,47899,47901,47902,47903,47905,47906,47907,47908,47909,47910,47911,47912,47914,47916,47917,47918,47919,47920,47921,47922,47923,47927,47929,47930,47935,47936,47937,47938,47939,47942,47944,47946,47947,47948,47950,47953,47954,47955,47957,47958,47959,47961,47962,47963,47964,47965,47966,47967,47968,47970,47972,47973,47974,47975,47976,47977,47978,47979,47981,47982,47983,47984,47985,47986,47987,47988,47989,47990,47991,47992,47993,47994,47995,47996,47997,47998,47999,48000,48001,48002,48003,48004,48005,48006,48007,48009,48010,48011,48013,48014,48015,48017,48018,48019,48020,48021,48022,48023,48024,48025,48026,48027,48028,48029,48030,48031,48032,48033,48034,48035,48037,48038,48039,48041,48042,48043,48045,48046,48047,48048,48049,48050,48051,48053,48054,48056,48057,48058,48059,48060,48061,48062,48063,48065,48066,48067,48069,48070,48071,48073,48074,48075,48076,48077,48078,48079,48081,48082,48084,48085,48086,48087,48088,48089,48090,48091,48092,48093,48094,48095,48096,48097,48098,48099,48100,48101,48102,48103,48104,48105,48106,48107,48108,48109,48110,48111,48112,48113,48114,48115,48116,48117,48118,48119,48122,48123,48125,48126,48129,48131,48132,48133,48134,48135,48138,48142,48144,48146,48147,48153,48154,48160,48161,48162,48163,48166,48168,48170,48171,48172,48174,48175,48178,48179,48181,48182,48183,48185,48186,48187,48188,48189,48190,48191,48194,48198,48199,48200,48202,48203,48206,48207,48209,48210,48211,48212,48213,48214,48215,48216,48217,48218,48219,48220,48222,48223,48224,48225,48226,48227,48228,48229,48230,48231,48232,48233,48234,48235,48236,48237,48238,48239,48240,48241,48242,48243,48244,48245,48246,48247,48248,48249,48250,48251,48252,48253,48254,48255,48256,48257,48258,48259,48262,48263,48265,48266,48269,48271,48272,48273,48274,48275,48278,48280,48283,48284,48285,48286,48287,48290,48291,48293,48294,48297,48298,48299,48300,48301,48302,48303,48306,48310,48311,48312,48313,48314,48315,48318,48319,48321,48322,48323,48325,48326,48327,48328,48329,48330,48331,48332,48334,48338,48339,48340,48342,48343,48345,48346,48347,48349,48350,48351,48352,48353,48354,48355,48356,48357,48358,48359,48360,48361,48362,48363,48364,48365,48366,48367,48368,48369,48370,48371,48375,48377,48378,48379,48381,48382,48383,48384,48385,48386,48387,48390,48392,48394,48395,48396,48397,48398,48399,48401,48402,48403,48405,48406,48407,48408,48409,48410,48411,48412,48413,48414,48415,48416,48417,48418,48419,48421,48422,48423,48424,48425,48426,48427,48429,48430,48431,48432,48433,48434,48435,48436,48437,48438,48439,48440,48441,48442,48443,48444,48445,48446,48447,48449,48450,48451,48452,48453,48454,48455,48458,48459,48461,48462,48463,48465,48466,48467,48468,48469,48470,48471,48474,48475,48476,48477,48478,48479,48480,48481,48482,48483,48485,48486,48487,48489,48490,48491,48492,48493,48494,48495,48496,48497,48498,48499,48500,48501,48502,48503,48504,48505,48506,48507,48508,48509,48510,48511,48514,48515,48517,48518,48523,48524,48525,48526,48527,48530,48532,48534,48535,48536,48539,48541,48542,48543,48544,48545,48546,48547,48549,48550,48551,48552,48553,48554,48555,48556,48557,48558,48559,48561,48562,48563,48564,48565,48566,48567,48569,48570,48571,48572,48573,48574,48575,48576,48577,48578,48579,48580,48581,48582,48583,48584,48585,48586,48587,48588,48589,48590,48591,48592,48593,48594,48595,48598,48599,48601,48602,48603,48605,48606,48607,48608,48609,48610,48611,48612,48613,48614,48615,48616,48618,48619,48620,48621,48622,48623,48625,48626,48627,48629,48630,48631,48633,48634,48635,48636,48637,48638,48639,48641,48642,48644,48646,48647,48648,48649,48650,48651,48654,48655,48657,48658,48659,48661,48662,48663,48664,48665,48666,48667,48670,48672,48673,48674,48675,48676,48677,48678,48679,48680,48681,48682,48683,48684,48685,48686,48687,48688,48689,48690,48691,48692,48693,48694,48695,48696,48697,48698,48699,48700,48701,48702,48703,48704,48705,48706,48707,48710,48711,48713,48714,48715,48717,48719,48720,48721,48722,48723,48726,48728,48732,48733,48734,48735,48738,48739,48741,48742,48743,48745,48747,48748,48749,48750,48751,48754,48758,48759,48760,48761,48762,48766,48767,48769,48770,48771,48773,48774,48775,48776,48777,48778,48779,48782,48786,48787,48788,48789,48790,48791,48794,48795,48796,48797,48798,48799,48800,48801,48802,48803,48804,48805,48806,48807,48809,48810,48811,48812,48813,48814,48815,48816,48817,48818,48819,48820,48821,48822,48823,48824,48825,48826,48827,48828,48829,48830,48831,48832,48833,48834,48835,48836,48837,48838,48839,48840,48841,48842,48843,48844,48845,48846,48847,48850,48851,48853,48854,48857,48858,48859,48860,48861,48862,48863,48865,48866,48870,48871,48872,48873,48874,48875,48877,48878,48879,48880,48881,48882,48883,48884,48885,48886,48887,48888,48889,48890,48891,48892,48893,48894,48895,48896,48898,48899,48900,48901,48902,48903,48906,48907,48908,48909,48910,48911,48912,48913,48914,48915,48916,48917,48918,48919,48922,48926,48927,48928,48929,48930,48931,48932,48933,48934,48935,48936,48937,48938,48939,48940,48941,48942,48943,48944,48945,48946,48947,48948,48949,48950,48951,48952,48953,48954,48955,48956,48957,48958,48959,48962,48963,48965,48966,48967,48969,48970,48971,48972,48973,48974,48975,48978,48979,48980,48982,48983,48984,48985,48986,48987,48988,48989,48990,48991,48992,48993,48994,48995,48996,48997,48998,48999,49000,49001,49002,49003,49004,49005,49006,49007,49008,49009,49010,49011,49012,49013,49014,49015,49016,49017,49018,49019,49020,49021,49022,49023,49024,49025,49026,49027,49028,49029,49030,49031,49032,49033,49034,49035,49036,49037,49038,49039,49040,49041,49042,49043,49045,49046,49047,49048,49049,49050,49051,49052,49053,49054,49055,49056,49057,49058,49059,49060,49061,49062,49063,49064,49065,49066,49067,49068,49069,49070,49071,49073,49074,49075,49076,49077,49078,49079,49080,49081,49082,49083,49084,49085,49086,49087,49088,49089,49090,49091,49092,49094,49095,49096,49097,49098,49099,49102,49103,49105,49106,49107,49109,49110,49111,49112,49113,49114,49115,49117,49118,49120,49122,49123,49124,49125,49126,49127,49128,49129,49130,49131,49132,49133,49134,49135,49136,49137,49138,49139,49140,49141,49142,49143,49144,49145,49146,49147,49148,49149,49150,49151,49152,49153,49154,49155,49156,49157,49158,49159,49160,49161,49162,49163,49164,49165,49166,49167,49168,49169,49170,49171,49172,49173,49174,49175,49176,49177,49178,49179,49180,49181,49182,49183,49184,49185,49186,49187,49188,49189,49190,49191,49192,49193,49194,49195,49196,49197,49198,49199,49200,49201,49202,49203,49204,49205,49206,49207,49208,49209,49210,49211,49213,49214,49215,49216,49217,49218,49219,49220,49221,49222,49223,49224,49225,49226,49227,49228,49229,49230,49231,49232,49234,49235,49236,49237,49238,49239,49241,49242,49243,49245,49246,49247,49249,49250,49251,49252,49253,49254,49255,49258,49259,49260,49261,49262,49263,49264,49265,49266,49267,49268,49269,49270,49271,49272,49273,49274,49275,49276,49277,49278,49279,49280,49281,49282,49283,49284,49285,49286,49287,49288,49289,49290,49291,49292,49293,49294,49295,49298,49299,49301,49302,49303,49305,49306,49307,49308,49309,49310,49311,49314,49316,49318,49319,49320,49321,49322,49323,49326,49329,49330,49335,49336,49337,49338,49339,49342,49346,49347,49348,49350,49351,49354,49355,49357,49358,49359,49361,49362,49363,49364,49365,49366,49367,49370,49374,49375,49376,49377,49378,49379,49382,49383,49385,49386,49387,49389,49390,49391,49392,49393,49394,49395,49398,49400,49402,49403,49404,49405,49406,49407,49409,49410,49411,49413,49414,49415,49417,49418,49419,49420,49421,49422,49423,49425,49426,49427,49428,49430,49431,49432,49433,49434,49435,49441,49442,49445,49448,49449,49450,49451,49454,49458,49459,49460,49461,49463,49466,49467,49469,49470,49471,49473,49474,49475,49476,49477,49478,49479,49482,49486,49487,49488,49489,49490,49491,49494,49495,49497,49498,49499,49501,49502,49503,49504,49505,49506,49507,49510,49514,49515,49516,49517,49518,49519,49521,49522,49523,49525,49526,49527,49529,49530,49531,49532,49533,49534,49535,49536,49537,49538,49539,49540,49542,49543,49544,49545,49546,49547,49551,49553,49554,49555,49557,49559,49560,49561,49562,49563,49566,49568,49570,49571,49572,49574,49575,49578,49579,49581,49582,49583,49585,49586,49587,49588,49589,49590,49591,49592,49593,49594,49595,49596,49598,49599,49600,49601,49602,49603,49605,49606,49607,49609,49610,49611,49613,49614,49615,49616,49617,49618,49619,49621,49622,49625,49626,49627,49628,49629,49630,49631,49633,49634,49635,49637,49638,49639,49641,49642,49643,49644,49645,49646,49647,49650,49652,49653,49654,49655,49656,49657,49658,49659,49662,49663,49665,49666,49667,49669,49670,49671,49672,49673,49674,49675,49678,49680,49682,49683,49684,49685,49686,49687,49690,49691,49693,49694,49697,49698,49699,49700,49701,49702,49703,49706,49708,49710,49712,49715,49717,49718,49719,49720,49721,49722,49723,49724,49725,49726,49727,49728,49729,49730,49731,49732,49733,49734,49735,49737,49738,49739,49740,49741,49742,49743,49746,49747,49749,49750,49751,49753,49754,49755,49756,49757,49758,49759,49761,49762,49763,49764,49766,49767,49768,49769,49770,49771,49774,49775,49777,49778,49779,49781,49782,49783,49784,49785,49786,49787,49790,49792,49794,49795,49796,49797,49798,49799,49802,49803,49804,49805,49806,49807,49809,49810,49811,49812,49813,49814,49815,49817,49818,49820,49822,49823,49824,49825,49826,49827,49830,49831,49833,49834,49835,49838,49839,49840,49841,49842,49843,49846,49848,49850,49851,49852,49853,49854,49855,49856,49857,49858,49859,49860,49861,49862,49863,49864,49865,49866,49867,49868,49869,49870,49871,49872,49873,49874,49875,49876,49877,49878,49879,49880,49881,49882,49883,49886,49887,49889,49890,49893,49894,49895,49896,49897,49898,49902,49904,49906,49907,49908,49909,49911,49914,49917,49918,49919,49921,49922,49923,49924,49925,49926,49927,49930,49931,49934,49935,49936,49937,49938,49942,49943,49945,49946,49947,49949,49950,49951,49952,49953,49954,49955,49958,49959,49962,49963,49964,49965,49966,49967,49968,49969,49970,49971,49972,49973,49974,49975,49976,49977,49978,49979,49980,49981,49982,49983,49984,49985,49986,49987,49988,49990,49991,49992,49993,49994,49995,49996,49997,49998,49999,50000,50001,50002,50003,50004,50005,50006,50007,50008,50009,50010,50011,50012,50013,50014,50015,50016,50017,50018,50019,50020,50021,50022,50023,50026,50027,50029,50030,50031,50033,50035,50036,50037,50038,50039,50042,50043,50046,50047,50048,50049,50050,50051,50053,50054,50055,50057,50058,50059,50061,50062,50063,50064,50065,50066,50067,50068,50069,50070,50071,50072,50073,50074,50075,50076,50077,50078,50079,50080,50081,50082,50083,50084,50085,50086,50087,50088,50089,50090,50091,50092,50093,50094,50095,50096,50097,50098,50099,50100,50101,50102,50103,50104,50105,50106,50107,50108,50109,50110,50111,50113,50114,50115,50116,50117,50118,50119,50120,50121,50122,50123,50124,50125,50126,50127,50128,50129,50130,50131,50132,50133,50134,50135,50138,50139,50141,50142,50145,50147,50148,50149,50150,50151,50154,50155,50156,50158,50159,50160,50161,50162,50163,50166,50167,50169,50170,50171,50172,50173,50174,50175,50176,50177,50178,50179,50180,50181,50182,50183,50185,50186,50187,50188,50189,50190,50191,50193,50194,50195,50196,50197,50198,50199,50200,50201,50202,50203,50204,50205,50206,50207,50208,50209,50210,50211,50213,50214,50215,50216,50217,50218,50219,50221,50222,50223,50225,50226,50227,50229,50230,50231,50232,50233,50234,50235,50238,50239,50240,50241,50242,50243,50244,50245,50246,50247,50249,50250,50251,50252,50253,50254,50255,50256,50257,50258,50259,50260,50261,50262,50263,50264,50265,50266,50267,50268,50269,50270,50271,50272,50273,50274,50275,50278,50279,50281,50282,50283,50285,50286,50287,50288,50289,50290,50291,50294,50295,50296,50298,50299,50300,50301,50302,50303,50305,50306,50307,50308,50309,50310,50311,50312,50313,50314,50315,50316,50317,50318,50319,50320,50321,50322,50323,50325,50326,50327,50328,50329,50330,50331,50333,50334,50335,50336,50337,50338,50339,50340,50341,50342,50343,50344,50345,50346,50347,50348,50349,50350,50351,50352,50353,50354,50355,50356,50357,50358,50359,50361,50362,50363,50365,50366,50367,50368,50369,50370,50371,50372,50373,50374,50375,50376,50377,50378,50379,50380,50381,50382,50383,50384,50385,50386,50387,50388,50389,50390,50391,50392,50393,50394,50395,50396,50397,50398,50399,50400,50401,50402,50403,50404,50405,50406,50407,50408,50410,50411,50412,50413,50414,50415,50418,50419,50421,50422,50423,50425,50427,50428,50429,50430,50434,50435,50436,50437,50438,50439,50440,50441,50442,50443,50445,50446,50447,50449,50450,50451,50453,50454,50455,50456,50457,50458,50459,50461,50462,50463,50464,50465,50466,50467,50468,50469,50470,50471,50474,50475,50477,50478,50479,50481,50482,50483,50484,50485,50486,50487,50490,50492,50494,50495,50496,50497,50498,50499,50502,50503,50507,50511,50512,50513,50514,50518,50522,50523,50524,50527,50530,50531,50533,50534,50535,50537,50538,50539,50540,50541,50542,50543,50546,50550,50551,50552,50553,50554,50555,50558,50559,50561,50562,50563,50565,50566,50568,50569,50570,50571,50574,50576,50578,50579,50580,50582,50585,50586,50587,50589,50590,50591,50593,50594,50595,50596,50597,50598,50599,50600,50602,50603,50604,50605,50606,50607,50608,50609,50610,50611,50614,50615,50618,50623,50624,50625,50626,50627,50635,50637,50639,50642,50643,50645,50646,50647,50649,50650,50651,50652,50653,50654,50655,50658,50660,50662,50663,50664,50665,50666,50667,50671,50673,50674,50675,50677,50680,50681,50682,50683,50690,50691,50692,50697,50698,50699,50701,50702,50703,50705,50706,50707,50708,50709,50710,50711,50714,50717,50718,50719,50720,50721,50722,50723,50726,50727,50729,50730,50731,50735,50737,50738,50742,50744,50746,50748,50749,50750,50751,50754,50755,50757,50758,50759,50761,50762,50763,50764,50765,50766,50767,50770,50774,50775,50776,50777,50778,50779,50782,50783,50785,50786,50787,50788,50789,50790,50791,50792,50793,50794,50795,50797,50798,50800,50802,50803,50804,50805,50806,50807,50810,50811,50813,50814,50815,50817,50818,50819,50820,50821,50822,50823,50826,50828,50830,50831,50832,50833,50834,50835,50838,50839,50841,50842,50843,50845,50846,50847,50848,50849,50850,50851,50854,50856,50858,50859,50860,50861,50862,50863,50866,50867,50869,50870,50871,50875,50876,50877,50878,50879,50882,50884,50886,50887,50888,50889,50890,50891,50894,50895,50897,50898,50899,50901,50902,50903,50904,50905,50906,50907,50910,50911,50914,50915,50916,50917,50918,50919,50922,50923,50925,50926,50927,50929,50930,50931,50932,50933,50934,50935,50938,50939,50940,50942,50943,50944,50945,50946,50947,50950,50951,50953,50954,50955,50957,50958,50959,50960,50961,50962,50963,50966,50968,50970,50971,50972,50973,50974,50975,50978,50979,50981,50982,50983,50985,50986,50987,50988,50989,50990,50991,50994,50996,50998,51000,51001,51002,51003,51006,51007,51009,51010,51011,51013,51014,51015,51016,51017,51019,51022,51024,51033,51034,51035,51037,51038,51039,51041,51042,51043,51044,51045,51046,51047,51049,51050,51052,51053,51054,51055,51056,51057,51058,51059,51062,51063,51065,51066,51067,51071,51072,51073,51074,51078,51083,51084,51085,51087,51090,51091,51093,51097,51099,51100,51101,51102,51103,51106,51111,51112,51113,51114,51115,51118,51119,51121,51122,51123,51125,51126,51127,51128,51129,51130,51131,51134,51138,51139,51140,51141,51142,51143,51146,51147,51149,51151,51153,51154,51155,51156,51157,51158,51159,51161,51162,51163,51164,51166,51167,51168,51169,51170,51171,51173,51174,51175,51177,51178,51179,51181,51182,51183,51184,51185,51186,51187,51188,51189,51190,51191,51192,51193,51194,51195,51196,51197,51198,51199,51202,51203,51205,51206,51207,51209,51211,51212,51213,51214,51215,51218,51220,51223,51224,51225,51226,51227,51230,51231,51233,51234,51235,51237,51238,51239,51240,51241,51242,51243,51246,51248,51250,51251,51252,51253,51254,51255,51257,51258,51259,51261,51262,51263,51265,51266,51267,51268,51269,51270,51271,51274,51275,51278,51279,51280,51281,51282,51283,51285,51286,51287,51288,51289,51290,51291,51292,51293,51294,51295,51296,51297,51298,51299,51300,51301,51302,51303,51304,51305,51306,51307,51308,51309,51310,51311,51314,51315,51317,51318,51319,51321,51323,51324,51325,51326,51327,51330,51332,51336,51337,51338,51342,51343,51344,51345,51346,51347,51349,51350,51351,51352,51353,51354,51355,51356,51358,51360,51362,51363,51364,51365,51366,51367,51369,51370,51371,51372,51373,51374,51375,51376,51377,51378,51379,51380,51381,51382,51383,51384,51385,51386,51387,51390,51391,51392,51393,51394,51395,51397,51398,51399,51401,51402,51403,51405,51406,51407,51408,51409,51410,51411,51414,51416,51418,51419,51420,51421,51422,51423,51426,51427,51429,51430,51431,51432,51433,51434,51435,51436,51437,51438,51439,51440,51441,51442,51443,51444,51446,51447,51448,51449,51450,51451,51454,51455,51457,51458,51459,51463,51464,51465,51466,51467,51470,12288,12289,12290,183,8229,8230,168,12291,173,8213,8741,65340,8764,8216,8217,8220,8221,12308,12309,12296,12297,12298,12299,12300,12301,12302,12303,12304,12305,177,215,247,8800,8804,8805,8734,8756,176,8242,8243,8451,8491,65504,65505,65509,9794,9792,8736,8869,8978,8706,8711,8801,8786,167,8251,9734,9733,9675,9679,9678,9671,9670,9633,9632,9651,9650,9661,9660,8594,8592,8593,8595,8596,12307,8810,8811,8730,8765,8733,8757,8747,8748,8712,8715,8838,8839,8834,8835,8746,8745,8743,8744,65506,51472,51474,51475,51476,51477,51478,51479,51481,51482,51483,51484,51485,51486,51487,51488,51489,51490,51491,51492,51493,51494,51495,51496,51497,51498,51499,51501,51502,51503,51504,51505,51506,51507,51509,51510,51511,51512,51513,51514,51515,51516,51517,51518,51519,51520,51521,51522,51523,51524,51525,51526,51527,51528,51529,51530,51531,51532,51533,51534,51535,51538,51539,51541,51542,51543,51545,51546,51547,51548,51549,51550,51551,51554,51556,51557,51558,51559,51560,51561,51562,51563,51565,51566,51567,8658,8660,8704,8707,180,65374,711,728,733,730,729,184,731,161,191,720,8750,8721,8719,164,8457,8240,9665,9664,9655,9654,9828,9824,9825,9829,9831,9827,8857,9672,9635,9680,9681,9618,9636,9637,9640,9639,9638,9641,9832,9743,9742,9756,9758,182,8224,8225,8597,8599,8601,8598,8600,9837,9833,9834,9836,12927,12828,8470,13255,8482,13250,13272,8481,8364,174,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,51569,51570,51571,51573,51574,51575,51576,51577,51578,51579,51581,51582,51583,51584,51585,51586,51587,51588,51589,51590,51591,51594,51595,51597,51598,51599,51601,51602,51603,51604,51605,51606,51607,51610,51612,51614,51615,51616,51617,51618,51619,51620,51621,51622,51623,51624,51625,51626,51627,51628,51629,51630,51631,51632,51633,51634,51635,51636,51637,51638,51639,51640,51641,51642,51643,51644,51645,51646,51647,51650,51651,51653,51654,51657,51659,51660,51661,51662,51663,51666,51668,51671,51672,51675,65281,65282,65283,65284,65285,65286,65287,65288,65289,65290,65291,65292,65293,65294,65295,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,65306,65307,65308,65309,65310,65311,65312,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65339,65510,65341,65342,65343,65344,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,65371,65372,65373,65507,51678,51679,51681,51683,51685,51686,51688,51689,51690,51691,51694,51698,51699,51700,51701,51702,51703,51706,51707,51709,51710,51711,51713,51714,51715,51716,51717,51718,51719,51722,51726,51727,51728,51729,51730,51731,51733,51734,51735,51737,51738,51739,51740,51741,51742,51743,51744,51745,51746,51747,51748,51749,51750,51751,51752,51754,51755,51756,51757,51758,51759,51760,51761,51762,51763,51764,51765,51766,51767,51768,51769,51770,51771,51772,51773,51774,51775,51776,51777,51778,51779,51780,51781,51782,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,51783,51784,51785,51786,51787,51790,51791,51793,51794,51795,51797,51798,51799,51800,51801,51802,51803,51806,51810,51811,51812,51813,51814,51815,51817,51818,51819,51820,51821,51822,51823,51824,51825,51826,51827,51828,51829,51830,51831,51832,51833,51834,51835,51836,51838,51839,51840,51841,51842,51843,51845,51846,51847,51848,51849,51850,51851,51852,51853,51854,51855,51856,51857,51858,51859,51860,51861,51862,51863,51865,51866,51867,51868,51869,51870,51871,51872,51873,51874,51875,51876,51877,51878,51879,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,null,null,null,null,null,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,null,null,null,null,null,null,null,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,null,null,null,null,null,null,null,null,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,null,null,null,null,null,null,51880,51881,51882,51883,51884,51885,51886,51887,51888,51889,51890,51891,51892,51893,51894,51895,51896,51897,51898,51899,51902,51903,51905,51906,51907,51909,51910,51911,51912,51913,51914,51915,51918,51920,51922,51924,51925,51926,51927,51930,51931,51932,51933,51934,51935,51937,51938,51939,51940,51941,51942,51943,51944,51945,51946,51947,51949,51950,51951,51952,51953,51954,51955,51957,51958,51959,51960,51961,51962,51963,51964,51965,51966,51967,51968,51969,51970,51971,51972,51973,51974,51975,51977,51978,9472,9474,9484,9488,9496,9492,9500,9516,9508,9524,9532,9473,9475,9487,9491,9499,9495,9507,9523,9515,9531,9547,9504,9519,9512,9527,9535,9501,9520,9509,9528,9538,9490,9489,9498,9497,9494,9493,9486,9485,9502,9503,9505,9506,9510,9511,9513,9514,9517,9518,9521,9522,9525,9526,9529,9530,9533,9534,9536,9537,9539,9540,9541,9542,9543,9544,9545,9546,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,51979,51980,51981,51982,51983,51985,51986,51987,51989,51990,51991,51993,51994,51995,51996,51997,51998,51999,52002,52003,52004,52005,52006,52007,52008,52009,52010,52011,52012,52013,52014,52015,52016,52017,52018,52019,52020,52021,52022,52023,52024,52025,52026,52027,52028,52029,52030,52031,52032,52034,52035,52036,52037,52038,52039,52042,52043,52045,52046,52047,52049,52050,52051,52052,52053,52054,52055,52058,52059,52060,52062,52063,52064,52065,52066,52067,52069,52070,52071,52072,52073,52074,52075,52076,13205,13206,13207,8467,13208,13252,13219,13220,13221,13222,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13258,13197,13198,13199,13263,13192,13193,13256,13223,13224,13232,13233,13234,13235,13236,13237,13238,13239,13240,13241,13184,13185,13186,13187,13188,13242,13243,13244,13245,13246,13247,13200,13201,13202,13203,13204,8486,13248,13249,13194,13195,13196,13270,13253,13229,13230,13231,13275,13225,13226,13227,13228,13277,13264,13267,13251,13257,13276,13254,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52077,52078,52079,52080,52081,52082,52083,52084,52085,52086,52087,52090,52091,52092,52093,52094,52095,52096,52097,52098,52099,52100,52101,52102,52103,52104,52105,52106,52107,52108,52109,52110,52111,52112,52113,52114,52115,52116,52117,52118,52119,52120,52121,52122,52123,52125,52126,52127,52128,52129,52130,52131,52132,52133,52134,52135,52136,52137,52138,52139,52140,52141,52142,52143,52144,52145,52146,52147,52148,52149,52150,52151,52153,52154,52155,52156,52157,52158,52159,52160,52161,52162,52163,52164,198,208,170,294,null,306,null,319,321,216,338,186,222,358,330,null,12896,12897,12898,12899,12900,12901,12902,12903,12904,12905,12906,12907,12908,12909,12910,12911,12912,12913,12914,12915,12916,12917,12918,12919,12920,12921,12922,12923,9424,9425,9426,9427,9428,9429,9430,9431,9432,9433,9434,9435,9436,9437,9438,9439,9440,9441,9442,9443,9444,9445,9446,9447,9448,9449,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,9323,9324,9325,9326,189,8531,8532,188,190,8539,8540,8541,8542,52165,52166,52167,52168,52169,52170,52171,52172,52173,52174,52175,52176,52177,52178,52179,52181,52182,52183,52184,52185,52186,52187,52188,52189,52190,52191,52192,52193,52194,52195,52197,52198,52200,52202,52203,52204,52205,52206,52207,52208,52209,52210,52211,52212,52213,52214,52215,52216,52217,52218,52219,52220,52221,52222,52223,52224,52225,52226,52227,52228,52229,52230,52231,52232,52233,52234,52235,52238,52239,52241,52242,52243,52245,52246,52247,52248,52249,52250,52251,52254,52255,52256,52259,52260,230,273,240,295,305,307,312,320,322,248,339,223,254,359,331,329,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,12811,12812,12813,12814,12815,12816,12817,12818,12819,12820,12821,12822,12823,12824,12825,12826,12827,9372,9373,9374,9375,9376,9377,9378,9379,9380,9381,9382,9383,9384,9385,9386,9387,9388,9389,9390,9391,9392,9393,9394,9395,9396,9397,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,185,178,179,8308,8319,8321,8322,8323,8324,52261,52262,52266,52267,52269,52271,52273,52274,52275,52276,52277,52278,52279,52282,52287,52288,52289,52290,52291,52294,52295,52297,52298,52299,52301,52302,52303,52304,52305,52306,52307,52310,52314,52315,52316,52317,52318,52319,52321,52322,52323,52325,52327,52329,52330,52331,52332,52333,52334,52335,52337,52338,52339,52340,52342,52343,52344,52345,52346,52347,52348,52349,52350,52351,52352,52353,52354,52355,52356,52357,52358,52359,52360,52361,52362,52363,52364,52365,52366,52367,52368,52369,52370,52371,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,null,null,null,null,null,null,null,null,null,null,null,52372,52373,52374,52375,52378,52379,52381,52382,52383,52385,52386,52387,52388,52389,52390,52391,52394,52398,52399,52400,52401,52402,52403,52406,52407,52409,52410,52411,52413,52414,52415,52416,52417,52418,52419,52422,52424,52426,52427,52428,52429,52430,52431,52433,52434,52435,52437,52438,52439,52440,52441,52442,52443,52444,52445,52446,52447,52448,52449,52450,52451,52453,52454,52455,52456,52457,52458,52459,52461,52462,52463,52465,52466,52467,52468,52469,52470,52471,52472,52473,52474,52475,52476,52477,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,null,null,null,null,null,null,null,null,52478,52479,52480,52482,52483,52484,52485,52486,52487,52490,52491,52493,52494,52495,52497,52498,52499,52500,52501,52502,52503,52506,52508,52510,52511,52512,52513,52514,52515,52517,52518,52519,52521,52522,52523,52525,52526,52527,52528,52529,52530,52531,52532,52533,52534,52535,52536,52538,52539,52540,52541,52542,52543,52544,52545,52546,52547,52548,52549,52550,52551,52552,52553,52554,52555,52556,52557,52558,52559,52560,52561,52562,52563,52564,52565,52566,52567,52568,52569,52570,52571,52573,52574,52575,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,null,null,null,null,null,null,null,null,null,null,null,null,null,52577,52578,52579,52581,52582,52583,52584,52585,52586,52587,52590,52592,52594,52595,52596,52597,52598,52599,52601,52602,52603,52604,52605,52606,52607,52608,52609,52610,52611,52612,52613,52614,52615,52617,52618,52619,52620,52621,52622,52623,52624,52625,52626,52627,52630,52631,52633,52634,52635,52637,52638,52639,52640,52641,52642,52643,52646,52648,52650,52651,52652,52653,52654,52655,52657,52658,52659,52660,52661,52662,52663,52664,52665,52666,52667,52668,52669,52670,52671,52672,52673,52674,52675,52677,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52678,52679,52680,52681,52682,52683,52685,52686,52687,52689,52690,52691,52692,52693,52694,52695,52696,52697,52698,52699,52700,52701,52702,52703,52704,52705,52706,52707,52708,52709,52710,52711,52713,52714,52715,52717,52718,52719,52721,52722,52723,52724,52725,52726,52727,52730,52732,52734,52735,52736,52737,52738,52739,52741,52742,52743,52745,52746,52747,52749,52750,52751,52752,52753,52754,52755,52757,52758,52759,52760,52762,52763,52764,52765,52766,52767,52770,52771,52773,52774,52775,52777,52778,52779,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52780,52781,52782,52783,52786,52788,52790,52791,52792,52793,52794,52795,52796,52797,52798,52799,52800,52801,52802,52803,52804,52805,52806,52807,52808,52809,52810,52811,52812,52813,52814,52815,52816,52817,52818,52819,52820,52821,52822,52823,52826,52827,52829,52830,52834,52835,52836,52837,52838,52839,52842,52844,52846,52847,52848,52849,52850,52851,52854,52855,52857,52858,52859,52861,52862,52863,52864,52865,52866,52867,52870,52872,52874,52875,52876,52877,52878,52879,52882,52883,52885,52886,52887,52889,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52890,52891,52892,52893,52894,52895,52898,52902,52903,52904,52905,52906,52907,52910,52911,52912,52913,52914,52915,52916,52917,52918,52919,52920,52921,52922,52923,52924,52925,52926,52927,52928,52930,52931,52932,52933,52934,52935,52936,52937,52938,52939,52940,52941,52942,52943,52944,52945,52946,52947,52948,52949,52950,52951,52952,52953,52954,52955,52956,52957,52958,52959,52960,52961,52962,52963,52966,52967,52969,52970,52973,52974,52975,52976,52977,52978,52979,52982,52986,52987,52988,52989,52990,52991,44032,44033,44036,44039,44040,44041,44042,44048,44049,44050,44051,44052,44053,44054,44055,44057,44058,44059,44060,44061,44064,44068,44076,44077,44079,44080,44081,44088,44089,44092,44096,44107,44109,44116,44120,44124,44144,44145,44148,44151,44152,44154,44160,44161,44163,44164,44165,44166,44169,44170,44171,44172,44176,44180,44188,44189,44191,44192,44193,44200,44201,44202,44204,44207,44208,44216,44217,44219,44220,44221,44225,44228,44232,44236,44245,44247,44256,44257,44260,44263,44264,44266,44268,44271,44272,44273,44275,44277,44278,44284,44285,44288,44292,44294,52994,52995,52997,52998,52999,53001,53002,53003,53004,53005,53006,53007,53010,53012,53014,53015,53016,53017,53018,53019,53021,53022,53023,53025,53026,53027,53029,53030,53031,53032,53033,53034,53035,53038,53042,53043,53044,53045,53046,53047,53049,53050,53051,53052,53053,53054,53055,53056,53057,53058,53059,53060,53061,53062,53063,53064,53065,53066,53067,53068,53069,53070,53071,53072,53073,53074,53075,53078,53079,53081,53082,53083,53085,53086,53087,53088,53089,53090,53091,53094,53096,53098,53099,53100,44300,44301,44303,44305,44312,44316,44320,44329,44332,44333,44340,44341,44344,44348,44356,44357,44359,44361,44368,44372,44376,44385,44387,44396,44397,44400,44403,44404,44405,44406,44411,44412,44413,44415,44417,44418,44424,44425,44428,44432,44444,44445,44452,44471,44480,44481,44484,44488,44496,44497,44499,44508,44512,44516,44536,44537,44540,44543,44544,44545,44552,44553,44555,44557,44564,44592,44593,44596,44599,44600,44602,44608,44609,44611,44613,44614,44618,44620,44621,44622,44624,44628,44630,44636,44637,44639,44640,44641,44645,44648,44649,44652,44656,44664,53101,53102,53103,53106,53107,53109,53110,53111,53113,53114,53115,53116,53117,53118,53119,53121,53122,53123,53124,53126,53127,53128,53129,53130,53131,53133,53134,53135,53136,53137,53138,53139,53140,53141,53142,53143,53144,53145,53146,53147,53148,53149,53150,53151,53152,53154,53155,53156,53157,53158,53159,53161,53162,53163,53164,53165,53166,53167,53169,53170,53171,53172,53173,53174,53175,53176,53177,53178,53179,53180,53181,53182,53183,53184,53185,53186,53187,53189,53190,53191,53192,53193,53194,53195,44665,44667,44668,44669,44676,44677,44684,44732,44733,44734,44736,44740,44748,44749,44751,44752,44753,44760,44761,44764,44776,44779,44781,44788,44792,44796,44807,44808,44813,44816,44844,44845,44848,44850,44852,44860,44861,44863,44865,44866,44867,44872,44873,44880,44892,44893,44900,44901,44921,44928,44932,44936,44944,44945,44949,44956,44984,44985,44988,44992,44999,45000,45001,45003,45005,45006,45012,45020,45032,45033,45040,45041,45044,45048,45056,45057,45060,45068,45072,45076,45084,45085,45096,45124,45125,45128,45130,45132,45134,45139,45140,45141,45143,45145,53196,53197,53198,53199,53200,53201,53202,53203,53204,53205,53206,53207,53208,53209,53210,53211,53212,53213,53214,53215,53218,53219,53221,53222,53223,53225,53226,53227,53228,53229,53230,53231,53234,53236,53238,53239,53240,53241,53242,53243,53245,53246,53247,53249,53250,53251,53253,53254,53255,53256,53257,53258,53259,53260,53261,53262,53263,53264,53266,53267,53268,53269,53270,53271,53273,53274,53275,53276,53277,53278,53279,53280,53281,53282,53283,53284,53285,53286,53287,53288,53289,53290,53291,53292,45149,45180,45181,45184,45188,45196,45197,45199,45201,45208,45209,45210,45212,45215,45216,45217,45218,45224,45225,45227,45228,45229,45230,45231,45233,45235,45236,45237,45240,45244,45252,45253,45255,45256,45257,45264,45265,45268,45272,45280,45285,45320,45321,45323,45324,45328,45330,45331,45336,45337,45339,45340,45341,45347,45348,45349,45352,45356,45364,45365,45367,45368,45369,45376,45377,45380,45384,45392,45393,45396,45397,45400,45404,45408,45432,45433,45436,45440,45442,45448,45449,45451,45453,45458,45459,45460,45464,45468,45480,45516,45520,45524,45532,45533,53294,53295,53296,53297,53298,53299,53302,53303,53305,53306,53307,53309,53310,53311,53312,53313,53314,53315,53318,53320,53322,53323,53324,53325,53326,53327,53329,53330,53331,53333,53334,53335,53337,53338,53339,53340,53341,53342,53343,53345,53346,53347,53348,53349,53350,53351,53352,53353,53354,53355,53358,53359,53361,53362,53363,53365,53366,53367,53368,53369,53370,53371,53374,53375,53376,53378,53379,53380,53381,53382,53383,53384,53385,53386,53387,53388,53389,53390,53391,53392,53393,53394,53395,53396,45535,45544,45545,45548,45552,45561,45563,45565,45572,45573,45576,45579,45580,45588,45589,45591,45593,45600,45620,45628,45656,45660,45664,45672,45673,45684,45685,45692,45700,45701,45705,45712,45713,45716,45720,45721,45722,45728,45729,45731,45733,45734,45738,45740,45744,45748,45768,45769,45772,45776,45778,45784,45785,45787,45789,45794,45796,45797,45798,45800,45803,45804,45805,45806,45807,45811,45812,45813,45815,45816,45817,45818,45819,45823,45824,45825,45828,45832,45840,45841,45843,45844,45845,45852,45908,45909,45910,45912,45915,45916,45918,45919,45924,45925,53397,53398,53399,53400,53401,53402,53403,53404,53405,53406,53407,53408,53409,53410,53411,53414,53415,53417,53418,53419,53421,53422,53423,53424,53425,53426,53427,53430,53432,53434,53435,53436,53437,53438,53439,53442,53443,53445,53446,53447,53450,53451,53452,53453,53454,53455,53458,53462,53463,53464,53465,53466,53467,53470,53471,53473,53474,53475,53477,53478,53479,53480,53481,53482,53483,53486,53490,53491,53492,53493,53494,53495,53497,53498,53499,53500,53501,53502,53503,53504,53505,53506,53507,53508,45927,45929,45931,45934,45936,45937,45940,45944,45952,45953,45955,45956,45957,45964,45968,45972,45984,45985,45992,45996,46020,46021,46024,46027,46028,46030,46032,46036,46037,46039,46041,46043,46045,46048,46052,46056,46076,46096,46104,46108,46112,46120,46121,46123,46132,46160,46161,46164,46168,46176,46177,46179,46181,46188,46208,46216,46237,46244,46248,46252,46261,46263,46265,46272,46276,46280,46288,46293,46300,46301,46304,46307,46308,46310,46316,46317,46319,46321,46328,46356,46357,46360,46363,46364,46372,46373,46375,46376,46377,46378,46384,46385,46388,46392,53509,53510,53511,53512,53513,53514,53515,53516,53518,53519,53520,53521,53522,53523,53524,53525,53526,53527,53528,53529,53530,53531,53532,53533,53534,53535,53536,53537,53538,53539,53540,53541,53542,53543,53544,53545,53546,53547,53548,53549,53550,53551,53554,53555,53557,53558,53559,53561,53563,53564,53565,53566,53567,53570,53574,53575,53576,53577,53578,53579,53582,53583,53585,53586,53587,53589,53590,53591,53592,53593,53594,53595,53598,53600,53602,53603,53604,53605,53606,53607,53609,53610,53611,53613,46400,46401,46403,46404,46405,46411,46412,46413,46416,46420,46428,46429,46431,46432,46433,46496,46497,46500,46504,46506,46507,46512,46513,46515,46516,46517,46523,46524,46525,46528,46532,46540,46541,46543,46544,46545,46552,46572,46608,46609,46612,46616,46629,46636,46644,46664,46692,46696,46748,46749,46752,46756,46763,46764,46769,46804,46832,46836,46840,46848,46849,46853,46888,46889,46892,46895,46896,46904,46905,46907,46916,46920,46924,46932,46933,46944,46948,46952,46960,46961,46963,46965,46972,46973,46976,46980,46988,46989,46991,46992,46993,46994,46998,46999,53614,53615,53616,53617,53618,53619,53620,53621,53622,53623,53624,53625,53626,53627,53629,53630,53631,53632,53633,53634,53635,53637,53638,53639,53641,53642,53643,53644,53645,53646,53647,53648,53649,53650,53651,53652,53653,53654,53655,53656,53657,53658,53659,53660,53661,53662,53663,53666,53667,53669,53670,53671,53673,53674,53675,53676,53677,53678,53679,53682,53684,53686,53687,53688,53689,53691,53693,53694,53695,53697,53698,53699,53700,53701,53702,53703,53704,53705,53706,53707,53708,53709,53710,53711,47000,47001,47004,47008,47016,47017,47019,47020,47021,47028,47029,47032,47047,47049,47084,47085,47088,47092,47100,47101,47103,47104,47105,47111,47112,47113,47116,47120,47128,47129,47131,47133,47140,47141,47144,47148,47156,47157,47159,47160,47161,47168,47172,47185,47187,47196,47197,47200,47204,47212,47213,47215,47217,47224,47228,47245,47272,47280,47284,47288,47296,47297,47299,47301,47308,47312,47316,47325,47327,47329,47336,47337,47340,47344,47352,47353,47355,47357,47364,47384,47392,47420,47421,47424,47428,47436,47439,47441,47448,47449,47452,47456,47464,47465,53712,53713,53714,53715,53716,53717,53718,53719,53721,53722,53723,53724,53725,53726,53727,53728,53729,53730,53731,53732,53733,53734,53735,53736,53737,53738,53739,53740,53741,53742,53743,53744,53745,53746,53747,53749,53750,53751,53753,53754,53755,53756,53757,53758,53759,53760,53761,53762,53763,53764,53765,53766,53768,53770,53771,53772,53773,53774,53775,53777,53778,53779,53780,53781,53782,53783,53784,53785,53786,53787,53788,53789,53790,53791,53792,53793,53794,53795,53796,53797,53798,53799,53800,53801,47467,47469,47476,47477,47480,47484,47492,47493,47495,47497,47498,47501,47502,47532,47533,47536,47540,47548,47549,47551,47553,47560,47561,47564,47566,47567,47568,47569,47570,47576,47577,47579,47581,47582,47585,47587,47588,47589,47592,47596,47604,47605,47607,47608,47609,47610,47616,47617,47624,47637,47672,47673,47676,47680,47682,47688,47689,47691,47693,47694,47699,47700,47701,47704,47708,47716,47717,47719,47720,47721,47728,47729,47732,47736,47747,47748,47749,47751,47756,47784,47785,47787,47788,47792,47794,47800,47801,47803,47805,47812,47816,47832,47833,47868,53802,53803,53806,53807,53809,53810,53811,53813,53814,53815,53816,53817,53818,53819,53822,53824,53826,53827,53828,53829,53830,53831,53833,53834,53835,53836,53837,53838,53839,53840,53841,53842,53843,53844,53845,53846,53847,53848,53849,53850,53851,53853,53854,53855,53856,53857,53858,53859,53861,53862,53863,53864,53865,53866,53867,53868,53869,53870,53871,53872,53873,53874,53875,53876,53877,53878,53879,53880,53881,53882,53883,53884,53885,53886,53887,53890,53891,53893,53894,53895,53897,53898,53899,53900,47872,47876,47885,47887,47889,47896,47900,47904,47913,47915,47924,47925,47926,47928,47931,47932,47933,47934,47940,47941,47943,47945,47949,47951,47952,47956,47960,47969,47971,47980,48008,48012,48016,48036,48040,48044,48052,48055,48064,48068,48072,48080,48083,48120,48121,48124,48127,48128,48130,48136,48137,48139,48140,48141,48143,48145,48148,48149,48150,48151,48152,48155,48156,48157,48158,48159,48164,48165,48167,48169,48173,48176,48177,48180,48184,48192,48193,48195,48196,48197,48201,48204,48205,48208,48221,48260,48261,48264,48267,48268,48270,48276,48277,48279,53901,53902,53903,53906,53907,53908,53910,53911,53912,53913,53914,53915,53917,53918,53919,53921,53922,53923,53925,53926,53927,53928,53929,53930,53931,53933,53934,53935,53936,53938,53939,53940,53941,53942,53943,53946,53947,53949,53950,53953,53955,53956,53957,53958,53959,53962,53964,53965,53966,53967,53968,53969,53970,53971,53973,53974,53975,53977,53978,53979,53981,53982,53983,53984,53985,53986,53987,53990,53991,53992,53993,53994,53995,53996,53997,53998,53999,54002,54003,54005,54006,54007,54009,54010,48281,48282,48288,48289,48292,48295,48296,48304,48305,48307,48308,48309,48316,48317,48320,48324,48333,48335,48336,48337,48341,48344,48348,48372,48373,48374,48376,48380,48388,48389,48391,48393,48400,48404,48420,48428,48448,48456,48457,48460,48464,48472,48473,48484,48488,48512,48513,48516,48519,48520,48521,48522,48528,48529,48531,48533,48537,48538,48540,48548,48560,48568,48596,48597,48600,48604,48617,48624,48628,48632,48640,48643,48645,48652,48653,48656,48660,48668,48669,48671,48708,48709,48712,48716,48718,48724,48725,48727,48729,48730,48731,48736,48737,48740,54011,54012,54013,54014,54015,54018,54020,54022,54023,54024,54025,54026,54027,54031,54033,54034,54035,54037,54039,54040,54041,54042,54043,54046,54050,54051,54052,54054,54055,54058,54059,54061,54062,54063,54065,54066,54067,54068,54069,54070,54071,54074,54078,54079,54080,54081,54082,54083,54086,54087,54088,54089,54090,54091,54092,54093,54094,54095,54096,54097,54098,54099,54100,54101,54102,54103,54104,54105,54106,54107,54108,54109,54110,54111,54112,54113,54114,54115,54116,54117,54118,54119,54120,54121,48744,48746,48752,48753,48755,48756,48757,48763,48764,48765,48768,48772,48780,48781,48783,48784,48785,48792,48793,48808,48848,48849,48852,48855,48856,48864,48867,48868,48869,48876,48897,48904,48905,48920,48921,48923,48924,48925,48960,48961,48964,48968,48976,48977,48981,49044,49072,49093,49100,49101,49104,49108,49116,49119,49121,49212,49233,49240,49244,49248,49256,49257,49296,49297,49300,49304,49312,49313,49315,49317,49324,49325,49327,49328,49331,49332,49333,49334,49340,49341,49343,49344,49345,49349,49352,49353,49356,49360,49368,49369,49371,49372,49373,49380,54122,54123,54124,54125,54126,54127,54128,54129,54130,54131,54132,54133,54134,54135,54136,54137,54138,54139,54142,54143,54145,54146,54147,54149,54150,54151,54152,54153,54154,54155,54158,54162,54163,54164,54165,54166,54167,54170,54171,54173,54174,54175,54177,54178,54179,54180,54181,54182,54183,54186,54188,54190,54191,54192,54193,54194,54195,54197,54198,54199,54201,54202,54203,54205,54206,54207,54208,54209,54210,54211,54214,54215,54218,54219,54220,54221,54222,54223,54225,54226,54227,54228,54229,54230,49381,49384,49388,49396,49397,49399,49401,49408,49412,49416,49424,49429,49436,49437,49438,49439,49440,49443,49444,49446,49447,49452,49453,49455,49456,49457,49462,49464,49465,49468,49472,49480,49481,49483,49484,49485,49492,49493,49496,49500,49508,49509,49511,49512,49513,49520,49524,49528,49541,49548,49549,49550,49552,49556,49558,49564,49565,49567,49569,49573,49576,49577,49580,49584,49597,49604,49608,49612,49620,49623,49624,49632,49636,49640,49648,49649,49651,49660,49661,49664,49668,49676,49677,49679,49681,49688,49689,49692,49695,49696,49704,49705,49707,49709,54231,54233,54234,54235,54236,54237,54238,54239,54240,54242,54244,54245,54246,54247,54248,54249,54250,54251,54254,54255,54257,54258,54259,54261,54262,54263,54264,54265,54266,54267,54270,54272,54274,54275,54276,54277,54278,54279,54281,54282,54283,54284,54285,54286,54287,54288,54289,54290,54291,54292,54293,54294,54295,54296,54297,54298,54299,54300,54302,54303,54304,54305,54306,54307,54308,54309,54310,54311,54312,54313,54314,54315,54316,54317,54318,54319,54320,54321,54322,54323,54324,54325,54326,54327,49711,49713,49714,49716,49736,49744,49745,49748,49752,49760,49765,49772,49773,49776,49780,49788,49789,49791,49793,49800,49801,49808,49816,49819,49821,49828,49829,49832,49836,49837,49844,49845,49847,49849,49884,49885,49888,49891,49892,49899,49900,49901,49903,49905,49910,49912,49913,49915,49916,49920,49928,49929,49932,49933,49939,49940,49941,49944,49948,49956,49957,49960,49961,49989,50024,50025,50028,50032,50034,50040,50041,50044,50045,50052,50056,50060,50112,50136,50137,50140,50143,50144,50146,50152,50153,50157,50164,50165,50168,50184,50192,50212,50220,50224,54328,54329,54330,54331,54332,54333,54334,54335,54337,54338,54339,54341,54342,54343,54344,54345,54346,54347,54348,54349,54350,54351,54352,54353,54354,54355,54356,54357,54358,54359,54360,54361,54362,54363,54365,54366,54367,54369,54370,54371,54373,54374,54375,54376,54377,54378,54379,54380,54382,54384,54385,54386,54387,54388,54389,54390,54391,54394,54395,54397,54398,54401,54403,54404,54405,54406,54407,54410,54412,54414,54415,54416,54417,54418,54419,54421,54422,54423,54424,54425,54426,54427,54428,54429,50228,50236,50237,50248,50276,50277,50280,50284,50292,50293,50297,50304,50324,50332,50360,50364,50409,50416,50417,50420,50424,50426,50431,50432,50433,50444,50448,50452,50460,50472,50473,50476,50480,50488,50489,50491,50493,50500,50501,50504,50505,50506,50508,50509,50510,50515,50516,50517,50519,50520,50521,50525,50526,50528,50529,50532,50536,50544,50545,50547,50548,50549,50556,50557,50560,50564,50567,50572,50573,50575,50577,50581,50583,50584,50588,50592,50601,50612,50613,50616,50617,50619,50620,50621,50622,50628,50629,50630,50631,50632,50633,50634,50636,50638,54430,54431,54432,54433,54434,54435,54436,54437,54438,54439,54440,54442,54443,54444,54445,54446,54447,54448,54449,54450,54451,54452,54453,54454,54455,54456,54457,54458,54459,54460,54461,54462,54463,54464,54465,54466,54467,54468,54469,54470,54471,54472,54473,54474,54475,54477,54478,54479,54481,54482,54483,54485,54486,54487,54488,54489,54490,54491,54493,54494,54496,54497,54498,54499,54500,54501,54502,54503,54505,54506,54507,54509,54510,54511,54513,54514,54515,54516,54517,54518,54519,54521,54522,54524,50640,50641,50644,50648,50656,50657,50659,50661,50668,50669,50670,50672,50676,50678,50679,50684,50685,50686,50687,50688,50689,50693,50694,50695,50696,50700,50704,50712,50713,50715,50716,50724,50725,50728,50732,50733,50734,50736,50739,50740,50741,50743,50745,50747,50752,50753,50756,50760,50768,50769,50771,50772,50773,50780,50781,50784,50796,50799,50801,50808,50809,50812,50816,50824,50825,50827,50829,50836,50837,50840,50844,50852,50853,50855,50857,50864,50865,50868,50872,50873,50874,50880,50881,50883,50885,50892,50893,50896,50900,50908,50909,50912,50913,50920,54526,54527,54528,54529,54530,54531,54533,54534,54535,54537,54538,54539,54541,54542,54543,54544,54545,54546,54547,54550,54552,54553,54554,54555,54556,54557,54558,54559,54560,54561,54562,54563,54564,54565,54566,54567,54568,54569,54570,54571,54572,54573,54574,54575,54576,54577,54578,54579,54580,54581,54582,54583,54584,54585,54586,54587,54590,54591,54593,54594,54595,54597,54598,54599,54600,54601,54602,54603,54606,54608,54610,54611,54612,54613,54614,54615,54618,54619,54621,54622,54623,54625,54626,54627,50921,50924,50928,50936,50937,50941,50948,50949,50952,50956,50964,50965,50967,50969,50976,50977,50980,50984,50992,50993,50995,50997,50999,51004,51005,51008,51012,51018,51020,51021,51023,51025,51026,51027,51028,51029,51030,51031,51032,51036,51040,51048,51051,51060,51061,51064,51068,51069,51070,51075,51076,51077,51079,51080,51081,51082,51086,51088,51089,51092,51094,51095,51096,51098,51104,51105,51107,51108,51109,51110,51116,51117,51120,51124,51132,51133,51135,51136,51137,51144,51145,51148,51150,51152,51160,51165,51172,51176,51180,51200,51201,51204,51208,51210,54628,54630,54631,54634,54636,54638,54639,54640,54641,54642,54643,54646,54647,54649,54650,54651,54653,54654,54655,54656,54657,54658,54659,54662,54666,54667,54668,54669,54670,54671,54673,54674,54675,54676,54677,54678,54679,54680,54681,54682,54683,54684,54685,54686,54687,54688,54689,54690,54691,54692,54694,54695,54696,54697,54698,54699,54700,54701,54702,54703,54704,54705,54706,54707,54708,54709,54710,54711,54712,54713,54714,54715,54716,54717,54718,54719,54720,54721,54722,54723,54724,54725,54726,54727,51216,51217,51219,51221,51222,51228,51229,51232,51236,51244,51245,51247,51249,51256,51260,51264,51272,51273,51276,51277,51284,51312,51313,51316,51320,51322,51328,51329,51331,51333,51334,51335,51339,51340,51341,51348,51357,51359,51361,51368,51388,51389,51396,51400,51404,51412,51413,51415,51417,51424,51425,51428,51445,51452,51453,51456,51460,51461,51462,51468,51469,51471,51473,51480,51500,51508,51536,51537,51540,51544,51552,51553,51555,51564,51568,51572,51580,51592,51593,51596,51600,51608,51609,51611,51613,51648,51649,51652,51655,51656,51658,51664,51665,51667,54730,54731,54733,54734,54735,54737,54739,54740,54741,54742,54743,54746,54748,54750,54751,54752,54753,54754,54755,54758,54759,54761,54762,54763,54765,54766,54767,54768,54769,54770,54771,54774,54776,54778,54779,54780,54781,54782,54783,54786,54787,54789,54790,54791,54793,54794,54795,54796,54797,54798,54799,54802,54806,54807,54808,54809,54810,54811,54813,54814,54815,54817,54818,54819,54821,54822,54823,54824,54825,54826,54827,54828,54830,54831,54832,54833,54834,54835,54836,54837,54838,54839,54842,54843,51669,51670,51673,51674,51676,51677,51680,51682,51684,51687,51692,51693,51695,51696,51697,51704,51705,51708,51712,51720,51721,51723,51724,51725,51732,51736,51753,51788,51789,51792,51796,51804,51805,51807,51808,51809,51816,51837,51844,51864,51900,51901,51904,51908,51916,51917,51919,51921,51923,51928,51929,51936,51948,51956,51976,51984,51988,51992,52000,52001,52033,52040,52041,52044,52048,52056,52057,52061,52068,52088,52089,52124,52152,52180,52196,52199,52201,52236,52237,52240,52244,52252,52253,52257,52258,52263,52264,52265,52268,52270,52272,52280,52281,52283,54845,54846,54847,54849,54850,54851,54852,54854,54855,54858,54860,54862,54863,54864,54866,54867,54870,54871,54873,54874,54875,54877,54878,54879,54880,54881,54882,54883,54884,54885,54886,54888,54890,54891,54892,54893,54894,54895,54898,54899,54901,54902,54903,54904,54905,54906,54907,54908,54909,54910,54911,54912,54913,54914,54916,54918,54919,54920,54921,54922,54923,54926,54927,54929,54930,54931,54933,54934,54935,54936,54937,54938,54939,54940,54942,54944,54946,54947,54948,54949,54950,54951,54953,54954,52284,52285,52286,52292,52293,52296,52300,52308,52309,52311,52312,52313,52320,52324,52326,52328,52336,52341,52376,52377,52380,52384,52392,52393,52395,52396,52397,52404,52405,52408,52412,52420,52421,52423,52425,52432,52436,52452,52460,52464,52481,52488,52489,52492,52496,52504,52505,52507,52509,52516,52520,52524,52537,52572,52576,52580,52588,52589,52591,52593,52600,52616,52628,52629,52632,52636,52644,52645,52647,52649,52656,52676,52684,52688,52712,52716,52720,52728,52729,52731,52733,52740,52744,52748,52756,52761,52768,52769,52772,52776,52784,52785,52787,52789,54955,54957,54958,54959,54961,54962,54963,54964,54965,54966,54967,54968,54970,54972,54973,54974,54975,54976,54977,54978,54979,54982,54983,54985,54986,54987,54989,54990,54991,54992,54994,54995,54997,54998,55000,55002,55003,55004,55005,55006,55007,55009,55010,55011,55013,55014,55015,55017,55018,55019,55020,55021,55022,55023,55025,55026,55027,55028,55030,55031,55032,55033,55034,55035,55038,55039,55041,55042,55043,55045,55046,55047,55048,55049,55050,55051,55052,55053,55054,55055,55056,55058,55059,55060,52824,52825,52828,52831,52832,52833,52840,52841,52843,52845,52852,52853,52856,52860,52868,52869,52871,52873,52880,52881,52884,52888,52896,52897,52899,52900,52901,52908,52909,52929,52964,52965,52968,52971,52972,52980,52981,52983,52984,52985,52992,52993,52996,53000,53008,53009,53011,53013,53020,53024,53028,53036,53037,53039,53040,53041,53048,53076,53077,53080,53084,53092,53093,53095,53097,53104,53105,53108,53112,53120,53125,53132,53153,53160,53168,53188,53216,53217,53220,53224,53232,53233,53235,53237,53244,53248,53252,53265,53272,53293,53300,53301,53304,53308,55061,55062,55063,55066,55067,55069,55070,55071,55073,55074,55075,55076,55077,55078,55079,55082,55084,55086,55087,55088,55089,55090,55091,55094,55095,55097,55098,55099,55101,55102,55103,55104,55105,55106,55107,55109,55110,55112,55114,55115,55116,55117,55118,55119,55122,55123,55125,55130,55131,55132,55133,55134,55135,55138,55140,55142,55143,55144,55146,55147,55149,55150,55151,55153,55154,55155,55157,55158,55159,55160,55161,55162,55163,55166,55167,55168,55170,55171,55172,55173,55174,55175,55178,55179,53316,53317,53319,53321,53328,53332,53336,53344,53356,53357,53360,53364,53372,53373,53377,53412,53413,53416,53420,53428,53429,53431,53433,53440,53441,53444,53448,53449,53456,53457,53459,53460,53461,53468,53469,53472,53476,53484,53485,53487,53488,53489,53496,53517,53552,53553,53556,53560,53562,53568,53569,53571,53572,53573,53580,53581,53584,53588,53596,53597,53599,53601,53608,53612,53628,53636,53640,53664,53665,53668,53672,53680,53681,53683,53685,53690,53692,53696,53720,53748,53752,53767,53769,53776,53804,53805,53808,53812,53820,53821,53823,53825,53832,53852,55181,55182,55183,55185,55186,55187,55188,55189,55190,55191,55194,55196,55198,55199,55200,55201,55202,55203,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,53860,53888,53889,53892,53896,53904,53905,53909,53916,53920,53924,53932,53937,53944,53945,53948,53951,53952,53954,53960,53961,53963,53972,53976,53980,53988,53989,54000,54001,54004,54008,54016,54017,54019,54021,54028,54029,54030,54032,54036,54038,54044,54045,54047,54048,54049,54053,54056,54057,54060,54064,54072,54073,54075,54076,54077,54084,54085,54140,54141,54144,54148,54156,54157,54159,54160,54161,54168,54169,54172,54176,54184,54185,54187,54189,54196,54200,54204,54212,54213,54216,54217,54224,54232,54241,54243,54252,54253,54256,54260,54268,54269,54271,54273,54280,54301,54336,54340,54364,54368,54372,54381,54383,54392,54393,54396,54399,54400,54402,54408,54409,54411,54413,54420,54441,54476,54480,54484,54492,54495,54504,54508,54512,54520,54523,54525,54532,54536,54540,54548,54549,54551,54588,54589,54592,54596,54604,54605,54607,54609,54616,54617,54620,54624,54629,54632,54633,54635,54637,54644,54645,54648,54652,54660,54661,54663,54664,54665,54672,54693,54728,54729,54732,54736,54738,54744,54745,54747,54749,54756,54757,54760,54764,54772,54773,54775,54777,54784,54785,54788,54792,54800,54801,54803,54804,54805,54812,54816,54820,54829,54840,54841,54844,54848,54853,54856,54857,54859,54861,54865,54868,54869,54872,54876,54887,54889,54896,54897,54900,54915,54917,54924,54925,54928,54932,54941,54943,54945,54952,54956,54960,54969,54971,54980,54981,54984,54988,54993,54996,54999,55001,55008,55012,55016,55024,55029,55036,55037,55040,55044,55057,55064,55065,55068,55072,55080,55081,55083,55085,55092,55093,55096,55100,55108,55111,55113,55120,55121,55124,55126,55127,55128,55129,55136,55137,55139,55141,55145,55148,55152,55156,55164,55165,55169,55176,55177,55180,55184,55192,55193,55195,55197,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20285,20339,20551,20729,21152,21487,21621,21733,22025,23233,23478,26247,26550,26551,26607,27468,29634,30146,31292,33499,33540,34903,34952,35382,36040,36303,36603,36838,39381,21051,21364,21508,24682,24932,27580,29647,33050,35258,35282,38307,20355,21002,22718,22904,23014,24178,24185,25031,25536,26438,26604,26751,28567,30286,30475,30965,31240,31487,31777,32925,33390,33393,35563,38291,20075,21917,26359,28212,30883,31469,33883,35088,34638,38824,21208,22350,22570,23884,24863,25022,25121,25954,26577,27204,28187,29976,30131,30435,30640,32058,37039,37969,37970,40853,21283,23724,30002,32987,37440,38296,21083,22536,23004,23713,23831,24247,24378,24394,24951,27743,30074,30086,31968,32115,32177,32652,33108,33313,34193,35137,35611,37628,38477,40007,20171,20215,20491,20977,22607,24887,24894,24936,25913,27114,28433,30117,30342,30422,31623,33445,33995,63744,37799,38283,21888,23458,22353,63745,31923,32697,37301,20520,21435,23621,24040,25298,25454,25818,25831,28192,28844,31067,36317,36382,63746,36989,37445,37624,20094,20214,20581,24062,24314,24838,26967,33137,34388,36423,37749,39467,20062,20625,26480,26688,20745,21133,21138,27298,30652,37392,40660,21163,24623,36850,20552,25001,25581,25802,26684,27268,28608,33160,35233,38548,22533,29309,29356,29956,32121,32365,32937,35211,35700,36963,40273,25225,27770,28500,32080,32570,35363,20860,24906,31645,35609,37463,37772,20140,20435,20510,20670,20742,21185,21197,21375,22384,22659,24218,24465,24950,25004,25806,25964,26223,26299,26356,26775,28039,28805,28913,29855,29861,29898,30169,30828,30956,31455,31478,32069,32147,32789,32831,33051,33686,35686,36629,36885,37857,38915,38968,39514,39912,20418,21843,22586,22865,23395,23622,24760,25106,26690,26800,26856,28330,30028,30328,30926,31293,31995,32363,32380,35336,35489,35903,38542,40388,21476,21481,21578,21617,22266,22993,23396,23611,24235,25335,25911,25925,25970,26272,26543,27073,27837,30204,30352,30590,31295,32660,32771,32929,33167,33510,33533,33776,34241,34865,34996,35493,63747,36764,37678,38599,39015,39640,40723,21741,26011,26354,26767,31296,35895,40288,22256,22372,23825,26118,26801,26829,28414,29736,34974,39908,27752,63748,39592,20379,20844,20849,21151,23380,24037,24656,24685,25329,25511,25915,29657,31354,34467,36002,38799,20018,23521,25096,26524,29916,31185,33747,35463,35506,36328,36942,37707,38982,24275,27112,34303,37101,63749,20896,23448,23532,24931,26874,27454,28748,29743,29912,31649,32592,33733,35264,36011,38364,39208,21038,24669,25324,36866,20362,20809,21281,22745,24291,26336,27960,28826,29378,29654,31568,33009,37979,21350,25499,32619,20054,20608,22602,22750,24618,24871,25296,27088,39745,23439,32024,32945,36703,20132,20689,21676,21932,23308,23968,24039,25898,25934,26657,27211,29409,30350,30703,32094,32761,33184,34126,34527,36611,36686,37066,39171,39509,39851,19992,20037,20061,20167,20465,20855,21246,21312,21475,21477,21646,22036,22389,22434,23495,23943,24272,25084,25304,25937,26552,26601,27083,27472,27590,27628,27714,28317,28792,29399,29590,29699,30655,30697,31350,32127,32777,33276,33285,33290,33503,34914,35635,36092,36544,36881,37041,37476,37558,39378,39493,40169,40407,40860,22283,23616,33738,38816,38827,40628,21531,31384,32676,35033,36557,37089,22528,23624,25496,31391,23470,24339,31353,31406,33422,36524,20518,21048,21240,21367,22280,25331,25458,27402,28099,30519,21413,29527,34152,36470,38357,26426,27331,28528,35437,36556,39243,63750,26231,27512,36020,39740,63751,21483,22317,22862,25542,27131,29674,30789,31418,31429,31998,33909,35215,36211,36917,38312,21243,22343,30023,31584,33740,37406,63752,27224,20811,21067,21127,25119,26840,26997,38553,20677,21156,21220,25027,26020,26681,27135,29822,31563,33465,33771,35250,35641,36817,39241,63753,20170,22935,25810,26129,27278,29748,31105,31165,33449,34942,34943,35167,63754,37670,20235,21450,24613,25201,27762,32026,32102,20120,20834,30684,32943,20225,20238,20854,20864,21980,22120,22331,22522,22524,22804,22855,22931,23492,23696,23822,24049,24190,24524,25216,26071,26083,26398,26399,26462,26827,26820,27231,27450,27683,27773,27778,28103,29592,29734,29738,29826,29859,30072,30079,30849,30959,31041,31047,31048,31098,31637,32000,32186,32648,32774,32813,32908,35352,35663,35912,36215,37665,37668,39138,39249,39438,39439,39525,40594,32202,20342,21513,25326,26708,37329,21931,20794,63755,63756,23068,25062,63757,25295,25343,63758,63759,63760,63761,63762,63763,37027,63764,63765,63766,63767,63768,35582,63769,63770,63771,63772,26262,63773,29014,63774,63775,38627,63776,25423,25466,21335,63777,26511,26976,28275,63778,30007,63779,63780,63781,32013,63782,63783,34930,22218,23064,63784,63785,63786,63787,63788,20035,63789,20839,22856,26608,32784,63790,22899,24180,25754,31178,24565,24684,25288,25467,23527,23511,21162,63791,22900,24361,24594,63792,63793,63794,29785,63795,63796,63797,63798,63799,63800,39377,63801,63802,63803,63804,63805,63806,63807,63808,63809,63810,63811,28611,63812,63813,33215,36786,24817,63814,63815,33126,63816,63817,23615,63818,63819,63820,63821,63822,63823,63824,63825,23273,35365,26491,32016,63826,63827,63828,63829,63830,63831,33021,63832,63833,23612,27877,21311,28346,22810,33590,20025,20150,20294,21934,22296,22727,24406,26039,26086,27264,27573,28237,30701,31471,31774,32222,34507,34962,37170,37723,25787,28606,29562,30136,36948,21846,22349,25018,25812,26311,28129,28251,28525,28601,30192,32835,33213,34113,35203,35527,35674,37663,27795,30035,31572,36367,36957,21776,22530,22616,24162,25095,25758,26848,30070,31958,34739,40680,20195,22408,22382,22823,23565,23729,24118,24453,25140,25825,29619,33274,34955,36024,38538,40667,23429,24503,24755,20498,20992,21040,22294,22581,22615,23566,23648,23798,23947,24230,24466,24764,25361,25481,25623,26691,26873,27330,28120,28193,28372,28644,29182,30428,30585,31153,31291,33796,35241,36077,36339,36424,36867,36884,36947,37117,37709,38518,38876,27602,28678,29272,29346,29544,30563,31167,31716,32411,35712,22697,24775,25958,26109,26302,27788,28958,29129,35930,38931,20077,31361,20189,20908,20941,21205,21516,24999,26481,26704,26847,27934,28540,30140,30643,31461,33012,33891,37509,20828,26007,26460,26515,30168,31431,33651,63834,35910,36887,38957,23663,33216,33434,36929,36975,37389,24471,23965,27225,29128,30331,31561,34276,35588,37159,39472,21895,25078,63835,30313,32645,34367,34746,35064,37007,63836,27931,28889,29662,32097,33853,63837,37226,39409,63838,20098,21365,27396,27410,28734,29211,34349,40478,21068,36771,23888,25829,25900,27414,28651,31811,32412,34253,35172,35261,25289,33240,34847,24266,26391,28010,29436,29701,29807,34690,37086,20358,23821,24480,33802,20919,25504,30053,20142,20486,20841,20937,26753,27153,31918,31921,31975,33391,35538,36635,37327,20406,20791,21237,21570,24300,24942,25150,26053,27354,28670,31018,34268,34851,38317,39522,39530,40599,40654,21147,26310,27511,28701,31019,36706,38722,24976,25088,25891,28451,29001,29833,32244,32879,34030,36646,36899,37706,20925,21015,21155,27916,28872,35010,24265,25986,27566,28610,31806,29557,20196,20278,22265,63839,23738,23994,24604,29618,31533,32666,32718,32838,36894,37428,38646,38728,38936,40801,20363,28583,31150,37300,38583,21214,63840,25736,25796,27347,28510,28696,29200,30439,32769,34310,34396,36335,36613,38706,39791,40442,40565,30860,31103,32160,33737,37636,40575,40595,35542,22751,24324,26407,28711,29903,31840,32894,20769,28712,29282,30922,36034,36058,36084,38647,20102,20698,23534,24278,26009,29134,30274,30637,32842,34044,36988,39719,40845,22744,23105,23650,27155,28122,28431,30267,32047,32311,34078,35128,37860,38475,21129,26066,26611,27060,27969,28316,28687,29705,29792,30041,30244,30827,35628,39006,20845,25134,38520,20374,20523,23833,28138,32184,36650,24459,24900,26647,63841,38534,21202,32907,20956,20940,26974,31260,32190,33777,38517,20442,21033,21400,21519,21774,23653,24743,26446,26792,28012,29313,29432,29702,29827,63842,30178,31852,32633,32696,33673,35023,35041,37324,37328,38626,39881,21533,28542,29136,29848,34298,36522,38563,40023,40607,26519,28107,29747,33256,38678,30764,31435,31520,31890,25705,29802,30194,30908,30952,39340,39764,40635,23518,24149,28448,33180,33707,37000,19975,21325,23081,24018,24398,24930,25405,26217,26364,28415,28459,28771,30622,33836,34067,34875,36627,39237,39995,21788,25273,26411,27819,33545,35178,38778,20129,22916,24536,24537,26395,32178,32596,33426,33579,33725,36638,37017,22475,22969,23186,23504,26151,26522,26757,27599,29028,32629,36023,36067,36993,39749,33032,35978,38476,39488,40613,23391,27667,29467,30450,30431,33804,20906,35219,20813,20885,21193,26825,27796,30468,30496,32191,32236,38754,40629,28357,34065,20901,21517,21629,26126,26269,26919,28319,30399,30609,33559,33986,34719,37225,37528,40180,34946,20398,20882,21215,22982,24125,24917,25720,25721,26286,26576,27169,27597,27611,29279,29281,29761,30520,30683,32791,33468,33541,35584,35624,35980,26408,27792,29287,30446,30566,31302,40361,27519,27794,22818,26406,33945,21359,22675,22937,24287,25551,26164,26483,28218,29483,31447,33495,37672,21209,24043,25006,25035,25098,25287,25771,26080,26969,27494,27595,28961,29687,30045,32326,33310,33538,34154,35491,36031,38695,40289,22696,40664,20497,21006,21563,21839,25991,27766,32010,32011,32862,34442,38272,38639,21247,27797,29289,21619,23194,23614,23883,24396,24494,26410,26806,26979,28220,28228,30473,31859,32654,34183,35598,36855,38753,40692,23735,24758,24845,25003,25935,26107,26108,27665,27887,29599,29641,32225,38292,23494,34588,35600,21085,21338,25293,25615,25778,26420,27192,27850,29632,29854,31636,31893,32283,33162,33334,34180,36843,38649,39361,20276,21322,21453,21467,25292,25644,25856,26001,27075,27886,28504,29677,30036,30242,30436,30460,30928,30971,31020,32070,33324,34784,36820,38930,39151,21187,25300,25765,28196,28497,30332,36299,37297,37474,39662,39747,20515,20621,22346,22952,23592,24135,24439,25151,25918,26041,26049,26121,26507,27036,28354,30917,32033,32938,33152,33323,33459,33953,34444,35370,35607,37030,38450,40848,20493,20467,63843,22521,24472,25308,25490,26479,28227,28953,30403,32972,32986,35060,35061,35097,36064,36649,37197,38506,20271,20336,24091,26575,26658,30333,30334,39748,24161,27146,29033,29140,30058,63844,32321,34115,34281,39132,20240,31567,32624,38309,20961,24070,26805,27710,27726,27867,29359,31684,33539,27861,29754,20731,21128,22721,25816,27287,29863,30294,30887,34327,38370,38713,63845,21342,24321,35722,36776,36783,37002,21029,30629,40009,40712,19993,20482,20853,23643,24183,26142,26170,26564,26821,28851,29953,30149,31177,31453,36647,39200,39432,20445,22561,22577,23542,26222,27493,27921,28282,28541,29668,29995,33769,35036,35091,35676,36628,20239,20693,21264,21340,23443,24489,26381,31119,33145,33583,34068,35079,35206,36665,36667,39333,39954,26412,20086,20472,22857,23553,23791,23792,25447,26834,28925,29090,29739,32299,34028,34562,36898,37586,40179,19981,20184,20463,20613,21078,21103,21542,21648,22496,22827,23142,23386,23413,23500,24220,63846,25206,25975,26023,28014,28325,29238,31526,31807,32566,33104,33105,33178,33344,33433,33705,35331,36000,36070,36091,36212,36282,37096,37340,38428,38468,39385,40167,21271,20998,21545,22132,22707,22868,22894,24575,24996,25198,26128,27774,28954,30406,31881,31966,32027,33452,36033,38640,63847,20315,24343,24447,25282,23849,26379,26842,30844,32323,40300,19989,20633,21269,21290,21329,22915,23138,24199,24754,24970,25161,25209,26000,26503,27047,27604,27606,27607,27608,27832,63848,29749,30202,30738,30865,31189,31192,31875,32203,32737,32933,33086,33218,33778,34586,35048,35513,35692,36027,37145,38750,39131,40763,22188,23338,24428,25996,27315,27567,27996,28657,28693,29277,29613,36007,36051,38971,24977,27703,32856,39425,20045,20107,20123,20181,20282,20284,20351,20447,20735,21490,21496,21766,21987,22235,22763,22882,23057,23531,23546,23556,24051,24107,24473,24605,25448,26012,26031,26614,26619,26797,27515,27801,27863,28195,28681,29509,30722,31038,31040,31072,31169,31721,32023,32114,32902,33293,33678,34001,34503,35039,35408,35422,35613,36060,36198,36781,37034,39164,39391,40605,21066,63849,26388,63850,20632,21034,23665,25955,27733,29642,29987,30109,31639,33948,37240,38704,20087,25746,27578,29022,34217,19977,63851,26441,26862,28183,33439,34072,34923,25591,28545,37394,39087,19978,20663,20687,20767,21830,21930,22039,23360,23577,23776,24120,24202,24224,24258,24819,26705,27233,28248,29245,29248,29376,30456,31077,31665,32724,35059,35316,35443,35937,36062,38684,22622,29885,36093,21959,63852,31329,32034,33394,29298,29983,29989,63853,31513,22661,22779,23996,24207,24246,24464,24661,25234,25471,25933,26257,26329,26360,26646,26866,29312,29790,31598,32110,32214,32626,32997,33298,34223,35199,35475,36893,37604,40653,40736,22805,22893,24109,24796,26132,26227,26512,27728,28101,28511,30707,30889,33990,37323,37675,20185,20682,20808,21892,23307,23459,25159,25982,26059,28210,29053,29697,29764,29831,29887,30316,31146,32218,32341,32680,33146,33203,33337,34330,34796,35445,36323,36984,37521,37925,39245,39854,21352,23633,26964,27844,27945,28203,33292,34203,35131,35373,35498,38634,40807,21089,26297,27570,32406,34814,36109,38275,38493,25885,28041,29166,63854,22478,22995,23468,24615,24826,25104,26143,26207,29481,29689,30427,30465,31596,32854,32882,33125,35488,37266,19990,21218,27506,27927,31237,31545,32048,63855,36016,21484,22063,22609,23477,23567,23569,24034,25152,25475,25620,26157,26803,27836,28040,28335,28703,28836,29138,29990,30095,30094,30233,31505,31712,31787,32032,32057,34092,34157,34311,35380,36877,36961,37045,37559,38902,39479,20439,23660,26463,28049,31903,32396,35606,36118,36895,23403,24061,25613,33984,36956,39137,29575,23435,24730,26494,28126,35359,35494,36865,38924,21047,63856,28753,30862,37782,34928,37335,20462,21463,22013,22234,22402,22781,23234,23432,23723,23744,24101,24833,25101,25163,25480,25628,25910,25976,27193,27530,27700,27929,28465,29159,29417,29560,29703,29874,30246,30561,31168,31319,31466,31929,32143,32172,32353,32670,33065,33585,33936,34010,34282,34966,35504,35728,36664,36930,36995,37228,37526,37561,38539,38567,38568,38614,38656,38920,39318,39635,39706,21460,22654,22809,23408,23487,28113,28506,29087,29729,29881,32901,33789,24033,24455,24490,24642,26092,26642,26991,27219,27529,27957,28147,29667,30462,30636,31565,32020,33059,33308,33600,34036,34147,35426,35524,37255,37662,38918,39348,25100,34899,36848,37477,23815,23847,23913,29791,33181,34664,28629,25342,32722,35126,35186,19998,20056,20711,21213,21319,25215,26119,32361,34821,38494,20365,21273,22070,22987,23204,23608,23630,23629,24066,24337,24643,26045,26159,26178,26558,26612,29468,30690,31034,32709,33940,33997,35222,35430,35433,35553,35925,35962,22516,23508,24335,24687,25325,26893,27542,28252,29060,31698,34645,35672,36606,39135,39166,20280,20353,20449,21627,23072,23480,24892,26032,26216,29180,30003,31070,32051,33102,33251,33688,34218,34254,34563,35338,36523,36763,63857,36805,22833,23460,23526,24713,23529,23563,24515,27777,63858,28145,28683,29978,33455,35574,20160,21313,63859,38617,27663,20126,20420,20818,21854,23077,23784,25105,29273,33469,33706,34558,34905,35357,38463,38597,39187,40201,40285,22538,23731,23997,24132,24801,24853,25569,27138,28197,37122,37716,38990,39952,40823,23433,23736,25353,26191,26696,30524,38593,38797,38996,39839,26017,35585,36555,38332,21813,23721,24022,24245,26263,30284,33780,38343,22739,25276,29390,40232,20208,22830,24591,26171,27523,31207,40230,21395,21696,22467,23830,24859,26326,28079,30861,33406,38552,38724,21380,25212,25494,28082,32266,33099,38989,27387,32588,40367,40474,20063,20539,20918,22812,24825,25590,26928,29242,32822,63860,37326,24369,63861,63862,32004,33509,33903,33979,34277,36493,63863,20335,63864,63865,22756,23363,24665,25562,25880,25965,26264,63866,26954,27171,27915,28673,29036,30162,30221,31155,31344,63867,32650,63868,35140,63869,35731,37312,38525,63870,39178,22276,24481,26044,28417,30208,31142,35486,39341,39770,40812,20740,25014,25233,27277,33222,20547,22576,24422,28937,35328,35578,23420,34326,20474,20796,22196,22852,25513,28153,23978,26989,20870,20104,20313,63871,63872,63873,22914,63874,63875,27487,27741,63876,29877,30998,63877,33287,33349,33593,36671,36701,63878,39192,63879,63880,63881,20134,63882,22495,24441,26131,63883,63884,30123,32377,35695,63885,36870,39515,22181,22567,23032,23071,23476,63886,24310,63887,63888,25424,25403,63889,26941,27783,27839,28046,28051,28149,28436,63890,28895,28982,29017,63891,29123,29141,63892,30799,30831,63893,31605,32227,63894,32303,63895,34893,36575,63896,63897,63898,37467,63899,40182,63900,63901,63902,24709,28037,63903,29105,63904,63905,38321,21421,63906,63907,63908,26579,63909,28814,28976,29744,33398,33490,63910,38331,39653,40573,26308,63911,29121,33865,63912,63913,22603,63914,63915,23992,24433,63916,26144,26254,27001,27054,27704,27891,28214,28481,28634,28699,28719,29008,29151,29552,63917,29787,63918,29908,30408,31310,32403,63919,63920,33521,35424,36814,63921,37704,63922,38681,63923,63924,20034,20522,63925,21000,21473,26355,27757,28618,29450,30591,31330,33454,34269,34306,63926,35028,35427,35709,35947,63927,37555,63928,38675,38928,20116,20237,20425,20658,21320,21566,21555,21978,22626,22714,22887,23067,23524,24735,63929,25034,25942,26111,26212,26791,27738,28595,28879,29100,29522,31613,34568,35492,39986,40711,23627,27779,29508,29577,37434,28331,29797,30239,31337,32277,34314,20800,22725,25793,29934,29973,30320,32705,37013,38605,39252,28198,29926,31401,31402,33253,34521,34680,35355,23113,23436,23451,26785,26880,28003,29609,29715,29740,30871,32233,32747,33048,33109,33694,35916,38446,38929,26352,24448,26106,26505,27754,29579,20525,23043,27498,30702,22806,23916,24013,29477,30031,63930,63931,20709,20985,22575,22829,22934,23002,23525,63932,63933,23970,25303,25622,25747,25854,63934,26332,63935,27208,63936,29183,29796,63937,31368,31407,32327,32350,32768,33136,63938,34799,35201,35616,36953,63939,36992,39250,24958,27442,28020,32287,35109,36785,20433,20653,20887,21191,22471,22665,23481,24248,24898,27029,28044,28263,28342,29076,29794,29992,29996,32883,33592,33993,36362,37780,37854,63940,20110,20305,20598,20778,21448,21451,21491,23431,23507,23588,24858,24962,26100,29275,29591,29760,30402,31056,31121,31161,32006,32701,33419,34261,34398,36802,36935,37109,37354,38533,38632,38633,21206,24423,26093,26161,26671,29020,31286,37057,38922,20113,63941,27218,27550,28560,29065,32792,33464,34131,36939,38549,38642,38907,34074,39729,20112,29066,38596,20803,21407,21729,22291,22290,22435,23195,23236,23491,24616,24895,25588,27781,27961,28274,28304,29232,29503,29783,33489,34945,36677,36960,63942,38498,39000,40219,26376,36234,37470,20301,20553,20702,21361,22285,22996,23041,23561,24944,26256,28205,29234,29771,32239,32963,33806,33894,34111,34655,34907,35096,35586,36949,38859,39759,20083,20369,20754,20842,63943,21807,21929,23418,23461,24188,24189,24254,24736,24799,24840,24841,25540,25912,26377,63944,26580,26586,63945,26977,26978,27833,27943,63946,28216,63947,28641,29494,29495,63948,29788,30001,63949,30290,63950,63951,32173,33278,33848,35029,35480,35547,35565,36400,36418,36938,36926,36986,37193,37321,37742,63952,63953,22537,63954,27603,32905,32946,63955,63956,20801,22891,23609,63957,63958,28516,29607,32996,36103,63959,37399,38287,63960,63961,63962,63963,32895,25102,28700,32104,34701,63964,22432,24681,24903,27575,35518,37504,38577,20057,21535,28139,34093,38512,38899,39150,25558,27875,37009,20957,25033,33210,40441,20381,20506,20736,23452,24847,25087,25836,26885,27589,30097,30691,32681,33380,34191,34811,34915,35516,35696,37291,20108,20197,20234,63965,63966,22839,23016,63967,24050,24347,24411,24609,63968,63969,63970,63971,29246,29669,63972,30064,30157,63973,31227,63974,32780,32819,32900,33505,33617,63975,63976,36029,36019,36999,63977,63978,39156,39180,63979,63980,28727,30410,32714,32716,32764,35610,20154,20161,20995,21360,63981,21693,22240,23035,23493,24341,24525,28270,63982,63983,32106,33589,63984,34451,35469,63985,38765,38775,63986,63987,19968,20314,20350,22777,26085,28322,36920,37808,39353,20219,22764,22922,23001,24641,63988,63989,31252,63990,33615,36035,20837,21316,63991,63992,63993,20173,21097,23381,33471,20180,21050,21672,22985,23039,23376,23383,23388,24675,24904,28363,28825,29038,29574,29943,30133,30913,32043,32773,33258,33576,34071,34249,35566,36039,38604,20316,21242,22204,26027,26152,28796,28856,29237,32189,33421,37196,38592,40306,23409,26855,27544,28538,30430,23697,26283,28507,31668,31786,34870,38620,19976,20183,21280,22580,22715,22767,22892,23559,24115,24196,24373,25484,26290,26454,27167,27299,27404,28479,29254,63994,29520,29835,31456,31911,33144,33247,33255,33674,33900,34083,34196,34255,35037,36115,37292,38263,38556,20877,21705,22312,23472,25165,26448,26685,26771,28221,28371,28797,32289,35009,36001,36617,40779,40782,29229,31631,35533,37658,20295,20302,20786,21632,22992,24213,25269,26485,26990,27159,27822,28186,29401,29482,30141,31672,32053,33511,33785,33879,34295,35419,36015,36487,36889,37048,38606,40799,21219,21514,23265,23490,25688,25973,28404,29380,63995,30340,31309,31515,31821,32318,32735,33659,35627,36042,36196,36321,36447,36842,36857,36969,37841,20291,20346,20659,20840,20856,21069,21098,22625,22652,22880,23560,23637,24283,24731,25136,26643,27583,27656,28593,29006,29728,30000,30008,30033,30322,31564,31627,31661,31686,32399,35438,36670,36681,37439,37523,37666,37931,38651,39002,39019,39198,20999,25130,25240,27993,30308,31434,31680,32118,21344,23742,24215,28472,28857,31896,38673,39822,40670,25509,25722,34678,19969,20117,20141,20572,20597,21576,22979,23450,24128,24237,24311,24449,24773,25402,25919,25972,26060,26230,26232,26622,26984,27273,27491,27712,28096,28136,28191,28254,28702,28833,29582,29693,30010,30555,30855,31118,31243,31357,31934,32142,33351,35330,35562,35998,37165,37194,37336,37478,37580,37664,38662,38742,38748,38914,40718,21046,21137,21884,22564,24093,24351,24716,25552,26799,28639,31085,31532,33229,34234,35069,35576,36420,37261,38500,38555,38717,38988,40778,20430,20806,20939,21161,22066,24340,24427,25514,25805,26089,26177,26362,26361,26397,26781,26839,27133,28437,28526,29031,29157,29226,29866,30522,31062,31066,31199,31264,31381,31895,31967,32068,32368,32903,34299,34468,35412,35519,36249,36481,36896,36973,37347,38459,38613,40165,26063,31751,36275,37827,23384,23562,21330,25305,29469,20519,23447,24478,24752,24939,26837,28121,29742,31278,32066,32156,32305,33131,36394,36405,37758,37912,20304,22352,24038,24231,25387,32618,20027,20303,20367,20570,23005,32964,21610,21608,22014,22863,23449,24030,24282,26205,26417,26609,26666,27880,27954,28234,28557,28855,29664,30087,31820,32002,32044,32162,33311,34523,35387,35461,36208,36490,36659,36913,37198,37202,37956,39376,31481,31909,20426,20737,20934,22472,23535,23803,26201,27197,27994,28310,28652,28940,30063,31459,34850,36897,36981,38603,39423,33537,20013,20210,34886,37325,21373,27355,26987,27713,33914,22686,24974,26366,25327,28893,29969,30151,32338,33976,35657,36104,20043,21482,21675,22320,22336,24535,25345,25351,25711,25903,26088,26234,26525,26547,27490,27744,27802,28460,30693,30757,31049,31063,32025,32930,33026,33267,33437,33463,34584,35468,63996,36100,36286,36978,30452,31257,31287,32340,32887,21767,21972,22645,25391,25634,26185,26187,26733,27035,27524,27941,28337,29645,29800,29857,30043,30137,30433,30494,30603,31206,32265,32285,33275,34095,34967,35386,36049,36587,36784,36914,37805,38499,38515,38663,20356,21489,23018,23241,24089,26702,29894,30142,31209,31378,33187,34541,36074,36300,36845,26015,26389,63997,22519,28503,32221,36655,37878,38598,24501,25074,28548,19988,20376,20511,21449,21983,23919,24046,27425,27492,30923,31642,63998,36425,36554,36974,25417,25662,30528,31364,37679,38015,40810,25776,28591,29158,29864,29914,31428,31762,32386,31922,32408,35738,36106,38013,39184,39244,21049,23519,25830,26413,32046,20717,21443,22649,24920,24921,25082,26028,31449,35730,35734,20489,20513,21109,21809,23100,24288,24432,24884,25950,26124,26166,26274,27085,28356,28466,29462,30241,31379,33081,33369,33750,33980,20661,22512,23488,23528,24425,25505,30758,32181,33756,34081,37319,37365,20874,26613,31574,36012,20932,22971,24765,34389,20508,63999,21076,23610,24957,25114,25299,25842,26021,28364,30240,33034,36448,38495,38587,20191,21315,21912,22825,24029,25797,27849,28154,29588,31359,33307,34214,36068,36368,36983,37351,38369,38433,38854,20984,21746,21894,24505,25764,28552,32180,36639,36685,37941,20681,23574,27838,28155,29979,30651,31805,31844,35449,35522,22558,22974,24086,25463,29266,30090,30571,35548,36028,36626,24307,26228,28152,32893,33729,35531,38737,39894,64000,21059,26367,28053,28399,32224,35558,36910,36958,39636,21021,21119,21736,24980,25220,25307,26786,26898,26970,27189,28818,28966,30813,30977,30990,31186,31245,32918,33400,33493,33609,34121,35970,36229,37218,37259,37294,20419,22225,29165,30679,34560,35320,23544,24534,26449,37032,21474,22618,23541,24740,24961,25696,32317,32880,34085,37507,25774,20652,23828,26368,22684,25277,25512,26894,27000,27166,28267,30394,31179,33467,33833,35535,36264,36861,37138,37195,37276,37648,37656,37786,38619,39478,39949,19985,30044,31069,31482,31569,31689,32302,33988,36441,36468,36600,36880,26149,26943,29763,20986,26414,40668,20805,24544,27798,34802,34909,34935,24756,33205,33795,36101,21462,21561,22068,23094,23601,28810,32736,32858,33030,33261,36259,37257,39519,40434,20596,20164,21408,24827,28204,23652,20360,20516,21988,23769,24159,24677,26772,27835,28100,29118,30164,30196,30305,31258,31305,32199,32251,32622,33268,34473,36636,38601,39347,40786,21063,21189,39149,35242,19971,26578,28422,20405,23522,26517,27784,28024,29723,30759,37341,37756,34756,31204,31281,24555,20182,21668,21822,22702,22949,24816,25171,25302,26422,26965,33333,38464,39345,39389,20524,21331,21828,22396,64001,25176,64002,25826,26219,26589,28609,28655,29730,29752,35351,37944,21585,22022,22374,24392,24986,27470,28760,28845,32187,35477,22890,33067,25506,30472,32829,36010,22612,25645,27067,23445,24081,28271,64003,34153,20812,21488,22826,24608,24907,27526,27760,27888,31518,32974,33492,36294,37040,39089,64004,25799,28580,25745,25860,20814,21520,22303,35342,24927,26742,64005,30171,31570,32113,36890,22534,27084,33151,35114,36864,38969,20600,22871,22956,25237,36879,39722,24925,29305,38358,22369,23110,24052,25226,25773,25850,26487,27874,27966,29228,29750,30772,32631,33453,36315,38935,21028,22338,26495,29256,29923,36009,36774,37393,38442,20843,21485,25420,20329,21764,24726,25943,27803,28031,29260,29437,31255,35207,35997,24429,28558,28921,33192,24846,20415,20559,25153,29255,31687,32232,32745,36941,38829,39449,36022,22378,24179,26544,33805,35413,21536,23318,24163,24290,24330,25987,32954,34109,38281,38491,20296,21253,21261,21263,21638,21754,22275,24067,24598,25243,25265,25429,64006,27873,28006,30129,30770,32990,33071,33502,33889,33970,34957,35090,36875,37610,39165,39825,24133,26292,26333,28689,29190,64007,20469,21117,24426,24915,26451,27161,28418,29922,31080,34920,35961,39111,39108,39491,21697,31263,26963,35575,35914,39080,39342,24444,25259,30130,30382,34987,36991,38466,21305,24380,24517,27852,29644,30050,30091,31558,33534,39325,20047,36924,19979,20309,21414,22799,24264,26160,27827,29781,33655,34662,36032,36944,38686,39957,22737,23416,34384,35604,40372,23506,24680,24717,26097,27735,28450,28579,28698,32597,32752,38289,38290,38480,38867,21106,36676,20989,21547,21688,21859,21898,27323,28085,32216,33382,37532,38519,40569,21512,21704,30418,34532,38308,38356,38492,20130,20233,23022,23270,24055,24658,25239,26477,26689,27782,28207,32568,32923,33322,64008,64009,38917,20133,20565,21683,22419,22874,23401,23475,25032,26999,28023,28707,34809,35299,35442,35559,36994,39405,39608,21182,26680,20502,24184,26447,33607,34892,20139,21521,22190,29670,37141,38911,39177,39255,39321,22099,22687,34395,35377,25010,27382,29563,36562,27463,38570,39511,22869,29184,36203,38761,20436,23796,24358,25080,26203,27883,28843,29572,29625,29694,30505,30541,32067,32098,32291,33335,34898,64010,36066,37449,39023,23377,31348,34880,38913,23244,20448,21332,22846,23805,25406,28025,29433,33029,33031,33698,37583,38960,20136,20804,21009,22411,24418,27842,28366,28677,28752,28847,29074,29673,29801,33610,34722,34913,36872,37026,37795,39336,20846,24407,24800,24935,26291,34137,36426,37295,38795,20046,20114,21628,22741,22778,22909,23733,24359,25142,25160,26122,26215,27627,28009,28111,28246,28408,28564,28640,28649,28765,29392,29733,29786,29920,30355,31068,31946,32286,32993,33446,33899,33983,34382,34399,34676,35703,35946,37804,38912,39013,24785,25110,37239,23130,26127,28151,28222,29759,39746,24573,24794,31503,21700,24344,27742,27859,27946,28888,32005,34425,35340,40251,21270,21644,23301,27194,28779,30069,31117,31166,33457,33775,35441,35649,36008,38772,64011,25844,25899,30906,30907,31339,20024,21914,22864,23462,24187,24739,25563,27489,26213,26707,28185,29029,29872,32008,36996,39529,39973,27963,28369,29502,35905,38346,20976,24140,24488,24653,24822,24880,24908,26179,26180,27045,27841,28255,28361,28514,29004,29852,30343,31681,31783,33618,34647,36945,38541,40643,21295,22238,24315,24458,24674,24724,25079,26214,26371,27292,28142,28590,28784,29546,32362,33214,33588,34516,35496,36036,21123,29554,23446,27243,37892,21742,22150,23389,25928,25989,26313,26783,28045,28102,29243,32948,37237,39501,20399,20505,21402,21518,21564,21897,21957,24127,24460,26429,29030,29661,36869,21211,21235,22628,22734,28932,29071,29179,34224,35347,26248,34216,21927,26244,29002,33841,21321,21913,27585,24409,24509,25582,26249,28999,35569,36637,40638,20241,25658,28875,30054,34407,24676,35662,40440,20807,20982,21256,27958,33016,40657,26133,27427,28824,30165,21507,23673,32007,35350,27424,27453,27462,21560,24688,27965,32725,33288,20694,20958,21916,22123,22221,23020,23305,24076,24985,24984,25137,26206,26342,29081,29113,29114,29351,31143,31232,32690,35440],
- "gbk":[19970, 19972, 19973, 19974, 19983, 19986, 19991, 19999, 20000, 20001, 20003, 20006, 20009, 20014, 20015, 20017, 20019, 20021, 20023, 20028, 20032, 20033, 20034, 20036, 20038, 20042, 20049, 20053, 20055, 20058, 20059, 20066, 20067, 20068, 20069, 20071, 20072, 20074, 20075, 20076, 20077, 20078, 20079, 20082, 20084, 20085, 20086, 20087, 20088, 20089, 20090, 20091, 20092, 20093, 20095, 20096, 20097, 20098, 20099, 20100, 20101, 20103, 20106, 20112, 20118, 20119, 20121, 20124, 20125, 20126, 20131, 20138, 20143, 20144, 20145, 20148, 20150, 20151, 20152, 20153, 20156, 20157, 20158, 20168, 20172, 20175, 20176, 20178, 20186, 20187, 20188, 20192, 20194, 20198, 20199, 20201, 20205, 20206, 20207, 20209, 20212, 20216, 20217, 20218, 20220, 20222, 20224, 20226, 20227, 20228, 20229, 20230, 20231, 20232, 20235, 20236, 20242, 20243, 20244, 20245, 20246, 20252, 20253, 20257, 20259, 20264, 20265, 20268, 20269, 20270, 20273, 20275, 20277, 20279, 20281, 20283, 20286, 20287, 20288, 20289, 20290, 20292, 20293, 20295, 20296, 20297, 20298, 20299, 20300, 20306, 20308, 20310, 20321, 20322, 20326, 20328, 20330, 20331, 20333, 20334, 20337, 20338, 20341, 20343, 20344, 20345, 20346, 20349, 20352, 20353, 20354, 20357, 20358, 20359, 20362, 20364, 20366, 20368, 20370, 20371, 20373, 20374, 20376, 20377, 20378, 20380, 20382, 20383, 20385, 20386, 20388, 20395, 20397, 20400, 20401, 20402, 20403, 20404, 20406, 20407, 20408, 20409, 20410, 20411, 20412, 20413, 20414, 20416, 20417, 20418, 20422, 20423, 20424, 20425, 20427, 20428, 20429, 20434, 20435, 20436, 20437, 20438, 20441, 20443, 20448, 20450, 20452, 20453, 20455, 20459, 20460, 20464, 20466, 20468, 20469, 20470, 20471, 20473, 20475, 20476, 20477, 20479, 20480, 20481, 20482, 20483, 20484, 20485, 20486, 20487, 20488, 20489, 20490, 20491, 20494, 20496, 20497, 20499, 20501, 20502, 20503, 20507, 20509, 20510, 20512, 20514, 20515, 20516, 20519, 20523, 20527, 20528, 20529, 20530, 20531, 20532, 20533, 20534, 20535, 20536, 20537, 20539, 20541, 20543, 20544, 20545, 20546, 20548, 20549, 20550, 20553, 20554, 20555, 20557, 20560, 20561, 20562, 20563, 20564, 20566, 20567, 20568, 20569, 20571, 20573, 20574, 20575, 20576, 20577, 20578, 20579, 20580, 20582, 20583, 20584, 20585, 20586, 20587, 20589, 20590, 20591, 20592, 20593, 20594, 20595, 20596, 20597, 20600, 20601, 20602, 20604, 20605, 20609, 20610, 20611, 20612, 20614, 20615, 20617, 20618, 20619, 20620, 20622, 20623, 20624, 20625, 20626, 20627, 20628, 20629, 20630, 20631, 20632, 20633, 20634, 20635, 20636, 20637, 20638, 20639, 20640, 20641, 20642, 20644, 20646, 20650, 20651, 20653, 20654, 20655, 20656, 20657, 20659, 20660, 20661, 20662, 20663, 20664, 20665, 20668, 20669, 20670, 20671, 20672, 20673, 20674, 20675, 20676, 20677, 20678, 20679, 20680, 20681, 20682, 20683, 20684, 20685, 20686, 20688, 20689, 20690, 20691, 20692, 20693, 20695, 20696, 20697, 20699, 20700, 20701, 20702, 20703, 20704, 20705, 20706, 20707, 20708, 20709, 20712, 20713, 20714, 20715, 20719, 20720, 20721, 20722, 20724, 20726, 20727, 20728, 20729, 20730, 20732, 20733, 20734, 20735, 20736, 20737, 20738, 20739, 20740, 20741, 20744, 20745, 20746, 20748, 20749, 20750, 20751, 20752, 20753, 20755, 20756, 20757, 20758, 20759, 20760, 20761, 20762, 20763, 20764, 20765, 20766, 20767, 20768, 20770, 20771, 20772, 20773, 20774, 20775, 20776, 20777, 20778, 20779, 20780, 20781, 20782, 20783, 20784, 20785, 20786, 20787, 20788, 20789, 20790, 20791, 20792, 20793, 20794, 20795, 20796, 20797, 20798, 20802, 20807, 20810, 20812, 20814, 20815, 20816, 20818, 20819, 20823, 20824, 20825, 20827, 20829, 20830, 20831, 20832, 20833, 20835, 20836, 20838, 20839, 20841, 20842, 20847, 20850, 20858, 20862, 20863, 20867, 20868, 20870, 20871, 20874, 20875, 20878, 20879, 20880, 20881, 20883, 20884, 20888, 20890, 20893, 20894, 20895, 20897, 20899, 20902, 20903, 20904, 20905, 20906, 20909, 20910, 20916, 20920, 20921, 20922, 20926, 20927, 20929, 20930, 20931, 20933, 20936, 20938, 20941, 20942, 20944, 20946, 20947, 20948, 20949, 20950, 20951, 20952, 20953, 20954, 20956, 20958, 20959, 20962, 20963, 20965, 20966, 20967, 20968, 20969, 20970, 20972, 20974, 20977, 20978, 20980, 20983, 20990, 20996, 20997, 21001, 21003, 21004, 21007, 21008, 21011, 21012, 21013, 21020, 21022, 21023, 21025, 21026, 21027, 21029, 21030, 21031, 21034, 21036, 21039, 21041, 21042, 21044, 21045, 21052, 21054, 21060, 21061, 21062, 21063, 21064, 21065, 21067, 21070, 21071, 21074, 21075, 21077, 21079, 21080, 21081, 21082, 21083, 21085, 21087, 21088, 21090, 21091, 21092, 21094, 21096, 21099, 21100, 21101, 21102, 21104, 21105, 21107, 21108, 21109, 21110, 21111, 21112, 21113, 21114, 21115, 21116, 21118, 21120, 21123, 21124, 21125, 21126, 21127, 21129, 21130, 21131, 21132, 21133, 21134, 21135, 21137, 21138, 21140, 21141, 21142, 21143, 21144, 21145, 21146, 21148, 21156, 21157, 21158, 21159, 21166, 21167, 21168, 21172, 21173, 21174, 21175, 21176, 21177, 21178, 21179, 21180, 21181, 21184, 21185, 21186, 21188, 21189, 21190, 21192, 21194, 21196, 21197, 21198, 21199, 21201, 21203, 21204, 21205, 21207, 21209, 21210, 21211, 21212, 21213, 21214, 21216, 21217, 21218, 21219, 21221, 21222, 21223, 21224, 21225, 21226, 21227, 21228, 21229, 21230, 21231, 21233, 21234, 21235, 21236, 21237, 21238, 21239, 21240, 21243, 21244, 21245, 21249, 21250, 21251, 21252, 21255, 21257, 21258, 21259, 21260, 21262, 21265, 21266, 21267, 21268, 21272, 21275, 21276, 21278, 21279, 21282, 21284, 21285, 21287, 21288, 21289, 21291, 21292, 21293, 21295, 21296, 21297, 21298, 21299, 21300, 21301, 21302, 21303, 21304, 21308, 21309, 21312, 21314, 21316, 21318, 21323, 21324, 21325, 21328, 21332, 21336, 21337, 21339, 21341, 21349, 21352, 21354, 21356, 21357, 21362, 21366, 21369, 21371, 21372, 21373, 21374, 21376, 21377, 21379, 21383, 21384, 21386, 21390, 21391, 21392, 21393, 21394, 21395, 21396, 21398, 21399, 21401, 21403, 21404, 21406, 21408, 21409, 21412, 21415, 21418, 21419, 21420, 21421, 21423, 21424, 21425, 21426, 21427, 21428, 21429, 21431, 21432, 21433, 21434, 21436, 21437, 21438, 21440, 21443, 21444, 21445, 21446, 21447, 21454, 21455, 21456, 21458, 21459, 21461, 21466, 21468, 21469, 21470, 21473, 21474, 21479, 21492, 21498, 21502, 21503, 21504, 21506, 21509, 21511, 21515, 21524, 21528, 21529, 21530, 21532, 21538, 21540, 21541, 21546, 21552, 21555, 21558, 21559, 21562, 21565, 21567, 21569, 21570, 21572, 21573, 21575, 21577, 21580, 21581, 21582, 21583, 21585, 21594, 21597, 21598, 21599, 21600, 21601, 21603, 21605, 21607, 21609, 21610, 21611, 21612, 21613, 21614, 21615, 21616, 21620, 21625, 21626, 21630, 21631, 21633, 21635, 21637, 21639, 21640, 21641, 21642, 21645, 21649, 21651, 21655, 21656, 21660, 21662, 21663, 21664, 21665, 21666, 21669, 21678, 21680, 21682, 21685, 21686, 21687, 21689, 21690, 21692, 21694, 21699, 21701, 21706, 21707, 21718, 21720, 21723, 21728, 21729, 21730, 21731, 21732, 21739, 21740, 21743, 21744, 21745, 21748, 21749, 21750, 21751, 21752, 21753, 21755, 21758, 21760, 21762, 21763, 21764, 21765, 21768, 21770, 21771, 21772, 21773, 21774, 21778, 21779, 21781, 21782, 21783, 21784, 21785, 21786, 21788, 21789, 21790, 21791, 21793, 21797, 21798, 21800, 21801, 21803, 21805, 21810, 21812, 21813, 21814, 21816, 21817, 21818, 21819, 21821, 21824, 21826, 21829, 21831, 21832, 21835, 21836, 21837, 21838, 21839, 21841, 21842, 21843, 21844, 21847, 21848, 21849, 21850, 21851, 21853, 21854, 21855, 21856, 21858, 21859, 21864, 21865, 21867, 21871, 21872, 21873, 21874, 21875, 21876, 21881, 21882, 21885, 21887, 21893, 21894, 21900, 21901, 21902, 21904, 21906, 21907, 21909, 21910, 21911, 21914, 21915, 21918, 21920, 21921, 21922, 21923, 21924, 21925, 21926, 21928, 21929, 21930, 21931, 21932, 21933, 21934, 21935, 21936, 21938, 21940, 21942, 21944, 21946, 21948, 21951, 21952, 21953, 21954, 21955, 21958, 21959, 21960, 21962, 21963, 21966, 21967, 21968, 21973, 21975, 21976, 21977, 21978, 21979, 21982, 21984, 21986, 21991, 21993, 21997, 21998, 22000, 22001, 22004, 22006, 22008, 22009, 22010, 22011, 22012, 22015, 22018, 22019, 22020, 22021, 22022, 22023, 22026, 22027, 22029, 22032, 22033, 22034, 22035, 22036, 22037, 22038, 22039, 22041, 22042, 22044, 22045, 22048, 22049, 22050, 22053, 22054, 22056, 22057, 22058, 22059, 22062, 22063, 22064, 22067, 22069, 22071, 22072, 22074, 22076, 22077, 22078, 22080, 22081, 22082, 22083, 22084, 22085, 22086, 22087, 22088, 22089, 22090, 22091, 22095, 22096, 22097, 22098, 22099, 22101, 22102, 22106, 22107, 22109, 22110, 22111, 22112, 22113, 22115, 22117, 22118, 22119, 22125, 22126, 22127, 22128, 22130, 22131, 22132, 22133, 22135, 22136, 22137, 22138, 22141, 22142, 22143, 22144, 22145, 22146, 22147, 22148, 22151, 22152, 22153, 22154, 22155, 22156, 22157, 22160, 22161, 22162, 22164, 22165, 22166, 22167, 22168, 22169, 22170, 22171, 22172, 22173, 22174, 22175, 22176, 22177, 22178, 22180, 22181, 22182, 22183, 22184, 22185, 22186, 22187, 22188, 22189, 22190, 22192, 22193, 22194, 22195, 22196, 22197, 22198, 22200, 22201, 22202, 22203, 22205, 22206, 22207, 22208, 22209, 22210, 22211, 22212, 22213, 22214, 22215, 22216, 22217, 22219, 22220, 22221, 22222, 22223, 22224, 22225, 22226, 22227, 22229, 22230, 22232, 22233, 22236, 22243, 22245, 22246, 22247, 22248, 22249, 22250, 22252, 22254, 22255, 22258, 22259, 22262, 22263, 22264, 22267, 22268, 22272, 22273, 22274, 22277, 22279, 22283, 22284, 22285, 22286, 22287, 22288, 22289, 22290, 22291, 22292, 22293, 22294, 22295, 22296, 22297, 22298, 22299, 22301, 22302, 22304, 22305, 22306, 22308, 22309, 22310, 22311, 22315, 22321, 22322, 22324, 22325, 22326, 22327, 22328, 22332, 22333, 22335, 22337, 22339, 22340, 22341, 22342, 22344, 22345, 22347, 22354, 22355, 22356, 22357, 22358, 22360, 22361, 22370, 22371, 22373, 22375, 22380, 22382, 22384, 22385, 22386, 22388, 22389, 22392, 22393, 22394, 22397, 22398, 22399, 22400, 22401, 22407, 22408, 22409, 22410, 22413, 22414, 22415, 22416, 22417, 22420, 22421, 22422, 22423, 22424, 22425, 22426, 22428, 22429, 22430, 22431, 22437, 22440, 22442, 22444, 22447, 22448, 22449, 22451, 22453, 22454, 22455, 22457, 22458, 22459, 22460, 22461, 22462, 22463, 22464, 22465, 22468, 22469, 22470, 22471, 22472, 22473, 22474, 22476, 22477, 22480, 22481, 22483, 22486, 22487, 22491, 22492, 22494, 22497, 22498, 22499, 22501, 22502, 22503, 22504, 22505, 22506, 22507, 22508, 22510, 22512, 22513, 22514, 22515, 22517, 22518, 22519, 22523, 22524, 22526, 22527, 22529, 22531, 22532, 22533, 22536, 22537, 22538, 22540, 22542, 22543, 22544, 22546, 22547, 22548, 22550, 22551, 22552, 22554, 22555, 22556, 22557, 22559, 22562, 22563, 22565, 22566, 22567, 22568, 22569, 22571, 22572, 22573, 22574, 22575, 22577, 22578, 22579, 22580, 22582, 22583, 22584, 22585, 22586, 22587, 22588, 22589, 22590, 22591, 22592, 22593, 22594, 22595, 22597, 22598, 22599, 22600, 22601, 22602, 22603, 22606, 22607, 22608, 22610, 22611, 22613, 22614, 22615, 22617, 22618, 22619, 22620, 22621, 22623, 22624, 22625, 22626, 22627, 22628, 22630, 22631, 22632, 22633, 22634, 22637, 22638, 22639, 22640, 22641, 22642, 22643, 22644, 22645, 22646, 22647, 22648, 22649, 22650, 22651, 22652, 22653, 22655, 22658, 22660, 22662, 22663, 22664, 22666, 22667, 22668, 22669, 22670, 22671, 22672, 22673, 22676, 22677, 22678, 22679, 22680, 22683, 22684, 22685, 22688, 22689, 22690, 22691, 22692, 22693, 22694, 22695, 22698, 22699, 22700, 22701, 22702, 22703, 22704, 22705, 22706, 22707, 22708, 22709, 22710, 22711, 22712, 22713, 22714, 22715, 22717, 22718, 22719, 22720, 22722, 22723, 22724, 22726, 22727, 22728, 22729, 22730, 22731, 22732, 22733, 22734, 22735, 22736, 22738, 22739, 22740, 22742, 22743, 22744, 22745, 22746, 22747, 22748, 22749, 22750, 22751, 22752, 22753, 22754, 22755, 22757, 22758, 22759, 22760, 22761, 22762, 22765, 22767, 22769, 22770, 22772, 22773, 22775, 22776, 22778, 22779, 22780, 22781, 22782, 22783, 22784, 22785, 22787, 22789, 22790, 22792, 22793, 22794, 22795, 22796, 22798, 22800, 22801, 22802, 22803, 22807, 22808, 22811, 22813, 22814, 22816, 22817, 22818, 22819, 22822, 22824, 22828, 22832, 22834, 22835, 22837, 22838, 22843, 22845, 22846, 22847, 22848, 22851, 22853, 22854, 22858, 22860, 22861, 22864, 22866, 22867, 22873, 22875, 22876, 22877, 22878, 22879, 22881, 22883, 22884, 22886, 22887, 22888, 22889, 22890, 22891, 22892, 22893, 22894, 22895, 22896, 22897, 22898, 22901, 22903, 22906, 22907, 22908, 22910, 22911, 22912, 22917, 22921, 22923, 22924, 22926, 22927, 22928, 22929, 22932, 22933, 22936, 22938, 22939, 22940, 22941, 22943, 22944, 22945, 22946, 22950, 22951, 22956, 22957, 22960, 22961, 22963, 22964, 22965, 22966, 22967, 22968, 22970, 22972, 22973, 22975, 22976, 22977, 22978, 22979, 22980, 22981, 22983, 22984, 22985, 22988, 22989, 22990, 22991, 22997, 22998, 23001, 23003, 23006, 23007, 23008, 23009, 23010, 23012, 23014, 23015, 23017, 23018, 23019, 23021, 23022, 23023, 23024, 23025, 23026, 23027, 23028, 23029, 23030, 23031, 23032, 23034, 23036, 23037, 23038, 23040, 23042, 23050, 23051, 23053, 23054, 23055, 23056, 23058, 23060, 23061, 23062, 23063, 23065, 23066, 23067, 23069, 23070, 23073, 23074, 23076, 23078, 23079, 23080, 23082, 23083, 23084, 23085, 23086, 23087, 23088, 23091, 23093, 23095, 23096, 23097, 23098, 23099, 23101, 23102, 23103, 23105, 23106, 23107, 23108, 23109, 23111, 23112, 23115, 23116, 23117, 23118, 23119, 23120, 23121, 23122, 23123, 23124, 23126, 23127, 23128, 23129, 23131, 23132, 23133, 23134, 23135, 23136, 23137, 23139, 23140, 23141, 23142, 23144, 23145, 23147, 23148, 23149, 23150, 23151, 23152, 23153, 23154, 23155, 23160, 23161, 23163, 23164, 23165, 23166, 23168, 23169, 23170, 23171, 23172, 23173, 23174, 23175, 23176, 23177, 23178, 23179, 23180, 23181, 23182, 23183, 23184, 23185, 23187, 23188, 23189, 23190, 23191, 23192, 23193, 23196, 23197, 23198, 23199, 23200, 23201, 23202, 23203, 23204, 23205, 23206, 23207, 23208, 23209, 23211, 23212, 23213, 23214, 23215, 23216, 23217, 23220, 23222, 23223, 23225, 23226, 23227, 23228, 23229, 23231, 23232, 23235, 23236, 23237, 23238, 23239, 23240, 23242, 23243, 23245, 23246, 23247, 23248, 23249, 23251, 23253, 23255, 23257, 23258, 23259, 23261, 23262, 23263, 23266, 23268, 23269, 23271, 23272, 23274, 23276, 23277, 23278, 23279, 23280, 23282, 23283, 23284, 23285, 23286, 23287, 23288, 23289, 23290, 23291, 23292, 23293, 23294, 23295, 23296, 23297, 23298, 23299, 23300, 23301, 23302, 23303, 23304, 23306, 23307, 23308, 23309, 23310, 23311, 23312, 23313, 23314, 23315, 23316, 23317, 23320, 23321, 23322, 23323, 23324, 23325, 23326, 23327, 23328, 23329, 23330, 23331, 23332, 23333, 23334, 23335, 23336, 23337, 23338, 23339, 23340, 23341, 23342, 23343, 23344, 23345, 23347, 23349, 23350, 23352, 23353, 23354, 23355, 23356, 23357, 23358, 23359, 23361, 23362, 23363, 23364, 23365, 23366, 23367, 23368, 23369, 23370, 23371, 23372, 23373, 23374, 23375, 23378, 23382, 23390, 23392, 23393, 23399, 23400, 23403, 23405, 23406, 23407, 23410, 23412, 23414, 23415, 23416, 23417, 23419, 23420, 23422, 23423, 23426, 23430, 23434, 23437, 23438, 23440, 23441, 23442, 23444, 23446, 23455, 23463, 23464, 23465, 23468, 23469, 23470, 23471, 23473, 23474, 23479, 23482, 23483, 23484, 23488, 23489, 23491, 23496, 23497, 23498, 23499, 23501, 23502, 23503, 23505, 23508, 23509, 23510, 23511, 23512, 23513, 23514, 23515, 23516, 23520, 23522, 23523, 23526, 23527, 23529, 23530, 23531, 23532, 23533, 23535, 23537, 23538, 23539, 23540, 23541, 23542, 23543, 23549, 23550, 23552, 23554, 23555, 23557, 23559, 23560, 23563, 23564, 23565, 23566, 23568, 23570, 23571, 23575, 23577, 23579, 23582, 23583, 23584, 23585, 23587, 23590, 23592, 23593, 23594, 23595, 23597, 23598, 23599, 23600, 23602, 23603, 23605, 23606, 23607, 23619, 23620, 23622, 23623, 23628, 23629, 23634, 23635, 23636, 23638, 23639, 23640, 23642, 23643, 23644, 23645, 23647, 23650, 23652, 23655, 23656, 23657, 23658, 23659, 23660, 23661, 23664, 23666, 23667, 23668, 23669, 23670, 23671, 23672, 23675, 23676, 23677, 23678, 23680, 23683, 23684, 23685, 23686, 23687, 23689, 23690, 23691, 23694, 23695, 23698, 23699, 23701, 23709, 23710, 23711, 23712, 23713, 23716, 23717, 23718, 23719, 23720, 23722, 23726, 23727, 23728, 23730, 23732, 23734, 23737, 23738, 23739, 23740, 23742, 23744, 23746, 23747, 23749, 23750, 23751, 23752, 23753, 23754, 23756, 23757, 23758, 23759, 23760, 23761, 23763, 23764, 23765, 23766, 23767, 23768, 23770, 23771, 23772, 23773, 23774, 23775, 23776, 23778, 23779, 23783, 23785, 23787, 23788, 23790, 23791, 23793, 23794, 23795, 23796, 23797, 23798, 23799, 23800, 23801, 23802, 23804, 23805, 23806, 23807, 23808, 23809, 23812, 23813, 23816, 23817, 23818, 23819, 23820, 23821, 23823, 23824, 23825, 23826, 23827, 23829, 23831, 23832, 23833, 23834, 23836, 23837, 23839, 23840, 23841, 23842, 23843, 23845, 23848, 23850, 23851, 23852, 23855, 23856, 23857, 23858, 23859, 23861, 23862, 23863, 23864, 23865, 23866, 23867, 23868, 23871, 23872, 23873, 23874, 23875, 23876, 23877, 23878, 23880, 23881, 23885, 23886, 23887, 23888, 23889, 23890, 23891, 23892, 23893, 23894, 23895, 23897, 23898, 23900, 23902, 23903, 23904, 23905, 23906, 23907, 23908, 23909, 23910, 23911, 23912, 23914, 23917, 23918, 23920, 23921, 23922, 23923, 23925, 23926, 23927, 23928, 23929, 23930, 23931, 23932, 23933, 23934, 23935, 23936, 23937, 23939, 23940, 23941, 23942, 23943, 23944, 23945, 23946, 23947, 23948, 23949, 23950, 23951, 23952, 23953, 23954, 23955, 23956, 23957, 23958, 23959, 23960, 23962, 23963, 23964, 23966, 23967, 23968, 23969, 23970, 23971, 23972, 23973, 23974, 23975, 23976, 23977, 23978, 23979, 23980, 23981, 23982, 23983, 23984, 23985, 23986, 23987, 23988, 23989, 23990, 23992, 23993, 23994, 23995, 23996, 23997, 23998, 23999, 24000, 24001, 24002, 24003, 24004, 24006, 24007, 24008, 24009, 24010, 24011, 24012, 24014, 24015, 24016, 24017, 24018, 24019, 24020, 24021, 24022, 24023, 24024, 24025, 24026, 24028, 24031, 24032, 24035, 24036, 24042, 24044, 24045, 24048, 24053, 24054, 24056, 24057, 24058, 24059, 24060, 24063, 24064, 24068, 24071, 24073, 24074, 24075, 24077, 24078, 24082, 24083, 24087, 24094, 24095, 24096, 24097, 24098, 24099, 24100, 24101, 24104, 24105, 24106, 24107, 24108, 24111, 24112, 24114, 24115, 24116, 24117, 24118, 24121, 24122, 24126, 24127, 24128, 24129, 24131, 24134, 24135, 24136, 24137, 24138, 24139, 24141, 24142, 24143, 24144, 24145, 24146, 24147, 24150, 24151, 24152, 24153, 24154, 24156, 24157, 24159, 24160, 24163, 24164, 24165, 24166, 24167, 24168, 24169, 24170, 24171, 24172, 24173, 24174, 24175, 24176, 24177, 24181, 24183, 24185, 24190, 24193, 24194, 24195, 24197, 24200, 24201, 24204, 24205, 24206, 24210, 24216, 24219, 24221, 24225, 24226, 24227, 24228, 24232, 24233, 24234, 24235, 24236, 24238, 24239, 24240, 24241, 24242, 24244, 24250, 24251, 24252, 24253, 24255, 24256, 24257, 24258, 24259, 24260, 24261, 24262, 24263, 24264, 24267, 24268, 24269, 24270, 24271, 24272, 24276, 24277, 24279, 24280, 24281, 24282, 24284, 24285, 24286, 24287, 24288, 24289, 24290, 24291, 24292, 24293, 24294, 24295, 24297, 24299, 24300, 24301, 24302, 24303, 24304, 24305, 24306, 24307, 24309, 24312, 24313, 24315, 24316, 24317, 24325, 24326, 24327, 24329, 24332, 24333, 24334, 24336, 24338, 24340, 24342, 24345, 24346, 24348, 24349, 24350, 24353, 24354, 24355, 24356, 24360, 24363, 24364, 24366, 24368, 24370, 24371, 24372, 24373, 24374, 24375, 24376, 24379, 24381, 24382, 24383, 24385, 24386, 24387, 24388, 24389, 24390, 24391, 24392, 24393, 24394, 24395, 24396, 24397, 24398, 24399, 24401, 24404, 24409, 24410, 24411, 24412, 24414, 24415, 24416, 24419, 24421, 24423, 24424, 24427, 24430, 24431, 24434, 24436, 24437, 24438, 24440, 24442, 24445, 24446, 24447, 24451, 24454, 24461, 24462, 24463, 24465, 24467, 24468, 24470, 24474, 24475, 24477, 24478, 24479, 24480, 24482, 24483, 24484, 24485, 24486, 24487, 24489, 24491, 24492, 24495, 24496, 24497, 24498, 24499, 24500, 24502, 24504, 24505, 24506, 24507, 24510, 24511, 24512, 24513, 24514, 24519, 24520, 24522, 24523, 24526, 24531, 24532, 24533, 24538, 24539, 24540, 24542, 24543, 24546, 24547, 24549, 24550, 24552, 24553, 24556, 24559, 24560, 24562, 24563, 24564, 24566, 24567, 24569, 24570, 24572, 24583, 24584, 24585, 24587, 24588, 24592, 24593, 24595, 24599, 24600, 24602, 24606, 24607, 24610, 24611, 24612, 24620, 24621, 24622, 24624, 24625, 24626, 24627, 24628, 24630, 24631, 24632, 24633, 24634, 24637, 24638, 24640, 24644, 24645, 24646, 24647, 24648, 24649, 24650, 24652, 24654, 24655, 24657, 24659, 24660, 24662, 24663, 24664, 24667, 24668, 24670, 24671, 24672, 24673, 24677, 24678, 24686, 24689, 24690, 24692, 24693, 24695, 24702, 24704, 24705, 24706, 24709, 24710, 24711, 24712, 24714, 24715, 24718, 24719, 24720, 24721, 24723, 24725, 24727, 24728, 24729, 24732, 24734, 24737, 24738, 24740, 24741, 24743, 24745, 24746, 24750, 24752, 24755, 24757, 24758, 24759, 24761, 24762, 24765, 24766, 24767, 24768, 24769, 24770, 24771, 24772, 24775, 24776, 24777, 24780, 24781, 24782, 24783, 24784, 24786, 24787, 24788, 24790, 24791, 24793, 24795, 24798, 24801, 24802, 24803, 24804, 24805, 24810, 24817, 24818, 24821, 24823, 24824, 24827, 24828, 24829, 24830, 24831, 24834, 24835, 24836, 24837, 24839, 24842, 24843, 24844, 24848, 24849, 24850, 24851, 24852, 24854, 24855, 24856, 24857, 24859, 24860, 24861, 24862, 24865, 24866, 24869, 24872, 24873, 24874, 24876, 24877, 24878, 24879, 24880, 24881, 24882, 24883, 24884, 24885, 24886, 24887, 24888, 24889, 24890, 24891, 24892, 24893, 24894, 24896, 24897, 24898, 24899, 24900, 24901, 24902, 24903, 24905, 24907, 24909, 24911, 24912, 24914, 24915, 24916, 24918, 24919, 24920, 24921, 24922, 24923, 24924, 24926, 24927, 24928, 24929, 24931, 24932, 24933, 24934, 24937, 24938, 24939, 24940, 24941, 24942, 24943, 24945, 24946, 24947, 24948, 24950, 24952, 24953, 24954, 24955, 24956, 24957, 24958, 24959, 24960, 24961, 24962, 24963, 24964, 24965, 24966, 24967, 24968, 24969, 24970, 24972, 24973, 24975, 24976, 24977, 24978, 24979, 24981, 24982, 24983, 24984, 24985, 24986, 24987, 24988, 24990, 24991, 24992, 24993, 24994, 24995, 24996, 24997, 24998, 25002, 25003, 25005, 25006, 25007, 25008, 25009, 25010, 25011, 25012, 25013, 25014, 25016, 25017, 25018, 25019, 25020, 25021, 25023, 25024, 25025, 25027, 25028, 25029, 25030, 25031, 25033, 25036, 25037, 25038, 25039, 25040, 25043, 25045, 25046, 25047, 25048, 25049, 25050, 25051, 25052, 25053, 25054, 25055, 25056, 25057, 25058, 25059, 25060, 25061, 25063, 25064, 25065, 25066, 25067, 25068, 25069, 25070, 25071, 25072, 25073, 25074, 25075, 25076, 25078, 25079, 25080, 25081, 25082, 25083, 25084, 25085, 25086, 25088, 25089, 25090, 25091, 25092, 25093, 25095, 25097, 25107, 25108, 25113, 25116, 25117, 25118, 25120, 25123, 25126, 25127, 25128, 25129, 25131, 25133, 25135, 25136, 25137, 25138, 25141, 25142, 25144, 25145, 25146, 25147, 25148, 25154, 25156, 25157, 25158, 25162, 25167, 25168, 25173, 25174, 25175, 25177, 25178, 25180, 25181, 25182, 25183, 25184, 25185, 25186, 25188, 25189, 25192, 25201, 25202, 25204, 25205, 25207, 25208, 25210, 25211, 25213, 25217, 25218, 25219, 25221, 25222, 25223, 25224, 25227, 25228, 25229, 25230, 25231, 25232, 25236, 25241, 25244, 25245, 25246, 25251, 25254, 25255, 25257, 25258, 25261, 25262, 25263, 25264, 25266, 25267, 25268, 25270, 25271, 25272, 25274, 25278, 25280, 25281, 25283, 25291, 25295, 25297, 25301, 25309, 25310, 25312, 25313, 25316, 25322, 25323, 25328, 25330, 25333, 25336, 25337, 25338, 25339, 25344, 25347, 25348, 25349, 25350, 25354, 25355, 25356, 25357, 25359, 25360, 25362, 25363, 25364, 25365, 25367, 25368, 25369, 25372, 25382, 25383, 25385, 25388, 25389, 25390, 25392, 25393, 25395, 25396, 25397, 25398, 25399, 25400, 25403, 25404, 25406, 25407, 25408, 25409, 25412, 25415, 25416, 25418, 25425, 25426, 25427, 25428, 25430, 25431, 25432, 25433, 25434, 25435, 25436, 25437, 25440, 25444, 25445, 25446, 25448, 25450, 25451, 25452, 25455, 25456, 25458, 25459, 25460, 25461, 25464, 25465, 25468, 25469, 25470, 25471, 25473, 25475, 25476, 25477, 25478, 25483, 25485, 25489, 25491, 25492, 25493, 25495, 25497, 25498, 25499, 25500, 25501, 25502, 25503, 25505, 25508, 25510, 25515, 25519, 25521, 25522, 25525, 25526, 25529, 25531, 25533, 25535, 25536, 25537, 25538, 25539, 25541, 25543, 25544, 25546, 25547, 25548, 25553, 25555, 25556, 25557, 25559, 25560, 25561, 25562, 25563, 25564, 25565, 25567, 25570, 25572, 25573, 25574, 25575, 25576, 25579, 25580, 25582, 25583, 25584, 25585, 25587, 25589, 25591, 25593, 25594, 25595, 25596, 25598, 25603, 25604, 25606, 25607, 25608, 25609, 25610, 25613, 25614, 25617, 25618, 25621, 25622, 25623, 25624, 25625, 25626, 25629, 25631, 25634, 25635, 25636, 25637, 25639, 25640, 25641, 25643, 25646, 25647, 25648, 25649, 25650, 25651, 25653, 25654, 25655, 25656, 25657, 25659, 25660, 25662, 25664, 25666, 25667, 25673, 25675, 25676, 25677, 25678, 25679, 25680, 25681, 25683, 25685, 25686, 25687, 25689, 25690, 25691, 25692, 25693, 25695, 25696, 25697, 25698, 25699, 25700, 25701, 25702, 25704, 25706, 25707, 25708, 25710, 25711, 25712, 25713, 25714, 25715, 25716, 25717, 25718, 25719, 25723, 25724, 25725, 25726, 25727, 25728, 25729, 25731, 25734, 25736, 25737, 25738, 25739, 25740, 25741, 25742, 25743, 25744, 25747, 25748, 25751, 25752, 25754, 25755, 25756, 25757, 25759, 25760, 25761, 25762, 25763, 25765, 25766, 25767, 25768, 25770, 25771, 25775, 25777, 25778, 25779, 25780, 25782, 25785, 25787, 25789, 25790, 25791, 25793, 25795, 25796, 25798, 25799, 25800, 25801, 25802, 25803, 25804, 25807, 25809, 25811, 25812, 25813, 25814, 25817, 25818, 25819, 25820, 25821, 25823, 25824, 25825, 25827, 25829, 25831, 25832, 25833, 25834, 25835, 25836, 25837, 25838, 25839, 25840, 25841, 25842, 25843, 25844, 25845, 25846, 25847, 25848, 25849, 25850, 25851, 25852, 25853, 25854, 25855, 25857, 25858, 25859, 25860, 25861, 25862, 25863, 25864, 25866, 25867, 25868, 25869, 25870, 25871, 25872, 25873, 25875, 25876, 25877, 25878, 25879, 25881, 25882, 25883, 25884, 25885, 25886, 25887, 25888, 25889, 25890, 25891, 25892, 25894, 25895, 25896, 25897, 25898, 25900, 25901, 25904, 25905, 25906, 25907, 25911, 25914, 25916, 25917, 25920, 25921, 25922, 25923, 25924, 25926, 25927, 25930, 25931, 25933, 25934, 25936, 25938, 25939, 25940, 25943, 25944, 25946, 25948, 25951, 25952, 25953, 25956, 25957, 25959, 25960, 25961, 25962, 25965, 25966, 25967, 25969, 25971, 25973, 25974, 25976, 25977, 25978, 25979, 25980, 25981, 25982, 25983, 25984, 25985, 25986, 25987, 25988, 25989, 25990, 25992, 25993, 25994, 25997, 25998, 25999, 26002, 26004, 26005, 26006, 26008, 26010, 26013, 26014, 26016, 26018, 26019, 26022, 26024, 26026, 26028, 26030, 26033, 26034, 26035, 26036, 26037, 26038, 26039, 26040, 26042, 26043, 26046, 26047, 26048, 26050, 26055, 26056, 26057, 26058, 26061, 26064, 26065, 26067, 26068, 26069, 26072, 26073, 26074, 26075, 26076, 26077, 26078, 26079, 26081, 26083, 26084, 26090, 26091, 26098, 26099, 26100, 26101, 26104, 26105, 26107, 26108, 26109, 26110, 26111, 26113, 26116, 26117, 26119, 26120, 26121, 26123, 26125, 26128, 26129, 26130, 26134, 26135, 26136, 26138, 26139, 26140, 26142, 26145, 26146, 26147, 26148, 26150, 26153, 26154, 26155, 26156, 26158, 26160, 26162, 26163, 26167, 26168, 26169, 26170, 26171, 26173, 26175, 26176, 26178, 26180, 26181, 26182, 26183, 26184, 26185, 26186, 26189, 26190, 26192, 26193, 26200, 26201, 26203, 26204, 26205, 26206, 26208, 26210, 26211, 26213, 26215, 26217, 26218, 26219, 26220, 26221, 26225, 26226, 26227, 26229, 26232, 26233, 26235, 26236, 26237, 26239, 26240, 26241, 26243, 26245, 26246, 26248, 26249, 26250, 26251, 26253, 26254, 26255, 26256, 26258, 26259, 26260, 26261, 26264, 26265, 26266, 26267, 26268, 26270, 26271, 26272, 26273, 26274, 26275, 26276, 26277, 26278, 26281, 26282, 26283, 26284, 26285, 26287, 26288, 26289, 26290, 26291, 26293, 26294, 26295, 26296, 26298, 26299, 26300, 26301, 26303, 26304, 26305, 26306, 26307, 26308, 26309, 26310, 26311, 26312, 26313, 26314, 26315, 26316, 26317, 26318, 26319, 26320, 26321, 26322, 26323, 26324, 26325, 26326, 26327, 26328, 26330, 26334, 26335, 26336, 26337, 26338, 26339, 26340, 26341, 26343, 26344, 26346, 26347, 26348, 26349, 26350, 26351, 26353, 26357, 26358, 26360, 26362, 26363, 26365, 26369, 26370, 26371, 26372, 26373, 26374, 26375, 26380, 26382, 26383, 26385, 26386, 26387, 26390, 26392, 26393, 26394, 26396, 26398, 26400, 26401, 26402, 26403, 26404, 26405, 26407, 26409, 26414, 26416, 26418, 26419, 26422, 26423, 26424, 26425, 26427, 26428, 26430, 26431, 26433, 26436, 26437, 26439, 26442, 26443, 26445, 26450, 26452, 26453, 26455, 26456, 26457, 26458, 26459, 26461, 26466, 26467, 26468, 26470, 26471, 26475, 26476, 26478, 26481, 26484, 26486, 26488, 26489, 26490, 26491, 26493, 26496, 26498, 26499, 26501, 26502, 26504, 26506, 26508, 26509, 26510, 26511, 26513, 26514, 26515, 26516, 26518, 26521, 26523, 26527, 26528, 26529, 26532, 26534, 26537, 26540, 26542, 26545, 26546, 26548, 26553, 26554, 26555, 26556, 26557, 26558, 26559, 26560, 26562, 26565, 26566, 26567, 26568, 26569, 26570, 26571, 26572, 26573, 26574, 26581, 26582, 26583, 26587, 26591, 26593, 26595, 26596, 26598, 26599, 26600, 26602, 26603, 26605, 26606, 26610, 26613, 26614, 26615, 26616, 26617, 26618, 26619, 26620, 26622, 26625, 26626, 26627, 26628, 26630, 26637, 26640, 26642, 26644, 26645, 26648, 26649, 26650, 26651, 26652, 26654, 26655, 26656, 26658, 26659, 26660, 26661, 26662, 26663, 26664, 26667, 26668, 26669, 26670, 26671, 26672, 26673, 26676, 26677, 26678, 26682, 26683, 26687, 26695, 26699, 26701, 26703, 26706, 26710, 26711, 26712, 26713, 26714, 26715, 26716, 26717, 26718, 26719, 26730, 26732, 26733, 26734, 26735, 26736, 26737, 26738, 26739, 26741, 26744, 26745, 26746, 26747, 26748, 26749, 26750, 26751, 26752, 26754, 26756, 26759, 26760, 26761, 26762, 26763, 26764, 26765, 26766, 26768, 26769, 26770, 26772, 26773, 26774, 26776, 26777, 26778, 26779, 26780, 26781, 26782, 26783, 26784, 26785, 26787, 26788, 26789, 26793, 26794, 26795, 26796, 26798, 26801, 26802, 26804, 26806, 26807, 26808, 26809, 26810, 26811, 26812, 26813, 26814, 26815, 26817, 26819, 26820, 26821, 26822, 26823, 26824, 26826, 26828, 26830, 26831, 26832, 26833, 26835, 26836, 26838, 26839, 26841, 26843, 26844, 26845, 26846, 26847, 26849, 26850, 26852, 26853, 26854, 26855, 26856, 26857, 26858, 26859, 26860, 26861, 26863, 26866, 26867, 26868, 26870, 26871, 26872, 26875, 26877, 26878, 26879, 26880, 26882, 26883, 26884, 26886, 26887, 26888, 26889, 26890, 26892, 26895, 26897, 26899, 26900, 26901, 26902, 26903, 26904, 26905, 26906, 26907, 26908, 26909, 26910, 26913, 26914, 26915, 26917, 26918, 26919, 26920, 26921, 26922, 26923, 26924, 26926, 26927, 26929, 26930, 26931, 26933, 26934, 26935, 26936, 26938, 26939, 26940, 26942, 26944, 26945, 26947, 26948, 26949, 26950, 26951, 26952, 26953, 26954, 26955, 26956, 26957, 26958, 26959, 26960, 26961, 26962, 26963, 26965, 26966, 26968, 26969, 26971, 26972, 26975, 26977, 26978, 26980, 26981, 26983, 26984, 26985, 26986, 26988, 26989, 26991, 26992, 26994, 26995, 26996, 26997, 26998, 27002, 27003, 27005, 27006, 27007, 27009, 27011, 27013, 27018, 27019, 27020, 27022, 27023, 27024, 27025, 27026, 27027, 27030, 27031, 27033, 27034, 27037, 27038, 27039, 27040, 27041, 27042, 27043, 27044, 27045, 27046, 27049, 27050, 27052, 27054, 27055, 27056, 27058, 27059, 27061, 27062, 27064, 27065, 27066, 27068, 27069, 27070, 27071, 27072, 27074, 27075, 27076, 27077, 27078, 27079, 27080, 27081, 27083, 27085, 27087, 27089, 27090, 27091, 27093, 27094, 27095, 27096, 27097, 27098, 27100, 27101, 27102, 27105, 27106, 27107, 27108, 27109, 27110, 27111, 27112, 27113, 27114, 27115, 27116, 27118, 27119, 27120, 27121, 27123, 27124, 27125, 27126, 27127, 27128, 27129, 27130, 27131, 27132, 27134, 27136, 27137, 27138, 27139, 27140, 27141, 27142, 27143, 27144, 27145, 27147, 27148, 27149, 27150, 27151, 27152, 27153, 27154, 27155, 27156, 27157, 27158, 27161, 27162, 27163, 27164, 27165, 27166, 27168, 27170, 27171, 27172, 27173, 27174, 27175, 27177, 27179, 27180, 27181, 27182, 27184, 27186, 27187, 27188, 27190, 27191, 27192, 27193, 27194, 27195, 27196, 27199, 27200, 27201, 27202, 27203, 27205, 27206, 27208, 27209, 27210, 27211, 27212, 27213, 27214, 27215, 27217, 27218, 27219, 27220, 27221, 27222, 27223, 27226, 27228, 27229, 27230, 27231, 27232, 27234, 27235, 27236, 27238, 27239, 27240, 27241, 27242, 27243, 27244, 27245, 27246, 27247, 27248, 27250, 27251, 27252, 27253, 27254, 27255, 27256, 27258, 27259, 27261, 27262, 27263, 27265, 27266, 27267, 27269, 27270, 27271, 27272, 27273, 27274, 27275, 27276, 27277, 27279, 27282, 27283, 27284, 27285, 27286, 27288, 27289, 27290, 27291, 27292, 27293, 27294, 27295, 27297, 27298, 27299, 27300, 27301, 27302, 27303, 27304, 27306, 27309, 27310, 27311, 27312, 27313, 27314, 27315, 27316, 27317, 27318, 27319, 27320, 27321, 27322, 27323, 27324, 27325, 27326, 27327, 27328, 27329, 27330, 27331, 27332, 27333, 27334, 27335, 27336, 27337, 27338, 27339, 27340, 27341, 27342, 27343, 27344, 27345, 27346, 27347, 27348, 27349, 27350, 27351, 27352, 27353, 27354, 27355, 27356, 27357, 27358, 27359, 27360, 27361, 27362, 27363, 27364, 27365, 27366, 27367, 27368, 27369, 27370, 27371, 27372, 27373, 27374, 27375, 27376, 27377, 27378, 27379, 27380, 27381, 27382, 27383, 27384, 27385, 27386, 27387, 27388, 27389, 27390, 27391, 27392, 27393, 27394, 27395, 27396, 27397, 27398, 27399, 27400, 27401, 27402, 27403, 27404, 27405, 27406, 27407, 27408, 27409, 27410, 27411, 27412, 27413, 27414, 27415, 27416, 27417, 27418, 27419, 27420, 27421, 27422, 27423, 27429, 27430, 27432, 27433, 27434, 27435, 27436, 27437, 27438, 27439, 27440, 27441, 27443, 27444, 27445, 27446, 27448, 27451, 27452, 27453, 27455, 27456, 27457, 27458, 27460, 27461, 27464, 27466, 27467, 27469, 27470, 27471, 27472, 27473, 27474, 27475, 27476, 27477, 27478, 27479, 27480, 27482, 27483, 27484, 27485, 27486, 27487, 27488, 27489, 27496, 27497, 27499, 27500, 27501, 27502, 27503, 27504, 27505, 27506, 27507, 27508, 27509, 27510, 27511, 27512, 27514, 27517, 27518, 27519, 27520, 27525, 27528, 27532, 27534, 27535, 27536, 27537, 27540, 27541, 27543, 27544, 27545, 27548, 27549, 27550, 27551, 27552, 27554, 27555, 27556, 27557, 27558, 27559, 27560, 27561, 27563, 27564, 27565, 27566, 27567, 27568, 27569, 27570, 27574, 27576, 27577, 27578, 27579, 27580, 27581, 27582, 27584, 27587, 27588, 27590, 27591, 27592, 27593, 27594, 27596, 27598, 27600, 27601, 27608, 27610, 27612, 27613, 27614, 27615, 27616, 27618, 27619, 27620, 27621, 27622, 27623, 27624, 27625, 27628, 27629, 27630, 27632, 27633, 27634, 27636, 27638, 27639, 27640, 27642, 27643, 27644, 27646, 27647, 27648, 27649, 27650, 27651, 27652, 27656, 27657, 27658, 27659, 27660, 27662, 27666, 27671, 27676, 27677, 27678, 27680, 27683, 27685, 27691, 27692, 27693, 27697, 27699, 27702, 27703, 27705, 27706, 27707, 27708, 27710, 27711, 27715, 27716, 27717, 27720, 27723, 27724, 27725, 27726, 27727, 27729, 27730, 27731, 27734, 27736, 27737, 27738, 27746, 27747, 27749, 27750, 27751, 27755, 27756, 27757, 27758, 27759, 27761, 27763, 27765, 27767, 27768, 27770, 27771, 27772, 27775, 27776, 27780, 27783, 27786, 27787, 27789, 27790, 27793, 27794, 27797, 27798, 27799, 27800, 27802, 27804, 27805, 27806, 27808, 27810, 27816, 27820, 27823, 27824, 27828, 27829, 27830, 27831, 27834, 27840, 27841, 27842, 27843, 27846, 27847, 27848, 27851, 27853, 27854, 27855, 27857, 27858, 27864, 27865, 27866, 27868, 27869, 27871, 27876, 27878, 27879, 27881, 27884, 27885, 27890, 27892, 27897, 27903, 27904, 27906, 27907, 27909, 27910, 27912, 27913, 27914, 27917, 27919, 27920, 27921, 27923, 27924, 27925, 27926, 27928, 27932, 27933, 27935, 27936, 27937, 27938, 27939, 27940, 27942, 27944, 27945, 27948, 27949, 27951, 27952, 27956, 27958, 27959, 27960, 27962, 27967, 27968, 27970, 27972, 27977, 27980, 27984, 27989, 27990, 27991, 27992, 27995, 27997, 27999, 28001, 28002, 28004, 28005, 28007, 28008, 28011, 28012, 28013, 28016, 28017, 28018, 28019, 28021, 28022, 28025, 28026, 28027, 28029, 28030, 28031, 28032, 28033, 28035, 28036, 28038, 28039, 28042, 28043, 28045, 28047, 28048, 28050, 28054, 28055, 28056, 28057, 28058, 28060, 28066, 28069, 28076, 28077, 28080, 28081, 28083, 28084, 28086, 28087, 28089, 28090, 28091, 28092, 28093, 28094, 28097, 28098, 28099, 28104, 28105, 28106, 28109, 28110, 28111, 28112, 28114, 28115, 28116, 28117, 28119, 28122, 28123, 28124, 28127, 28130, 28131, 28133, 28135, 28136, 28137, 28138, 28141, 28143, 28144, 28146, 28148, 28149, 28150, 28152, 28154, 28157, 28158, 28159, 28160, 28161, 28162, 28163, 28164, 28166, 28167, 28168, 28169, 28171, 28175, 28178, 28179, 28181, 28184, 28185, 28187, 28188, 28190, 28191, 28194, 28198, 28199, 28200, 28202, 28204, 28206, 28208, 28209, 28211, 28213, 28214, 28215, 28217, 28219, 28220, 28221, 28222, 28223, 28224, 28225, 28226, 28229, 28230, 28231, 28232, 28233, 28234, 28235, 28236, 28239, 28240, 28241, 28242, 28245, 28247, 28249, 28250, 28252, 28253, 28254, 28256, 28257, 28258, 28259, 28260, 28261, 28262, 28263, 28264, 28265, 28266, 28268, 28269, 28271, 28272, 28273, 28274, 28275, 28276, 28277, 28278, 28279, 28280, 28281, 28282, 28283, 28284, 28285, 28288, 28289, 28290, 28292, 28295, 28296, 28298, 28299, 28300, 28301, 28302, 28305, 28306, 28307, 28308, 28309, 28310, 28311, 28313, 28314, 28315, 28317, 28318, 28320, 28321, 28323, 28324, 28326, 28328, 28329, 28331, 28332, 28333, 28334, 28336, 28339, 28341, 28344, 28345, 28348, 28350, 28351, 28352, 28355, 28356, 28357, 28358, 28360, 28361, 28362, 28364, 28365, 28366, 28368, 28370, 28374, 28376, 28377, 28379, 28380, 28381, 28387, 28391, 28394, 28395, 28396, 28397, 28398, 28399, 28400, 28401, 28402, 28403, 28405, 28406, 28407, 28408, 28410, 28411, 28412, 28413, 28414, 28415, 28416, 28417, 28419, 28420, 28421, 28423, 28424, 28426, 28427, 28428, 28429, 28430, 28432, 28433, 28434, 28438, 28439, 28440, 28441, 28442, 28443, 28444, 28445, 28446, 28447, 28449, 28450, 28451, 28453, 28454, 28455, 28456, 28460, 28462, 28464, 28466, 28468, 28469, 28471, 28472, 28473, 28474, 28475, 28476, 28477, 28479, 28480, 28481, 28482, 28483, 28484, 28485, 28488, 28489, 28490, 28492, 28494, 28495, 28496, 28497, 28498, 28499, 28500, 28501, 28502, 28503, 28505, 28506, 28507, 28509, 28511, 28512, 28513, 28515, 28516, 28517, 28519, 28520, 28521, 28522, 28523, 28524, 28527, 28528, 28529, 28531, 28533, 28534, 28535, 28537, 28539, 28541, 28542, 28543, 28544, 28545, 28546, 28547, 28549, 28550, 28551, 28554, 28555, 28559, 28560, 28561, 28562, 28563, 28564, 28565, 28566, 28567, 28568, 28569, 28570, 28571, 28573, 28574, 28575, 28576, 28578, 28579, 28580, 28581, 28582, 28584, 28585, 28586, 28587, 28588, 28589, 28590, 28591, 28592, 28593, 28594, 28596, 28597, 28599, 28600, 28602, 28603, 28604, 28605, 28606, 28607, 28609, 28611, 28612, 28613, 28614, 28615, 28616, 28618, 28619, 28620, 28621, 28622, 28623, 28624, 28627, 28628, 28629, 28630, 28631, 28632, 28633, 28634, 28635, 28636, 28637, 28639, 28642, 28643, 28644, 28645, 28646, 28647, 28648, 28649, 28650, 28651, 28652, 28653, 28656, 28657, 28658, 28659, 28660, 28661, 28662, 28663, 28664, 28665, 28666, 28667, 28668, 28669, 28670, 28671, 28672, 28673, 28674, 28675, 28676, 28677, 28678, 28679, 28680, 28681, 28682, 28683, 28684, 28685, 28686, 28687, 28688, 28690, 28691, 28692, 28693, 28694, 28695, 28696, 28697, 28700, 28701, 28702, 28703, 28704, 28705, 28706, 28708, 28709, 28710, 28711, 28712, 28713, 28714, 28715, 28716, 28717, 28718, 28719, 28720, 28721, 28722, 28723, 28724, 28726, 28727, 28728, 28730, 28731, 28732, 28733, 28734, 28735, 28736, 28737, 28738, 28739, 28740, 28741, 28742, 28743, 28744, 28745, 28746, 28747, 28749, 28750, 28752, 28753, 28754, 28755, 28756, 28757, 28758, 28759, 28760, 28761, 28762, 28763, 28764, 28765, 28767, 28768, 28769, 28770, 28771, 28772, 28773, 28774, 28775, 28776, 28777, 28778, 28782, 28785, 28786, 28787, 28788, 28791, 28793, 28794, 28795, 28797, 28801, 28802, 28803, 28804, 28806, 28807, 28808, 28811, 28812, 28813, 28815, 28816, 28817, 28819, 28823, 28824, 28826, 28827, 28830, 28831, 28832, 28833, 28834, 28835, 28836, 28837, 28838, 28839, 28840, 28841, 28842, 28848, 28850, 28852, 28853, 28854, 28858, 28862, 28863, 28868, 28869, 28870, 28871, 28873, 28875, 28876, 28877, 28878, 28879, 28880, 28881, 28882, 28883, 28884, 28885, 28886, 28887, 28890, 28892, 28893, 28894, 28896, 28897, 28898, 28899, 28901, 28906, 28910, 28912, 28913, 28914, 28915, 28916, 28917, 28918, 28920, 28922, 28923, 28924, 28926, 28927, 28928, 28929, 28930, 28931, 28932, 28933, 28934, 28935, 28936, 28939, 28940, 28941, 28942, 28943, 28945, 28946, 28948, 28951, 28955, 28956, 28957, 28958, 28959, 28960, 28961, 28962, 28963, 28964, 28965, 28967, 28968, 28969, 28970, 28971, 28972, 28973, 28974, 28978, 28979, 28980, 28981, 28983, 28984, 28985, 28986, 28987, 28988, 28989, 28990, 28991, 28992, 28993, 28994, 28995, 28996, 28998, 28999, 29000, 29001, 29003, 29005, 29007, 29008, 29009, 29010, 29011, 29012, 29013, 29014, 29015, 29016, 29017, 29018, 29019, 29021, 29023, 29024, 29025, 29026, 29027, 29029, 29033, 29034, 29035, 29036, 29037, 29039, 29040, 29041, 29044, 29045, 29046, 29047, 29049, 29051, 29052, 29054, 29055, 29056, 29057, 29058, 29059, 29061, 29062, 29063, 29064, 29065, 29067, 29068, 29069, 29070, 29072, 29073, 29074, 29075, 29077, 29078, 29079, 29082, 29083, 29084, 29085, 29086, 29089, 29090, 29091, 29092, 29093, 29094, 29095, 29097, 29098, 29099, 29101, 29102, 29103, 29104, 29105, 29106, 29108, 29110, 29111, 29112, 29114, 29115, 29116, 29117, 29118, 29119, 29120, 29121, 29122, 29124, 29125, 29126, 29127, 29128, 29129, 29130, 29131, 29132, 29133, 29135, 29136, 29137, 29138, 29139, 29142, 29143, 29144, 29145, 29146, 29147, 29148, 29149, 29150, 29151, 29153, 29154, 29155, 29156, 29158, 29160, 29161, 29162, 29163, 29164, 29165, 29167, 29168, 29169, 29170, 29171, 29172, 29173, 29174, 29175, 29176, 29178, 29179, 29180, 29181, 29182, 29183, 29184, 29185, 29186, 29187, 29188, 29189, 29191, 29192, 29193, 29194, 29195, 29196, 29197, 29198, 29199, 29200, 29201, 29202, 29203, 29204, 29205, 29206, 29207, 29208, 29209, 29210, 29211, 29212, 29214, 29215, 29216, 29217, 29218, 29219, 29220, 29221, 29222, 29223, 29225, 29227, 29229, 29230, 29231, 29234, 29235, 29236, 29242, 29244, 29246, 29248, 29249, 29250, 29251, 29252, 29253, 29254, 29257, 29258, 29259, 29262, 29263, 29264, 29265, 29267, 29268, 29269, 29271, 29272, 29274, 29276, 29278, 29280, 29283, 29284, 29285, 29288, 29290, 29291, 29292, 29293, 29296, 29297, 29299, 29300, 29302, 29303, 29304, 29307, 29308, 29309, 29314, 29315, 29317, 29318, 29319, 29320, 29321, 29324, 29326, 29328, 29329, 29331, 29332, 29333, 29334, 29335, 29336, 29337, 29338, 29339, 29340, 29341, 29342, 29344, 29345, 29346, 29347, 29348, 29349, 29350, 29351, 29352, 29353, 29354, 29355, 29358, 29361, 29362, 29363, 29365, 29370, 29371, 29372, 29373, 29374, 29375, 29376, 29381, 29382, 29383, 29385, 29386, 29387, 29388, 29391, 29393, 29395, 29396, 29397, 29398, 29400, 29402, 29403, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 12288, 12289, 12290, 183, 713, 711, 168, 12291, 12293, 8212, 65374, 8214, 8230, 8216, 8217, 8220, 8221, 12308, 12309, 12296, 12297, 12298, 12299, 12300, 12301, 12302, 12303, 12310, 12311, 12304, 12305, 177, 215, 247, 8758, 8743, 8744, 8721, 8719, 8746, 8745, 8712, 8759, 8730, 8869, 8741, 8736, 8978, 8857, 8747, 8750, 8801, 8780, 8776, 8765, 8733, 8800, 8814, 8815, 8804, 8805, 8734, 8757, 8756, 9794, 9792, 176, 8242, 8243, 8451, 65284, 164, 65504, 65505, 8240, 167, 8470, 9734, 9733, 9675, 9679, 9678, 9671, 9670, 9633, 9632, 9651, 9650, 8251, 8594, 8592, 8593, 8595, 12307, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8560, 8561, 8562, 8563, 8564, 8565, 8566, 8567, 8568, 8569, null, null, null, null, null, null, 9352, 9353, 9354, 9355, 9356, 9357, 9358, 9359, 9360, 9361, 9362, 9363, 9364, 9365, 9366, 9367, 9368, 9369, 9370, 9371, 9332, 9333, 9334, 9335, 9336, 9337, 9338, 9339, 9340, 9341, 9342, 9343, 9344, 9345, 9346, 9347, 9348, 9349, 9350, 9351, 9312, 9313, 9314, 9315, 9316, 9317, 9318, 9319, 9320, 9321, 8364, null, 12832, 12833, 12834, 12835, 12836, 12837, 12838, 12839, 12840, 12841, null, null, 8544, 8545, 8546, 8547, 8548, 8549, 8550, 8551, 8552, 8553, 8554, 8555, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 12288, 65281, 65282, 65283, 65509, 65285, 65286, 65287, 65288, 65289, 65290, 65291, 65292, 65293, 65294, 65295, 65296, 65297, 65298, 65299, 65300, 65301, 65302, 65303, 65304, 65305, 65306, 65307, 65308, 65309, 65310, 65311, 65312, 65313, 65314, 65315, 65316, 65317, 65318, 65319, 65320, 65321, 65322, 65323, 65324, 65325, 65326, 65327, 65328, 65329, 65330, 65331, 65332, 65333, 65334, 65335, 65336, 65337, 65338, 65339, 65340, 65341, 65342, 65343, 65344, 65345, 65346, 65347, 65348, 65349, 65350, 65351, 65352, 65353, 65354, 65355, 65356, 65357, 65358, 65359, 65360, 65361, 65362, 65363, 65364, 65365, 65366, 65367, 65368, 65369, 65370, 65371, 65372, 65373, 65507, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 12353, 12354, 12355, 12356, 12357, 12358, 12359, 12360, 12361, 12362, 12363, 12364, 12365, 12366, 12367, 12368, 12369, 12370, 12371, 12372, 12373, 12374, 12375, 12376, 12377, 12378, 12379, 12380, 12381, 12382, 12383, 12384, 12385, 12386, 12387, 12388, 12389, 12390, 12391, 12392, 12393, 12394, 12395, 12396, 12397, 12398, 12399, 12400, 12401, 12402, 12403, 12404, 12405, 12406, 12407, 12408, 12409, 12410, 12411, 12412, 12413, 12414, 12415, 12416, 12417, 12418, 12419, 12420, 12421, 12422, 12423, 12424, 12425, 12426, 12427, 12428, 12429, 12430, 12431, 12432, 12433, 12434, 12435, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 12449, 12450, 12451, 12452, 12453, 12454, 12455, 12456, 12457, 12458, 12459, 12460, 12461, 12462, 12463, 12464, 12465, 12466, 12467, 12468, 12469, 12470, 12471, 12472, 12473, 12474, 12475, 12476, 12477, 12478, 12479, 12480, 12481, 12482, 12483, 12484, 12485, 12486, 12487, 12488, 12489, 12490, 12491, 12492, 12493, 12494, 12495, 12496, 12497, 12498, 12499, 12500, 12501, 12502, 12503, 12504, 12505, 12506, 12507, 12508, 12509, 12510, 12511, 12512, 12513, 12514, 12515, 12516, 12517, 12518, 12519, 12520, 12521, 12522, 12523, 12524, 12525, 12526, 12527, 12528, 12529, 12530, 12531, 12532, 12533, 12534, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, null, null, null, null, null, null, null, null, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 963, 964, 965, 966, 967, 968, 969, null, null, null, null, null, null, null, 65077, 65078, 65081, 65082, 65087, 65088, 65085, 65086, 65089, 65090, 65091, 65092, null, null, 65083, 65084, 65079, 65080, 65073, null, 65075, 65076, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1040, 1041, 1042, 1043, 1044, 1045, 1025, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1072, 1073, 1074, 1075, 1076, 1077, 1105, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, null, null, null, null, null, null, null, null, null, null, null, null, null, 714, 715, 729, 8211, 8213, 8229, 8245, 8453, 8457, 8598, 8599, 8600, 8601, 8725, 8735, 8739, 8786, 8806, 8807, 8895, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9581, 9582, 9583, 9584, 9585, 9586, 9587, 9601, 9602, 9603, 9604, 9605, 9606, 9607, 9608, 9609, 9610, 9611, 9612, 9613, 9614, 9615, 9619, 9620, 9621, 9660, 9661, 9698, 9699, 9700, 9701, 9737, 8853, 12306, 12317, 12318, null, null, null, null, null, null, null, null, null, null, null, 257, 225, 462, 224, 275, 233, 283, 232, 299, 237, 464, 236, 333, 243, 466, 242, 363, 250, 468, 249, 470, 472, 474, 476, 252, 234, 593, null, 324, 328, 505, 609, null, null, null, null, 12549, 12550, 12551, 12552, 12553, 12554, 12555, 12556, 12557, 12558, 12559, 12560, 12561, 12562, 12563, 12564, 12565, 12566, 12567, 12568, 12569, 12570, 12571, 12572, 12573, 12574, 12575, 12576, 12577, 12578, 12579, 12580, 12581, 12582, 12583, 12584, 12585, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 12321, 12322, 12323, 12324, 12325, 12326, 12327, 12328, 12329, 12963, 13198, 13199, 13212, 13213, 13214, 13217, 13252, 13262, 13265, 13266, 13269, 65072, 65506, 65508, null, 8481, 12849, null, 8208, null, null, null, 12540, 12443, 12444, 12541, 12542, 12294, 12445, 12446, 65097, 65098, 65099, 65100, 65101, 65102, 65103, 65104, 65105, 65106, 65108, 65109, 65110, 65111, 65113, 65114, 65115, 65116, 65117, 65118, 65119, 65120, 65121, 65122, 65123, 65124, 65125, 65126, 65128, 65129, 65130, 65131, 12350, 12272, 12273, 12274, 12275, 12276, 12277, 12278, 12279, 12280, 12281, 12282, 12283, 12295, null, null, null, null, null, null, null, null, null, null, null, null, null, 9472, 9473, 9474, 9475, 9476, 9477, 9478, 9479, 9480, 9481, 9482, 9483, 9484, 9485, 9486, 9487, 9488, 9489, 9490, 9491, 9492, 9493, 9494, 9495, 9496, 9497, 9498, 9499, 9500, 9501, 9502, 9503, 9504, 9505, 9506, 9507, 9508, 9509, 9510, 9511, 9512, 9513, 9514, 9515, 9516, 9517, 9518, 9519, 9520, 9521, 9522, 9523, 9524, 9525, 9526, 9527, 9528, 9529, 9530, 9531, 9532, 9533, 9534, 9535, 9536, 9537, 9538, 9539, 9540, 9541, 9542, 9543, 9544, 9545, 9546, 9547, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 29404, 29405, 29407, 29410, 29411, 29412, 29413, 29414, 29415, 29418, 29419, 29429, 29430, 29433, 29437, 29438, 29439, 29440, 29442, 29444, 29445, 29446, 29447, 29448, 29449, 29451, 29452, 29453, 29455, 29456, 29457, 29458, 29460, 29464, 29465, 29466, 29471, 29472, 29475, 29476, 29478, 29479, 29480, 29485, 29487, 29488, 29490, 29491, 29493, 29494, 29498, 29499, 29500, 29501, 29504, 29505, 29506, 29507, 29508, 29509, 29510, 29511, 29512, 29513, 29514, 29515, 29516, 29518, 29519, 29521, 29523, 29524, 29525, 29526, 29528, 29529, 29530, 29531, 29532, 29533, 29534, 29535, 29537, 29538, 29539, 29540, 29541, 29542, 29543, 29544, 29545, 29546, 29547, 29550, 29552, 29553, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 29554, 29555, 29556, 29557, 29558, 29559, 29560, 29561, 29562, 29563, 29564, 29565, 29567, 29568, 29569, 29570, 29571, 29573, 29574, 29576, 29578, 29580, 29581, 29583, 29584, 29586, 29587, 29588, 29589, 29591, 29592, 29593, 29594, 29596, 29597, 29598, 29600, 29601, 29603, 29604, 29605, 29606, 29607, 29608, 29610, 29612, 29613, 29617, 29620, 29621, 29622, 29624, 29625, 29628, 29629, 29630, 29631, 29633, 29635, 29636, 29637, 29638, 29639, 29643, 29644, 29646, 29650, 29651, 29652, 29653, 29654, 29655, 29656, 29658, 29659, 29660, 29661, 29663, 29665, 29666, 29667, 29668, 29670, 29672, 29674, 29675, 29676, 29678, 29679, 29680, 29681, 29683, 29684, 29685, 29686, 29687, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 29688, 29689, 29690, 29691, 29692, 29693, 29694, 29695, 29696, 29697, 29698, 29700, 29703, 29704, 29707, 29708, 29709, 29710, 29713, 29714, 29715, 29716, 29717, 29718, 29719, 29720, 29721, 29724, 29725, 29726, 29727, 29728, 29729, 29731, 29732, 29735, 29737, 29739, 29741, 29743, 29745, 29746, 29751, 29752, 29753, 29754, 29755, 29757, 29758, 29759, 29760, 29762, 29763, 29764, 29765, 29766, 29767, 29768, 29769, 29770, 29771, 29772, 29773, 29774, 29775, 29776, 29777, 29778, 29779, 29780, 29782, 29784, 29789, 29792, 29793, 29794, 29795, 29796, 29797, 29798, 29799, 29800, 29801, 29802, 29803, 29804, 29806, 29807, 29809, 29810, 29811, 29812, 29813, 29816, 29817, 29818, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 29819, 29820, 29821, 29823, 29826, 29828, 29829, 29830, 29832, 29833, 29834, 29836, 29837, 29839, 29841, 29842, 29843, 29844, 29845, 29846, 29847, 29848, 29849, 29850, 29851, 29853, 29855, 29856, 29857, 29858, 29859, 29860, 29861, 29862, 29866, 29867, 29868, 29869, 29870, 29871, 29872, 29873, 29874, 29875, 29876, 29877, 29878, 29879, 29880, 29881, 29883, 29884, 29885, 29886, 29887, 29888, 29889, 29890, 29891, 29892, 29893, 29894, 29895, 29896, 29897, 29898, 29899, 29900, 29901, 29902, 29903, 29904, 29905, 29907, 29908, 29909, 29910, 29911, 29912, 29913, 29914, 29915, 29917, 29919, 29921, 29925, 29927, 29928, 29929, 29930, 29931, 29932, 29933, 29936, 29937, 29938, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 29939, 29941, 29944, 29945, 29946, 29947, 29948, 29949, 29950, 29952, 29953, 29954, 29955, 29957, 29958, 29959, 29960, 29961, 29962, 29963, 29964, 29966, 29968, 29970, 29972, 29973, 29974, 29975, 29979, 29981, 29982, 29984, 29985, 29986, 29987, 29988, 29990, 29991, 29994, 29998, 30004, 30006, 30009, 30012, 30013, 30015, 30017, 30018, 30019, 30020, 30022, 30023, 30025, 30026, 30029, 30032, 30033, 30034, 30035, 30037, 30038, 30039, 30040, 30045, 30046, 30047, 30048, 30049, 30050, 30051, 30052, 30055, 30056, 30057, 30059, 30060, 30061, 30062, 30063, 30064, 30065, 30067, 30069, 30070, 30071, 30074, 30075, 30076, 30077, 30078, 30080, 30081, 30082, 30084, 30085, 30087, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 30088, 30089, 30090, 30092, 30093, 30094, 30096, 30099, 30101, 30104, 30107, 30108, 30110, 30114, 30118, 30119, 30120, 30121, 30122, 30125, 30134, 30135, 30138, 30139, 30143, 30144, 30145, 30150, 30155, 30156, 30158, 30159, 30160, 30161, 30163, 30167, 30169, 30170, 30172, 30173, 30175, 30176, 30177, 30181, 30185, 30188, 30189, 30190, 30191, 30194, 30195, 30197, 30198, 30199, 30200, 30202, 30203, 30205, 30206, 30210, 30212, 30214, 30215, 30216, 30217, 30219, 30221, 30222, 30223, 30225, 30226, 30227, 30228, 30230, 30234, 30236, 30237, 30238, 30241, 30243, 30247, 30248, 30252, 30254, 30255, 30257, 30258, 30262, 30263, 30265, 30266, 30267, 30269, 30273, 30274, 30276, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 30277, 30278, 30279, 30280, 30281, 30282, 30283, 30286, 30287, 30288, 30289, 30290, 30291, 30293, 30295, 30296, 30297, 30298, 30299, 30301, 30303, 30304, 30305, 30306, 30308, 30309, 30310, 30311, 30312, 30313, 30314, 30316, 30317, 30318, 30320, 30321, 30322, 30323, 30324, 30325, 30326, 30327, 30329, 30330, 30332, 30335, 30336, 30337, 30339, 30341, 30345, 30346, 30348, 30349, 30351, 30352, 30354, 30356, 30357, 30359, 30360, 30362, 30363, 30364, 30365, 30366, 30367, 30368, 30369, 30370, 30371, 30373, 30374, 30375, 30376, 30377, 30378, 30379, 30380, 30381, 30383, 30384, 30387, 30389, 30390, 30391, 30392, 30393, 30394, 30395, 30396, 30397, 30398, 30400, 30401, 30403, 21834, 38463, 22467, 25384, 21710, 21769, 21696, 30353, 30284, 34108, 30702, 33406, 30861, 29233, 38552, 38797, 27688, 23433, 20474, 25353, 26263, 23736, 33018, 26696, 32942, 26114, 30414, 20985, 25942, 29100, 32753, 34948, 20658, 22885, 25034, 28595, 33453, 25420, 25170, 21485, 21543, 31494, 20843, 30116, 24052, 25300, 36299, 38774, 25226, 32793, 22365, 38712, 32610, 29240, 30333, 26575, 30334, 25670, 20336, 36133, 25308, 31255, 26001, 29677, 25644, 25203, 33324, 39041, 26495, 29256, 25198, 25292, 20276, 29923, 21322, 21150, 32458, 37030, 24110, 26758, 27036, 33152, 32465, 26834, 30917, 34444, 38225, 20621, 35876, 33502, 32990, 21253, 35090, 21093, 30404, 30407, 30409, 30411, 30412, 30419, 30421, 30425, 30426, 30428, 30429, 30430, 30432, 30433, 30434, 30435, 30436, 30438, 30439, 30440, 30441, 30442, 30443, 30444, 30445, 30448, 30451, 30453, 30454, 30455, 30458, 30459, 30461, 30463, 30464, 30466, 30467, 30469, 30470, 30474, 30476, 30478, 30479, 30480, 30481, 30482, 30483, 30484, 30485, 30486, 30487, 30488, 30491, 30492, 30493, 30494, 30497, 30499, 30500, 30501, 30503, 30506, 30507, 30508, 30510, 30512, 30513, 30514, 30515, 30516, 30521, 30523, 30525, 30526, 30527, 30530, 30532, 30533, 30534, 30536, 30537, 30538, 30539, 30540, 30541, 30542, 30543, 30546, 30547, 30548, 30549, 30550, 30551, 30552, 30553, 30556, 34180, 38649, 20445, 22561, 39281, 23453, 25265, 25253, 26292, 35961, 40077, 29190, 26479, 30865, 24754, 21329, 21271, 36744, 32972, 36125, 38049, 20493, 29384, 22791, 24811, 28953, 34987, 22868, 33519, 26412, 31528, 23849, 32503, 29997, 27893, 36454, 36856, 36924, 40763, 27604, 37145, 31508, 24444, 30887, 34006, 34109, 27605, 27609, 27606, 24065, 24199, 30201, 38381, 25949, 24330, 24517, 36767, 22721, 33218, 36991, 38491, 38829, 36793, 32534, 36140, 25153, 20415, 21464, 21342, 36776, 36777, 36779, 36941, 26631, 24426, 33176, 34920, 40150, 24971, 21035, 30250, 24428, 25996, 28626, 28392, 23486, 25672, 20853, 20912, 26564, 19993, 31177, 39292, 28851, 30557, 30558, 30559, 30560, 30564, 30567, 30569, 30570, 30573, 30574, 30575, 30576, 30577, 30578, 30579, 30580, 30581, 30582, 30583, 30584, 30586, 30587, 30588, 30593, 30594, 30595, 30598, 30599, 30600, 30601, 30602, 30603, 30607, 30608, 30611, 30612, 30613, 30614, 30615, 30616, 30617, 30618, 30619, 30620, 30621, 30622, 30625, 30627, 30628, 30630, 30632, 30635, 30637, 30638, 30639, 30641, 30642, 30644, 30646, 30647, 30648, 30649, 30650, 30652, 30654, 30656, 30657, 30658, 30659, 30660, 30661, 30662, 30663, 30664, 30665, 30666, 30667, 30668, 30670, 30671, 30672, 30673, 30674, 30675, 30676, 30677, 30678, 30680, 30681, 30682, 30685, 30686, 30687, 30688, 30689, 30692, 30149, 24182, 29627, 33760, 25773, 25320, 38069, 27874, 21338, 21187, 25615, 38082, 31636, 20271, 24091, 33334, 33046, 33162, 28196, 27850, 39539, 25429, 21340, 21754, 34917, 22496, 19981, 24067, 27493, 31807, 37096, 24598, 25830, 29468, 35009, 26448, 25165, 36130, 30572, 36393, 37319, 24425, 33756, 34081, 39184, 21442, 34453, 27531, 24813, 24808, 28799, 33485, 33329, 20179, 27815, 34255, 25805, 31961, 27133, 26361, 33609, 21397, 31574, 20391, 20876, 27979, 23618, 36461, 25554, 21449, 33580, 33590, 26597, 30900, 25661, 23519, 23700, 24046, 35815, 25286, 26612, 35962, 25600, 25530, 34633, 39307, 35863, 32544, 38130, 20135, 38416, 39076, 26124, 29462, 30694, 30696, 30698, 30703, 30704, 30705, 30706, 30708, 30709, 30711, 30713, 30714, 30715, 30716, 30723, 30724, 30725, 30726, 30727, 30728, 30730, 30731, 30734, 30735, 30736, 30739, 30741, 30745, 30747, 30750, 30752, 30753, 30754, 30756, 30760, 30762, 30763, 30766, 30767, 30769, 30770, 30771, 30773, 30774, 30781, 30783, 30785, 30786, 30787, 30788, 30790, 30792, 30793, 30794, 30795, 30797, 30799, 30801, 30803, 30804, 30808, 30809, 30810, 30811, 30812, 30814, 30815, 30816, 30817, 30818, 30819, 30820, 30821, 30822, 30823, 30824, 30825, 30831, 30832, 30833, 30834, 30835, 30836, 30837, 30838, 30840, 30841, 30842, 30843, 30845, 30846, 30847, 30848, 30849, 30850, 30851, 22330, 23581, 24120, 38271, 20607, 32928, 21378, 25950, 30021, 21809, 20513, 36229, 25220, 38046, 26397, 22066, 28526, 24034, 21557, 28818, 36710, 25199, 25764, 25507, 24443, 28552, 37108, 33251, 36784, 23576, 26216, 24561, 27785, 38472, 36225, 34924, 25745, 31216, 22478, 27225, 25104, 21576, 20056, 31243, 24809, 28548, 35802, 25215, 36894, 39563, 31204, 21507, 30196, 25345, 21273, 27744, 36831, 24347, 39536, 32827, 40831, 20360, 23610, 36196, 32709, 26021, 28861, 20805, 20914, 34411, 23815, 23456, 25277, 37228, 30068, 36364, 31264, 24833, 31609, 20167, 32504, 30597, 19985, 33261, 21021, 20986, 27249, 21416, 36487, 38148, 38607, 28353, 38500, 26970, 30852, 30853, 30854, 30856, 30858, 30859, 30863, 30864, 30866, 30868, 30869, 30870, 30873, 30877, 30878, 30880, 30882, 30884, 30886, 30888, 30889, 30890, 30891, 30892, 30893, 30894, 30895, 30901, 30902, 30903, 30904, 30906, 30907, 30908, 30909, 30911, 30912, 30914, 30915, 30916, 30918, 30919, 30920, 30924, 30925, 30926, 30927, 30929, 30930, 30931, 30934, 30935, 30936, 30938, 30939, 30940, 30941, 30942, 30943, 30944, 30945, 30946, 30947, 30948, 30949, 30950, 30951, 30953, 30954, 30955, 30957, 30958, 30959, 30960, 30961, 30963, 30965, 30966, 30968, 30969, 30971, 30972, 30973, 30974, 30975, 30976, 30978, 30979, 30980, 30982, 30983, 30984, 30985, 30986, 30987, 30988, 30784, 20648, 30679, 25616, 35302, 22788, 25571, 24029, 31359, 26941, 20256, 33337, 21912, 20018, 30126, 31383, 24162, 24202, 38383, 21019, 21561, 28810, 25462, 38180, 22402, 26149, 26943, 37255, 21767, 28147, 32431, 34850, 25139, 32496, 30133, 33576, 30913, 38604, 36766, 24904, 29943, 35789, 27492, 21050, 36176, 27425, 32874, 33905, 22257, 21254, 20174, 19995, 20945, 31895, 37259, 31751, 20419, 36479, 31713, 31388, 25703, 23828, 20652, 33030, 30209, 31929, 28140, 32736, 26449, 23384, 23544, 30923, 25774, 25619, 25514, 25387, 38169, 25645, 36798, 31572, 30249, 25171, 22823, 21574, 27513, 20643, 25140, 24102, 27526, 20195, 36151, 34955, 24453, 36910, 30989, 30990, 30991, 30992, 30993, 30994, 30996, 30997, 30998, 30999, 31000, 31001, 31002, 31003, 31004, 31005, 31007, 31008, 31009, 31010, 31011, 31013, 31014, 31015, 31016, 31017, 31018, 31019, 31020, 31021, 31022, 31023, 31024, 31025, 31026, 31027, 31029, 31030, 31031, 31032, 31033, 31037, 31039, 31042, 31043, 31044, 31045, 31047, 31050, 31051, 31052, 31053, 31054, 31055, 31056, 31057, 31058, 31060, 31061, 31064, 31065, 31073, 31075, 31076, 31078, 31081, 31082, 31083, 31084, 31086, 31088, 31089, 31090, 31091, 31092, 31093, 31094, 31097, 31099, 31100, 31101, 31102, 31103, 31106, 31107, 31110, 31111, 31112, 31113, 31115, 31116, 31117, 31118, 31120, 31121, 31122, 24608, 32829, 25285, 20025, 21333, 37112, 25528, 32966, 26086, 27694, 20294, 24814, 28129, 35806, 24377, 34507, 24403, 25377, 20826, 33633, 26723, 20992, 25443, 36424, 20498, 23707, 31095, 23548, 21040, 31291, 24764, 36947, 30423, 24503, 24471, 30340, 36460, 28783, 30331, 31561, 30634, 20979, 37011, 22564, 20302, 28404, 36842, 25932, 31515, 29380, 28068, 32735, 23265, 25269, 24213, 22320, 33922, 31532, 24093, 24351, 36882, 32532, 39072, 25474, 28359, 30872, 28857, 20856, 38747, 22443, 30005, 20291, 30008, 24215, 24806, 22880, 28096, 27583, 30857, 21500, 38613, 20939, 20993, 25481, 21514, 38035, 35843, 36300, 29241, 30879, 34678, 36845, 35853, 21472, 31123, 31124, 31125, 31126, 31127, 31128, 31129, 31131, 31132, 31133, 31134, 31135, 31136, 31137, 31138, 31139, 31140, 31141, 31142, 31144, 31145, 31146, 31147, 31148, 31149, 31150, 31151, 31152, 31153, 31154, 31156, 31157, 31158, 31159, 31160, 31164, 31167, 31170, 31172, 31173, 31175, 31176, 31178, 31180, 31182, 31183, 31184, 31187, 31188, 31190, 31191, 31193, 31194, 31195, 31196, 31197, 31198, 31200, 31201, 31202, 31205, 31208, 31210, 31212, 31214, 31217, 31218, 31219, 31220, 31221, 31222, 31223, 31225, 31226, 31228, 31230, 31231, 31233, 31236, 31237, 31239, 31240, 31241, 31242, 31244, 31247, 31248, 31249, 31250, 31251, 31253, 31254, 31256, 31257, 31259, 31260, 19969, 30447, 21486, 38025, 39030, 40718, 38189, 23450, 35746, 20002, 19996, 20908, 33891, 25026, 21160, 26635, 20375, 24683, 20923, 27934, 20828, 25238, 26007, 38497, 35910, 36887, 30168, 37117, 30563, 27602, 29322, 29420, 35835, 22581, 30585, 36172, 26460, 38208, 32922, 24230, 28193, 22930, 31471, 30701, 38203, 27573, 26029, 32526, 22534, 20817, 38431, 23545, 22697, 21544, 36466, 25958, 39039, 22244, 38045, 30462, 36929, 25479, 21702, 22810, 22842, 22427, 36530, 26421, 36346, 33333, 21057, 24816, 22549, 34558, 23784, 40517, 20420, 39069, 35769, 23077, 24694, 21380, 25212, 36943, 37122, 39295, 24681, 32780, 20799, 32819, 23572, 39285, 27953, 20108, 31261, 31263, 31265, 31266, 31268, 31269, 31270, 31271, 31272, 31273, 31274, 31275, 31276, 31277, 31278, 31279, 31280, 31281, 31282, 31284, 31285, 31286, 31288, 31290, 31294, 31296, 31297, 31298, 31299, 31300, 31301, 31303, 31304, 31305, 31306, 31307, 31308, 31309, 31310, 31311, 31312, 31314, 31315, 31316, 31317, 31318, 31320, 31321, 31322, 31323, 31324, 31325, 31326, 31327, 31328, 31329, 31330, 31331, 31332, 31333, 31334, 31335, 31336, 31337, 31338, 31339, 31340, 31341, 31342, 31343, 31345, 31346, 31347, 31349, 31355, 31356, 31357, 31358, 31362, 31365, 31367, 31369, 31370, 31371, 31372, 31374, 31375, 31376, 31379, 31380, 31385, 31386, 31387, 31390, 31393, 31394, 36144, 21457, 32602, 31567, 20240, 20047, 38400, 27861, 29648, 34281, 24070, 30058, 32763, 27146, 30718, 38034, 32321, 20961, 28902, 21453, 36820, 33539, 36137, 29359, 39277, 27867, 22346, 33459, 26041, 32938, 25151, 38450, 22952, 20223, 35775, 32442, 25918, 33778, 38750, 21857, 39134, 32933, 21290, 35837, 21536, 32954, 24223, 27832, 36153, 33452, 37210, 21545, 27675, 20998, 32439, 22367, 28954, 27774, 31881, 22859, 20221, 24575, 24868, 31914, 20016, 23553, 26539, 34562, 23792, 38155, 39118, 30127, 28925, 36898, 20911, 32541, 35773, 22857, 20964, 20315, 21542, 22827, 25975, 32932, 23413, 25206, 25282, 36752, 24133, 27679, 31526, 20239, 20440, 26381, 31395, 31396, 31399, 31401, 31402, 31403, 31406, 31407, 31408, 31409, 31410, 31412, 31413, 31414, 31415, 31416, 31417, 31418, 31419, 31420, 31421, 31422, 31424, 31425, 31426, 31427, 31428, 31429, 31430, 31431, 31432, 31433, 31434, 31436, 31437, 31438, 31439, 31440, 31441, 31442, 31443, 31444, 31445, 31447, 31448, 31450, 31451, 31452, 31453, 31457, 31458, 31460, 31463, 31464, 31465, 31466, 31467, 31468, 31470, 31472, 31473, 31474, 31475, 31476, 31477, 31478, 31479, 31480, 31483, 31484, 31486, 31488, 31489, 31490, 31493, 31495, 31497, 31500, 31501, 31502, 31504, 31506, 31507, 31510, 31511, 31512, 31514, 31516, 31517, 31519, 31521, 31522, 31523, 31527, 31529, 31533, 28014, 28074, 31119, 34993, 24343, 29995, 25242, 36741, 20463, 37340, 26023, 33071, 33105, 24220, 33104, 36212, 21103, 35206, 36171, 22797, 20613, 20184, 38428, 29238, 33145, 36127, 23500, 35747, 38468, 22919, 32538, 21648, 22134, 22030, 35813, 25913, 27010, 38041, 30422, 28297, 24178, 29976, 26438, 26577, 31487, 32925, 36214, 24863, 31174, 25954, 36195, 20872, 21018, 38050, 32568, 32923, 32434, 23703, 28207, 26464, 31705, 30347, 39640, 33167, 32660, 31957, 25630, 38224, 31295, 21578, 21733, 27468, 25601, 25096, 40509, 33011, 30105, 21106, 38761, 33883, 26684, 34532, 38401, 38548, 38124, 20010, 21508, 32473, 26681, 36319, 32789, 26356, 24218, 32697, 31535, 31536, 31538, 31540, 31541, 31542, 31543, 31545, 31547, 31549, 31551, 31552, 31553, 31554, 31555, 31556, 31558, 31560, 31562, 31565, 31566, 31571, 31573, 31575, 31577, 31580, 31582, 31583, 31585, 31587, 31588, 31589, 31590, 31591, 31592, 31593, 31594, 31595, 31596, 31597, 31599, 31600, 31603, 31604, 31606, 31608, 31610, 31612, 31613, 31615, 31617, 31618, 31619, 31620, 31622, 31623, 31624, 31625, 31626, 31627, 31628, 31630, 31631, 31633, 31634, 31635, 31638, 31640, 31641, 31642, 31643, 31646, 31647, 31648, 31651, 31652, 31653, 31662, 31663, 31664, 31666, 31667, 31669, 31670, 31671, 31673, 31674, 31675, 31676, 31677, 31678, 31679, 31680, 31682, 31683, 31684, 22466, 32831, 26775, 24037, 25915, 21151, 24685, 40858, 20379, 36524, 20844, 23467, 24339, 24041, 27742, 25329, 36129, 20849, 38057, 21246, 27807, 33503, 29399, 22434, 26500, 36141, 22815, 36764, 33735, 21653, 31629, 20272, 27837, 23396, 22993, 40723, 21476, 34506, 39592, 35895, 32929, 25925, 39038, 22266, 38599, 21038, 29916, 21072, 23521, 25346, 35074, 20054, 25296, 24618, 26874, 20851, 23448, 20896, 35266, 31649, 39302, 32592, 24815, 28748, 36143, 20809, 24191, 36891, 29808, 35268, 22317, 30789, 24402, 40863, 38394, 36712, 39740, 35809, 30328, 26690, 26588, 36330, 36149, 21053, 36746, 28378, 26829, 38149, 37101, 22269, 26524, 35065, 36807, 21704, 31685, 31688, 31689, 31690, 31691, 31693, 31694, 31695, 31696, 31698, 31700, 31701, 31702, 31703, 31704, 31707, 31708, 31710, 31711, 31712, 31714, 31715, 31716, 31719, 31720, 31721, 31723, 31724, 31725, 31727, 31728, 31730, 31731, 31732, 31733, 31734, 31736, 31737, 31738, 31739, 31741, 31743, 31744, 31745, 31746, 31747, 31748, 31749, 31750, 31752, 31753, 31754, 31757, 31758, 31760, 31761, 31762, 31763, 31764, 31765, 31767, 31768, 31769, 31770, 31771, 31772, 31773, 31774, 31776, 31777, 31778, 31779, 31780, 31781, 31784, 31785, 31787, 31788, 31789, 31790, 31791, 31792, 31793, 31794, 31795, 31796, 31797, 31798, 31799, 31801, 31802, 31803, 31804, 31805, 31806, 31810, 39608, 23401, 28023, 27686, 20133, 23475, 39559, 37219, 25000, 37039, 38889, 21547, 28085, 23506, 20989, 21898, 32597, 32752, 25788, 25421, 26097, 25022, 24717, 28938, 27735, 27721, 22831, 26477, 33322, 22741, 22158, 35946, 27627, 37085, 22909, 32791, 21495, 28009, 21621, 21917, 33655, 33743, 26680, 31166, 21644, 20309, 21512, 30418, 35977, 38402, 27827, 28088, 36203, 35088, 40548, 36154, 22079, 40657, 30165, 24456, 29408, 24680, 21756, 20136, 27178, 34913, 24658, 36720, 21700, 28888, 34425, 40511, 27946, 23439, 24344, 32418, 21897, 20399, 29492, 21564, 21402, 20505, 21518, 21628, 20046, 24573, 29786, 22774, 33899, 32993, 34676, 29392, 31946, 28246, 31811, 31812, 31813, 31814, 31815, 31816, 31817, 31818, 31819, 31820, 31822, 31823, 31824, 31825, 31826, 31827, 31828, 31829, 31830, 31831, 31832, 31833, 31834, 31835, 31836, 31837, 31838, 31839, 31840, 31841, 31842, 31843, 31844, 31845, 31846, 31847, 31848, 31849, 31850, 31851, 31852, 31853, 31854, 31855, 31856, 31857, 31858, 31861, 31862, 31863, 31864, 31865, 31866, 31870, 31871, 31872, 31873, 31874, 31875, 31876, 31877, 31878, 31879, 31880, 31882, 31883, 31884, 31885, 31886, 31887, 31888, 31891, 31892, 31894, 31897, 31898, 31899, 31904, 31905, 31907, 31910, 31911, 31912, 31913, 31915, 31916, 31917, 31919, 31920, 31924, 31925, 31926, 31927, 31928, 31930, 31931, 24359, 34382, 21804, 25252, 20114, 27818, 25143, 33457, 21719, 21326, 29502, 28369, 30011, 21010, 21270, 35805, 27088, 24458, 24576, 28142, 22351, 27426, 29615, 26707, 36824, 32531, 25442, 24739, 21796, 30186, 35938, 28949, 28067, 23462, 24187, 33618, 24908, 40644, 30970, 34647, 31783, 30343, 20976, 24822, 29004, 26179, 24140, 24653, 35854, 28784, 25381, 36745, 24509, 24674, 34516, 22238, 27585, 24724, 24935, 21321, 24800, 26214, 36159, 31229, 20250, 28905, 27719, 35763, 35826, 32472, 33636, 26127, 23130, 39746, 27985, 28151, 35905, 27963, 20249, 28779, 33719, 25110, 24785, 38669, 36135, 31096, 20987, 22334, 22522, 26426, 30072, 31293, 31215, 31637, 31935, 31936, 31938, 31939, 31940, 31942, 31945, 31947, 31950, 31951, 31952, 31953, 31954, 31955, 31956, 31960, 31962, 31963, 31965, 31966, 31969, 31970, 31971, 31972, 31973, 31974, 31975, 31977, 31978, 31979, 31980, 31981, 31982, 31984, 31985, 31986, 31987, 31988, 31989, 31990, 31991, 31993, 31994, 31996, 31997, 31998, 31999, 32000, 32001, 32002, 32003, 32004, 32005, 32006, 32007, 32008, 32009, 32011, 32012, 32013, 32014, 32015, 32016, 32017, 32018, 32019, 32020, 32021, 32022, 32023, 32024, 32025, 32026, 32027, 32028, 32029, 32030, 32031, 32033, 32035, 32036, 32037, 32038, 32040, 32041, 32042, 32044, 32045, 32046, 32048, 32049, 32050, 32051, 32052, 32053, 32054, 32908, 39269, 36857, 28608, 35749, 40481, 23020, 32489, 32521, 21513, 26497, 26840, 36753, 31821, 38598, 21450, 24613, 30142, 27762, 21363, 23241, 32423, 25380, 20960, 33034, 24049, 34015, 25216, 20864, 23395, 20238, 31085, 21058, 24760, 27982, 23492, 23490, 35745, 35760, 26082, 24524, 38469, 22931, 32487, 32426, 22025, 26551, 22841, 20339, 23478, 21152, 33626, 39050, 36158, 30002, 38078, 20551, 31292, 20215, 26550, 39550, 23233, 27516, 30417, 22362, 23574, 31546, 38388, 29006, 20860, 32937, 33392, 22904, 32516, 33575, 26816, 26604, 30897, 30839, 25315, 25441, 31616, 20461, 21098, 20943, 33616, 27099, 37492, 36341, 36145, 35265, 38190, 31661, 20214, 32055, 32056, 32057, 32058, 32059, 32060, 32061, 32062, 32063, 32064, 32065, 32066, 32067, 32068, 32069, 32070, 32071, 32072, 32073, 32074, 32075, 32076, 32077, 32078, 32079, 32080, 32081, 32082, 32083, 32084, 32085, 32086, 32087, 32088, 32089, 32090, 32091, 32092, 32093, 32094, 32095, 32096, 32097, 32098, 32099, 32100, 32101, 32102, 32103, 32104, 32105, 32106, 32107, 32108, 32109, 32111, 32112, 32113, 32114, 32115, 32116, 32117, 32118, 32120, 32121, 32122, 32123, 32124, 32125, 32126, 32127, 32128, 32129, 32130, 32131, 32132, 32133, 32134, 32135, 32136, 32137, 32138, 32139, 32140, 32141, 32142, 32143, 32144, 32145, 32146, 32147, 32148, 32149, 32150, 32151, 32152, 20581, 33328, 21073, 39279, 28176, 28293, 28071, 24314, 20725, 23004, 23558, 27974, 27743, 30086, 33931, 26728, 22870, 35762, 21280, 37233, 38477, 34121, 26898, 30977, 28966, 33014, 20132, 37066, 27975, 39556, 23047, 22204, 25605, 38128, 30699, 20389, 33050, 29409, 35282, 39290, 32564, 32478, 21119, 25945, 37237, 36735, 36739, 21483, 31382, 25581, 25509, 30342, 31224, 34903, 38454, 25130, 21163, 33410, 26708, 26480, 25463, 30571, 31469, 27905, 32467, 35299, 22992, 25106, 34249, 33445, 30028, 20511, 20171, 30117, 35819, 23626, 24062, 31563, 26020, 37329, 20170, 27941, 35167, 32039, 38182, 20165, 35880, 36827, 38771, 26187, 31105, 36817, 28908, 28024, 32153, 32154, 32155, 32156, 32157, 32158, 32159, 32160, 32161, 32162, 32163, 32164, 32165, 32167, 32168, 32169, 32170, 32171, 32172, 32173, 32175, 32176, 32177, 32178, 32179, 32180, 32181, 32182, 32183, 32184, 32185, 32186, 32187, 32188, 32189, 32190, 32191, 32192, 32193, 32194, 32195, 32196, 32197, 32198, 32199, 32200, 32201, 32202, 32203, 32204, 32205, 32206, 32207, 32208, 32209, 32210, 32211, 32212, 32213, 32214, 32215, 32216, 32217, 32218, 32219, 32220, 32221, 32222, 32223, 32224, 32225, 32226, 32227, 32228, 32229, 32230, 32231, 32232, 32233, 32234, 32235, 32236, 32237, 32238, 32239, 32240, 32241, 32242, 32243, 32244, 32245, 32246, 32247, 32248, 32249, 32250, 23613, 21170, 33606, 20834, 33550, 30555, 26230, 40120, 20140, 24778, 31934, 31923, 32463, 20117, 35686, 26223, 39048, 38745, 22659, 25964, 38236, 24452, 30153, 38742, 31455, 31454, 20928, 28847, 31384, 25578, 31350, 32416, 29590, 38893, 20037, 28792, 20061, 37202, 21417, 25937, 26087, 33276, 33285, 21646, 23601, 30106, 38816, 25304, 29401, 30141, 23621, 39545, 33738, 23616, 21632, 30697, 20030, 27822, 32858, 25298, 25454, 24040, 20855, 36317, 36382, 38191, 20465, 21477, 24807, 28844, 21095, 25424, 40515, 23071, 20518, 30519, 21367, 32482, 25733, 25899, 25225, 25496, 20500, 29237, 35273, 20915, 35776, 32477, 22343, 33740, 38055, 20891, 21531, 23803, 32251, 32252, 32253, 32254, 32255, 32256, 32257, 32258, 32259, 32260, 32261, 32262, 32263, 32264, 32265, 32266, 32267, 32268, 32269, 32270, 32271, 32272, 32273, 32274, 32275, 32276, 32277, 32278, 32279, 32280, 32281, 32282, 32283, 32284, 32285, 32286, 32287, 32288, 32289, 32290, 32291, 32292, 32293, 32294, 32295, 32296, 32297, 32298, 32299, 32300, 32301, 32302, 32303, 32304, 32305, 32306, 32307, 32308, 32309, 32310, 32311, 32312, 32313, 32314, 32316, 32317, 32318, 32319, 32320, 32322, 32323, 32324, 32325, 32326, 32328, 32329, 32330, 32331, 32332, 32333, 32334, 32335, 32336, 32337, 32338, 32339, 32340, 32341, 32342, 32343, 32344, 32345, 32346, 32347, 32348, 32349, 20426, 31459, 27994, 37089, 39567, 21888, 21654, 21345, 21679, 24320, 25577, 26999, 20975, 24936, 21002, 22570, 21208, 22350, 30733, 30475, 24247, 24951, 31968, 25179, 25239, 20130, 28821, 32771, 25335, 28900, 38752, 22391, 33499, 26607, 26869, 30933, 39063, 31185, 22771, 21683, 21487, 28212, 20811, 21051, 23458, 35838, 32943, 21827, 22438, 24691, 22353, 21549, 31354, 24656, 23380, 25511, 25248, 21475, 25187, 23495, 26543, 21741, 31391, 33510, 37239, 24211, 35044, 22840, 22446, 25358, 36328, 33007, 22359, 31607, 20393, 24555, 23485, 27454, 21281, 31568, 29378, 26694, 30719, 30518, 26103, 20917, 20111, 30420, 23743, 31397, 33909, 22862, 39745, 20608, 32350, 32351, 32352, 32353, 32354, 32355, 32356, 32357, 32358, 32359, 32360, 32361, 32362, 32363, 32364, 32365, 32366, 32367, 32368, 32369, 32370, 32371, 32372, 32373, 32374, 32375, 32376, 32377, 32378, 32379, 32380, 32381, 32382, 32383, 32384, 32385, 32387, 32388, 32389, 32390, 32391, 32392, 32393, 32394, 32395, 32396, 32397, 32398, 32399, 32400, 32401, 32402, 32403, 32404, 32405, 32406, 32407, 32408, 32409, 32410, 32412, 32413, 32414, 32430, 32436, 32443, 32444, 32470, 32484, 32492, 32505, 32522, 32528, 32542, 32567, 32569, 32571, 32572, 32573, 32574, 32575, 32576, 32577, 32579, 32582, 32583, 32584, 32585, 32586, 32587, 32588, 32589, 32590, 32591, 32594, 32595, 39304, 24871, 28291, 22372, 26118, 25414, 22256, 25324, 25193, 24275, 38420, 22403, 25289, 21895, 34593, 33098, 36771, 21862, 33713, 26469, 36182, 34013, 23146, 26639, 25318, 31726, 38417, 20848, 28572, 35888, 25597, 35272, 25042, 32518, 28866, 28389, 29701, 27028, 29436, 24266, 37070, 26391, 28010, 25438, 21171, 29282, 32769, 20332, 23013, 37226, 28889, 28061, 21202, 20048, 38647, 38253, 34174, 30922, 32047, 20769, 22418, 25794, 32907, 31867, 27882, 26865, 26974, 20919, 21400, 26792, 29313, 40654, 31729, 29432, 31163, 28435, 29702, 26446, 37324, 40100, 31036, 33673, 33620, 21519, 26647, 20029, 21385, 21169, 30782, 21382, 21033, 20616, 20363, 20432, 32598, 32601, 32603, 32604, 32605, 32606, 32608, 32611, 32612, 32613, 32614, 32615, 32619, 32620, 32621, 32623, 32624, 32627, 32629, 32630, 32631, 32632, 32634, 32635, 32636, 32637, 32639, 32640, 32642, 32643, 32644, 32645, 32646, 32647, 32648, 32649, 32651, 32653, 32655, 32656, 32657, 32658, 32659, 32661, 32662, 32663, 32664, 32665, 32667, 32668, 32672, 32674, 32675, 32677, 32678, 32680, 32681, 32682, 32683, 32684, 32685, 32686, 32689, 32691, 32692, 32693, 32694, 32695, 32698, 32699, 32702, 32704, 32706, 32707, 32708, 32710, 32711, 32712, 32713, 32715, 32717, 32719, 32720, 32721, 32722, 32723, 32726, 32727, 32729, 32730, 32731, 32732, 32733, 32734, 32738, 32739, 30178, 31435, 31890, 27813, 38582, 21147, 29827, 21737, 20457, 32852, 33714, 36830, 38256, 24265, 24604, 28063, 24088, 25947, 33080, 38142, 24651, 28860, 32451, 31918, 20937, 26753, 31921, 33391, 20004, 36742, 37327, 26238, 20142, 35845, 25769, 32842, 20698, 30103, 29134, 23525, 36797, 28518, 20102, 25730, 38243, 24278, 26009, 21015, 35010, 28872, 21155, 29454, 29747, 26519, 30967, 38678, 20020, 37051, 40158, 28107, 20955, 36161, 21533, 25294, 29618, 33777, 38646, 40836, 38083, 20278, 32666, 20940, 28789, 38517, 23725, 39046, 21478, 20196, 28316, 29705, 27060, 30827, 39311, 30041, 21016, 30244, 27969, 26611, 20845, 40857, 32843, 21657, 31548, 31423, 32740, 32743, 32744, 32746, 32747, 32748, 32749, 32751, 32754, 32756, 32757, 32758, 32759, 32760, 32761, 32762, 32765, 32766, 32767, 32770, 32775, 32776, 32777, 32778, 32782, 32783, 32785, 32787, 32794, 32795, 32797, 32798, 32799, 32801, 32803, 32804, 32811, 32812, 32813, 32814, 32815, 32816, 32818, 32820, 32825, 32826, 32828, 32830, 32832, 32833, 32836, 32837, 32839, 32840, 32841, 32846, 32847, 32848, 32849, 32851, 32853, 32854, 32855, 32857, 32859, 32860, 32861, 32862, 32863, 32864, 32865, 32866, 32867, 32868, 32869, 32870, 32871, 32872, 32875, 32876, 32877, 32878, 32879, 32880, 32882, 32883, 32884, 32885, 32886, 32887, 32888, 32889, 32890, 32891, 32892, 32893, 38534, 22404, 25314, 38471, 27004, 23044, 25602, 31699, 28431, 38475, 33446, 21346, 39045, 24208, 28809, 25523, 21348, 34383, 40065, 40595, 30860, 38706, 36335, 36162, 40575, 28510, 31108, 24405, 38470, 25134, 39540, 21525, 38109, 20387, 26053, 23653, 23649, 32533, 34385, 27695, 24459, 29575, 28388, 32511, 23782, 25371, 23402, 28390, 21365, 20081, 25504, 30053, 25249, 36718, 20262, 20177, 27814, 32438, 35770, 33821, 34746, 32599, 36923, 38179, 31657, 39585, 35064, 33853, 27931, 39558, 32476, 22920, 40635, 29595, 30721, 34434, 39532, 39554, 22043, 21527, 22475, 20080, 40614, 21334, 36808, 33033, 30610, 39314, 34542, 28385, 34067, 26364, 24930, 28459, 32894, 32897, 32898, 32901, 32904, 32906, 32909, 32910, 32911, 32912, 32913, 32914, 32916, 32917, 32919, 32921, 32926, 32931, 32934, 32935, 32936, 32940, 32944, 32947, 32949, 32950, 32952, 32953, 32955, 32965, 32967, 32968, 32969, 32970, 32971, 32975, 32976, 32977, 32978, 32979, 32980, 32981, 32984, 32991, 32992, 32994, 32995, 32998, 33006, 33013, 33015, 33017, 33019, 33022, 33023, 33024, 33025, 33027, 33028, 33029, 33031, 33032, 33035, 33036, 33045, 33047, 33049, 33051, 33052, 33053, 33055, 33056, 33057, 33058, 33059, 33060, 33061, 33062, 33063, 33064, 33065, 33066, 33067, 33069, 33070, 33072, 33075, 33076, 33077, 33079, 33081, 33082, 33083, 33084, 33085, 33087, 35881, 33426, 33579, 30450, 27667, 24537, 33725, 29483, 33541, 38170, 27611, 30683, 38086, 21359, 33538, 20882, 24125, 35980, 36152, 20040, 29611, 26522, 26757, 37238, 38665, 29028, 27809, 30473, 23186, 38209, 27599, 32654, 26151, 23504, 22969, 23194, 38376, 38391, 20204, 33804, 33945, 27308, 30431, 38192, 29467, 26790, 23391, 30511, 37274, 38753, 31964, 36855, 35868, 24357, 31859, 31192, 35269, 27852, 34588, 23494, 24130, 26825, 30496, 32501, 20885, 20813, 21193, 23081, 32517, 38754, 33495, 25551, 30596, 34256, 31186, 28218, 24217, 22937, 34065, 28781, 27665, 25279, 30399, 25935, 24751, 38397, 26126, 34719, 40483, 38125, 21517, 21629, 35884, 25720, 33088, 33089, 33090, 33091, 33092, 33093, 33095, 33097, 33101, 33102, 33103, 33106, 33110, 33111, 33112, 33115, 33116, 33117, 33118, 33119, 33121, 33122, 33123, 33124, 33126, 33128, 33130, 33131, 33132, 33135, 33138, 33139, 33141, 33142, 33143, 33144, 33153, 33155, 33156, 33157, 33158, 33159, 33161, 33163, 33164, 33165, 33166, 33168, 33170, 33171, 33172, 33173, 33174, 33175, 33177, 33178, 33182, 33183, 33184, 33185, 33186, 33188, 33189, 33191, 33193, 33195, 33196, 33197, 33198, 33199, 33200, 33201, 33202, 33204, 33205, 33206, 33207, 33208, 33209, 33212, 33213, 33214, 33215, 33220, 33221, 33223, 33224, 33225, 33227, 33229, 33230, 33231, 33232, 33233, 33234, 33235, 25721, 34321, 27169, 33180, 30952, 25705, 39764, 25273, 26411, 33707, 22696, 40664, 27819, 28448, 23518, 38476, 35851, 29279, 26576, 25287, 29281, 20137, 22982, 27597, 22675, 26286, 24149, 21215, 24917, 26408, 30446, 30566, 29287, 31302, 25343, 21738, 21584, 38048, 37027, 23068, 32435, 27670, 20035, 22902, 32784, 22856, 21335, 30007, 38590, 22218, 25376, 33041, 24700, 38393, 28118, 21602, 39297, 20869, 23273, 33021, 22958, 38675, 20522, 27877, 23612, 25311, 20320, 21311, 33147, 36870, 28346, 34091, 25288, 24180, 30910, 25781, 25467, 24565, 23064, 37247, 40479, 23615, 25423, 32834, 23421, 21870, 38218, 38221, 28037, 24744, 26592, 29406, 20957, 23425, 33236, 33237, 33238, 33239, 33240, 33241, 33242, 33243, 33244, 33245, 33246, 33247, 33248, 33249, 33250, 33252, 33253, 33254, 33256, 33257, 33259, 33262, 33263, 33264, 33265, 33266, 33269, 33270, 33271, 33272, 33273, 33274, 33277, 33279, 33283, 33287, 33288, 33289, 33290, 33291, 33294, 33295, 33297, 33299, 33301, 33302, 33303, 33304, 33305, 33306, 33309, 33312, 33316, 33317, 33318, 33319, 33321, 33326, 33330, 33338, 33340, 33341, 33343, 33344, 33345, 33346, 33347, 33349, 33350, 33352, 33354, 33356, 33357, 33358, 33360, 33361, 33362, 33363, 33364, 33365, 33366, 33367, 33369, 33371, 33372, 33373, 33374, 33376, 33377, 33378, 33379, 33380, 33381, 33382, 33383, 33385, 25319, 27870, 29275, 25197, 38062, 32445, 33043, 27987, 20892, 24324, 22900, 21162, 24594, 22899, 26262, 34384, 30111, 25386, 25062, 31983, 35834, 21734, 27431, 40485, 27572, 34261, 21589, 20598, 27812, 21866, 36276, 29228, 24085, 24597, 29750, 25293, 25490, 29260, 24472, 28227, 27966, 25856, 28504, 30424, 30928, 30460, 30036, 21028, 21467, 20051, 24222, 26049, 32810, 32982, 25243, 21638, 21032, 28846, 34957, 36305, 27873, 21624, 32986, 22521, 35060, 36180, 38506, 37197, 20329, 27803, 21943, 30406, 30768, 25256, 28921, 28558, 24429, 34028, 26842, 30844, 31735, 33192, 26379, 40527, 25447, 30896, 22383, 30738, 38713, 25209, 25259, 21128, 29749, 27607, 33386, 33387, 33388, 33389, 33393, 33397, 33398, 33399, 33400, 33403, 33404, 33408, 33409, 33411, 33413, 33414, 33415, 33417, 33420, 33424, 33427, 33428, 33429, 33430, 33434, 33435, 33438, 33440, 33442, 33443, 33447, 33458, 33461, 33462, 33466, 33467, 33468, 33471, 33472, 33474, 33475, 33477, 33478, 33481, 33488, 33494, 33497, 33498, 33501, 33506, 33511, 33512, 33513, 33514, 33516, 33517, 33518, 33520, 33522, 33523, 33525, 33526, 33528, 33530, 33532, 33533, 33534, 33535, 33536, 33546, 33547, 33549, 33552, 33554, 33555, 33558, 33560, 33561, 33565, 33566, 33567, 33568, 33569, 33570, 33571, 33572, 33573, 33574, 33577, 33578, 33582, 33584, 33586, 33591, 33595, 33597, 21860, 33086, 30130, 30382, 21305, 30174, 20731, 23617, 35692, 31687, 20559, 29255, 39575, 39128, 28418, 29922, 31080, 25735, 30629, 25340, 39057, 36139, 21697, 32856, 20050, 22378, 33529, 33805, 24179, 20973, 29942, 35780, 23631, 22369, 27900, 39047, 23110, 30772, 39748, 36843, 31893, 21078, 25169, 38138, 20166, 33670, 33889, 33769, 33970, 22484, 26420, 22275, 26222, 28006, 35889, 26333, 28689, 26399, 27450, 26646, 25114, 22971, 19971, 20932, 28422, 26578, 27791, 20854, 26827, 22855, 27495, 30054, 23822, 33040, 40784, 26071, 31048, 31041, 39569, 36215, 23682, 20062, 20225, 21551, 22865, 30732, 22120, 27668, 36804, 24323, 27773, 27875, 35755, 25488, 33598, 33599, 33601, 33602, 33604, 33605, 33608, 33610, 33611, 33612, 33613, 33614, 33619, 33621, 33622, 33623, 33624, 33625, 33629, 33634, 33648, 33649, 33650, 33651, 33652, 33653, 33654, 33657, 33658, 33662, 33663, 33664, 33665, 33666, 33667, 33668, 33671, 33672, 33674, 33675, 33676, 33677, 33679, 33680, 33681, 33684, 33685, 33686, 33687, 33689, 33690, 33693, 33695, 33697, 33698, 33699, 33700, 33701, 33702, 33703, 33708, 33709, 33710, 33711, 33717, 33723, 33726, 33727, 33730, 33731, 33732, 33734, 33736, 33737, 33739, 33741, 33742, 33744, 33745, 33746, 33747, 33749, 33751, 33753, 33754, 33755, 33758, 33762, 33763, 33764, 33766, 33767, 33768, 33771, 33772, 33773, 24688, 27965, 29301, 25190, 38030, 38085, 21315, 36801, 31614, 20191, 35878, 20094, 40660, 38065, 38067, 21069, 28508, 36963, 27973, 35892, 22545, 23884, 27424, 27465, 26538, 21595, 33108, 32652, 22681, 34103, 24378, 25250, 27207, 38201, 25970, 24708, 26725, 30631, 20052, 20392, 24039, 38808, 25772, 32728, 23789, 20431, 31373, 20999, 33540, 19988, 24623, 31363, 38054, 20405, 20146, 31206, 29748, 21220, 33465, 25810, 31165, 23517, 27777, 38738, 36731, 27682, 20542, 21375, 28165, 25806, 26228, 27696, 24773, 39031, 35831, 24198, 29756, 31351, 31179, 19992, 37041, 29699, 27714, 22234, 37195, 27845, 36235, 21306, 34502, 26354, 36527, 23624, 39537, 28192, 33774, 33775, 33779, 33780, 33781, 33782, 33783, 33786, 33787, 33788, 33790, 33791, 33792, 33794, 33797, 33799, 33800, 33801, 33802, 33808, 33810, 33811, 33812, 33813, 33814, 33815, 33817, 33818, 33819, 33822, 33823, 33824, 33825, 33826, 33827, 33833, 33834, 33835, 33836, 33837, 33838, 33839, 33840, 33842, 33843, 33844, 33845, 33846, 33847, 33849, 33850, 33851, 33854, 33855, 33856, 33857, 33858, 33859, 33860, 33861, 33863, 33864, 33865, 33866, 33867, 33868, 33869, 33870, 33871, 33872, 33874, 33875, 33876, 33877, 33878, 33880, 33885, 33886, 33887, 33888, 33890, 33892, 33893, 33894, 33895, 33896, 33898, 33902, 33903, 33904, 33906, 33908, 33911, 33913, 33915, 33916, 21462, 23094, 40843, 36259, 21435, 22280, 39079, 26435, 37275, 27849, 20840, 30154, 25331, 29356, 21048, 21149, 32570, 28820, 30264, 21364, 40522, 27063, 30830, 38592, 35033, 32676, 28982, 29123, 20873, 26579, 29924, 22756, 25880, 22199, 35753, 39286, 25200, 32469, 24825, 28909, 22764, 20161, 20154, 24525, 38887, 20219, 35748, 20995, 22922, 32427, 25172, 20173, 26085, 25102, 33592, 33993, 33635, 34701, 29076, 28342, 23481, 32466, 20887, 25545, 26580, 32905, 33593, 34837, 20754, 23418, 22914, 36785, 20083, 27741, 20837, 35109, 36719, 38446, 34122, 29790, 38160, 38384, 28070, 33509, 24369, 25746, 27922, 33832, 33134, 40131, 22622, 36187, 19977, 21441, 33917, 33918, 33919, 33920, 33921, 33923, 33924, 33925, 33926, 33930, 33933, 33935, 33936, 33937, 33938, 33939, 33940, 33941, 33942, 33944, 33946, 33947, 33949, 33950, 33951, 33952, 33954, 33955, 33956, 33957, 33958, 33959, 33960, 33961, 33962, 33963, 33964, 33965, 33966, 33968, 33969, 33971, 33973, 33974, 33975, 33979, 33980, 33982, 33984, 33986, 33987, 33989, 33990, 33991, 33992, 33995, 33996, 33998, 33999, 34002, 34004, 34005, 34007, 34008, 34009, 34010, 34011, 34012, 34014, 34017, 34018, 34020, 34023, 34024, 34025, 34026, 34027, 34029, 34030, 34031, 34033, 34034, 34035, 34036, 34037, 34038, 34039, 34040, 34041, 34042, 34043, 34045, 34046, 34048, 34049, 34050, 20254, 25955, 26705, 21971, 20007, 25620, 39578, 25195, 23234, 29791, 33394, 28073, 26862, 20711, 33678, 30722, 26432, 21049, 27801, 32433, 20667, 21861, 29022, 31579, 26194, 29642, 33515, 26441, 23665, 21024, 29053, 34923, 38378, 38485, 25797, 36193, 33203, 21892, 27733, 25159, 32558, 22674, 20260, 21830, 36175, 26188, 19978, 23578, 35059, 26786, 25422, 31245, 28903, 33421, 21242, 38902, 23569, 21736, 37045, 32461, 22882, 36170, 34503, 33292, 33293, 36198, 25668, 23556, 24913, 28041, 31038, 35774, 30775, 30003, 21627, 20280, 36523, 28145, 23072, 32453, 31070, 27784, 23457, 23158, 29978, 32958, 24910, 28183, 22768, 29983, 29989, 29298, 21319, 32499, 34051, 34052, 34053, 34054, 34055, 34056, 34057, 34058, 34059, 34061, 34062, 34063, 34064, 34066, 34068, 34069, 34070, 34072, 34073, 34075, 34076, 34077, 34078, 34080, 34082, 34083, 34084, 34085, 34086, 34087, 34088, 34089, 34090, 34093, 34094, 34095, 34096, 34097, 34098, 34099, 34100, 34101, 34102, 34110, 34111, 34112, 34113, 34114, 34116, 34117, 34118, 34119, 34123, 34124, 34125, 34126, 34127, 34128, 34129, 34130, 34131, 34132, 34133, 34135, 34136, 34138, 34139, 34140, 34141, 34143, 34144, 34145, 34146, 34147, 34149, 34150, 34151, 34153, 34154, 34155, 34156, 34157, 34158, 34159, 34160, 34161, 34163, 34165, 34166, 34167, 34168, 34172, 34173, 34175, 34176, 34177, 30465, 30427, 21097, 32988, 22307, 24072, 22833, 29422, 26045, 28287, 35799, 23608, 34417, 21313, 30707, 25342, 26102, 20160, 39135, 34432, 23454, 35782, 21490, 30690, 20351, 23630, 39542, 22987, 24335, 31034, 22763, 19990, 26623, 20107, 25325, 35475, 36893, 21183, 26159, 21980, 22124, 36866, 20181, 20365, 37322, 39280, 27663, 24066, 24643, 23460, 35270, 35797, 25910, 25163, 39318, 23432, 23551, 25480, 21806, 21463, 30246, 20861, 34092, 26530, 26803, 27530, 25234, 36755, 21460, 33298, 28113, 30095, 20070, 36174, 23408, 29087, 34223, 26257, 26329, 32626, 34560, 40653, 40736, 23646, 26415, 36848, 26641, 26463, 25101, 31446, 22661, 24246, 25968, 28465, 34178, 34179, 34182, 34184, 34185, 34186, 34187, 34188, 34189, 34190, 34192, 34193, 34194, 34195, 34196, 34197, 34198, 34199, 34200, 34201, 34202, 34205, 34206, 34207, 34208, 34209, 34210, 34211, 34213, 34214, 34215, 34217, 34219, 34220, 34221, 34225, 34226, 34227, 34228, 34229, 34230, 34232, 34234, 34235, 34236, 34237, 34238, 34239, 34240, 34242, 34243, 34244, 34245, 34246, 34247, 34248, 34250, 34251, 34252, 34253, 34254, 34257, 34258, 34260, 34262, 34263, 34264, 34265, 34266, 34267, 34269, 34270, 34271, 34272, 34273, 34274, 34275, 34277, 34278, 34279, 34280, 34282, 34283, 34284, 34285, 34286, 34287, 34288, 34289, 34290, 34291, 34292, 34293, 34294, 34295, 34296, 24661, 21047, 32781, 25684, 34928, 29993, 24069, 26643, 25332, 38684, 21452, 29245, 35841, 27700, 30561, 31246, 21550, 30636, 39034, 33308, 35828, 30805, 26388, 28865, 26031, 25749, 22070, 24605, 31169, 21496, 19997, 27515, 32902, 23546, 21987, 22235, 20282, 20284, 39282, 24051, 26494, 32824, 24578, 39042, 36865, 23435, 35772, 35829, 25628, 33368, 25822, 22013, 33487, 37221, 20439, 32032, 36895, 31903, 20723, 22609, 28335, 23487, 35785, 32899, 37240, 33948, 31639, 34429, 38539, 38543, 32485, 39635, 30862, 23681, 31319, 36930, 38567, 31071, 23385, 25439, 31499, 34001, 26797, 21766, 32553, 29712, 32034, 38145, 25152, 22604, 20182, 23427, 22905, 22612, 34297, 34298, 34300, 34301, 34302, 34304, 34305, 34306, 34307, 34308, 34310, 34311, 34312, 34313, 34314, 34315, 34316, 34317, 34318, 34319, 34320, 34322, 34323, 34324, 34325, 34327, 34328, 34329, 34330, 34331, 34332, 34333, 34334, 34335, 34336, 34337, 34338, 34339, 34340, 34341, 34342, 34344, 34346, 34347, 34348, 34349, 34350, 34351, 34352, 34353, 34354, 34355, 34356, 34357, 34358, 34359, 34361, 34362, 34363, 34365, 34366, 34367, 34368, 34369, 34370, 34371, 34372, 34373, 34374, 34375, 34376, 34377, 34378, 34379, 34380, 34386, 34387, 34389, 34390, 34391, 34392, 34393, 34395, 34396, 34397, 34399, 34400, 34401, 34403, 34404, 34405, 34406, 34407, 34408, 34409, 34410, 29549, 25374, 36427, 36367, 32974, 33492, 25260, 21488, 27888, 37214, 22826, 24577, 27760, 22349, 25674, 36138, 30251, 28393, 22363, 27264, 30192, 28525, 35885, 35848, 22374, 27631, 34962, 30899, 25506, 21497, 28845, 27748, 22616, 25642, 22530, 26848, 33179, 21776, 31958, 20504, 36538, 28108, 36255, 28907, 25487, 28059, 28372, 32486, 33796, 26691, 36867, 28120, 38518, 35752, 22871, 29305, 34276, 33150, 30140, 35466, 26799, 21076, 36386, 38161, 25552, 39064, 36420, 21884, 20307, 26367, 22159, 24789, 28053, 21059, 23625, 22825, 28155, 22635, 30000, 29980, 24684, 33300, 33094, 25361, 26465, 36834, 30522, 36339, 36148, 38081, 24086, 21381, 21548, 28867, 34413, 34415, 34416, 34418, 34419, 34420, 34421, 34422, 34423, 34424, 34435, 34436, 34437, 34438, 34439, 34440, 34441, 34446, 34447, 34448, 34449, 34450, 34452, 34454, 34455, 34456, 34457, 34458, 34459, 34462, 34463, 34464, 34465, 34466, 34469, 34470, 34475, 34477, 34478, 34482, 34483, 34487, 34488, 34489, 34491, 34492, 34493, 34494, 34495, 34497, 34498, 34499, 34501, 34504, 34508, 34509, 34514, 34515, 34517, 34518, 34519, 34522, 34524, 34525, 34528, 34529, 34530, 34531, 34533, 34534, 34535, 34536, 34538, 34539, 34540, 34543, 34549, 34550, 34551, 34554, 34555, 34556, 34557, 34559, 34561, 34564, 34565, 34566, 34571, 34572, 34574, 34575, 34576, 34577, 34580, 34582, 27712, 24311, 20572, 20141, 24237, 25402, 33351, 36890, 26704, 37230, 30643, 21516, 38108, 24420, 31461, 26742, 25413, 31570, 32479, 30171, 20599, 25237, 22836, 36879, 20984, 31171, 31361, 22270, 24466, 36884, 28034, 23648, 22303, 21520, 20820, 28237, 22242, 25512, 39059, 33151, 34581, 35114, 36864, 21534, 23663, 33216, 25302, 25176, 33073, 40501, 38464, 39534, 39548, 26925, 22949, 25299, 21822, 25366, 21703, 34521, 27964, 23043, 29926, 34972, 27498, 22806, 35916, 24367, 28286, 29609, 39037, 20024, 28919, 23436, 30871, 25405, 26202, 30358, 24779, 23451, 23113, 19975, 33109, 27754, 29579, 20129, 26505, 32593, 24448, 26106, 26395, 24536, 22916, 23041, 34585, 34587, 34589, 34591, 34592, 34596, 34598, 34599, 34600, 34602, 34603, 34604, 34605, 34607, 34608, 34610, 34611, 34613, 34614, 34616, 34617, 34618, 34620, 34621, 34624, 34625, 34626, 34627, 34628, 34629, 34630, 34634, 34635, 34637, 34639, 34640, 34641, 34642, 34644, 34645, 34646, 34648, 34650, 34651, 34652, 34653, 34654, 34655, 34657, 34658, 34662, 34663, 34664, 34665, 34666, 34667, 34668, 34669, 34671, 34673, 34674, 34675, 34677, 34679, 34680, 34681, 34682, 34687, 34688, 34689, 34692, 34694, 34695, 34697, 34698, 34700, 34702, 34703, 34704, 34705, 34706, 34708, 34709, 34710, 34712, 34713, 34714, 34715, 34716, 34717, 34718, 34720, 34721, 34722, 34723, 34724, 24013, 24494, 21361, 38886, 36829, 26693, 22260, 21807, 24799, 20026, 28493, 32500, 33479, 33806, 22996, 20255, 20266, 23614, 32428, 26410, 34074, 21619, 30031, 32963, 21890, 39759, 20301, 28205, 35859, 23561, 24944, 21355, 30239, 28201, 34442, 25991, 38395, 32441, 21563, 31283, 32010, 38382, 21985, 32705, 29934, 25373, 34583, 28065, 31389, 25105, 26017, 21351, 25569, 27779, 24043, 21596, 38056, 20044, 27745, 35820, 23627, 26080, 33436, 26791, 21566, 21556, 27595, 27494, 20116, 25410, 21320, 33310, 20237, 20398, 22366, 25098, 38654, 26212, 29289, 21247, 21153, 24735, 35823, 26132, 29081, 26512, 35199, 30802, 30717, 26224, 22075, 21560, 38177, 29306, 34725, 34726, 34727, 34729, 34730, 34734, 34736, 34737, 34738, 34740, 34742, 34743, 34744, 34745, 34747, 34748, 34750, 34751, 34753, 34754, 34755, 34756, 34757, 34759, 34760, 34761, 34764, 34765, 34766, 34767, 34768, 34772, 34773, 34774, 34775, 34776, 34777, 34778, 34780, 34781, 34782, 34783, 34785, 34786, 34787, 34788, 34790, 34791, 34792, 34793, 34795, 34796, 34797, 34799, 34800, 34801, 34802, 34803, 34804, 34805, 34806, 34807, 34808, 34810, 34811, 34812, 34813, 34815, 34816, 34817, 34818, 34820, 34821, 34822, 34823, 34824, 34825, 34827, 34828, 34829, 34830, 34831, 34832, 34833, 34834, 34836, 34839, 34840, 34841, 34842, 34844, 34845, 34846, 34847, 34848, 34851, 31232, 24687, 24076, 24713, 33181, 22805, 24796, 29060, 28911, 28330, 27728, 29312, 27268, 34989, 24109, 20064, 23219, 21916, 38115, 27927, 31995, 38553, 25103, 32454, 30606, 34430, 21283, 38686, 36758, 26247, 23777, 20384, 29421, 19979, 21414, 22799, 21523, 25472, 38184, 20808, 20185, 40092, 32420, 21688, 36132, 34900, 33335, 38386, 28046, 24358, 23244, 26174, 38505, 29616, 29486, 21439, 33146, 39301, 32673, 23466, 38519, 38480, 32447, 30456, 21410, 38262, 39321, 31665, 35140, 28248, 20065, 32724, 31077, 35814, 24819, 21709, 20139, 39033, 24055, 27233, 20687, 21521, 35937, 33831, 30813, 38660, 21066, 21742, 22179, 38144, 28040, 23477, 28102, 26195, 34852, 34853, 34854, 34855, 34856, 34857, 34858, 34859, 34860, 34861, 34862, 34863, 34864, 34865, 34867, 34868, 34869, 34870, 34871, 34872, 34874, 34875, 34877, 34878, 34879, 34881, 34882, 34883, 34886, 34887, 34888, 34889, 34890, 34891, 34894, 34895, 34896, 34897, 34898, 34899, 34901, 34902, 34904, 34906, 34907, 34908, 34909, 34910, 34911, 34912, 34918, 34919, 34922, 34925, 34927, 34929, 34931, 34932, 34933, 34934, 34936, 34937, 34938, 34939, 34940, 34944, 34947, 34950, 34951, 34953, 34954, 34956, 34958, 34959, 34960, 34961, 34963, 34964, 34965, 34967, 34968, 34969, 34970, 34971, 34973, 34974, 34975, 34976, 34977, 34979, 34981, 34982, 34983, 34984, 34985, 34986, 23567, 23389, 26657, 32918, 21880, 31505, 25928, 26964, 20123, 27463, 34638, 38795, 21327, 25375, 25658, 37034, 26012, 32961, 35856, 20889, 26800, 21368, 34809, 25032, 27844, 27899, 35874, 23633, 34218, 33455, 38156, 27427, 36763, 26032, 24571, 24515, 20449, 34885, 26143, 33125, 29481, 24826, 20852, 21009, 22411, 24418, 37026, 34892, 37266, 24184, 26447, 24615, 22995, 20804, 20982, 33016, 21256, 27769, 38596, 29066, 20241, 20462, 32670, 26429, 21957, 38152, 31168, 34966, 32483, 22687, 25100, 38656, 34394, 22040, 39035, 24464, 35768, 33988, 37207, 21465, 26093, 24207, 30044, 24676, 32110, 23167, 32490, 32493, 36713, 21927, 23459, 24748, 26059, 29572, 34988, 34990, 34991, 34992, 34994, 34995, 34996, 34997, 34998, 35000, 35001, 35002, 35003, 35005, 35006, 35007, 35008, 35011, 35012, 35015, 35016, 35018, 35019, 35020, 35021, 35023, 35024, 35025, 35027, 35030, 35031, 35034, 35035, 35036, 35037, 35038, 35040, 35041, 35046, 35047, 35049, 35050, 35051, 35052, 35053, 35054, 35055, 35058, 35061, 35062, 35063, 35066, 35067, 35069, 35071, 35072, 35073, 35075, 35076, 35077, 35078, 35079, 35080, 35081, 35083, 35084, 35085, 35086, 35087, 35089, 35092, 35093, 35094, 35095, 35096, 35100, 35101, 35102, 35103, 35104, 35106, 35107, 35108, 35110, 35111, 35112, 35113, 35116, 35117, 35118, 35119, 35121, 35122, 35123, 35125, 35127, 36873, 30307, 30505, 32474, 38772, 34203, 23398, 31348, 38634, 34880, 21195, 29071, 24490, 26092, 35810, 23547, 39535, 24033, 27529, 27739, 35757, 35759, 36874, 36805, 21387, 25276, 40486, 40493, 21568, 20011, 33469, 29273, 34460, 23830, 34905, 28079, 38597, 21713, 20122, 35766, 28937, 21693, 38409, 28895, 28153, 30416, 20005, 30740, 34578, 23721, 24310, 35328, 39068, 38414, 28814, 27839, 22852, 25513, 30524, 34893, 28436, 33395, 22576, 29141, 21388, 30746, 38593, 21761, 24422, 28976, 23476, 35866, 39564, 27523, 22830, 40495, 31207, 26472, 25196, 20335, 30113, 32650, 27915, 38451, 27687, 20208, 30162, 20859, 26679, 28478, 36992, 33136, 22934, 29814, 35128, 35129, 35130, 35131, 35132, 35133, 35134, 35135, 35136, 35138, 35139, 35141, 35142, 35143, 35144, 35145, 35146, 35147, 35148, 35149, 35150, 35151, 35152, 35153, 35154, 35155, 35156, 35157, 35158, 35159, 35160, 35161, 35162, 35163, 35164, 35165, 35168, 35169, 35170, 35171, 35172, 35173, 35175, 35176, 35177, 35178, 35179, 35180, 35181, 35182, 35183, 35184, 35185, 35186, 35187, 35188, 35189, 35190, 35191, 35192, 35193, 35194, 35196, 35197, 35198, 35200, 35202, 35204, 35205, 35207, 35208, 35209, 35210, 35211, 35212, 35213, 35214, 35215, 35216, 35217, 35218, 35219, 35220, 35221, 35222, 35223, 35224, 35225, 35226, 35227, 35228, 35229, 35230, 35231, 35232, 35233, 25671, 23591, 36965, 31377, 35875, 23002, 21676, 33280, 33647, 35201, 32768, 26928, 22094, 32822, 29239, 37326, 20918, 20063, 39029, 25494, 19994, 21494, 26355, 33099, 22812, 28082, 19968, 22777, 21307, 25558, 38129, 20381, 20234, 34915, 39056, 22839, 36951, 31227, 20202, 33008, 30097, 27778, 23452, 23016, 24413, 26885, 34433, 20506, 24050, 20057, 30691, 20197, 33402, 25233, 26131, 37009, 23673, 20159, 24441, 33222, 36920, 32900, 30123, 20134, 35028, 24847, 27589, 24518, 20041, 30410, 28322, 35811, 35758, 35850, 35793, 24322, 32764, 32716, 32462, 33589, 33643, 22240, 27575, 38899, 38452, 23035, 21535, 38134, 28139, 23493, 39278, 23609, 24341, 38544, 35234, 35235, 35236, 35237, 35238, 35239, 35240, 35241, 35242, 35243, 35244, 35245, 35246, 35247, 35248, 35249, 35250, 35251, 35252, 35253, 35254, 35255, 35256, 35257, 35258, 35259, 35260, 35261, 35262, 35263, 35264, 35267, 35277, 35283, 35284, 35285, 35287, 35288, 35289, 35291, 35293, 35295, 35296, 35297, 35298, 35300, 35303, 35304, 35305, 35306, 35308, 35309, 35310, 35312, 35313, 35314, 35316, 35317, 35318, 35319, 35320, 35321, 35322, 35323, 35324, 35325, 35326, 35327, 35329, 35330, 35331, 35332, 35333, 35334, 35336, 35337, 35338, 35339, 35340, 35341, 35342, 35343, 35344, 35345, 35346, 35347, 35348, 35349, 35350, 35351, 35352, 35353, 35354, 35355, 35356, 35357, 21360, 33521, 27185, 23156, 40560, 24212, 32552, 33721, 33828, 33829, 33639, 34631, 36814, 36194, 30408, 24433, 39062, 30828, 26144, 21727, 25317, 20323, 33219, 30152, 24248, 38605, 36362, 34553, 21647, 27891, 28044, 27704, 24703, 21191, 29992, 24189, 20248, 24736, 24551, 23588, 30001, 37038, 38080, 29369, 27833, 28216, 37193, 26377, 21451, 21491, 20305, 37321, 35825, 21448, 24188, 36802, 28132, 20110, 30402, 27014, 34398, 24858, 33286, 20313, 20446, 36926, 40060, 24841, 28189, 28180, 38533, 20104, 23089, 38632, 19982, 23679, 31161, 23431, 35821, 32701, 29577, 22495, 33419, 37057, 21505, 36935, 21947, 23786, 24481, 24840, 27442, 29425, 32946, 35465, 35358, 35359, 35360, 35361, 35362, 35363, 35364, 35365, 35366, 35367, 35368, 35369, 35370, 35371, 35372, 35373, 35374, 35375, 35376, 35377, 35378, 35379, 35380, 35381, 35382, 35383, 35384, 35385, 35386, 35387, 35388, 35389, 35391, 35392, 35393, 35394, 35395, 35396, 35397, 35398, 35399, 35401, 35402, 35403, 35404, 35405, 35406, 35407, 35408, 35409, 35410, 35411, 35412, 35413, 35414, 35415, 35416, 35417, 35418, 35419, 35420, 35421, 35422, 35423, 35424, 35425, 35426, 35427, 35428, 35429, 35430, 35431, 35432, 35433, 35434, 35435, 35436, 35437, 35438, 35439, 35440, 35441, 35442, 35443, 35444, 35445, 35446, 35447, 35448, 35450, 35451, 35452, 35453, 35454, 35455, 35456, 28020, 23507, 35029, 39044, 35947, 39533, 40499, 28170, 20900, 20803, 22435, 34945, 21407, 25588, 36757, 22253, 21592, 22278, 29503, 28304, 32536, 36828, 33489, 24895, 24616, 38498, 26352, 32422, 36234, 36291, 38053, 23731, 31908, 26376, 24742, 38405, 32792, 20113, 37095, 21248, 38504, 20801, 36816, 34164, 37213, 26197, 38901, 23381, 21277, 30776, 26434, 26685, 21705, 28798, 23472, 36733, 20877, 22312, 21681, 25874, 26242, 36190, 36163, 33039, 33900, 36973, 31967, 20991, 34299, 26531, 26089, 28577, 34468, 36481, 22122, 36896, 30338, 28790, 29157, 36131, 25321, 21017, 27901, 36156, 24590, 22686, 24974, 26366, 36192, 25166, 21939, 28195, 26413, 36711, 35457, 35458, 35459, 35460, 35461, 35462, 35463, 35464, 35467, 35468, 35469, 35470, 35471, 35472, 35473, 35474, 35476, 35477, 35478, 35479, 35480, 35481, 35482, 35483, 35484, 35485, 35486, 35487, 35488, 35489, 35490, 35491, 35492, 35493, 35494, 35495, 35496, 35497, 35498, 35499, 35500, 35501, 35502, 35503, 35504, 35505, 35506, 35507, 35508, 35509, 35510, 35511, 35512, 35513, 35514, 35515, 35516, 35517, 35518, 35519, 35520, 35521, 35522, 35523, 35524, 35525, 35526, 35527, 35528, 35529, 35530, 35531, 35532, 35533, 35534, 35535, 35536, 35537, 35538, 35539, 35540, 35541, 35542, 35543, 35544, 35545, 35546, 35547, 35548, 35549, 35550, 35551, 35552, 35553, 35554, 35555, 38113, 38392, 30504, 26629, 27048, 21643, 20045, 28856, 35784, 25688, 25995, 23429, 31364, 20538, 23528, 30651, 27617, 35449, 31896, 27838, 30415, 26025, 36759, 23853, 23637, 34360, 26632, 21344, 25112, 31449, 28251, 32509, 27167, 31456, 24432, 28467, 24352, 25484, 28072, 26454, 19976, 24080, 36134, 20183, 32960, 30260, 38556, 25307, 26157, 25214, 27836, 36213, 29031, 32617, 20806, 32903, 21484, 36974, 25240, 21746, 34544, 36761, 32773, 38167, 34071, 36825, 27993, 29645, 26015, 30495, 29956, 30759, 33275, 36126, 38024, 20390, 26517, 30137, 35786, 38663, 25391, 38215, 38453, 33976, 25379, 30529, 24449, 29424, 20105, 24596, 25972, 25327, 27491, 25919, 35556, 35557, 35558, 35559, 35560, 35561, 35562, 35563, 35564, 35565, 35566, 35567, 35568, 35569, 35570, 35571, 35572, 35573, 35574, 35575, 35576, 35577, 35578, 35579, 35580, 35581, 35582, 35583, 35584, 35585, 35586, 35587, 35588, 35589, 35590, 35592, 35593, 35594, 35595, 35596, 35597, 35598, 35599, 35600, 35601, 35602, 35603, 35604, 35605, 35606, 35607, 35608, 35609, 35610, 35611, 35612, 35613, 35614, 35615, 35616, 35617, 35618, 35619, 35620, 35621, 35623, 35624, 35625, 35626, 35627, 35628, 35629, 35630, 35631, 35632, 35633, 35634, 35635, 35636, 35637, 35638, 35639, 35640, 35641, 35642, 35643, 35644, 35645, 35646, 35647, 35648, 35649, 35650, 35651, 35652, 35653, 24103, 30151, 37073, 35777, 33437, 26525, 25903, 21553, 34584, 30693, 32930, 33026, 27713, 20043, 32455, 32844, 30452, 26893, 27542, 25191, 20540, 20356, 22336, 25351, 27490, 36286, 21482, 26088, 32440, 24535, 25370, 25527, 33267, 33268, 32622, 24092, 23769, 21046, 26234, 31209, 31258, 36136, 28825, 30164, 28382, 27835, 31378, 20013, 30405, 24544, 38047, 34935, 32456, 31181, 32959, 37325, 20210, 20247, 33311, 21608, 24030, 27954, 35788, 31909, 36724, 32920, 24090, 21650, 30385, 23449, 26172, 39588, 29664, 26666, 34523, 26417, 29482, 35832, 35803, 36880, 31481, 28891, 29038, 25284, 30633, 22065, 20027, 33879, 26609, 21161, 34496, 36142, 38136, 31569, 35654, 35655, 35656, 35657, 35658, 35659, 35660, 35661, 35662, 35663, 35664, 35665, 35666, 35667, 35668, 35669, 35670, 35671, 35672, 35673, 35674, 35675, 35676, 35677, 35678, 35679, 35680, 35681, 35682, 35683, 35684, 35685, 35687, 35688, 35689, 35690, 35691, 35693, 35694, 35695, 35696, 35697, 35698, 35699, 35700, 35701, 35702, 35703, 35704, 35705, 35706, 35707, 35708, 35709, 35710, 35711, 35712, 35713, 35714, 35715, 35716, 35717, 35718, 35719, 35720, 35721, 35722, 35723, 35724, 35725, 35726, 35727, 35728, 35729, 35730, 35731, 35732, 35733, 35734, 35735, 35736, 35737, 35738, 35739, 35740, 35741, 35742, 35743, 35756, 35761, 35771, 35783, 35792, 35818, 35849, 35870, 20303, 27880, 31069, 39547, 25235, 29226, 25341, 19987, 30742, 36716, 25776, 36186, 31686, 26729, 24196, 35013, 22918, 25758, 22766, 29366, 26894, 38181, 36861, 36184, 22368, 32512, 35846, 20934, 25417, 25305, 21331, 26700, 29730, 33537, 37196, 21828, 30528, 28796, 27978, 20857, 21672, 36164, 23039, 28363, 28100, 23388, 32043, 20180, 31869, 28371, 23376, 33258, 28173, 23383, 39683, 26837, 36394, 23447, 32508, 24635, 32437, 37049, 36208, 22863, 25549, 31199, 36275, 21330, 26063, 31062, 35781, 38459, 32452, 38075, 32386, 22068, 37257, 26368, 32618, 23562, 36981, 26152, 24038, 20304, 26590, 20570, 20316, 22352, 24231, null, null, null, null, null, 35896, 35897, 35898, 35899, 35900, 35901, 35902, 35903, 35904, 35906, 35907, 35908, 35909, 35912, 35914, 35915, 35917, 35918, 35919, 35920, 35921, 35922, 35923, 35924, 35926, 35927, 35928, 35929, 35931, 35932, 35933, 35934, 35935, 35936, 35939, 35940, 35941, 35942, 35943, 35944, 35945, 35948, 35949, 35950, 35951, 35952, 35953, 35954, 35956, 35957, 35958, 35959, 35963, 35964, 35965, 35966, 35967, 35968, 35969, 35971, 35972, 35974, 35975, 35976, 35979, 35981, 35982, 35983, 35984, 35985, 35986, 35987, 35989, 35990, 35991, 35993, 35994, 35995, 35996, 35997, 35998, 35999, 36000, 36001, 36002, 36003, 36004, 36005, 36006, 36007, 36008, 36009, 36010, 36011, 36012, 36013, 20109, 19980, 20800, 19984, 24319, 21317, 19989, 20120, 19998, 39730, 23404, 22121, 20008, 31162, 20031, 21269, 20039, 22829, 29243, 21358, 27664, 22239, 32996, 39319, 27603, 30590, 40727, 20022, 20127, 40720, 20060, 20073, 20115, 33416, 23387, 21868, 22031, 20164, 21389, 21405, 21411, 21413, 21422, 38757, 36189, 21274, 21493, 21286, 21294, 21310, 36188, 21350, 21347, 20994, 21000, 21006, 21037, 21043, 21055, 21056, 21068, 21086, 21089, 21084, 33967, 21117, 21122, 21121, 21136, 21139, 20866, 32596, 20155, 20163, 20169, 20162, 20200, 20193, 20203, 20190, 20251, 20211, 20258, 20324, 20213, 20261, 20263, 20233, 20267, 20318, 20327, 25912, 20314, 20317, 36014, 36015, 36016, 36017, 36018, 36019, 36020, 36021, 36022, 36023, 36024, 36025, 36026, 36027, 36028, 36029, 36030, 36031, 36032, 36033, 36034, 36035, 36036, 36037, 36038, 36039, 36040, 36041, 36042, 36043, 36044, 36045, 36046, 36047, 36048, 36049, 36050, 36051, 36052, 36053, 36054, 36055, 36056, 36057, 36058, 36059, 36060, 36061, 36062, 36063, 36064, 36065, 36066, 36067, 36068, 36069, 36070, 36071, 36072, 36073, 36074, 36075, 36076, 36077, 36078, 36079, 36080, 36081, 36082, 36083, 36084, 36085, 36086, 36087, 36088, 36089, 36090, 36091, 36092, 36093, 36094, 36095, 36096, 36097, 36098, 36099, 36100, 36101, 36102, 36103, 36104, 36105, 36106, 36107, 36108, 36109, 20319, 20311, 20274, 20285, 20342, 20340, 20369, 20361, 20355, 20367, 20350, 20347, 20394, 20348, 20396, 20372, 20454, 20456, 20458, 20421, 20442, 20451, 20444, 20433, 20447, 20472, 20521, 20556, 20467, 20524, 20495, 20526, 20525, 20478, 20508, 20492, 20517, 20520, 20606, 20547, 20565, 20552, 20558, 20588, 20603, 20645, 20647, 20649, 20666, 20694, 20742, 20717, 20716, 20710, 20718, 20743, 20747, 20189, 27709, 20312, 20325, 20430, 40864, 27718, 31860, 20846, 24061, 40649, 39320, 20865, 22804, 21241, 21261, 35335, 21264, 20971, 22809, 20821, 20128, 20822, 20147, 34926, 34980, 20149, 33044, 35026, 31104, 23348, 34819, 32696, 20907, 20913, 20925, 20924, 36110, 36111, 36112, 36113, 36114, 36115, 36116, 36117, 36118, 36119, 36120, 36121, 36122, 36123, 36124, 36128, 36177, 36178, 36183, 36191, 36197, 36200, 36201, 36202, 36204, 36206, 36207, 36209, 36210, 36216, 36217, 36218, 36219, 36220, 36221, 36222, 36223, 36224, 36226, 36227, 36230, 36231, 36232, 36233, 36236, 36237, 36238, 36239, 36240, 36242, 36243, 36245, 36246, 36247, 36248, 36249, 36250, 36251, 36252, 36253, 36254, 36256, 36257, 36258, 36260, 36261, 36262, 36263, 36264, 36265, 36266, 36267, 36268, 36269, 36270, 36271, 36272, 36274, 36278, 36279, 36281, 36283, 36285, 36288, 36289, 36290, 36293, 36295, 36296, 36297, 36298, 36301, 36304, 36306, 36307, 36308, 20935, 20886, 20898, 20901, 35744, 35750, 35751, 35754, 35764, 35765, 35767, 35778, 35779, 35787, 35791, 35790, 35794, 35795, 35796, 35798, 35800, 35801, 35804, 35807, 35808, 35812, 35816, 35817, 35822, 35824, 35827, 35830, 35833, 35836, 35839, 35840, 35842, 35844, 35847, 35852, 35855, 35857, 35858, 35860, 35861, 35862, 35865, 35867, 35864, 35869, 35871, 35872, 35873, 35877, 35879, 35882, 35883, 35886, 35887, 35890, 35891, 35893, 35894, 21353, 21370, 38429, 38434, 38433, 38449, 38442, 38461, 38460, 38466, 38473, 38484, 38495, 38503, 38508, 38514, 38516, 38536, 38541, 38551, 38576, 37015, 37019, 37021, 37017, 37036, 37025, 37044, 37043, 37046, 37050, 36309, 36312, 36313, 36316, 36320, 36321, 36322, 36325, 36326, 36327, 36329, 36333, 36334, 36336, 36337, 36338, 36340, 36342, 36348, 36350, 36351, 36352, 36353, 36354, 36355, 36356, 36358, 36359, 36360, 36363, 36365, 36366, 36368, 36369, 36370, 36371, 36373, 36374, 36375, 36376, 36377, 36378, 36379, 36380, 36384, 36385, 36388, 36389, 36390, 36391, 36392, 36395, 36397, 36400, 36402, 36403, 36404, 36406, 36407, 36408, 36411, 36412, 36414, 36415, 36419, 36421, 36422, 36428, 36429, 36430, 36431, 36432, 36435, 36436, 36437, 36438, 36439, 36440, 36442, 36443, 36444, 36445, 36446, 36447, 36448, 36449, 36450, 36451, 36452, 36453, 36455, 36456, 36458, 36459, 36462, 36465, 37048, 37040, 37071, 37061, 37054, 37072, 37060, 37063, 37075, 37094, 37090, 37084, 37079, 37083, 37099, 37103, 37118, 37124, 37154, 37150, 37155, 37169, 37167, 37177, 37187, 37190, 21005, 22850, 21154, 21164, 21165, 21182, 21759, 21200, 21206, 21232, 21471, 29166, 30669, 24308, 20981, 20988, 39727, 21430, 24321, 30042, 24047, 22348, 22441, 22433, 22654, 22716, 22725, 22737, 22313, 22316, 22314, 22323, 22329, 22318, 22319, 22364, 22331, 22338, 22377, 22405, 22379, 22406, 22396, 22395, 22376, 22381, 22390, 22387, 22445, 22436, 22412, 22450, 22479, 22439, 22452, 22419, 22432, 22485, 22488, 22490, 22489, 22482, 22456, 22516, 22511, 22520, 22500, 22493, 36467, 36469, 36471, 36472, 36473, 36474, 36475, 36477, 36478, 36480, 36482, 36483, 36484, 36486, 36488, 36489, 36490, 36491, 36492, 36493, 36494, 36497, 36498, 36499, 36501, 36502, 36503, 36504, 36505, 36506, 36507, 36509, 36511, 36512, 36513, 36514, 36515, 36516, 36517, 36518, 36519, 36520, 36521, 36522, 36525, 36526, 36528, 36529, 36531, 36532, 36533, 36534, 36535, 36536, 36537, 36539, 36540, 36541, 36542, 36543, 36544, 36545, 36546, 36547, 36548, 36549, 36550, 36551, 36552, 36553, 36554, 36555, 36556, 36557, 36559, 36560, 36561, 36562, 36563, 36564, 36565, 36566, 36567, 36568, 36569, 36570, 36571, 36572, 36573, 36574, 36575, 36576, 36577, 36578, 36579, 36580, 22539, 22541, 22525, 22509, 22528, 22558, 22553, 22596, 22560, 22629, 22636, 22657, 22665, 22682, 22656, 39336, 40729, 25087, 33401, 33405, 33407, 33423, 33418, 33448, 33412, 33422, 33425, 33431, 33433, 33451, 33464, 33470, 33456, 33480, 33482, 33507, 33432, 33463, 33454, 33483, 33484, 33473, 33449, 33460, 33441, 33450, 33439, 33476, 33486, 33444, 33505, 33545, 33527, 33508, 33551, 33543, 33500, 33524, 33490, 33496, 33548, 33531, 33491, 33553, 33562, 33542, 33556, 33557, 33504, 33493, 33564, 33617, 33627, 33628, 33544, 33682, 33596, 33588, 33585, 33691, 33630, 33583, 33615, 33607, 33603, 33631, 33600, 33559, 33632, 33581, 33594, 33587, 33638, 33637, 36581, 36582, 36583, 36584, 36585, 36586, 36587, 36588, 36589, 36590, 36591, 36592, 36593, 36594, 36595, 36596, 36597, 36598, 36599, 36600, 36601, 36602, 36603, 36604, 36605, 36606, 36607, 36608, 36609, 36610, 36611, 36612, 36613, 36614, 36615, 36616, 36617, 36618, 36619, 36620, 36621, 36622, 36623, 36624, 36625, 36626, 36627, 36628, 36629, 36630, 36631, 36632, 36633, 36634, 36635, 36636, 36637, 36638, 36639, 36640, 36641, 36642, 36643, 36644, 36645, 36646, 36647, 36648, 36649, 36650, 36651, 36652, 36653, 36654, 36655, 36656, 36657, 36658, 36659, 36660, 36661, 36662, 36663, 36664, 36665, 36666, 36667, 36668, 36669, 36670, 36671, 36672, 36673, 36674, 36675, 36676, 33640, 33563, 33641, 33644, 33642, 33645, 33646, 33712, 33656, 33715, 33716, 33696, 33706, 33683, 33692, 33669, 33660, 33718, 33705, 33661, 33720, 33659, 33688, 33694, 33704, 33722, 33724, 33729, 33793, 33765, 33752, 22535, 33816, 33803, 33757, 33789, 33750, 33820, 33848, 33809, 33798, 33748, 33759, 33807, 33795, 33784, 33785, 33770, 33733, 33728, 33830, 33776, 33761, 33884, 33873, 33882, 33881, 33907, 33927, 33928, 33914, 33929, 33912, 33852, 33862, 33897, 33910, 33932, 33934, 33841, 33901, 33985, 33997, 34000, 34022, 33981, 34003, 33994, 33983, 33978, 34016, 33953, 33977, 33972, 33943, 34021, 34019, 34060, 29965, 34104, 34032, 34105, 34079, 34106, 36677, 36678, 36679, 36680, 36681, 36682, 36683, 36684, 36685, 36686, 36687, 36688, 36689, 36690, 36691, 36692, 36693, 36694, 36695, 36696, 36697, 36698, 36699, 36700, 36701, 36702, 36703, 36704, 36705, 36706, 36707, 36708, 36709, 36714, 36736, 36748, 36754, 36765, 36768, 36769, 36770, 36772, 36773, 36774, 36775, 36778, 36780, 36781, 36782, 36783, 36786, 36787, 36788, 36789, 36791, 36792, 36794, 36795, 36796, 36799, 36800, 36803, 36806, 36809, 36810, 36811, 36812, 36813, 36815, 36818, 36822, 36823, 36826, 36832, 36833, 36835, 36839, 36844, 36847, 36849, 36850, 36852, 36853, 36854, 36858, 36859, 36860, 36862, 36863, 36871, 36872, 36876, 36878, 36883, 36885, 36888, 34134, 34107, 34047, 34044, 34137, 34120, 34152, 34148, 34142, 34170, 30626, 34115, 34162, 34171, 34212, 34216, 34183, 34191, 34169, 34222, 34204, 34181, 34233, 34231, 34224, 34259, 34241, 34268, 34303, 34343, 34309, 34345, 34326, 34364, 24318, 24328, 22844, 22849, 32823, 22869, 22874, 22872, 21263, 23586, 23589, 23596, 23604, 25164, 25194, 25247, 25275, 25290, 25306, 25303, 25326, 25378, 25334, 25401, 25419, 25411, 25517, 25590, 25457, 25466, 25486, 25524, 25453, 25516, 25482, 25449, 25518, 25532, 25586, 25592, 25568, 25599, 25540, 25566, 25550, 25682, 25542, 25534, 25669, 25665, 25611, 25627, 25632, 25612, 25638, 25633, 25694, 25732, 25709, 25750, 36889, 36892, 36899, 36900, 36901, 36903, 36904, 36905, 36906, 36907, 36908, 36912, 36913, 36914, 36915, 36916, 36919, 36921, 36922, 36925, 36927, 36928, 36931, 36933, 36934, 36936, 36937, 36938, 36939, 36940, 36942, 36948, 36949, 36950, 36953, 36954, 36956, 36957, 36958, 36959, 36960, 36961, 36964, 36966, 36967, 36969, 36970, 36971, 36972, 36975, 36976, 36977, 36978, 36979, 36982, 36983, 36984, 36985, 36986, 36987, 36988, 36990, 36993, 36996, 36997, 36998, 36999, 37001, 37002, 37004, 37005, 37006, 37007, 37008, 37010, 37012, 37014, 37016, 37018, 37020, 37022, 37023, 37024, 37028, 37029, 37031, 37032, 37033, 37035, 37037, 37042, 37047, 37052, 37053, 37055, 37056, 25722, 25783, 25784, 25753, 25786, 25792, 25808, 25815, 25828, 25826, 25865, 25893, 25902, 24331, 24530, 29977, 24337, 21343, 21489, 21501, 21481, 21480, 21499, 21522, 21526, 21510, 21579, 21586, 21587, 21588, 21590, 21571, 21537, 21591, 21593, 21539, 21554, 21634, 21652, 21623, 21617, 21604, 21658, 21659, 21636, 21622, 21606, 21661, 21712, 21677, 21698, 21684, 21714, 21671, 21670, 21715, 21716, 21618, 21667, 21717, 21691, 21695, 21708, 21721, 21722, 21724, 21673, 21674, 21668, 21725, 21711, 21726, 21787, 21735, 21792, 21757, 21780, 21747, 21794, 21795, 21775, 21777, 21799, 21802, 21863, 21903, 21941, 21833, 21869, 21825, 21845, 21823, 21840, 21820, 37058, 37059, 37062, 37064, 37065, 37067, 37068, 37069, 37074, 37076, 37077, 37078, 37080, 37081, 37082, 37086, 37087, 37088, 37091, 37092, 37093, 37097, 37098, 37100, 37102, 37104, 37105, 37106, 37107, 37109, 37110, 37111, 37113, 37114, 37115, 37116, 37119, 37120, 37121, 37123, 37125, 37126, 37127, 37128, 37129, 37130, 37131, 37132, 37133, 37134, 37135, 37136, 37137, 37138, 37139, 37140, 37141, 37142, 37143, 37144, 37146, 37147, 37148, 37149, 37151, 37152, 37153, 37156, 37157, 37158, 37159, 37160, 37161, 37162, 37163, 37164, 37165, 37166, 37168, 37170, 37171, 37172, 37173, 37174, 37175, 37176, 37178, 37179, 37180, 37181, 37182, 37183, 37184, 37185, 37186, 37188, 21815, 21846, 21877, 21878, 21879, 21811, 21808, 21852, 21899, 21970, 21891, 21937, 21945, 21896, 21889, 21919, 21886, 21974, 21905, 21883, 21983, 21949, 21950, 21908, 21913, 21994, 22007, 21961, 22047, 21969, 21995, 21996, 21972, 21990, 21981, 21956, 21999, 21989, 22002, 22003, 21964, 21965, 21992, 22005, 21988, 36756, 22046, 22024, 22028, 22017, 22052, 22051, 22014, 22016, 22055, 22061, 22104, 22073, 22103, 22060, 22093, 22114, 22105, 22108, 22092, 22100, 22150, 22116, 22129, 22123, 22139, 22140, 22149, 22163, 22191, 22228, 22231, 22237, 22241, 22261, 22251, 22265, 22271, 22276, 22282, 22281, 22300, 24079, 24089, 24084, 24081, 24113, 24123, 24124, 37189, 37191, 37192, 37201, 37203, 37204, 37205, 37206, 37208, 37209, 37211, 37212, 37215, 37216, 37222, 37223, 37224, 37227, 37229, 37235, 37242, 37243, 37244, 37248, 37249, 37250, 37251, 37252, 37254, 37256, 37258, 37262, 37263, 37267, 37268, 37269, 37270, 37271, 37272, 37273, 37276, 37277, 37278, 37279, 37280, 37281, 37284, 37285, 37286, 37287, 37288, 37289, 37291, 37292, 37296, 37297, 37298, 37299, 37302, 37303, 37304, 37305, 37307, 37308, 37309, 37310, 37311, 37312, 37313, 37314, 37315, 37316, 37317, 37318, 37320, 37323, 37328, 37330, 37331, 37332, 37333, 37334, 37335, 37336, 37337, 37338, 37339, 37341, 37342, 37343, 37344, 37345, 37346, 37347, 37348, 37349, 24119, 24132, 24148, 24155, 24158, 24161, 23692, 23674, 23693, 23696, 23702, 23688, 23704, 23705, 23697, 23706, 23708, 23733, 23714, 23741, 23724, 23723, 23729, 23715, 23745, 23735, 23748, 23762, 23780, 23755, 23781, 23810, 23811, 23847, 23846, 23854, 23844, 23838, 23814, 23835, 23896, 23870, 23860, 23869, 23916, 23899, 23919, 23901, 23915, 23883, 23882, 23913, 23924, 23938, 23961, 23965, 35955, 23991, 24005, 24435, 24439, 24450, 24455, 24457, 24460, 24469, 24473, 24476, 24488, 24493, 24501, 24508, 34914, 24417, 29357, 29360, 29364, 29367, 29368, 29379, 29377, 29390, 29389, 29394, 29416, 29423, 29417, 29426, 29428, 29431, 29441, 29427, 29443, 29434, 37350, 37351, 37352, 37353, 37354, 37355, 37356, 37357, 37358, 37359, 37360, 37361, 37362, 37363, 37364, 37365, 37366, 37367, 37368, 37369, 37370, 37371, 37372, 37373, 37374, 37375, 37376, 37377, 37378, 37379, 37380, 37381, 37382, 37383, 37384, 37385, 37386, 37387, 37388, 37389, 37390, 37391, 37392, 37393, 37394, 37395, 37396, 37397, 37398, 37399, 37400, 37401, 37402, 37403, 37404, 37405, 37406, 37407, 37408, 37409, 37410, 37411, 37412, 37413, 37414, 37415, 37416, 37417, 37418, 37419, 37420, 37421, 37422, 37423, 37424, 37425, 37426, 37427, 37428, 37429, 37430, 37431, 37432, 37433, 37434, 37435, 37436, 37437, 37438, 37439, 37440, 37441, 37442, 37443, 37444, 37445, 29435, 29463, 29459, 29473, 29450, 29470, 29469, 29461, 29474, 29497, 29477, 29484, 29496, 29489, 29520, 29517, 29527, 29536, 29548, 29551, 29566, 33307, 22821, 39143, 22820, 22786, 39267, 39271, 39272, 39273, 39274, 39275, 39276, 39284, 39287, 39293, 39296, 39300, 39303, 39306, 39309, 39312, 39313, 39315, 39316, 39317, 24192, 24209, 24203, 24214, 24229, 24224, 24249, 24245, 24254, 24243, 36179, 24274, 24273, 24283, 24296, 24298, 33210, 24516, 24521, 24534, 24527, 24579, 24558, 24580, 24545, 24548, 24574, 24581, 24582, 24554, 24557, 24568, 24601, 24629, 24614, 24603, 24591, 24589, 24617, 24619, 24586, 24639, 24609, 24696, 24697, 24699, 24698, 24642, 37446, 37447, 37448, 37449, 37450, 37451, 37452, 37453, 37454, 37455, 37456, 37457, 37458, 37459, 37460, 37461, 37462, 37463, 37464, 37465, 37466, 37467, 37468, 37469, 37470, 37471, 37472, 37473, 37474, 37475, 37476, 37477, 37478, 37479, 37480, 37481, 37482, 37483, 37484, 37485, 37486, 37487, 37488, 37489, 37490, 37491, 37493, 37494, 37495, 37496, 37497, 37498, 37499, 37500, 37501, 37502, 37503, 37504, 37505, 37506, 37507, 37508, 37509, 37510, 37511, 37512, 37513, 37514, 37515, 37516, 37517, 37519, 37520, 37521, 37522, 37523, 37524, 37525, 37526, 37527, 37528, 37529, 37530, 37531, 37532, 37533, 37534, 37535, 37536, 37537, 37538, 37539, 37540, 37541, 37542, 37543, 24682, 24701, 24726, 24730, 24749, 24733, 24707, 24722, 24716, 24731, 24812, 24763, 24753, 24797, 24792, 24774, 24794, 24756, 24864, 24870, 24853, 24867, 24820, 24832, 24846, 24875, 24906, 24949, 25004, 24980, 24999, 25015, 25044, 25077, 24541, 38579, 38377, 38379, 38385, 38387, 38389, 38390, 38396, 38398, 38403, 38404, 38406, 38408, 38410, 38411, 38412, 38413, 38415, 38418, 38421, 38422, 38423, 38425, 38426, 20012, 29247, 25109, 27701, 27732, 27740, 27722, 27811, 27781, 27792, 27796, 27788, 27752, 27753, 27764, 27766, 27782, 27817, 27856, 27860, 27821, 27895, 27896, 27889, 27863, 27826, 27872, 27862, 27898, 27883, 27886, 27825, 27859, 27887, 27902, 37544, 37545, 37546, 37547, 37548, 37549, 37551, 37552, 37553, 37554, 37555, 37556, 37557, 37558, 37559, 37560, 37561, 37562, 37563, 37564, 37565, 37566, 37567, 37568, 37569, 37570, 37571, 37572, 37573, 37574, 37575, 37577, 37578, 37579, 37580, 37581, 37582, 37583, 37584, 37585, 37586, 37587, 37588, 37589, 37590, 37591, 37592, 37593, 37594, 37595, 37596, 37597, 37598, 37599, 37600, 37601, 37602, 37603, 37604, 37605, 37606, 37607, 37608, 37609, 37610, 37611, 37612, 37613, 37614, 37615, 37616, 37617, 37618, 37619, 37620, 37621, 37622, 37623, 37624, 37625, 37626, 37627, 37628, 37629, 37630, 37631, 37632, 37633, 37634, 37635, 37636, 37637, 37638, 37639, 37640, 37641, 27961, 27943, 27916, 27971, 27976, 27911, 27908, 27929, 27918, 27947, 27981, 27950, 27957, 27930, 27983, 27986, 27988, 27955, 28049, 28015, 28062, 28064, 27998, 28051, 28052, 27996, 28000, 28028, 28003, 28186, 28103, 28101, 28126, 28174, 28095, 28128, 28177, 28134, 28125, 28121, 28182, 28075, 28172, 28078, 28203, 28270, 28238, 28267, 28338, 28255, 28294, 28243, 28244, 28210, 28197, 28228, 28383, 28337, 28312, 28384, 28461, 28386, 28325, 28327, 28349, 28347, 28343, 28375, 28340, 28367, 28303, 28354, 28319, 28514, 28486, 28487, 28452, 28437, 28409, 28463, 28470, 28491, 28532, 28458, 28425, 28457, 28553, 28557, 28556, 28536, 28530, 28540, 28538, 28625, 37642, 37643, 37644, 37645, 37646, 37647, 37648, 37649, 37650, 37651, 37652, 37653, 37654, 37655, 37656, 37657, 37658, 37659, 37660, 37661, 37662, 37663, 37664, 37665, 37666, 37667, 37668, 37669, 37670, 37671, 37672, 37673, 37674, 37675, 37676, 37677, 37678, 37679, 37680, 37681, 37682, 37683, 37684, 37685, 37686, 37687, 37688, 37689, 37690, 37691, 37692, 37693, 37695, 37696, 37697, 37698, 37699, 37700, 37701, 37702, 37703, 37704, 37705, 37706, 37707, 37708, 37709, 37710, 37711, 37712, 37713, 37714, 37715, 37716, 37717, 37718, 37719, 37720, 37721, 37722, 37723, 37724, 37725, 37726, 37727, 37728, 37729, 37730, 37731, 37732, 37733, 37734, 37735, 37736, 37737, 37739, 28617, 28583, 28601, 28598, 28610, 28641, 28654, 28638, 28640, 28655, 28698, 28707, 28699, 28729, 28725, 28751, 28766, 23424, 23428, 23445, 23443, 23461, 23480, 29999, 39582, 25652, 23524, 23534, 35120, 23536, 36423, 35591, 36790, 36819, 36821, 36837, 36846, 36836, 36841, 36838, 36851, 36840, 36869, 36868, 36875, 36902, 36881, 36877, 36886, 36897, 36917, 36918, 36909, 36911, 36932, 36945, 36946, 36944, 36968, 36952, 36962, 36955, 26297, 36980, 36989, 36994, 37000, 36995, 37003, 24400, 24407, 24406, 24408, 23611, 21675, 23632, 23641, 23409, 23651, 23654, 32700, 24362, 24361, 24365, 33396, 24380, 39739, 23662, 22913, 22915, 22925, 22953, 22954, 22947, 37740, 37741, 37742, 37743, 37744, 37745, 37746, 37747, 37748, 37749, 37750, 37751, 37752, 37753, 37754, 37755, 37756, 37757, 37758, 37759, 37760, 37761, 37762, 37763, 37764, 37765, 37766, 37767, 37768, 37769, 37770, 37771, 37772, 37773, 37774, 37776, 37777, 37778, 37779, 37780, 37781, 37782, 37783, 37784, 37785, 37786, 37787, 37788, 37789, 37790, 37791, 37792, 37793, 37794, 37795, 37796, 37797, 37798, 37799, 37800, 37801, 37802, 37803, 37804, 37805, 37806, 37807, 37808, 37809, 37810, 37811, 37812, 37813, 37814, 37815, 37816, 37817, 37818, 37819, 37820, 37821, 37822, 37823, 37824, 37825, 37826, 37827, 37828, 37829, 37830, 37831, 37832, 37833, 37835, 37836, 37837, 22935, 22986, 22955, 22942, 22948, 22994, 22962, 22959, 22999, 22974, 23045, 23046, 23005, 23048, 23011, 23000, 23033, 23052, 23049, 23090, 23092, 23057, 23075, 23059, 23104, 23143, 23114, 23125, 23100, 23138, 23157, 33004, 23210, 23195, 23159, 23162, 23230, 23275, 23218, 23250, 23252, 23224, 23264, 23267, 23281, 23254, 23270, 23256, 23260, 23305, 23319, 23318, 23346, 23351, 23360, 23573, 23580, 23386, 23397, 23411, 23377, 23379, 23394, 39541, 39543, 39544, 39546, 39551, 39549, 39552, 39553, 39557, 39560, 39562, 39568, 39570, 39571, 39574, 39576, 39579, 39580, 39581, 39583, 39584, 39586, 39587, 39589, 39591, 32415, 32417, 32419, 32421, 32424, 32425, 37838, 37839, 37840, 37841, 37842, 37843, 37844, 37845, 37847, 37848, 37849, 37850, 37851, 37852, 37853, 37854, 37855, 37856, 37857, 37858, 37859, 37860, 37861, 37862, 37863, 37864, 37865, 37866, 37867, 37868, 37869, 37870, 37871, 37872, 37873, 37874, 37875, 37876, 37877, 37878, 37879, 37880, 37881, 37882, 37883, 37884, 37885, 37886, 37887, 37888, 37889, 37890, 37891, 37892, 37893, 37894, 37895, 37896, 37897, 37898, 37899, 37900, 37901, 37902, 37903, 37904, 37905, 37906, 37907, 37908, 37909, 37910, 37911, 37912, 37913, 37914, 37915, 37916, 37917, 37918, 37919, 37920, 37921, 37922, 37923, 37924, 37925, 37926, 37927, 37928, 37929, 37930, 37931, 37932, 37933, 37934, 32429, 32432, 32446, 32448, 32449, 32450, 32457, 32459, 32460, 32464, 32468, 32471, 32475, 32480, 32481, 32488, 32491, 32494, 32495, 32497, 32498, 32525, 32502, 32506, 32507, 32510, 32513, 32514, 32515, 32519, 32520, 32523, 32524, 32527, 32529, 32530, 32535, 32537, 32540, 32539, 32543, 32545, 32546, 32547, 32548, 32549, 32550, 32551, 32554, 32555, 32556, 32557, 32559, 32560, 32561, 32562, 32563, 32565, 24186, 30079, 24027, 30014, 37013, 29582, 29585, 29614, 29602, 29599, 29647, 29634, 29649, 29623, 29619, 29632, 29641, 29640, 29669, 29657, 39036, 29706, 29673, 29671, 29662, 29626, 29682, 29711, 29738, 29787, 29734, 29733, 29736, 29744, 29742, 29740, 37935, 37936, 37937, 37938, 37939, 37940, 37941, 37942, 37943, 37944, 37945, 37946, 37947, 37948, 37949, 37951, 37952, 37953, 37954, 37955, 37956, 37957, 37958, 37959, 37960, 37961, 37962, 37963, 37964, 37965, 37966, 37967, 37968, 37969, 37970, 37971, 37972, 37973, 37974, 37975, 37976, 37977, 37978, 37979, 37980, 37981, 37982, 37983, 37984, 37985, 37986, 37987, 37988, 37989, 37990, 37991, 37992, 37993, 37994, 37996, 37997, 37998, 37999, 38000, 38001, 38002, 38003, 38004, 38005, 38006, 38007, 38008, 38009, 38010, 38011, 38012, 38013, 38014, 38015, 38016, 38017, 38018, 38019, 38020, 38033, 38038, 38040, 38087, 38095, 38099, 38100, 38106, 38118, 38139, 38172, 38176, 29723, 29722, 29761, 29788, 29783, 29781, 29785, 29815, 29805, 29822, 29852, 29838, 29824, 29825, 29831, 29835, 29854, 29864, 29865, 29840, 29863, 29906, 29882, 38890, 38891, 38892, 26444, 26451, 26462, 26440, 26473, 26533, 26503, 26474, 26483, 26520, 26535, 26485, 26536, 26526, 26541, 26507, 26487, 26492, 26608, 26633, 26584, 26634, 26601, 26544, 26636, 26585, 26549, 26586, 26547, 26589, 26624, 26563, 26552, 26594, 26638, 26561, 26621, 26674, 26675, 26720, 26721, 26702, 26722, 26692, 26724, 26755, 26653, 26709, 26726, 26689, 26727, 26688, 26686, 26698, 26697, 26665, 26805, 26767, 26740, 26743, 26771, 26731, 26818, 26990, 26876, 26911, 26912, 26873, 38183, 38195, 38205, 38211, 38216, 38219, 38229, 38234, 38240, 38254, 38260, 38261, 38263, 38264, 38265, 38266, 38267, 38268, 38269, 38270, 38272, 38273, 38274, 38275, 38276, 38277, 38278, 38279, 38280, 38281, 38282, 38283, 38284, 38285, 38286, 38287, 38288, 38289, 38290, 38291, 38292, 38293, 38294, 38295, 38296, 38297, 38298, 38299, 38300, 38301, 38302, 38303, 38304, 38305, 38306, 38307, 38308, 38309, 38310, 38311, 38312, 38313, 38314, 38315, 38316, 38317, 38318, 38319, 38320, 38321, 38322, 38323, 38324, 38325, 38326, 38327, 38328, 38329, 38330, 38331, 38332, 38333, 38334, 38335, 38336, 38337, 38338, 38339, 38340, 38341, 38342, 38343, 38344, 38345, 38346, 38347, 26916, 26864, 26891, 26881, 26967, 26851, 26896, 26993, 26937, 26976, 26946, 26973, 27012, 26987, 27008, 27032, 27000, 26932, 27084, 27015, 27016, 27086, 27017, 26982, 26979, 27001, 27035, 27047, 27067, 27051, 27053, 27092, 27057, 27073, 27082, 27103, 27029, 27104, 27021, 27135, 27183, 27117, 27159, 27160, 27237, 27122, 27204, 27198, 27296, 27216, 27227, 27189, 27278, 27257, 27197, 27176, 27224, 27260, 27281, 27280, 27305, 27287, 27307, 29495, 29522, 27521, 27522, 27527, 27524, 27538, 27539, 27533, 27546, 27547, 27553, 27562, 36715, 36717, 36721, 36722, 36723, 36725, 36726, 36728, 36727, 36729, 36730, 36732, 36734, 36737, 36738, 36740, 36743, 36747, 38348, 38349, 38350, 38351, 38352, 38353, 38354, 38355, 38356, 38357, 38358, 38359, 38360, 38361, 38362, 38363, 38364, 38365, 38366, 38367, 38368, 38369, 38370, 38371, 38372, 38373, 38374, 38375, 38380, 38399, 38407, 38419, 38424, 38427, 38430, 38432, 38435, 38436, 38437, 38438, 38439, 38440, 38441, 38443, 38444, 38445, 38447, 38448, 38455, 38456, 38457, 38458, 38462, 38465, 38467, 38474, 38478, 38479, 38481, 38482, 38483, 38486, 38487, 38488, 38489, 38490, 38492, 38493, 38494, 38496, 38499, 38501, 38502, 38507, 38509, 38510, 38511, 38512, 38513, 38515, 38520, 38521, 38522, 38523, 38524, 38525, 38526, 38527, 38528, 38529, 38530, 38531, 38532, 38535, 38537, 38538, 36749, 36750, 36751, 36760, 36762, 36558, 25099, 25111, 25115, 25119, 25122, 25121, 25125, 25124, 25132, 33255, 29935, 29940, 29951, 29967, 29969, 29971, 25908, 26094, 26095, 26096, 26122, 26137, 26482, 26115, 26133, 26112, 28805, 26359, 26141, 26164, 26161, 26166, 26165, 32774, 26207, 26196, 26177, 26191, 26198, 26209, 26199, 26231, 26244, 26252, 26279, 26269, 26302, 26331, 26332, 26342, 26345, 36146, 36147, 36150, 36155, 36157, 36160, 36165, 36166, 36168, 36169, 36167, 36173, 36181, 36185, 35271, 35274, 35275, 35276, 35278, 35279, 35280, 35281, 29294, 29343, 29277, 29286, 29295, 29310, 29311, 29316, 29323, 29325, 29327, 29330, 25352, 25394, 25520, 38540, 38542, 38545, 38546, 38547, 38549, 38550, 38554, 38555, 38557, 38558, 38559, 38560, 38561, 38562, 38563, 38564, 38565, 38566, 38568, 38569, 38570, 38571, 38572, 38573, 38574, 38575, 38577, 38578, 38580, 38581, 38583, 38584, 38586, 38587, 38591, 38594, 38595, 38600, 38602, 38603, 38608, 38609, 38611, 38612, 38614, 38615, 38616, 38617, 38618, 38619, 38620, 38621, 38622, 38623, 38625, 38626, 38627, 38628, 38629, 38630, 38631, 38635, 38636, 38637, 38638, 38640, 38641, 38642, 38644, 38645, 38648, 38650, 38651, 38652, 38653, 38655, 38658, 38659, 38661, 38666, 38667, 38668, 38672, 38673, 38674, 38676, 38677, 38679, 38680, 38681, 38682, 38683, 38685, 38687, 38688, 25663, 25816, 32772, 27626, 27635, 27645, 27637, 27641, 27653, 27655, 27654, 27661, 27669, 27672, 27673, 27674, 27681, 27689, 27684, 27690, 27698, 25909, 25941, 25963, 29261, 29266, 29270, 29232, 34402, 21014, 32927, 32924, 32915, 32956, 26378, 32957, 32945, 32939, 32941, 32948, 32951, 32999, 33000, 33001, 33002, 32987, 32962, 32964, 32985, 32973, 32983, 26384, 32989, 33003, 33009, 33012, 33005, 33037, 33038, 33010, 33020, 26389, 33042, 35930, 33078, 33054, 33068, 33048, 33074, 33096, 33100, 33107, 33140, 33113, 33114, 33137, 33120, 33129, 33148, 33149, 33133, 33127, 22605, 23221, 33160, 33154, 33169, 28373, 33187, 33194, 33228, 26406, 33226, 33211, 38689, 38690, 38691, 38692, 38693, 38694, 38695, 38696, 38697, 38699, 38700, 38702, 38703, 38705, 38707, 38708, 38709, 38710, 38711, 38714, 38715, 38716, 38717, 38719, 38720, 38721, 38722, 38723, 38724, 38725, 38726, 38727, 38728, 38729, 38730, 38731, 38732, 38733, 38734, 38735, 38736, 38737, 38740, 38741, 38743, 38744, 38746, 38748, 38749, 38751, 38755, 38756, 38758, 38759, 38760, 38762, 38763, 38764, 38765, 38766, 38767, 38768, 38769, 38770, 38773, 38775, 38776, 38777, 38778, 38779, 38781, 38782, 38783, 38784, 38785, 38786, 38787, 38788, 38790, 38791, 38792, 38793, 38794, 38796, 38798, 38799, 38800, 38803, 38805, 38806, 38807, 38809, 38810, 38811, 38812, 38813, 33217, 33190, 27428, 27447, 27449, 27459, 27462, 27481, 39121, 39122, 39123, 39125, 39129, 39130, 27571, 24384, 27586, 35315, 26000, 40785, 26003, 26044, 26054, 26052, 26051, 26060, 26062, 26066, 26070, 28800, 28828, 28822, 28829, 28859, 28864, 28855, 28843, 28849, 28904, 28874, 28944, 28947, 28950, 28975, 28977, 29043, 29020, 29032, 28997, 29042, 29002, 29048, 29050, 29080, 29107, 29109, 29096, 29088, 29152, 29140, 29159, 29177, 29213, 29224, 28780, 28952, 29030, 29113, 25150, 25149, 25155, 25160, 25161, 31035, 31040, 31046, 31049, 31067, 31068, 31059, 31066, 31074, 31063, 31072, 31087, 31079, 31098, 31109, 31114, 31130, 31143, 31155, 24529, 24528, 38814, 38815, 38817, 38818, 38820, 38821, 38822, 38823, 38824, 38825, 38826, 38828, 38830, 38832, 38833, 38835, 38837, 38838, 38839, 38840, 38841, 38842, 38843, 38844, 38845, 38846, 38847, 38848, 38849, 38850, 38851, 38852, 38853, 38854, 38855, 38856, 38857, 38858, 38859, 38860, 38861, 38862, 38863, 38864, 38865, 38866, 38867, 38868, 38869, 38870, 38871, 38872, 38873, 38874, 38875, 38876, 38877, 38878, 38879, 38880, 38881, 38882, 38883, 38884, 38885, 38888, 38894, 38895, 38896, 38897, 38898, 38900, 38903, 38904, 38905, 38906, 38907, 38908, 38909, 38910, 38911, 38912, 38913, 38914, 38915, 38916, 38917, 38918, 38919, 38920, 38921, 38922, 38923, 38924, 38925, 38926, 24636, 24669, 24666, 24679, 24641, 24665, 24675, 24747, 24838, 24845, 24925, 25001, 24989, 25035, 25041, 25094, 32896, 32895, 27795, 27894, 28156, 30710, 30712, 30720, 30729, 30743, 30744, 30737, 26027, 30765, 30748, 30749, 30777, 30778, 30779, 30751, 30780, 30757, 30764, 30755, 30761, 30798, 30829, 30806, 30807, 30758, 30800, 30791, 30796, 30826, 30875, 30867, 30874, 30855, 30876, 30881, 30883, 30898, 30905, 30885, 30932, 30937, 30921, 30956, 30962, 30981, 30964, 30995, 31012, 31006, 31028, 40859, 40697, 40699, 40700, 30449, 30468, 30477, 30457, 30471, 30472, 30490, 30498, 30489, 30509, 30502, 30517, 30520, 30544, 30545, 30535, 30531, 30554, 30568, 38927, 38928, 38929, 38930, 38931, 38932, 38933, 38934, 38935, 38936, 38937, 38938, 38939, 38940, 38941, 38942, 38943, 38944, 38945, 38946, 38947, 38948, 38949, 38950, 38951, 38952, 38953, 38954, 38955, 38956, 38957, 38958, 38959, 38960, 38961, 38962, 38963, 38964, 38965, 38966, 38967, 38968, 38969, 38970, 38971, 38972, 38973, 38974, 38975, 38976, 38977, 38978, 38979, 38980, 38981, 38982, 38983, 38984, 38985, 38986, 38987, 38988, 38989, 38990, 38991, 38992, 38993, 38994, 38995, 38996, 38997, 38998, 38999, 39000, 39001, 39002, 39003, 39004, 39005, 39006, 39007, 39008, 39009, 39010, 39011, 39012, 39013, 39014, 39015, 39016, 39017, 39018, 39019, 39020, 39021, 39022, 30562, 30565, 30591, 30605, 30589, 30592, 30604, 30609, 30623, 30624, 30640, 30645, 30653, 30010, 30016, 30030, 30027, 30024, 30043, 30066, 30073, 30083, 32600, 32609, 32607, 35400, 32616, 32628, 32625, 32633, 32641, 32638, 30413, 30437, 34866, 38021, 38022, 38023, 38027, 38026, 38028, 38029, 38031, 38032, 38036, 38039, 38037, 38042, 38043, 38044, 38051, 38052, 38059, 38058, 38061, 38060, 38063, 38064, 38066, 38068, 38070, 38071, 38072, 38073, 38074, 38076, 38077, 38079, 38084, 38088, 38089, 38090, 38091, 38092, 38093, 38094, 38096, 38097, 38098, 38101, 38102, 38103, 38105, 38104, 38107, 38110, 38111, 38112, 38114, 38116, 38117, 38119, 38120, 38122, 39023, 39024, 39025, 39026, 39027, 39028, 39051, 39054, 39058, 39061, 39065, 39075, 39080, 39081, 39082, 39083, 39084, 39085, 39086, 39087, 39088, 39089, 39090, 39091, 39092, 39093, 39094, 39095, 39096, 39097, 39098, 39099, 39100, 39101, 39102, 39103, 39104, 39105, 39106, 39107, 39108, 39109, 39110, 39111, 39112, 39113, 39114, 39115, 39116, 39117, 39119, 39120, 39124, 39126, 39127, 39131, 39132, 39133, 39136, 39137, 39138, 39139, 39140, 39141, 39142, 39145, 39146, 39147, 39148, 39149, 39150, 39151, 39152, 39153, 39154, 39155, 39156, 39157, 39158, 39159, 39160, 39161, 39162, 39163, 39164, 39165, 39166, 39167, 39168, 39169, 39170, 39171, 39172, 39173, 39174, 39175, 38121, 38123, 38126, 38127, 38131, 38132, 38133, 38135, 38137, 38140, 38141, 38143, 38147, 38146, 38150, 38151, 38153, 38154, 38157, 38158, 38159, 38162, 38163, 38164, 38165, 38166, 38168, 38171, 38173, 38174, 38175, 38178, 38186, 38187, 38185, 38188, 38193, 38194, 38196, 38198, 38199, 38200, 38204, 38206, 38207, 38210, 38197, 38212, 38213, 38214, 38217, 38220, 38222, 38223, 38226, 38227, 38228, 38230, 38231, 38232, 38233, 38235, 38238, 38239, 38237, 38241, 38242, 38244, 38245, 38246, 38247, 38248, 38249, 38250, 38251, 38252, 38255, 38257, 38258, 38259, 38202, 30695, 30700, 38601, 31189, 31213, 31203, 31211, 31238, 23879, 31235, 31234, 31262, 31252, 39176, 39177, 39178, 39179, 39180, 39182, 39183, 39185, 39186, 39187, 39188, 39189, 39190, 39191, 39192, 39193, 39194, 39195, 39196, 39197, 39198, 39199, 39200, 39201, 39202, 39203, 39204, 39205, 39206, 39207, 39208, 39209, 39210, 39211, 39212, 39213, 39215, 39216, 39217, 39218, 39219, 39220, 39221, 39222, 39223, 39224, 39225, 39226, 39227, 39228, 39229, 39230, 39231, 39232, 39233, 39234, 39235, 39236, 39237, 39238, 39239, 39240, 39241, 39242, 39243, 39244, 39245, 39246, 39247, 39248, 39249, 39250, 39251, 39254, 39255, 39256, 39257, 39258, 39259, 39260, 39261, 39262, 39263, 39264, 39265, 39266, 39268, 39270, 39283, 39288, 39289, 39291, 39294, 39298, 39299, 39305, 31289, 31287, 31313, 40655, 39333, 31344, 30344, 30350, 30355, 30361, 30372, 29918, 29920, 29996, 40480, 40482, 40488, 40489, 40490, 40491, 40492, 40498, 40497, 40502, 40504, 40503, 40505, 40506, 40510, 40513, 40514, 40516, 40518, 40519, 40520, 40521, 40523, 40524, 40526, 40529, 40533, 40535, 40538, 40539, 40540, 40542, 40547, 40550, 40551, 40552, 40553, 40554, 40555, 40556, 40561, 40557, 40563, 30098, 30100, 30102, 30112, 30109, 30124, 30115, 30131, 30132, 30136, 30148, 30129, 30128, 30147, 30146, 30166, 30157, 30179, 30184, 30182, 30180, 30187, 30183, 30211, 30193, 30204, 30207, 30224, 30208, 30213, 30220, 30231, 30218, 30245, 30232, 30229, 30233, 39308, 39310, 39322, 39323, 39324, 39325, 39326, 39327, 39328, 39329, 39330, 39331, 39332, 39334, 39335, 39337, 39338, 39339, 39340, 39341, 39342, 39343, 39344, 39345, 39346, 39347, 39348, 39349, 39350, 39351, 39352, 39353, 39354, 39355, 39356, 39357, 39358, 39359, 39360, 39361, 39362, 39363, 39364, 39365, 39366, 39367, 39368, 39369, 39370, 39371, 39372, 39373, 39374, 39375, 39376, 39377, 39378, 39379, 39380, 39381, 39382, 39383, 39384, 39385, 39386, 39387, 39388, 39389, 39390, 39391, 39392, 39393, 39394, 39395, 39396, 39397, 39398, 39399, 39400, 39401, 39402, 39403, 39404, 39405, 39406, 39407, 39408, 39409, 39410, 39411, 39412, 39413, 39414, 39415, 39416, 39417, 30235, 30268, 30242, 30240, 30272, 30253, 30256, 30271, 30261, 30275, 30270, 30259, 30285, 30302, 30292, 30300, 30294, 30315, 30319, 32714, 31462, 31352, 31353, 31360, 31366, 31368, 31381, 31398, 31392, 31404, 31400, 31405, 31411, 34916, 34921, 34930, 34941, 34943, 34946, 34978, 35014, 34999, 35004, 35017, 35042, 35022, 35043, 35045, 35057, 35098, 35068, 35048, 35070, 35056, 35105, 35097, 35091, 35099, 35082, 35124, 35115, 35126, 35137, 35174, 35195, 30091, 32997, 30386, 30388, 30684, 32786, 32788, 32790, 32796, 32800, 32802, 32805, 32806, 32807, 32809, 32808, 32817, 32779, 32821, 32835, 32838, 32845, 32850, 32873, 32881, 35203, 39032, 39040, 39043, 39418, 39419, 39420, 39421, 39422, 39423, 39424, 39425, 39426, 39427, 39428, 39429, 39430, 39431, 39432, 39433, 39434, 39435, 39436, 39437, 39438, 39439, 39440, 39441, 39442, 39443, 39444, 39445, 39446, 39447, 39448, 39449, 39450, 39451, 39452, 39453, 39454, 39455, 39456, 39457, 39458, 39459, 39460, 39461, 39462, 39463, 39464, 39465, 39466, 39467, 39468, 39469, 39470, 39471, 39472, 39473, 39474, 39475, 39476, 39477, 39478, 39479, 39480, 39481, 39482, 39483, 39484, 39485, 39486, 39487, 39488, 39489, 39490, 39491, 39492, 39493, 39494, 39495, 39496, 39497, 39498, 39499, 39500, 39501, 39502, 39503, 39504, 39505, 39506, 39507, 39508, 39509, 39510, 39511, 39512, 39513, 39049, 39052, 39053, 39055, 39060, 39066, 39067, 39070, 39071, 39073, 39074, 39077, 39078, 34381, 34388, 34412, 34414, 34431, 34426, 34428, 34427, 34472, 34445, 34443, 34476, 34461, 34471, 34467, 34474, 34451, 34473, 34486, 34500, 34485, 34510, 34480, 34490, 34481, 34479, 34505, 34511, 34484, 34537, 34545, 34546, 34541, 34547, 34512, 34579, 34526, 34548, 34527, 34520, 34513, 34563, 34567, 34552, 34568, 34570, 34573, 34569, 34595, 34619, 34590, 34597, 34606, 34586, 34622, 34632, 34612, 34609, 34601, 34615, 34623, 34690, 34594, 34685, 34686, 34683, 34656, 34672, 34636, 34670, 34699, 34643, 34659, 34684, 34660, 34649, 34661, 34707, 34735, 34728, 34770, 39514, 39515, 39516, 39517, 39518, 39519, 39520, 39521, 39522, 39523, 39524, 39525, 39526, 39527, 39528, 39529, 39530, 39531, 39538, 39555, 39561, 39565, 39566, 39572, 39573, 39577, 39590, 39593, 39594, 39595, 39596, 39597, 39598, 39599, 39602, 39603, 39604, 39605, 39609, 39611, 39613, 39614, 39615, 39619, 39620, 39622, 39623, 39624, 39625, 39626, 39629, 39630, 39631, 39632, 39634, 39636, 39637, 39638, 39639, 39641, 39642, 39643, 39644, 39645, 39646, 39648, 39650, 39651, 39652, 39653, 39655, 39656, 39657, 39658, 39660, 39662, 39664, 39665, 39666, 39667, 39668, 39669, 39670, 39671, 39672, 39674, 39676, 39677, 39678, 39679, 39680, 39681, 39682, 39684, 39685, 39686, 34758, 34696, 34693, 34733, 34711, 34691, 34731, 34789, 34732, 34741, 34739, 34763, 34771, 34749, 34769, 34752, 34762, 34779, 34794, 34784, 34798, 34838, 34835, 34814, 34826, 34843, 34849, 34873, 34876, 32566, 32578, 32580, 32581, 33296, 31482, 31485, 31496, 31491, 31492, 31509, 31498, 31531, 31503, 31559, 31544, 31530, 31513, 31534, 31537, 31520, 31525, 31524, 31539, 31550, 31518, 31576, 31578, 31557, 31605, 31564, 31581, 31584, 31598, 31611, 31586, 31602, 31601, 31632, 31654, 31655, 31672, 31660, 31645, 31656, 31621, 31658, 31644, 31650, 31659, 31668, 31697, 31681, 31692, 31709, 31706, 31717, 31718, 31722, 31756, 31742, 31740, 31759, 31766, 31755, 39687, 39689, 39690, 39691, 39692, 39693, 39694, 39696, 39697, 39698, 39700, 39701, 39702, 39703, 39704, 39705, 39706, 39707, 39708, 39709, 39710, 39712, 39713, 39714, 39716, 39717, 39718, 39719, 39720, 39721, 39722, 39723, 39724, 39725, 39726, 39728, 39729, 39731, 39732, 39733, 39734, 39735, 39736, 39737, 39738, 39741, 39742, 39743, 39744, 39750, 39754, 39755, 39756, 39758, 39760, 39762, 39763, 39765, 39766, 39767, 39768, 39769, 39770, 39771, 39772, 39773, 39774, 39775, 39776, 39777, 39778, 39779, 39780, 39781, 39782, 39783, 39784, 39785, 39786, 39787, 39788, 39789, 39790, 39791, 39792, 39793, 39794, 39795, 39796, 39797, 39798, 39799, 39800, 39801, 39802, 39803, 31775, 31786, 31782, 31800, 31809, 31808, 33278, 33281, 33282, 33284, 33260, 34884, 33313, 33314, 33315, 33325, 33327, 33320, 33323, 33336, 33339, 33331, 33332, 33342, 33348, 33353, 33355, 33359, 33370, 33375, 33384, 34942, 34949, 34952, 35032, 35039, 35166, 32669, 32671, 32679, 32687, 32688, 32690, 31868, 25929, 31889, 31901, 31900, 31902, 31906, 31922, 31932, 31933, 31937, 31943, 31948, 31949, 31944, 31941, 31959, 31976, 33390, 26280, 32703, 32718, 32725, 32741, 32737, 32742, 32745, 32750, 32755, 31992, 32119, 32166, 32174, 32327, 32411, 40632, 40628, 36211, 36228, 36244, 36241, 36273, 36199, 36205, 35911, 35913, 37194, 37200, 37198, 37199, 37220, 39804, 39805, 39806, 39807, 39808, 39809, 39810, 39811, 39812, 39813, 39814, 39815, 39816, 39817, 39818, 39819, 39820, 39821, 39822, 39823, 39824, 39825, 39826, 39827, 39828, 39829, 39830, 39831, 39832, 39833, 39834, 39835, 39836, 39837, 39838, 39839, 39840, 39841, 39842, 39843, 39844, 39845, 39846, 39847, 39848, 39849, 39850, 39851, 39852, 39853, 39854, 39855, 39856, 39857, 39858, 39859, 39860, 39861, 39862, 39863, 39864, 39865, 39866, 39867, 39868, 39869, 39870, 39871, 39872, 39873, 39874, 39875, 39876, 39877, 39878, 39879, 39880, 39881, 39882, 39883, 39884, 39885, 39886, 39887, 39888, 39889, 39890, 39891, 39892, 39893, 39894, 39895, 39896, 39897, 39898, 39899, 37218, 37217, 37232, 37225, 37231, 37245, 37246, 37234, 37236, 37241, 37260, 37253, 37264, 37261, 37265, 37282, 37283, 37290, 37293, 37294, 37295, 37301, 37300, 37306, 35925, 40574, 36280, 36331, 36357, 36441, 36457, 36277, 36287, 36284, 36282, 36292, 36310, 36311, 36314, 36318, 36302, 36303, 36315, 36294, 36332, 36343, 36344, 36323, 36345, 36347, 36324, 36361, 36349, 36372, 36381, 36383, 36396, 36398, 36387, 36399, 36410, 36416, 36409, 36405, 36413, 36401, 36425, 36417, 36418, 36433, 36434, 36426, 36464, 36470, 36476, 36463, 36468, 36485, 36495, 36500, 36496, 36508, 36510, 35960, 35970, 35978, 35973, 35992, 35988, 26011, 35286, 35294, 35290, 35292, 39900, 39901, 39902, 39903, 39904, 39905, 39906, 39907, 39908, 39909, 39910, 39911, 39912, 39913, 39914, 39915, 39916, 39917, 39918, 39919, 39920, 39921, 39922, 39923, 39924, 39925, 39926, 39927, 39928, 39929, 39930, 39931, 39932, 39933, 39934, 39935, 39936, 39937, 39938, 39939, 39940, 39941, 39942, 39943, 39944, 39945, 39946, 39947, 39948, 39949, 39950, 39951, 39952, 39953, 39954, 39955, 39956, 39957, 39958, 39959, 39960, 39961, 39962, 39963, 39964, 39965, 39966, 39967, 39968, 39969, 39970, 39971, 39972, 39973, 39974, 39975, 39976, 39977, 39978, 39979, 39980, 39981, 39982, 39983, 39984, 39985, 39986, 39987, 39988, 39989, 39990, 39991, 39992, 39993, 39994, 39995, 35301, 35307, 35311, 35390, 35622, 38739, 38633, 38643, 38639, 38662, 38657, 38664, 38671, 38670, 38698, 38701, 38704, 38718, 40832, 40835, 40837, 40838, 40839, 40840, 40841, 40842, 40844, 40702, 40715, 40717, 38585, 38588, 38589, 38606, 38610, 30655, 38624, 37518, 37550, 37576, 37694, 37738, 37834, 37775, 37950, 37995, 40063, 40066, 40069, 40070, 40071, 40072, 31267, 40075, 40078, 40080, 40081, 40082, 40084, 40085, 40090, 40091, 40094, 40095, 40096, 40097, 40098, 40099, 40101, 40102, 40103, 40104, 40105, 40107, 40109, 40110, 40112, 40113, 40114, 40115, 40116, 40117, 40118, 40119, 40122, 40123, 40124, 40125, 40132, 40133, 40134, 40135, 40138, 40139, 39996, 39997, 39998, 39999, 40000, 40001, 40002, 40003, 40004, 40005, 40006, 40007, 40008, 40009, 40010, 40011, 40012, 40013, 40014, 40015, 40016, 40017, 40018, 40019, 40020, 40021, 40022, 40023, 40024, 40025, 40026, 40027, 40028, 40029, 40030, 40031, 40032, 40033, 40034, 40035, 40036, 40037, 40038, 40039, 40040, 40041, 40042, 40043, 40044, 40045, 40046, 40047, 40048, 40049, 40050, 40051, 40052, 40053, 40054, 40055, 40056, 40057, 40058, 40059, 40061, 40062, 40064, 40067, 40068, 40073, 40074, 40076, 40079, 40083, 40086, 40087, 40088, 40089, 40093, 40106, 40108, 40111, 40121, 40126, 40127, 40128, 40129, 40130, 40136, 40137, 40145, 40146, 40154, 40155, 40160, 40161, 40140, 40141, 40142, 40143, 40144, 40147, 40148, 40149, 40151, 40152, 40153, 40156, 40157, 40159, 40162, 38780, 38789, 38801, 38802, 38804, 38831, 38827, 38819, 38834, 38836, 39601, 39600, 39607, 40536, 39606, 39610, 39612, 39617, 39616, 39621, 39618, 39627, 39628, 39633, 39749, 39747, 39751, 39753, 39752, 39757, 39761, 39144, 39181, 39214, 39253, 39252, 39647, 39649, 39654, 39663, 39659, 39675, 39661, 39673, 39688, 39695, 39699, 39711, 39715, 40637, 40638, 32315, 40578, 40583, 40584, 40587, 40594, 37846, 40605, 40607, 40667, 40668, 40669, 40672, 40671, 40674, 40681, 40679, 40677, 40682, 40687, 40738, 40748, 40751, 40761, 40759, 40765, 40766, 40772, 40163, 40164, 40165, 40166, 40167, 40168, 40169, 40170, 40171, 40172, 40173, 40174, 40175, 40176, 40177, 40178, 40179, 40180, 40181, 40182, 40183, 40184, 40185, 40186, 40187, 40188, 40189, 40190, 40191, 40192, 40193, 40194, 40195, 40196, 40197, 40198, 40199, 40200, 40201, 40202, 40203, 40204, 40205, 40206, 40207, 40208, 40209, 40210, 40211, 40212, 40213, 40214, 40215, 40216, 40217, 40218, 40219, 40220, 40221, 40222, 40223, 40224, 40225, 40226, 40227, 40228, 40229, 40230, 40231, 40232, 40233, 40234, 40235, 40236, 40237, 40238, 40239, 40240, 40241, 40242, 40243, 40244, 40245, 40246, 40247, 40248, 40249, 40250, 40251, 40252, 40253, 40254, 40255, 40256, 40257, 40258, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 40259, 40260, 40261, 40262, 40263, 40264, 40265, 40266, 40267, 40268, 40269, 40270, 40271, 40272, 40273, 40274, 40275, 40276, 40277, 40278, 40279, 40280, 40281, 40282, 40283, 40284, 40285, 40286, 40287, 40288, 40289, 40290, 40291, 40292, 40293, 40294, 40295, 40296, 40297, 40298, 40299, 40300, 40301, 40302, 40303, 40304, 40305, 40306, 40307, 40308, 40309, 40310, 40311, 40312, 40313, 40314, 40315, 40316, 40317, 40318, 40319, 40320, 40321, 40322, 40323, 40324, 40325, 40326, 40327, 40328, 40329, 40330, 40331, 40332, 40333, 40334, 40335, 40336, 40337, 40338, 40339, 40340, 40341, 40342, 40343, 40344, 40345, 40346, 40347, 40348, 40349, 40350, 40351, 40352, 40353, 40354, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 40355, 40356, 40357, 40358, 40359, 40360, 40361, 40362, 40363, 40364, 40365, 40366, 40367, 40368, 40369, 40370, 40371, 40372, 40373, 40374, 40375, 40376, 40377, 40378, 40379, 40380, 40381, 40382, 40383, 40384, 40385, 40386, 40387, 40388, 40389, 40390, 40391, 40392, 40393, 40394, 40395, 40396, 40397, 40398, 40399, 40400, 40401, 40402, 40403, 40404, 40405, 40406, 40407, 40408, 40409, 40410, 40411, 40412, 40413, 40414, 40415, 40416, 40417, 40418, 40419, 40420, 40421, 40422, 40423, 40424, 40425, 40426, 40427, 40428, 40429, 40430, 40431, 40432, 40433, 40434, 40435, 40436, 40437, 40438, 40439, 40440, 40441, 40442, 40443, 40444, 40445, 40446, 40447, 40448, 40449, 40450, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 40451, 40452, 40453, 40454, 40455, 40456, 40457, 40458, 40459, 40460, 40461, 40462, 40463, 40464, 40465, 40466, 40467, 40468, 40469, 40470, 40471, 40472, 40473, 40474, 40475, 40476, 40477, 40478, 40484, 40487, 40494, 40496, 40500, 40507, 40508, 40512, 40525, 40528, 40530, 40531, 40532, 40534, 40537, 40541, 40543, 40544, 40545, 40546, 40549, 40558, 40559, 40562, 40564, 40565, 40566, 40567, 40568, 40569, 40570, 40571, 40572, 40573, 40576, 40577, 40579, 40580, 40581, 40582, 40585, 40586, 40588, 40589, 40590, 40591, 40592, 40593, 40596, 40597, 40598, 40599, 40600, 40601, 40602, 40603, 40604, 40606, 40608, 40609, 40610, 40611, 40612, 40613, 40615, 40616, 40617, 40618, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 40619, 40620, 40621, 40622, 40623, 40624, 40625, 40626, 40627, 40629, 40630, 40631, 40633, 40634, 40636, 40639, 40640, 40641, 40642, 40643, 40645, 40646, 40647, 40648, 40650, 40651, 40652, 40656, 40658, 40659, 40661, 40662, 40663, 40665, 40666, 40670, 40673, 40675, 40676, 40678, 40680, 40683, 40684, 40685, 40686, 40688, 40689, 40690, 40691, 40692, 40693, 40694, 40695, 40696, 40698, 40701, 40703, 40704, 40705, 40706, 40707, 40708, 40709, 40710, 40711, 40712, 40713, 40714, 40716, 40719, 40721, 40722, 40724, 40725, 40726, 40728, 40730, 40731, 40732, 40733, 40734, 40735, 40737, 40739, 40740, 40741, 40742, 40743, 40744, 40745, 40746, 40747, 40749, 40750, 40752, 40753, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 40754, 40755, 40756, 40757, 40758, 40760, 40762, 40764, 40767, 40768, 40769, 40770, 40771, 40773, 40774, 40775, 40776, 40777, 40778, 40779, 40780, 40781, 40782, 40783, 40786, 40787, 40788, 40789, 40790, 40791, 40792, 40793, 40794, 40795, 40796, 40797, 40798, 40799, 40800, 40801, 40802, 40803, 40804, 40805, 40806, 40807, 40808, 40809, 40810, 40811, 40812, 40813, 40814, 40815, 40816, 40817, 40818, 40819, 40820, 40821, 40822, 40823, 40824, 40825, 40826, 40827, 40828, 40829, 40830, 40833, 40834, 40845, 40846, 40847, 40848, 40849, 40850, 40851, 40852, 40853, 40854, 40855, 40856, 40860, 40861, 40862, 40865, 40866, 40867, 40868, 40869, 63788, 63865, 63893, 63975, 63985, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 64012, 64013, 64014, 64015, 64017, 64019, 64020, 64024, 64031, 64032, 64033, 64035, 64036, 64039, 64040, 64041, 11905, null, null, null, 11908, 13427, 13383, 11912, 11915, null, 13726, 13850, 13838, 11916, 11927, 14702, 14616, null, 14799, 14815, 14963, 14800, null, null, 15182, 15470, 15584, 11943, null, null, 11946, 16470, 16735, 11950, 17207, 11955, 11958, 11959, null, 17329, 17324, 11963, 17373, 17622, 18017, 17996, null, 18211, 18217, 18300, 18317, 11978, 18759, 18810, 18813, 18818, 18819, 18821, 18822, 18847, 18843, 18871, 18870, null, null, 19619, 19615, 19616, 19617, 19575, 19618, 19731, 19732, 19733, 19734, 19735, 19736, 19737, 19886, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
- "gb18030":[[0, 128], [36, 165], [38, 169], [45, 178], [50, 184], [81, 216], [89, 226], [95, 235], [96, 238], [100, 244], [103, 248], [104, 251], [105, 253], [109, 258], [126, 276], [133, 284], [148, 300], [172, 325], [175, 329], [179, 334], [208, 364], [306, 463], [307, 465], [308, 467], [309, 469], [310, 471], [311, 473], [312, 475], [313, 477], [341, 506], [428, 594], [443, 610], [544, 712], [545, 716], [558, 730], [741, 930], [742, 938], [749, 962], [750, 970], [805, 1026], [819, 1104], [820, 1106], [7922, 8209], [7924, 8215], [7925, 8218], [7927, 8222], [7934, 8231], [7943, 8241], [7944, 8244], [7945, 8246], [7950, 8252], [8062, 8365], [8148, 8452], [8149, 8454], [8152, 8458], [8164, 8471], [8174, 8482], [8236, 8556], [8240, 8570], [8262, 8596], [8264, 8602], [8374, 8713], [8380, 8720], [8381, 8722], [8384, 8726], [8388, 8731], [8390, 8737], [8392, 8740], [8393, 8742], [8394, 8748], [8396, 8751], [8401, 8760], [8406, 8766], [8416, 8777], [8419, 8781], [8424, 8787], [8437, 8802], [8439, 8808], [8445, 8816], [8482, 8854], [8485, 8858], [8496, 8870], [8521, 8896], [8603, 8979], [8936, 9322], [8946, 9372], [9046, 9548], [9050, 9588], [9063, 9616], [9066, 9622], [9076, 9634], [9092, 9652], [9100, 9662], [9108, 9672], [9111, 9676], [9113, 9680], [9131, 9702], [9162, 9735], [9164, 9738], [9218, 9793], [9219, 9795], [11329, 11906], [11331, 11909], [11334, 11913], [11336, 11917], [11346, 11928], [11361, 11944], [11363, 11947], [11366, 11951], [11370, 11956], [11372, 11960], [11375, 11964], [11389, 11979], [11682, 12284], [11686, 12292], [11687, 12312], [11692, 12319], [11694, 12330], [11714, 12351], [11716, 12436], [11723, 12447], [11725, 12535], [11730, 12543], [11736, 12586], [11982, 12842], [11989, 12850], [12102, 12964], [12336, 13200], [12348, 13215], [12350, 13218], [12384, 13253], [12393, 13263], [12395, 13267], [12397, 13270], [12510, 13384], [12553, 13428], [12851, 13727], [12962, 13839], [12973, 13851], [13738, 14617], [13823, 14703], [13919, 14801], [13933, 14816], [14080, 14964], [14298, 15183], [14585, 15471], [14698, 15585], [15583, 16471], [15847, 16736], [16318, 17208], [16434, 17325], [16438, 17330], [16481, 17374], [16729, 17623], [17102, 17997], [17122, 18018], [17315, 18212], [17320, 18218], [17402, 18301], [17418, 18318], [17859, 18760], [17909, 18811], [17911, 18814], [17915, 18820], [17916, 18823], [17936, 18844], [17939, 18848], [17961, 18872], [18664, 19576], [18703, 19620], [18814, 19738], [18962, 19887], [19043, 40870], [33469, 59244], [33470, 59336], [33471, 59367], [33484, 59413], [33485, 59417], [33490, 59423], [33497, 59431], [33501, 59437], [33505, 59443], [33513, 59452], [33520, 59460], [33536, 59478], [33550, 59493], [37845, 63789], [37921, 63866], [37948, 63894], [38029, 63976], [38038, 63986], [38064, 64016], [38065, 64018], [38066, 64021], [38069, 64025], [38075, 64034], [38076, 64037], [38078, 64042], [39108, 65074], [39109, 65093], [39113, 65107], [39114, 65112], [39115, 65127], [39116, 65132], [39265, 65375], [39394, 65510], [189000, 65536]],
- "jis0208":[12288, 12289, 12290, 65292, 65294, 12539, 65306, 65307, 65311, 65281, 12443, 12444, 180, 65344, 168, 65342, 65507, 65343, 12541, 12542, 12445, 12446, 12291, 20189, 12293, 12294, 12295, 12540, 8213, 8208, 65295, 65340, 65374, 8741, 65372, 8230, 8229, 8216, 8217, 8220, 8221, 65288, 65289, 12308, 12309, 65339, 65341, 65371, 65373, 12296, 12297, 12298, 12299, 12300, 12301, 12302, 12303, 12304, 12305, 65291, 65293, 177, 215, 247, 65309, 8800, 65308, 65310, 8806, 8807, 8734, 8756, 9794, 9792, 176, 8242, 8243, 8451, 65509, 65284, 65504, 65505, 65285, 65283, 65286, 65290, 65312, 167, 9734, 9733, 9675, 9679, 9678, 9671, 9670, 9633, 9632, 9651, 9650, 9661, 9660, 8251, 12306, 8594, 8592, 8593, 8595, 12307, null, null, null, null, null, null, null, null, null, null, null, 8712, 8715, 8838, 8839, 8834, 8835, 8746, 8745, null, null, null, null, null, null, null, null, 8743, 8744, 65506, 8658, 8660, 8704, 8707, null, null, null, null, null, null, null, null, null, null, null, 8736, 8869, 8978, 8706, 8711, 8801, 8786, 8810, 8811, 8730, 8765, 8733, 8757, 8747, 8748, null, null, null, null, null, null, null, 8491, 8240, 9839, 9837, 9834, 8224, 8225, 182, null, null, null, null, 9711, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 65296, 65297, 65298, 65299, 65300, 65301, 65302, 65303, 65304, 65305, null, null, null, null, null, null, null, 65313, 65314, 65315, 65316, 65317, 65318, 65319, 65320, 65321, 65322, 65323, 65324, 65325, 65326, 65327, 65328, 65329, 65330, 65331, 65332, 65333, 65334, 65335, 65336, 65337, 65338, null, null, null, null, null, null, 65345, 65346, 65347, 65348, 65349, 65350, 65351, 65352, 65353, 65354, 65355, 65356, 65357, 65358, 65359, 65360, 65361, 65362, 65363, 65364, 65365, 65366, 65367, 65368, 65369, 65370, null, null, null, null, 12353, 12354, 12355, 12356, 12357, 12358, 12359, 12360, 12361, 12362, 12363, 12364, 12365, 12366, 12367, 12368, 12369, 12370, 12371, 12372, 12373, 12374, 12375, 12376, 12377, 12378, 12379, 12380, 12381, 12382, 12383, 12384, 12385, 12386, 12387, 12388, 12389, 12390, 12391, 12392, 12393, 12394, 12395, 12396, 12397, 12398, 12399, 12400, 12401, 12402, 12403, 12404, 12405, 12406, 12407, 12408, 12409, 12410, 12411, 12412, 12413, 12414, 12415, 12416, 12417, 12418, 12419, 12420, 12421, 12422, 12423, 12424, 12425, 12426, 12427, 12428, 12429, 12430, 12431, 12432, 12433, 12434, 12435, null, null, null, null, null, null, null, null, null, null, null, 12449, 12450, 12451, 12452, 12453, 12454, 12455, 12456, 12457, 12458, 12459, 12460, 12461, 12462, 12463, 12464, 12465, 12466, 12467, 12468, 12469, 12470, 12471, 12472, 12473, 12474, 12475, 12476, 12477, 12478, 12479, 12480, 12481, 12482, 12483, 12484, 12485, 12486, 12487, 12488, 12489, 12490, 12491, 12492, 12493, 12494, 12495, 12496, 12497, 12498, 12499, 12500, 12501, 12502, 12503, 12504, 12505, 12506, 12507, 12508, 12509, 12510, 12511, 12512, 12513, 12514, 12515, 12516, 12517, 12518, 12519, 12520, 12521, 12522, 12523, 12524, 12525, 12526, 12527, 12528, 12529, 12530, 12531, 12532, 12533, 12534, null, null, null, null, null, null, null, null, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, null, null, null, null, null, null, null, null, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 963, 964, 965, 966, 967, 968, 969, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1040, 1041, 1042, 1043, 1044, 1045, 1025, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1072, 1073, 1074, 1075, 1076, 1077, 1105, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, null, null, null, null, null, null, null, null, null, null, null, null, null, 9472, 9474, 9484, 9488, 9496, 9492, 9500, 9516, 9508, 9524, 9532, 9473, 9475, 9487, 9491, 9499, 9495, 9507, 9523, 9515, 9531, 9547, 9504, 9519, 9512, 9527, 9535, 9501, 9520, 9509, 9528, 9538, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 9312, 9313, 9314, 9315, 9316, 9317, 9318, 9319, 9320, 9321, 9322, 9323, 9324, 9325, 9326, 9327, 9328, 9329, 9330, 9331, 8544, 8545, 8546, 8547, 8548, 8549, 8550, 8551, 8552, 8553, null, 13129, 13076, 13090, 13133, 13080, 13095, 13059, 13110, 13137, 13143, 13069, 13094, 13091, 13099, 13130, 13115, 13212, 13213, 13214, 13198, 13199, 13252, 13217, null, null, null, null, null, null, null, null, 13179, 12317, 12319, 8470, 13261, 8481, 12964, 12965, 12966, 12967, 12968, 12849, 12850, 12857, 13182, 13181, 13180, 8786, 8801, 8747, 8750, 8721, 8730, 8869, 8736, 8735, 8895, 8757, 8745, 8746, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 20124, 21782, 23043, 38463, 21696, 24859, 25384, 23030, 36898, 33909, 33564, 31312, 24746, 25569, 28197, 26093, 33894, 33446, 39925, 26771, 22311, 26017, 25201, 23451, 22992, 34427, 39156, 32098, 32190, 39822, 25110, 31903, 34999, 23433, 24245, 25353, 26263, 26696, 38343, 38797, 26447, 20197, 20234, 20301, 20381, 20553, 22258, 22839, 22996, 23041, 23561, 24799, 24847, 24944, 26131, 26885, 28858, 30031, 30064, 31227, 32173, 32239, 32963, 33806, 34915, 35586, 36949, 36986, 21307, 20117, 20133, 22495, 32946, 37057, 30959, 19968, 22769, 28322, 36920, 31282, 33576, 33419, 39983, 20801, 21360, 21693, 21729, 22240, 23035, 24341, 39154, 28139, 32996, 34093, 38498, 38512, 38560, 38907, 21515, 21491, 23431, 28879, 32701, 36802, 38632, 21359, 40284, 31418, 19985, 30867, 33276, 28198, 22040, 21764, 27421, 34074, 39995, 23013, 21417, 28006, 29916, 38287, 22082, 20113, 36939, 38642, 33615, 39180, 21473, 21942, 23344, 24433, 26144, 26355, 26628, 27704, 27891, 27945, 29787, 30408, 31310, 38964, 33521, 34907, 35424, 37613, 28082, 30123, 30410, 39365, 24742, 35585, 36234, 38322, 27022, 21421, 20870, 22290, 22576, 22852, 23476, 24310, 24616, 25513, 25588, 27839, 28436, 28814, 28948, 29017, 29141, 29503, 32257, 33398, 33489, 34199, 36960, 37467, 40219, 22633, 26044, 27738, 29989, 20985, 22830, 22885, 24448, 24540, 25276, 26106, 27178, 27431, 27572, 29579, 32705, 35158, 40236, 40206, 40644, 23713, 27798, 33659, 20740, 23627, 25014, 33222, 26742, 29281, 20057, 20474, 21368, 24681, 28201, 31311, 38899, 19979, 21270, 20206, 20309, 20285, 20385, 20339, 21152, 21487, 22025, 22799, 23233, 23478, 23521, 31185, 26247, 26524, 26550, 27468, 27827, 28779, 29634, 31117, 31166, 31292, 31623, 33457, 33499, 33540, 33655, 33775, 33747, 34662, 35506, 22057, 36008, 36838, 36942, 38686, 34442, 20420, 23784, 25105, 29273, 30011, 33253, 33469, 34558, 36032, 38597, 39187, 39381, 20171, 20250, 35299, 22238, 22602, 22730, 24315, 24555, 24618, 24724, 24674, 25040, 25106, 25296, 25913, 39745, 26214, 26800, 28023, 28784, 30028, 30342, 32117, 33445, 34809, 38283, 38542, 35997, 20977, 21182, 22806, 21683, 23475, 23830, 24936, 27010, 28079, 30861, 33995, 34903, 35442, 37799, 39608, 28012, 39336, 34521, 22435, 26623, 34510, 37390, 21123, 22151, 21508, 24275, 25313, 25785, 26684, 26680, 27579, 29554, 30906, 31339, 35226, 35282, 36203, 36611, 37101, 38307, 38548, 38761, 23398, 23731, 27005, 38989, 38990, 25499, 31520, 27179, 27263, 26806, 39949, 28511, 21106, 21917, 24688, 25324, 27963, 28167, 28369, 33883, 35088, 36676, 19988, 39993, 21494, 26907, 27194, 38788, 26666, 20828, 31427, 33970, 37340, 37772, 22107, 40232, 26658, 33541, 33841, 31909, 21000, 33477, 29926, 20094, 20355, 20896, 23506, 21002, 21208, 21223, 24059, 21914, 22570, 23014, 23436, 23448, 23515, 24178, 24185, 24739, 24863, 24931, 25022, 25563, 25954, 26577, 26707, 26874, 27454, 27475, 27735, 28450, 28567, 28485, 29872, 29976, 30435, 30475, 31487, 31649, 31777, 32233, 32566, 32752, 32925, 33382, 33694, 35251, 35532, 36011, 36996, 37969, 38291, 38289, 38306, 38501, 38867, 39208, 33304, 20024, 21547, 23736, 24012, 29609, 30284, 30524, 23721, 32747, 36107, 38593, 38929, 38996, 39000, 20225, 20238, 21361, 21916, 22120, 22522, 22855, 23305, 23492, 23696, 24076, 24190, 24524, 25582, 26426, 26071, 26082, 26399, 26827, 26820, 27231, 24112, 27589, 27671, 27773, 30079, 31048, 23395, 31232, 32000, 24509, 35215, 35352, 36020, 36215, 36556, 36637, 39138, 39438, 39740, 20096, 20605, 20736, 22931, 23452, 25135, 25216, 25836, 27450, 29344, 30097, 31047, 32681, 34811, 35516, 35696, 25516, 33738, 38816, 21513, 21507, 21931, 26708, 27224, 35440, 30759, 26485, 40653, 21364, 23458, 33050, 34384, 36870, 19992, 20037, 20167, 20241, 21450, 21560, 23470, 24339, 24613, 25937, 26429, 27714, 27762, 27875, 28792, 29699, 31350, 31406, 31496, 32026, 31998, 32102, 26087, 29275, 21435, 23621, 24040, 25298, 25312, 25369, 28192, 34394, 35377, 36317, 37624, 28417, 31142, 39770, 20136, 20139, 20140, 20379, 20384, 20689, 20807, 31478, 20849, 20982, 21332, 21281, 21375, 21483, 21932, 22659, 23777, 24375, 24394, 24623, 24656, 24685, 25375, 25945, 27211, 27841, 29378, 29421, 30703, 33016, 33029, 33288, 34126, 37111, 37857, 38911, 39255, 39514, 20208, 20957, 23597, 26241, 26989, 23616, 26354, 26997, 29577, 26704, 31873, 20677, 21220, 22343, 24062, 37670, 26020, 27427, 27453, 29748, 31105, 31165, 31563, 32202, 33465, 33740, 34943, 35167, 35641, 36817, 37329, 21535, 37504, 20061, 20534, 21477, 21306, 29399, 29590, 30697, 33510, 36527, 39366, 39368, 39378, 20855, 24858, 34398, 21936, 31354, 20598, 23507, 36935, 38533, 20018, 27355, 37351, 23633, 23624, 25496, 31391, 27795, 38772, 36705, 31402, 29066, 38536, 31874, 26647, 32368, 26705, 37740, 21234, 21531, 34219, 35347, 32676, 36557, 37089, 21350, 34952, 31041, 20418, 20670, 21009, 20804, 21843, 22317, 29674, 22411, 22865, 24418, 24452, 24693, 24950, 24935, 25001, 25522, 25658, 25964, 26223, 26690, 28179, 30054, 31293, 31995, 32076, 32153, 32331, 32619, 33550, 33610, 34509, 35336, 35427, 35686, 36605, 38938, 40335, 33464, 36814, 39912, 21127, 25119, 25731, 28608, 38553, 26689, 20625, 27424, 27770, 28500, 31348, 32080, 34880, 35363, 26376, 20214, 20537, 20518, 20581, 20860, 21048, 21091, 21927, 22287, 22533, 23244, 24314, 25010, 25080, 25331, 25458, 26908, 27177, 29309, 29356, 29486, 30740, 30831, 32121, 30476, 32937, 35211, 35609, 36066, 36562, 36963, 37749, 38522, 38997, 39443, 40568, 20803, 21407, 21427, 24187, 24358, 28187, 28304, 29572, 29694, 32067, 33335, 35328, 35578, 38480, 20046, 20491, 21476, 21628, 22266, 22993, 23396, 24049, 24235, 24359, 25144, 25925, 26543, 28246, 29392, 31946, 34996, 32929, 32993, 33776, 34382, 35463, 36328, 37431, 38599, 39015, 40723, 20116, 20114, 20237, 21320, 21577, 21566, 23087, 24460, 24481, 24735, 26791, 27278, 29786, 30849, 35486, 35492, 35703, 37264, 20062, 39881, 20132, 20348, 20399, 20505, 20502, 20809, 20844, 21151, 21177, 21246, 21402, 21475, 21521, 21518, 21897, 22353, 22434, 22909, 23380, 23389, 23439, 24037, 24039, 24055, 24184, 24195, 24218, 24247, 24344, 24658, 24908, 25239, 25304, 25511, 25915, 26114, 26179, 26356, 26477, 26657, 26775, 27083, 27743, 27946, 28009, 28207, 28317, 30002, 30343, 30828, 31295, 31968, 32005, 32024, 32094, 32177, 32789, 32771, 32943, 32945, 33108, 33167, 33322, 33618, 34892, 34913, 35611, 36002, 36092, 37066, 37237, 37489, 30783, 37628, 38308, 38477, 38917, 39321, 39640, 40251, 21083, 21163, 21495, 21512, 22741, 25335, 28640, 35946, 36703, 40633, 20811, 21051, 21578, 22269, 31296, 37239, 40288, 40658, 29508, 28425, 33136, 29969, 24573, 24794, 39592, 29403, 36796, 27492, 38915, 20170, 22256, 22372, 22718, 23130, 24680, 25031, 26127, 26118, 26681, 26801, 28151, 30165, 32058, 33390, 39746, 20123, 20304, 21449, 21766, 23919, 24038, 24046, 26619, 27801, 29811, 30722, 35408, 37782, 35039, 22352, 24231, 25387, 20661, 20652, 20877, 26368, 21705, 22622, 22971, 23472, 24425, 25165, 25505, 26685, 27507, 28168, 28797, 37319, 29312, 30741, 30758, 31085, 25998, 32048, 33756, 35009, 36617, 38555, 21092, 22312, 26448, 32618, 36001, 20916, 22338, 38442, 22586, 27018, 32948, 21682, 23822, 22524, 30869, 40442, 20316, 21066, 21643, 25662, 26152, 26388, 26613, 31364, 31574, 32034, 37679, 26716, 39853, 31545, 21273, 20874, 21047, 23519, 25334, 25774, 25830, 26413, 27578, 34217, 38609, 30352, 39894, 25420, 37638, 39851, 30399, 26194, 19977, 20632, 21442, 23665, 24808, 25746, 25955, 26719, 29158, 29642, 29987, 31639, 32386, 34453, 35715, 36059, 37240, 39184, 26028, 26283, 27531, 20181, 20180, 20282, 20351, 21050, 21496, 21490, 21987, 22235, 22763, 22987, 22985, 23039, 23376, 23629, 24066, 24107, 24535, 24605, 25351, 25903, 23388, 26031, 26045, 26088, 26525, 27490, 27515, 27663, 29509, 31049, 31169, 31992, 32025, 32043, 32930, 33026, 33267, 35222, 35422, 35433, 35430, 35468, 35566, 36039, 36060, 38604, 39164, 27503, 20107, 20284, 20365, 20816, 23383, 23546, 24904, 25345, 26178, 27425, 28363, 27835, 29246, 29885, 30164, 30913, 31034, 32780, 32819, 33258, 33940, 36766, 27728, 40575, 24335, 35672, 40235, 31482, 36600, 23437, 38635, 19971, 21489, 22519, 22833, 23241, 23460, 24713, 28287, 28422, 30142, 36074, 23455, 34048, 31712, 20594, 26612, 33437, 23649, 34122, 32286, 33294, 20889, 23556, 25448, 36198, 26012, 29038, 31038, 32023, 32773, 35613, 36554, 36974, 34503, 37034, 20511, 21242, 23610, 26451, 28796, 29237, 37196, 37320, 37675, 33509, 23490, 24369, 24825, 20027, 21462, 23432, 25163, 26417, 27530, 29417, 29664, 31278, 33131, 36259, 37202, 39318, 20754, 21463, 21610, 23551, 25480, 27193, 32172, 38656, 22234, 21454, 21608, 23447, 23601, 24030, 20462, 24833, 25342, 27954, 31168, 31179, 32066, 32333, 32722, 33261, 33311, 33936, 34886, 35186, 35728, 36468, 36655, 36913, 37195, 37228, 38598, 37276, 20160, 20303, 20805, 21313, 24467, 25102, 26580, 27713, 28171, 29539, 32294, 37325, 37507, 21460, 22809, 23487, 28113, 31069, 32302, 31899, 22654, 29087, 20986, 34899, 36848, 20426, 23803, 26149, 30636, 31459, 33308, 39423, 20934, 24490, 26092, 26991, 27529, 28147, 28310, 28516, 30462, 32020, 24033, 36981, 37255, 38918, 20966, 21021, 25152, 26257, 26329, 28186, 24246, 32210, 32626, 26360, 34223, 34295, 35576, 21161, 21465, 22899, 24207, 24464, 24661, 37604, 38500, 20663, 20767, 21213, 21280, 21319, 21484, 21736, 21830, 21809, 22039, 22888, 22974, 23100, 23477, 23558, 23567, 23569, 23578, 24196, 24202, 24288, 24432, 25215, 25220, 25307, 25484, 25463, 26119, 26124, 26157, 26230, 26494, 26786, 27167, 27189, 27836, 28040, 28169, 28248, 28988, 28966, 29031, 30151, 30465, 30813, 30977, 31077, 31216, 31456, 31505, 31911, 32057, 32918, 33750, 33931, 34121, 34909, 35059, 35359, 35388, 35412, 35443, 35937, 36062, 37284, 37478, 37758, 37912, 38556, 38808, 19978, 19976, 19998, 20055, 20887, 21104, 22478, 22580, 22732, 23330, 24120, 24773, 25854, 26465, 26454, 27972, 29366, 30067, 31331, 33976, 35698, 37304, 37664, 22065, 22516, 39166, 25325, 26893, 27542, 29165, 32340, 32887, 33394, 35302, 39135, 34645, 36785, 23611, 20280, 20449, 20405, 21767, 23072, 23517, 23529, 24515, 24910, 25391, 26032, 26187, 26862, 27035, 28024, 28145, 30003, 30137, 30495, 31070, 31206, 32051, 33251, 33455, 34218, 35242, 35386, 36523, 36763, 36914, 37341, 38663, 20154, 20161, 20995, 22645, 22764, 23563, 29978, 23613, 33102, 35338, 36805, 38499, 38765, 31525, 35535, 38920, 37218, 22259, 21416, 36887, 21561, 22402, 24101, 25512, 27700, 28810, 30561, 31883, 32736, 34928, 36930, 37204, 37648, 37656, 38543, 29790, 39620, 23815, 23913, 25968, 26530, 36264, 38619, 25454, 26441, 26905, 33733, 38935, 38592, 35070, 28548, 25722, 23544, 19990, 28716, 30045, 26159, 20932, 21046, 21218, 22995, 24449, 24615, 25104, 25919, 25972, 26143, 26228, 26866, 26646, 27491, 28165, 29298, 29983, 30427, 31934, 32854, 22768, 35069, 35199, 35488, 35475, 35531, 36893, 37266, 38738, 38745, 25993, 31246, 33030, 38587, 24109, 24796, 25114, 26021, 26132, 26512, 30707, 31309, 31821, 32318, 33034, 36012, 36196, 36321, 36447, 30889, 20999, 25305, 25509, 25666, 25240, 35373, 31363, 31680, 35500, 38634, 32118, 33292, 34633, 20185, 20808, 21315, 21344, 23459, 23554, 23574, 24029, 25126, 25159, 25776, 26643, 26676, 27849, 27973, 27927, 26579, 28508, 29006, 29053, 26059, 31359, 31661, 32218, 32330, 32680, 33146, 33307, 33337, 34214, 35438, 36046, 36341, 36984, 36983, 37549, 37521, 38275, 39854, 21069, 21892, 28472, 28982, 20840, 31109, 32341, 33203, 31950, 22092, 22609, 23720, 25514, 26366, 26365, 26970, 29401, 30095, 30094, 30990, 31062, 31199, 31895, 32032, 32068, 34311, 35380, 38459, 36961, 40736, 20711, 21109, 21452, 21474, 20489, 21930, 22766, 22863, 29245, 23435, 23652, 21277, 24803, 24819, 25436, 25475, 25407, 25531, 25805, 26089, 26361, 24035, 27085, 27133, 28437, 29157, 20105, 30185, 30456, 31379, 31967, 32207, 32156, 32865, 33609, 33624, 33900, 33980, 34299, 35013, 36208, 36865, 36973, 37783, 38684, 39442, 20687, 22679, 24974, 33235, 34101, 36104, 36896, 20419, 20596, 21063, 21363, 24687, 25417, 26463, 28204, 36275, 36895, 20439, 23646, 36042, 26063, 32154, 21330, 34966, 20854, 25539, 23384, 23403, 23562, 25613, 26449, 36956, 20182, 22810, 22826, 27760, 35409, 21822, 22549, 22949, 24816, 25171, 26561, 33333, 26965, 38464, 39364, 39464, 20307, 22534, 23550, 32784, 23729, 24111, 24453, 24608, 24907, 25140, 26367, 27888, 28382, 32974, 33151, 33492, 34955, 36024, 36864, 36910, 38538, 40667, 39899, 20195, 21488, 22823, 31532, 37261, 38988, 40441, 28381, 28711, 21331, 21828, 23429, 25176, 25246, 25299, 27810, 28655, 29730, 35351, 37944, 28609, 35582, 33592, 20967, 34552, 21482, 21481, 20294, 36948, 36784, 22890, 33073, 24061, 31466, 36799, 26842, 35895, 29432, 40008, 27197, 35504, 20025, 21336, 22022, 22374, 25285, 25506, 26086, 27470, 28129, 28251, 28845, 30701, 31471, 31658, 32187, 32829, 32966, 34507, 35477, 37723, 22243, 22727, 24382, 26029, 26262, 27264, 27573, 30007, 35527, 20516, 30693, 22320, 24347, 24677, 26234, 27744, 30196, 31258, 32622, 33268, 34584, 36933, 39347, 31689, 30044, 31481, 31569, 33988, 36880, 31209, 31378, 33590, 23265, 30528, 20013, 20210, 23449, 24544, 25277, 26172, 26609, 27880, 34411, 34935, 35387, 37198, 37619, 39376, 27159, 28710, 29482, 33511, 33879, 36015, 19969, 20806, 20939, 21899, 23541, 24086, 24115, 24193, 24340, 24373, 24427, 24500, 25074, 25361, 26274, 26397, 28526, 29266, 30010, 30522, 32884, 33081, 33144, 34678, 35519, 35548, 36229, 36339, 37530, 38263, 38914, 40165, 21189, 25431, 30452, 26389, 27784, 29645, 36035, 37806, 38515, 27941, 22684, 26894, 27084, 36861, 37786, 30171, 36890, 22618, 26626, 25524, 27131, 20291, 28460, 26584, 36795, 34086, 32180, 37716, 26943, 28528, 22378, 22775, 23340, 32044, 29226, 21514, 37347, 40372, 20141, 20302, 20572, 20597, 21059, 35998, 21576, 22564, 23450, 24093, 24213, 24237, 24311, 24351, 24716, 25269, 25402, 25552, 26799, 27712, 30855, 31118, 31243, 32224, 33351, 35330, 35558, 36420, 36883, 37048, 37165, 37336, 40718, 27877, 25688, 25826, 25973, 28404, 30340, 31515, 36969, 37841, 28346, 21746, 24505, 25764, 36685, 36845, 37444, 20856, 22635, 22825, 23637, 24215, 28155, 32399, 29980, 36028, 36578, 39003, 28857, 20253, 27583, 28593, 30000, 38651, 20814, 21520, 22581, 22615, 22956, 23648, 24466, 26007, 26460, 28193, 30331, 33759, 36077, 36884, 37117, 37709, 30757, 30778, 21162, 24230, 22303, 22900, 24594, 20498, 20826, 20908, 20941, 20992, 21776, 22612, 22616, 22871, 23445, 23798, 23947, 24764, 25237, 25645, 26481, 26691, 26812, 26847, 30423, 28120, 28271, 28059, 28783, 29128, 24403, 30168, 31095, 31561, 31572, 31570, 31958, 32113, 21040, 33891, 34153, 34276, 35342, 35588, 35910, 36367, 36867, 36879, 37913, 38518, 38957, 39472, 38360, 20685, 21205, 21516, 22530, 23566, 24999, 25758, 27934, 30643, 31461, 33012, 33796, 36947, 37509, 23776, 40199, 21311, 24471, 24499, 28060, 29305, 30563, 31167, 31716, 27602, 29420, 35501, 26627, 27233, 20984, 31361, 26932, 23626, 40182, 33515, 23493, 37193, 28702, 22136, 23663, 24775, 25958, 27788, 35930, 36929, 38931, 21585, 26311, 37389, 22856, 37027, 20869, 20045, 20970, 34201, 35598, 28760, 25466, 37707, 26978, 39348, 32260, 30071, 21335, 26976, 36575, 38627, 27741, 20108, 23612, 24336, 36841, 21250, 36049, 32905, 34425, 24319, 26085, 20083, 20837, 22914, 23615, 38894, 20219, 22922, 24525, 35469, 28641, 31152, 31074, 23527, 33905, 29483, 29105, 24180, 24565, 25467, 25754, 29123, 31896, 20035, 24316, 20043, 22492, 22178, 24745, 28611, 32013, 33021, 33075, 33215, 36786, 35223, 34468, 24052, 25226, 25773, 35207, 26487, 27874, 27966, 29750, 30772, 23110, 32629, 33453, 39340, 20467, 24259, 25309, 25490, 25943, 26479, 30403, 29260, 32972, 32954, 36649, 37197, 20493, 22521, 23186, 26757, 26995, 29028, 29437, 36023, 22770, 36064, 38506, 36889, 34687, 31204, 30695, 33833, 20271, 21093, 21338, 25293, 26575, 27850, 30333, 31636, 31893, 33334, 34180, 36843, 26333, 28448, 29190, 32283, 33707, 39361, 40614, 20989, 31665, 30834, 31672, 32903, 31560, 27368, 24161, 32908, 30033, 30048, 20843, 37474, 28300, 30330, 37271, 39658, 20240, 32624, 25244, 31567, 38309, 40169, 22138, 22617, 34532, 38588, 20276, 21028, 21322, 21453, 21467, 24070, 25644, 26001, 26495, 27710, 27726, 29256, 29359, 29677, 30036, 32321, 33324, 34281, 36009, 31684, 37318, 29033, 38930, 39151, 25405, 26217, 30058, 30436, 30928, 34115, 34542, 21290, 21329, 21542, 22915, 24199, 24444, 24754, 25161, 25209, 25259, 26000, 27604, 27852, 30130, 30382, 30865, 31192, 32203, 32631, 32933, 34987, 35513, 36027, 36991, 38750, 39131, 27147, 31800, 20633, 23614, 24494, 26503, 27608, 29749, 30473, 32654, 40763, 26570, 31255, 21305, 30091, 39661, 24422, 33181, 33777, 32920, 24380, 24517, 30050, 31558, 36924, 26727, 23019, 23195, 32016, 30334, 35628, 20469, 24426, 27161, 27703, 28418, 29922, 31080, 34920, 35413, 35961, 24287, 25551, 30149, 31186, 33495, 37672, 37618, 33948, 34541, 39981, 21697, 24428, 25996, 27996, 28693, 36007, 36051, 38971, 25935, 29942, 19981, 20184, 22496, 22827, 23142, 23500, 20904, 24067, 24220, 24598, 25206, 25975, 26023, 26222, 28014, 29238, 31526, 33104, 33178, 33433, 35676, 36000, 36070, 36212, 38428, 38468, 20398, 25771, 27494, 33310, 33889, 34154, 37096, 23553, 26963, 39080, 33914, 34135, 20239, 21103, 24489, 24133, 26381, 31119, 33145, 35079, 35206, 28149, 24343, 25173, 27832, 20175, 29289, 39826, 20998, 21563, 22132, 22707, 24996, 25198, 28954, 22894, 31881, 31966, 32027, 38640, 25991, 32862, 19993, 20341, 20853, 22592, 24163, 24179, 24330, 26564, 20006, 34109, 38281, 38491, 31859, 38913, 20731, 22721, 30294, 30887, 21029, 30629, 34065, 31622, 20559, 22793, 29255, 31687, 32232, 36794, 36820, 36941, 20415, 21193, 23081, 24321, 38829, 20445, 33303, 37610, 22275, 25429, 27497, 29995, 35036, 36628, 31298, 21215, 22675, 24917, 25098, 26286, 27597, 31807, 33769, 20515, 20472, 21253, 21574, 22577, 22857, 23453, 23792, 23791, 23849, 24214, 25265, 25447, 25918, 26041, 26379, 27861, 27873, 28921, 30770, 32299, 32990, 33459, 33804, 34028, 34562, 35090, 35370, 35914, 37030, 37586, 39165, 40179, 40300, 20047, 20129, 20621, 21078, 22346, 22952, 24125, 24536, 24537, 25151, 26292, 26395, 26576, 26834, 20882, 32033, 32938, 33192, 35584, 35980, 36031, 37502, 38450, 21536, 38956, 21271, 20693, 21340, 22696, 25778, 26420, 29287, 30566, 31302, 37350, 21187, 27809, 27526, 22528, 24140, 22868, 26412, 32763, 20961, 30406, 25705, 30952, 39764, 40635, 22475, 22969, 26151, 26522, 27598, 21737, 27097, 24149, 33180, 26517, 39850, 26622, 40018, 26717, 20134, 20451, 21448, 25273, 26411, 27819, 36804, 20397, 32365, 40639, 19975, 24930, 28288, 28459, 34067, 21619, 26410, 39749, 24051, 31637, 23724, 23494, 34588, 28234, 34001, 31252, 33032, 22937, 31885, 27665, 30496, 21209, 22818, 28961, 29279, 30683, 38695, 40289, 26891, 23167, 23064, 20901, 21517, 21629, 26126, 30431, 36855, 37528, 40180, 23018, 29277, 28357, 20813, 26825, 32191, 32236, 38754, 40634, 25720, 27169, 33538, 22916, 23391, 27611, 29467, 30450, 32178, 32791, 33945, 20786, 26408, 40665, 30446, 26466, 21247, 39173, 23588, 25147, 31870, 36016, 21839, 24758, 32011, 38272, 21249, 20063, 20918, 22812, 29242, 32822, 37326, 24357, 30690, 21380, 24441, 32004, 34220, 35379, 36493, 38742, 26611, 34222, 37971, 24841, 24840, 27833, 30290, 35565, 36664, 21807, 20305, 20778, 21191, 21451, 23461, 24189, 24736, 24962, 25558, 26377, 26586, 28263, 28044, 29494, 29495, 30001, 31056, 35029, 35480, 36938, 37009, 37109, 38596, 34701, 22805, 20104, 20313, 19982, 35465, 36671, 38928, 20653, 24188, 22934, 23481, 24248, 25562, 25594, 25793, 26332, 26954, 27096, 27915, 28342, 29076, 29992, 31407, 32650, 32768, 33865, 33993, 35201, 35617, 36362, 36965, 38525, 39178, 24958, 25233, 27442, 27779, 28020, 32716, 32764, 28096, 32645, 34746, 35064, 26469, 33713, 38972, 38647, 27931, 32097, 33853, 37226, 20081, 21365, 23888, 27396, 28651, 34253, 34349, 35239, 21033, 21519, 23653, 26446, 26792, 29702, 29827, 30178, 35023, 35041, 37324, 38626, 38520, 24459, 29575, 31435, 33870, 25504, 30053, 21129, 27969, 28316, 29705, 30041, 30827, 31890, 38534, 31452, 40845, 20406, 24942, 26053, 34396, 20102, 20142, 20698, 20001, 20940, 23534, 26009, 26753, 28092, 29471, 30274, 30637, 31260, 31975, 33391, 35538, 36988, 37327, 38517, 38936, 21147, 32209, 20523, 21400, 26519, 28107, 29136, 29747, 33256, 36650, 38563, 40023, 40607, 29792, 22593, 28057, 32047, 39006, 20196, 20278, 20363, 20919, 21169, 23994, 24604, 29618, 31036, 33491, 37428, 38583, 38646, 38666, 40599, 40802, 26278, 27508, 21015, 21155, 28872, 35010, 24265, 24651, 24976, 28451, 29001, 31806, 32244, 32879, 34030, 36899, 37676, 21570, 39791, 27347, 28809, 36034, 36335, 38706, 21172, 23105, 24266, 24324, 26391, 27004, 27028, 28010, 28431, 29282, 29436, 31725, 32769, 32894, 34635, 37070, 20845, 40595, 31108, 32907, 37682, 35542, 20525, 21644, 35441, 27498, 36036, 33031, 24785, 26528, 40434, 20121, 20120, 39952, 35435, 34241, 34152, 26880, 28286, 30871, 33109, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 24332, 19984, 19989, 20010, 20017, 20022, 20028, 20031, 20034, 20054, 20056, 20098, 20101, 35947, 20106, 33298, 24333, 20110, 20126, 20127, 20128, 20130, 20144, 20147, 20150, 20174, 20173, 20164, 20166, 20162, 20183, 20190, 20205, 20191, 20215, 20233, 20314, 20272, 20315, 20317, 20311, 20295, 20342, 20360, 20367, 20376, 20347, 20329, 20336, 20369, 20335, 20358, 20374, 20760, 20436, 20447, 20430, 20440, 20443, 20433, 20442, 20432, 20452, 20453, 20506, 20520, 20500, 20522, 20517, 20485, 20252, 20470, 20513, 20521, 20524, 20478, 20463, 20497, 20486, 20547, 20551, 26371, 20565, 20560, 20552, 20570, 20566, 20588, 20600, 20608, 20634, 20613, 20660, 20658, 20681, 20682, 20659, 20674, 20694, 20702, 20709, 20717, 20707, 20718, 20729, 20725, 20745, 20737, 20738, 20758, 20757, 20756, 20762, 20769, 20794, 20791, 20796, 20795, 20799, 20800, 20818, 20812, 20820, 20834, 31480, 20841, 20842, 20846, 20864, 20866, 22232, 20876, 20873, 20879, 20881, 20883, 20885, 20886, 20900, 20902, 20898, 20905, 20906, 20907, 20915, 20913, 20914, 20912, 20917, 20925, 20933, 20937, 20955, 20960, 34389, 20969, 20973, 20976, 20981, 20990, 20996, 21003, 21012, 21006, 21031, 21034, 21038, 21043, 21049, 21071, 21060, 21067, 21068, 21086, 21076, 21098, 21108, 21097, 21107, 21119, 21117, 21133, 21140, 21138, 21105, 21128, 21137, 36776, 36775, 21164, 21165, 21180, 21173, 21185, 21197, 21207, 21214, 21219, 21222, 39149, 21216, 21235, 21237, 21240, 21241, 21254, 21256, 30008, 21261, 21264, 21263, 21269, 21274, 21283, 21295, 21297, 21299, 21304, 21312, 21318, 21317, 19991, 21321, 21325, 20950, 21342, 21353, 21358, 22808, 21371, 21367, 21378, 21398, 21408, 21414, 21413, 21422, 21424, 21430, 21443, 31762, 38617, 21471, 26364, 29166, 21486, 21480, 21485, 21498, 21505, 21565, 21568, 21548, 21549, 21564, 21550, 21558, 21545, 21533, 21582, 21647, 21621, 21646, 21599, 21617, 21623, 21616, 21650, 21627, 21632, 21622, 21636, 21648, 21638, 21703, 21666, 21688, 21669, 21676, 21700, 21704, 21672, 21675, 21698, 21668, 21694, 21692, 21720, 21733, 21734, 21775, 21780, 21757, 21742, 21741, 21754, 21730, 21817, 21824, 21859, 21836, 21806, 21852, 21829, 21846, 21847, 21816, 21811, 21853, 21913, 21888, 21679, 21898, 21919, 21883, 21886, 21912, 21918, 21934, 21884, 21891, 21929, 21895, 21928, 21978, 21957, 21983, 21956, 21980, 21988, 21972, 22036, 22007, 22038, 22014, 22013, 22043, 22009, 22094, 22096, 29151, 22068, 22070, 22066, 22072, 22123, 22116, 22063, 22124, 22122, 22150, 22144, 22154, 22176, 22164, 22159, 22181, 22190, 22198, 22196, 22210, 22204, 22209, 22211, 22208, 22216, 22222, 22225, 22227, 22231, 22254, 22265, 22272, 22271, 22276, 22281, 22280, 22283, 22285, 22291, 22296, 22294, 21959, 22300, 22310, 22327, 22328, 22350, 22331, 22336, 22351, 22377, 22464, 22408, 22369, 22399, 22409, 22419, 22432, 22451, 22436, 22442, 22448, 22467, 22470, 22484, 22482, 22483, 22538, 22486, 22499, 22539, 22553, 22557, 22642, 22561, 22626, 22603, 22640, 27584, 22610, 22589, 22649, 22661, 22713, 22687, 22699, 22714, 22750, 22715, 22712, 22702, 22725, 22739, 22737, 22743, 22745, 22744, 22757, 22748, 22756, 22751, 22767, 22778, 22777, 22779, 22780, 22781, 22786, 22794, 22800, 22811, 26790, 22821, 22828, 22829, 22834, 22840, 22846, 31442, 22869, 22864, 22862, 22874, 22872, 22882, 22880, 22887, 22892, 22889, 22904, 22913, 22941, 20318, 20395, 22947, 22962, 22982, 23016, 23004, 22925, 23001, 23002, 23077, 23071, 23057, 23068, 23049, 23066, 23104, 23148, 23113, 23093, 23094, 23138, 23146, 23194, 23228, 23230, 23243, 23234, 23229, 23267, 23255, 23270, 23273, 23254, 23290, 23291, 23308, 23307, 23318, 23346, 23248, 23338, 23350, 23358, 23363, 23365, 23360, 23377, 23381, 23386, 23387, 23397, 23401, 23408, 23411, 23413, 23416, 25992, 23418, 23424, 23427, 23462, 23480, 23491, 23495, 23497, 23508, 23504, 23524, 23526, 23522, 23518, 23525, 23531, 23536, 23542, 23539, 23557, 23559, 23560, 23565, 23571, 23584, 23586, 23592, 23608, 23609, 23617, 23622, 23630, 23635, 23632, 23631, 23409, 23660, 23662, 20066, 23670, 23673, 23692, 23697, 23700, 22939, 23723, 23739, 23734, 23740, 23735, 23749, 23742, 23751, 23769, 23785, 23805, 23802, 23789, 23948, 23786, 23819, 23829, 23831, 23900, 23839, 23835, 23825, 23828, 23842, 23834, 23833, 23832, 23884, 23890, 23886, 23883, 23916, 23923, 23926, 23943, 23940, 23938, 23970, 23965, 23980, 23982, 23997, 23952, 23991, 23996, 24009, 24013, 24019, 24018, 24022, 24027, 24043, 24050, 24053, 24075, 24090, 24089, 24081, 24091, 24118, 24119, 24132, 24131, 24128, 24142, 24151, 24148, 24159, 24162, 24164, 24135, 24181, 24182, 24186, 40636, 24191, 24224, 24257, 24258, 24264, 24272, 24271, 24278, 24291, 24285, 24282, 24283, 24290, 24289, 24296, 24297, 24300, 24305, 24307, 24304, 24308, 24312, 24318, 24323, 24329, 24413, 24412, 24331, 24337, 24342, 24361, 24365, 24376, 24385, 24392, 24396, 24398, 24367, 24401, 24406, 24407, 24409, 24417, 24429, 24435, 24439, 24451, 24450, 24447, 24458, 24456, 24465, 24455, 24478, 24473, 24472, 24480, 24488, 24493, 24508, 24534, 24571, 24548, 24568, 24561, 24541, 24755, 24575, 24609, 24672, 24601, 24592, 24617, 24590, 24625, 24603, 24597, 24619, 24614, 24591, 24634, 24666, 24641, 24682, 24695, 24671, 24650, 24646, 24653, 24675, 24643, 24676, 24642, 24684, 24683, 24665, 24705, 24717, 24807, 24707, 24730, 24708, 24731, 24726, 24727, 24722, 24743, 24715, 24801, 24760, 24800, 24787, 24756, 24560, 24765, 24774, 24757, 24792, 24909, 24853, 24838, 24822, 24823, 24832, 24820, 24826, 24835, 24865, 24827, 24817, 24845, 24846, 24903, 24894, 24872, 24871, 24906, 24895, 24892, 24876, 24884, 24893, 24898, 24900, 24947, 24951, 24920, 24921, 24922, 24939, 24948, 24943, 24933, 24945, 24927, 24925, 24915, 24949, 24985, 24982, 24967, 25004, 24980, 24986, 24970, 24977, 25003, 25006, 25036, 25034, 25033, 25079, 25032, 25027, 25030, 25018, 25035, 32633, 25037, 25062, 25059, 25078, 25082, 25076, 25087, 25085, 25084, 25086, 25088, 25096, 25097, 25101, 25100, 25108, 25115, 25118, 25121, 25130, 25134, 25136, 25138, 25139, 25153, 25166, 25182, 25187, 25179, 25184, 25192, 25212, 25218, 25225, 25214, 25234, 25235, 25238, 25300, 25219, 25236, 25303, 25297, 25275, 25295, 25343, 25286, 25812, 25288, 25308, 25292, 25290, 25282, 25287, 25243, 25289, 25356, 25326, 25329, 25383, 25346, 25352, 25327, 25333, 25424, 25406, 25421, 25628, 25423, 25494, 25486, 25472, 25515, 25462, 25507, 25487, 25481, 25503, 25525, 25451, 25449, 25534, 25577, 25536, 25542, 25571, 25545, 25554, 25590, 25540, 25622, 25652, 25606, 25619, 25638, 25654, 25885, 25623, 25640, 25615, 25703, 25711, 25718, 25678, 25898, 25749, 25747, 25765, 25769, 25736, 25788, 25818, 25810, 25797, 25799, 25787, 25816, 25794, 25841, 25831, 33289, 25824, 25825, 25260, 25827, 25839, 25900, 25846, 25844, 25842, 25850, 25856, 25853, 25880, 25884, 25861, 25892, 25891, 25899, 25908, 25909, 25911, 25910, 25912, 30027, 25928, 25942, 25941, 25933, 25944, 25950, 25949, 25970, 25976, 25986, 25987, 35722, 26011, 26015, 26027, 26039, 26051, 26054, 26049, 26052, 26060, 26066, 26075, 26073, 26080, 26081, 26097, 26482, 26122, 26115, 26107, 26483, 26165, 26166, 26164, 26140, 26191, 26180, 26185, 26177, 26206, 26205, 26212, 26215, 26216, 26207, 26210, 26224, 26243, 26248, 26254, 26249, 26244, 26264, 26269, 26305, 26297, 26313, 26302, 26300, 26308, 26296, 26326, 26330, 26336, 26175, 26342, 26345, 26352, 26357, 26359, 26383, 26390, 26398, 26406, 26407, 38712, 26414, 26431, 26422, 26433, 26424, 26423, 26438, 26462, 26464, 26457, 26467, 26468, 26505, 26480, 26537, 26492, 26474, 26508, 26507, 26534, 26529, 26501, 26551, 26607, 26548, 26604, 26547, 26601, 26552, 26596, 26590, 26589, 26594, 26606, 26553, 26574, 26566, 26599, 27292, 26654, 26694, 26665, 26688, 26701, 26674, 26702, 26803, 26667, 26713, 26723, 26743, 26751, 26783, 26767, 26797, 26772, 26781, 26779, 26755, 27310, 26809, 26740, 26805, 26784, 26810, 26895, 26765, 26750, 26881, 26826, 26888, 26840, 26914, 26918, 26849, 26892, 26829, 26836, 26855, 26837, 26934, 26898, 26884, 26839, 26851, 26917, 26873, 26848, 26863, 26920, 26922, 26906, 26915, 26913, 26822, 27001, 26999, 26972, 27000, 26987, 26964, 27006, 26990, 26937, 26996, 26941, 26969, 26928, 26977, 26974, 26973, 27009, 26986, 27058, 27054, 27088, 27071, 27073, 27091, 27070, 27086, 23528, 27082, 27101, 27067, 27075, 27047, 27182, 27025, 27040, 27036, 27029, 27060, 27102, 27112, 27138, 27163, 27135, 27402, 27129, 27122, 27111, 27141, 27057, 27166, 27117, 27156, 27115, 27146, 27154, 27329, 27171, 27155, 27204, 27148, 27250, 27190, 27256, 27207, 27234, 27225, 27238, 27208, 27192, 27170, 27280, 27277, 27296, 27268, 27298, 27299, 27287, 34327, 27323, 27331, 27330, 27320, 27315, 27308, 27358, 27345, 27359, 27306, 27354, 27370, 27387, 27397, 34326, 27386, 27410, 27414, 39729, 27423, 27448, 27447, 30428, 27449, 39150, 27463, 27459, 27465, 27472, 27481, 27476, 27483, 27487, 27489, 27512, 27513, 27519, 27520, 27524, 27523, 27533, 27544, 27541, 27550, 27556, 27562, 27563, 27567, 27570, 27569, 27571, 27575, 27580, 27590, 27595, 27603, 27615, 27628, 27627, 27635, 27631, 40638, 27656, 27667, 27668, 27675, 27684, 27683, 27742, 27733, 27746, 27754, 27778, 27789, 27802, 27777, 27803, 27774, 27752, 27763, 27794, 27792, 27844, 27889, 27859, 27837, 27863, 27845, 27869, 27822, 27825, 27838, 27834, 27867, 27887, 27865, 27882, 27935, 34893, 27958, 27947, 27965, 27960, 27929, 27957, 27955, 27922, 27916, 28003, 28051, 28004, 27994, 28025, 27993, 28046, 28053, 28644, 28037, 28153, 28181, 28170, 28085, 28103, 28134, 28088, 28102, 28140, 28126, 28108, 28136, 28114, 28101, 28154, 28121, 28132, 28117, 28138, 28142, 28205, 28270, 28206, 28185, 28274, 28255, 28222, 28195, 28267, 28203, 28278, 28237, 28191, 28227, 28218, 28238, 28196, 28415, 28189, 28216, 28290, 28330, 28312, 28361, 28343, 28371, 28349, 28335, 28356, 28338, 28372, 28373, 28303, 28325, 28354, 28319, 28481, 28433, 28748, 28396, 28408, 28414, 28479, 28402, 28465, 28399, 28466, 28364, 28478, 28435, 28407, 28550, 28538, 28536, 28545, 28544, 28527, 28507, 28659, 28525, 28546, 28540, 28504, 28558, 28561, 28610, 28518, 28595, 28579, 28577, 28580, 28601, 28614, 28586, 28639, 28629, 28652, 28628, 28632, 28657, 28654, 28635, 28681, 28683, 28666, 28689, 28673, 28687, 28670, 28699, 28698, 28532, 28701, 28696, 28703, 28720, 28734, 28722, 28753, 28771, 28825, 28818, 28847, 28913, 28844, 28856, 28851, 28846, 28895, 28875, 28893, 28889, 28937, 28925, 28956, 28953, 29029, 29013, 29064, 29030, 29026, 29004, 29014, 29036, 29071, 29179, 29060, 29077, 29096, 29100, 29143, 29113, 29118, 29138, 29129, 29140, 29134, 29152, 29164, 29159, 29173, 29180, 29177, 29183, 29197, 29200, 29211, 29224, 29229, 29228, 29232, 29234, 29243, 29244, 29247, 29248, 29254, 29259, 29272, 29300, 29310, 29314, 29313, 29319, 29330, 29334, 29346, 29351, 29369, 29362, 29379, 29382, 29380, 29390, 29394, 29410, 29408, 29409, 29433, 29431, 20495, 29463, 29450, 29468, 29462, 29469, 29492, 29487, 29481, 29477, 29502, 29518, 29519, 40664, 29527, 29546, 29544, 29552, 29560, 29557, 29563, 29562, 29640, 29619, 29646, 29627, 29632, 29669, 29678, 29662, 29858, 29701, 29807, 29733, 29688, 29746, 29754, 29781, 29759, 29791, 29785, 29761, 29788, 29801, 29808, 29795, 29802, 29814, 29822, 29835, 29854, 29863, 29898, 29903, 29908, 29681, 29920, 29923, 29927, 29929, 29934, 29938, 29936, 29937, 29944, 29943, 29956, 29955, 29957, 29964, 29966, 29965, 29973, 29971, 29982, 29990, 29996, 30012, 30020, 30029, 30026, 30025, 30043, 30022, 30042, 30057, 30052, 30055, 30059, 30061, 30072, 30070, 30086, 30087, 30068, 30090, 30089, 30082, 30100, 30106, 30109, 30117, 30115, 30146, 30131, 30147, 30133, 30141, 30136, 30140, 30129, 30157, 30154, 30162, 30169, 30179, 30174, 30206, 30207, 30204, 30209, 30192, 30202, 30194, 30195, 30219, 30221, 30217, 30239, 30247, 30240, 30241, 30242, 30244, 30260, 30256, 30267, 30279, 30280, 30278, 30300, 30296, 30305, 30306, 30312, 30313, 30314, 30311, 30316, 30320, 30322, 30326, 30328, 30332, 30336, 30339, 30344, 30347, 30350, 30358, 30355, 30361, 30362, 30384, 30388, 30392, 30393, 30394, 30402, 30413, 30422, 30418, 30430, 30433, 30437, 30439, 30442, 34351, 30459, 30472, 30471, 30468, 30505, 30500, 30494, 30501, 30502, 30491, 30519, 30520, 30535, 30554, 30568, 30571, 30555, 30565, 30591, 30590, 30585, 30606, 30603, 30609, 30624, 30622, 30640, 30646, 30649, 30655, 30652, 30653, 30651, 30663, 30669, 30679, 30682, 30684, 30691, 30702, 30716, 30732, 30738, 31014, 30752, 31018, 30789, 30862, 30836, 30854, 30844, 30874, 30860, 30883, 30901, 30890, 30895, 30929, 30918, 30923, 30932, 30910, 30908, 30917, 30922, 30956, 30951, 30938, 30973, 30964, 30983, 30994, 30993, 31001, 31020, 31019, 31040, 31072, 31063, 31071, 31066, 31061, 31059, 31098, 31103, 31114, 31133, 31143, 40779, 31146, 31150, 31155, 31161, 31162, 31177, 31189, 31207, 31212, 31201, 31203, 31240, 31245, 31256, 31257, 31264, 31263, 31104, 31281, 31291, 31294, 31287, 31299, 31319, 31305, 31329, 31330, 31337, 40861, 31344, 31353, 31357, 31368, 31383, 31381, 31384, 31382, 31401, 31432, 31408, 31414, 31429, 31428, 31423, 36995, 31431, 31434, 31437, 31439, 31445, 31443, 31449, 31450, 31453, 31457, 31458, 31462, 31469, 31472, 31490, 31503, 31498, 31494, 31539, 31512, 31513, 31518, 31541, 31528, 31542, 31568, 31610, 31492, 31565, 31499, 31564, 31557, 31605, 31589, 31604, 31591, 31600, 31601, 31596, 31598, 31645, 31640, 31647, 31629, 31644, 31642, 31627, 31634, 31631, 31581, 31641, 31691, 31681, 31692, 31695, 31668, 31686, 31709, 31721, 31761, 31764, 31718, 31717, 31840, 31744, 31751, 31763, 31731, 31735, 31767, 31757, 31734, 31779, 31783, 31786, 31775, 31799, 31787, 31805, 31820, 31811, 31828, 31823, 31808, 31824, 31832, 31839, 31844, 31830, 31845, 31852, 31861, 31875, 31888, 31908, 31917, 31906, 31915, 31905, 31912, 31923, 31922, 31921, 31918, 31929, 31933, 31936, 31941, 31938, 31960, 31954, 31964, 31970, 39739, 31983, 31986, 31988, 31990, 31994, 32006, 32002, 32028, 32021, 32010, 32069, 32075, 32046, 32050, 32063, 32053, 32070, 32115, 32086, 32078, 32114, 32104, 32110, 32079, 32099, 32147, 32137, 32091, 32143, 32125, 32155, 32186, 32174, 32163, 32181, 32199, 32189, 32171, 32317, 32162, 32175, 32220, 32184, 32159, 32176, 32216, 32221, 32228, 32222, 32251, 32242, 32225, 32261, 32266, 32291, 32289, 32274, 32305, 32287, 32265, 32267, 32290, 32326, 32358, 32315, 32309, 32313, 32323, 32311, 32306, 32314, 32359, 32349, 32342, 32350, 32345, 32346, 32377, 32362, 32361, 32380, 32379, 32387, 32213, 32381, 36782, 32383, 32392, 32393, 32396, 32402, 32400, 32403, 32404, 32406, 32398, 32411, 32412, 32568, 32570, 32581, 32588, 32589, 32590, 32592, 32593, 32597, 32596, 32600, 32607, 32608, 32616, 32617, 32615, 32632, 32642, 32646, 32643, 32648, 32647, 32652, 32660, 32670, 32669, 32666, 32675, 32687, 32690, 32697, 32686, 32694, 32696, 35697, 32709, 32710, 32714, 32725, 32724, 32737, 32742, 32745, 32755, 32761, 39132, 32774, 32772, 32779, 32786, 32792, 32793, 32796, 32801, 32808, 32831, 32827, 32842, 32838, 32850, 32856, 32858, 32863, 32866, 32872, 32883, 32882, 32880, 32886, 32889, 32893, 32895, 32900, 32902, 32901, 32923, 32915, 32922, 32941, 20880, 32940, 32987, 32997, 32985, 32989, 32964, 32986, 32982, 33033, 33007, 33009, 33051, 33065, 33059, 33071, 33099, 38539, 33094, 33086, 33107, 33105, 33020, 33137, 33134, 33125, 33126, 33140, 33155, 33160, 33162, 33152, 33154, 33184, 33173, 33188, 33187, 33119, 33171, 33193, 33200, 33205, 33214, 33208, 33213, 33216, 33218, 33210, 33225, 33229, 33233, 33241, 33240, 33224, 33242, 33247, 33248, 33255, 33274, 33275, 33278, 33281, 33282, 33285, 33287, 33290, 33293, 33296, 33302, 33321, 33323, 33336, 33331, 33344, 33369, 33368, 33373, 33370, 33375, 33380, 33378, 33384, 33386, 33387, 33326, 33393, 33399, 33400, 33406, 33421, 33426, 33451, 33439, 33467, 33452, 33505, 33507, 33503, 33490, 33524, 33523, 33530, 33683, 33539, 33531, 33529, 33502, 33542, 33500, 33545, 33497, 33589, 33588, 33558, 33586, 33585, 33600, 33593, 33616, 33605, 33583, 33579, 33559, 33560, 33669, 33690, 33706, 33695, 33698, 33686, 33571, 33678, 33671, 33674, 33660, 33717, 33651, 33653, 33696, 33673, 33704, 33780, 33811, 33771, 33742, 33789, 33795, 33752, 33803, 33729, 33783, 33799, 33760, 33778, 33805, 33826, 33824, 33725, 33848, 34054, 33787, 33901, 33834, 33852, 34138, 33924, 33911, 33899, 33965, 33902, 33922, 33897, 33862, 33836, 33903, 33913, 33845, 33994, 33890, 33977, 33983, 33951, 34009, 33997, 33979, 34010, 34000, 33985, 33990, 34006, 33953, 34081, 34047, 34036, 34071, 34072, 34092, 34079, 34069, 34068, 34044, 34112, 34147, 34136, 34120, 34113, 34306, 34123, 34133, 34176, 34212, 34184, 34193, 34186, 34216, 34157, 34196, 34203, 34282, 34183, 34204, 34167, 34174, 34192, 34249, 34234, 34255, 34233, 34256, 34261, 34269, 34277, 34268, 34297, 34314, 34323, 34315, 34302, 34298, 34310, 34338, 34330, 34352, 34367, 34381, 20053, 34388, 34399, 34407, 34417, 34451, 34467, 34473, 34474, 34443, 34444, 34486, 34479, 34500, 34502, 34480, 34505, 34851, 34475, 34516, 34526, 34537, 34540, 34527, 34523, 34543, 34578, 34566, 34568, 34560, 34563, 34555, 34577, 34569, 34573, 34553, 34570, 34612, 34623, 34615, 34619, 34597, 34601, 34586, 34656, 34655, 34680, 34636, 34638, 34676, 34647, 34664, 34670, 34649, 34643, 34659, 34666, 34821, 34722, 34719, 34690, 34735, 34763, 34749, 34752, 34768, 38614, 34731, 34756, 34739, 34759, 34758, 34747, 34799, 34802, 34784, 34831, 34829, 34814, 34806, 34807, 34830, 34770, 34833, 34838, 34837, 34850, 34849, 34865, 34870, 34873, 34855, 34875, 34884, 34882, 34898, 34905, 34910, 34914, 34923, 34945, 34942, 34974, 34933, 34941, 34997, 34930, 34946, 34967, 34962, 34990, 34969, 34978, 34957, 34980, 34992, 35007, 34993, 35011, 35012, 35028, 35032, 35033, 35037, 35065, 35074, 35068, 35060, 35048, 35058, 35076, 35084, 35082, 35091, 35139, 35102, 35109, 35114, 35115, 35137, 35140, 35131, 35126, 35128, 35148, 35101, 35168, 35166, 35174, 35172, 35181, 35178, 35183, 35188, 35191, 35198, 35203, 35208, 35210, 35219, 35224, 35233, 35241, 35238, 35244, 35247, 35250, 35258, 35261, 35263, 35264, 35290, 35292, 35293, 35303, 35316, 35320, 35331, 35350, 35344, 35340, 35355, 35357, 35365, 35382, 35393, 35419, 35410, 35398, 35400, 35452, 35437, 35436, 35426, 35461, 35458, 35460, 35496, 35489, 35473, 35493, 35494, 35482, 35491, 35524, 35533, 35522, 35546, 35563, 35571, 35559, 35556, 35569, 35604, 35552, 35554, 35575, 35550, 35547, 35596, 35591, 35610, 35553, 35606, 35600, 35607, 35616, 35635, 38827, 35622, 35627, 35646, 35624, 35649, 35660, 35663, 35662, 35657, 35670, 35675, 35674, 35691, 35679, 35692, 35695, 35700, 35709, 35712, 35724, 35726, 35730, 35731, 35734, 35737, 35738, 35898, 35905, 35903, 35912, 35916, 35918, 35920, 35925, 35938, 35948, 35960, 35962, 35970, 35977, 35973, 35978, 35981, 35982, 35988, 35964, 35992, 25117, 36013, 36010, 36029, 36018, 36019, 36014, 36022, 36040, 36033, 36068, 36067, 36058, 36093, 36090, 36091, 36100, 36101, 36106, 36103, 36111, 36109, 36112, 40782, 36115, 36045, 36116, 36118, 36199, 36205, 36209, 36211, 36225, 36249, 36290, 36286, 36282, 36303, 36314, 36310, 36300, 36315, 36299, 36330, 36331, 36319, 36323, 36348, 36360, 36361, 36351, 36381, 36382, 36368, 36383, 36418, 36405, 36400, 36404, 36426, 36423, 36425, 36428, 36432, 36424, 36441, 36452, 36448, 36394, 36451, 36437, 36470, 36466, 36476, 36481, 36487, 36485, 36484, 36491, 36490, 36499, 36497, 36500, 36505, 36522, 36513, 36524, 36528, 36550, 36529, 36542, 36549, 36552, 36555, 36571, 36579, 36604, 36603, 36587, 36606, 36618, 36613, 36629, 36626, 36633, 36627, 36636, 36639, 36635, 36620, 36646, 36659, 36667, 36665, 36677, 36674, 36670, 36684, 36681, 36678, 36686, 36695, 36700, 36706, 36707, 36708, 36764, 36767, 36771, 36781, 36783, 36791, 36826, 36837, 36834, 36842, 36847, 36999, 36852, 36869, 36857, 36858, 36881, 36885, 36897, 36877, 36894, 36886, 36875, 36903, 36918, 36917, 36921, 36856, 36943, 36944, 36945, 36946, 36878, 36937, 36926, 36950, 36952, 36958, 36968, 36975, 36982, 38568, 36978, 36994, 36989, 36993, 36992, 37002, 37001, 37007, 37032, 37039, 37041, 37045, 37090, 37092, 25160, 37083, 37122, 37138, 37145, 37170, 37168, 37194, 37206, 37208, 37219, 37221, 37225, 37235, 37234, 37259, 37257, 37250, 37282, 37291, 37295, 37290, 37301, 37300, 37306, 37312, 37313, 37321, 37323, 37328, 37334, 37343, 37345, 37339, 37372, 37365, 37366, 37406, 37375, 37396, 37420, 37397, 37393, 37470, 37463, 37445, 37449, 37476, 37448, 37525, 37439, 37451, 37456, 37532, 37526, 37523, 37531, 37466, 37583, 37561, 37559, 37609, 37647, 37626, 37700, 37678, 37657, 37666, 37658, 37667, 37690, 37685, 37691, 37724, 37728, 37756, 37742, 37718, 37808, 37804, 37805, 37780, 37817, 37846, 37847, 37864, 37861, 37848, 37827, 37853, 37840, 37832, 37860, 37914, 37908, 37907, 37891, 37895, 37904, 37942, 37931, 37941, 37921, 37946, 37953, 37970, 37956, 37979, 37984, 37986, 37982, 37994, 37417, 38000, 38005, 38007, 38013, 37978, 38012, 38014, 38017, 38015, 38274, 38279, 38282, 38292, 38294, 38296, 38297, 38304, 38312, 38311, 38317, 38332, 38331, 38329, 38334, 38346, 28662, 38339, 38349, 38348, 38357, 38356, 38358, 38364, 38369, 38373, 38370, 38433, 38440, 38446, 38447, 38466, 38476, 38479, 38475, 38519, 38492, 38494, 38493, 38495, 38502, 38514, 38508, 38541, 38552, 38549, 38551, 38570, 38567, 38577, 38578, 38576, 38580, 38582, 38584, 38585, 38606, 38603, 38601, 38605, 35149, 38620, 38669, 38613, 38649, 38660, 38662, 38664, 38675, 38670, 38673, 38671, 38678, 38681, 38692, 38698, 38704, 38713, 38717, 38718, 38724, 38726, 38728, 38722, 38729, 38748, 38752, 38756, 38758, 38760, 21202, 38763, 38769, 38777, 38789, 38780, 38785, 38778, 38790, 38795, 38799, 38800, 38812, 38824, 38822, 38819, 38835, 38836, 38851, 38854, 38856, 38859, 38876, 38893, 40783, 38898, 31455, 38902, 38901, 38927, 38924, 38968, 38948, 38945, 38967, 38973, 38982, 38991, 38987, 39019, 39023, 39024, 39025, 39028, 39027, 39082, 39087, 39089, 39094, 39108, 39107, 39110, 39145, 39147, 39171, 39177, 39186, 39188, 39192, 39201, 39197, 39198, 39204, 39200, 39212, 39214, 39229, 39230, 39234, 39241, 39237, 39248, 39243, 39249, 39250, 39244, 39253, 39319, 39320, 39333, 39341, 39342, 39356, 39391, 39387, 39389, 39384, 39377, 39405, 39406, 39409, 39410, 39419, 39416, 39425, 39439, 39429, 39394, 39449, 39467, 39479, 39493, 39490, 39488, 39491, 39486, 39509, 39501, 39515, 39511, 39519, 39522, 39525, 39524, 39529, 39531, 39530, 39597, 39600, 39612, 39616, 39631, 39633, 39635, 39636, 39646, 39647, 39650, 39651, 39654, 39663, 39659, 39662, 39668, 39665, 39671, 39675, 39686, 39704, 39706, 39711, 39714, 39715, 39717, 39719, 39720, 39721, 39722, 39726, 39727, 39730, 39748, 39747, 39759, 39757, 39758, 39761, 39768, 39796, 39827, 39811, 39825, 39830, 39831, 39839, 39840, 39848, 39860, 39872, 39882, 39865, 39878, 39887, 39889, 39890, 39907, 39906, 39908, 39892, 39905, 39994, 39922, 39921, 39920, 39957, 39956, 39945, 39955, 39948, 39942, 39944, 39954, 39946, 39940, 39982, 39963, 39973, 39972, 39969, 39984, 40007, 39986, 40006, 39998, 40026, 40032, 40039, 40054, 40056, 40167, 40172, 40176, 40201, 40200, 40171, 40195, 40198, 40234, 40230, 40367, 40227, 40223, 40260, 40213, 40210, 40257, 40255, 40254, 40262, 40264, 40285, 40286, 40292, 40273, 40272, 40281, 40306, 40329, 40327, 40363, 40303, 40314, 40346, 40356, 40361, 40370, 40388, 40385, 40379, 40376, 40378, 40390, 40399, 40386, 40409, 40403, 40440, 40422, 40429, 40431, 40445, 40474, 40475, 40478, 40565, 40569, 40573, 40577, 40584, 40587, 40588, 40594, 40597, 40593, 40605, 40613, 40617, 40632, 40618, 40621, 38753, 40652, 40654, 40655, 40656, 40660, 40668, 40670, 40669, 40672, 40677, 40680, 40687, 40692, 40694, 40695, 40697, 40699, 40700, 40701, 40711, 40712, 30391, 40725, 40737, 40748, 40766, 40778, 40786, 40788, 40803, 40799, 40800, 40801, 40806, 40807, 40812, 40810, 40823, 40818, 40822, 40853, 40860, 40864, 22575, 27079, 36953, 29796, 20956, 29081, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 32394, 35100, 37704, 37512, 34012, 20425, 28859, 26161, 26824, 37625, 26363, 24389, 20008, 20193, 20220, 20224, 20227, 20281, 20310, 20370, 20362, 20378, 20372, 20429, 20544, 20514, 20479, 20510, 20550, 20592, 20546, 20628, 20724, 20696, 20810, 20836, 20893, 20926, 20972, 21013, 21148, 21158, 21184, 21211, 21248, 21255, 21284, 21362, 21395, 21426, 21469, 64014, 21660, 21642, 21673, 21759, 21894, 22361, 22373, 22444, 22472, 22471, 64015, 64016, 22686, 22706, 22795, 22867, 22875, 22877, 22883, 22948, 22970, 23382, 23488, 29999, 23512, 23532, 23582, 23718, 23738, 23797, 23847, 23891, 64017, 23874, 23917, 23992, 23993, 24016, 24353, 24372, 24423, 24503, 24542, 24669, 24709, 24714, 24798, 24789, 24864, 24818, 24849, 24887, 24880, 24984, 25107, 25254, 25589, 25696, 25757, 25806, 25934, 26112, 26133, 26171, 26121, 26158, 26142, 26148, 26213, 26199, 26201, 64018, 26227, 26265, 26272, 26290, 26303, 26362, 26382, 63785, 26470, 26555, 26706, 26560, 26625, 26692, 26831, 64019, 26984, 64020, 27032, 27106, 27184, 27243, 27206, 27251, 27262, 27362, 27364, 27606, 27711, 27740, 27782, 27759, 27866, 27908, 28039, 28015, 28054, 28076, 28111, 28152, 28146, 28156, 28217, 28252, 28199, 28220, 28351, 28552, 28597, 28661, 28677, 28679, 28712, 28805, 28843, 28943, 28932, 29020, 28998, 28999, 64021, 29121, 29182, 29361, 29374, 29476, 64022, 29559, 29629, 29641, 29654, 29667, 29650, 29703, 29685, 29734, 29738, 29737, 29742, 29794, 29833, 29855, 29953, 30063, 30338, 30364, 30366, 30363, 30374, 64023, 30534, 21167, 30753, 30798, 30820, 30842, 31024, 64024, 64025, 64026, 31124, 64027, 31131, 31441, 31463, 64028, 31467, 31646, 64029, 32072, 32092, 32183, 32160, 32214, 32338, 32583, 32673, 64030, 33537, 33634, 33663, 33735, 33782, 33864, 33972, 34131, 34137, 34155, 64031, 34224, 64032, 64033, 34823, 35061, 35346, 35383, 35449, 35495, 35518, 35551, 64034, 35574, 35667, 35711, 36080, 36084, 36114, 36214, 64035, 36559, 64036, 64037, 36967, 37086, 64038, 37141, 37159, 37338, 37335, 37342, 37357, 37358, 37348, 37349, 37382, 37392, 37386, 37434, 37440, 37436, 37454, 37465, 37457, 37433, 37479, 37543, 37495, 37496, 37607, 37591, 37593, 37584, 64039, 37589, 37600, 37587, 37669, 37665, 37627, 64040, 37662, 37631, 37661, 37634, 37744, 37719, 37796, 37830, 37854, 37880, 37937, 37957, 37960, 38290, 63964, 64041, 38557, 38575, 38707, 38715, 38723, 38733, 38735, 38737, 38741, 38999, 39013, 64042, 64043, 39207, 64044, 39326, 39502, 39641, 39644, 39797, 39794, 39823, 39857, 39867, 39936, 40304, 40299, 64045, 40473, 40657, null, null, 8560, 8561, 8562, 8563, 8564, 8565, 8566, 8567, 8568, 8569, 65506, 65508, 65287, 65282, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 8560, 8561, 8562, 8563, 8564, 8565, 8566, 8567, 8568, 8569, 8544, 8545, 8546, 8547, 8548, 8549, 8550, 8551, 8552, 8553, 65506, 65508, 65287, 65282, 12849, 8470, 8481, 8757, 32394, 35100, 37704, 37512, 34012, 20425, 28859, 26161, 26824, 37625, 26363, 24389, 20008, 20193, 20220, 20224, 20227, 20281, 20310, 20370, 20362, 20378, 20372, 20429, 20544, 20514, 20479, 20510, 20550, 20592, 20546, 20628, 20724, 20696, 20810, 20836, 20893, 20926, 20972, 21013, 21148, 21158, 21184, 21211, 21248, 21255, 21284, 21362, 21395, 21426, 21469, 64014, 21660, 21642, 21673, 21759, 21894, 22361, 22373, 22444, 22472, 22471, 64015, 64016, 22686, 22706, 22795, 22867, 22875, 22877, 22883, 22948, 22970, 23382, 23488, 29999, 23512, 23532, 23582, 23718, 23738, 23797, 23847, 23891, 64017, 23874, 23917, 23992, 23993, 24016, 24353, 24372, 24423, 24503, 24542, 24669, 24709, 24714, 24798, 24789, 24864, 24818, 24849, 24887, 24880, 24984, 25107, 25254, 25589, 25696, 25757, 25806, 25934, 26112, 26133, 26171, 26121, 26158, 26142, 26148, 26213, 26199, 26201, 64018, 26227, 26265, 26272, 26290, 26303, 26362, 26382, 63785, 26470, 26555, 26706, 26560, 26625, 26692, 26831, 64019, 26984, 64020, 27032, 27106, 27184, 27243, 27206, 27251, 27262, 27362, 27364, 27606, 27711, 27740, 27782, 27759, 27866, 27908, 28039, 28015, 28054, 28076, 28111, 28152, 28146, 28156, 28217, 28252, 28199, 28220, 28351, 28552, 28597, 28661, 28677, 28679, 28712, 28805, 28843, 28943, 28932, 29020, 28998, 28999, 64021, 29121, 29182, 29361, 29374, 29476, 64022, 29559, 29629, 29641, 29654, 29667, 29650, 29703, 29685, 29734, 29738, 29737, 29742, 29794, 29833, 29855, 29953, 30063, 30338, 30364, 30366, 30363, 30374, 64023, 30534, 21167, 30753, 30798, 30820, 30842, 31024, 64024, 64025, 64026, 31124, 64027, 31131, 31441, 31463, 64028, 31467, 31646, 64029, 32072, 32092, 32183, 32160, 32214, 32338, 32583, 32673, 64030, 33537, 33634, 33663, 33735, 33782, 33864, 33972, 34131, 34137, 34155, 64031, 34224, 64032, 64033, 34823, 35061, 35346, 35383, 35449, 35495, 35518, 35551, 64034, 35574, 35667, 35711, 36080, 36084, 36114, 36214, 64035, 36559, 64036, 64037, 36967, 37086, 64038, 37141, 37159, 37338, 37335, 37342, 37357, 37358, 37348, 37349, 37382, 37392, 37386, 37434, 37440, 37436, 37454, 37465, 37457, 37433, 37479, 37543, 37495, 37496, 37607, 37591, 37593, 37584, 64039, 37589, 37600, 37587, 37669, 37665, 37627, 64040, 37662, 37631, 37661, 37634, 37744, 37719, 37796, 37830, 37854, 37880, 37937, 37957, 37960, 38290, 63964, 64041, 38557, 38575, 38707, 38715, 38723, 38733, 38735, 38737, 38741, 38999, 39013, 64042, 64043, 39207, 64044, 39326, 39502, 39641, 39644, 39797, 39794, 39823, 39857, 39867, 39936, 40304, 40299, 64045, 40473, 40657, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
- "jis0212":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,728,711,184,729,733,175,731,730,65374,900,901,null,null,null,null,null,null,null,null,161,166,191,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,186,170,169,174,8482,164,8470,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,902,904,905,906,938,null,908,null,910,939,null,911,null,null,null,null,940,941,942,943,970,912,972,962,973,971,944,974,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1038,1039,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1118,1119,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,198,272,null,294,null,306,null,321,319,null,330,216,338,null,358,222,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,230,273,240,295,305,307,312,322,320,329,331,248,339,223,359,254,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,193,192,196,194,258,461,256,260,197,195,262,264,268,199,266,270,201,200,203,202,282,278,274,280,null,284,286,290,288,292,205,204,207,206,463,304,298,302,296,308,310,313,317,315,323,327,325,209,211,210,214,212,465,336,332,213,340,344,342,346,348,352,350,356,354,218,217,220,219,364,467,368,362,370,366,360,471,475,473,469,372,221,376,374,377,381,379,null,null,null,null,null,null,null,225,224,228,226,259,462,257,261,229,227,263,265,269,231,267,271,233,232,235,234,283,279,275,281,501,285,287,null,289,293,237,236,239,238,464,null,299,303,297,309,311,314,318,316,324,328,326,241,243,242,246,244,466,337,333,245,341,345,343,347,349,353,351,357,355,250,249,252,251,365,468,369,363,371,367,361,472,476,474,470,373,253,255,375,378,382,380,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,19970,19972,19973,19980,19986,19999,20003,20004,20008,20011,20014,20015,20016,20021,20032,20033,20036,20039,20049,20058,20060,20067,20072,20073,20084,20085,20089,20095,20109,20118,20119,20125,20143,20153,20163,20176,20186,20187,20192,20193,20194,20200,20207,20209,20211,20213,20221,20222,20223,20224,20226,20227,20232,20235,20236,20242,20245,20246,20247,20249,20270,20273,20320,20275,20277,20279,20281,20283,20286,20288,20290,20296,20297,20299,20300,20306,20308,20310,20312,20319,20323,20330,20332,20334,20337,20343,20344,20345,20346,20349,20350,20353,20354,20356,20357,20361,20362,20364,20366,20368,20370,20371,20372,20375,20377,20378,20382,20383,20402,20407,20409,20411,20412,20413,20414,20416,20417,20421,20422,20424,20425,20427,20428,20429,20431,20434,20444,20448,20450,20464,20466,20476,20477,20479,20480,20481,20484,20487,20490,20492,20494,20496,20499,20503,20504,20507,20508,20509,20510,20514,20519,20526,20528,20530,20531,20533,20544,20545,20546,20549,20550,20554,20556,20558,20561,20562,20563,20567,20569,20575,20576,20578,20579,20582,20583,20586,20589,20592,20593,20539,20609,20611,20612,20614,20618,20622,20623,20624,20626,20627,20628,20630,20635,20636,20638,20639,20640,20641,20642,20650,20655,20656,20665,20666,20669,20672,20675,20676,20679,20684,20686,20688,20691,20692,20696,20700,20701,20703,20706,20708,20710,20712,20713,20719,20721,20726,20730,20734,20739,20742,20743,20744,20747,20748,20749,20750,20722,20752,20759,20761,20763,20764,20765,20766,20771,20775,20776,20780,20781,20783,20785,20787,20788,20789,20792,20793,20802,20810,20815,20819,20821,20823,20824,20831,20836,20838,20862,20867,20868,20875,20878,20888,20893,20897,20899,20909,20920,20922,20924,20926,20927,20930,20936,20943,20945,20946,20947,20949,20952,20958,20962,20965,20974,20978,20979,20980,20983,20993,20994,20997,21010,21011,21013,21014,21016,21026,21032,21041,21042,21045,21052,21061,21065,21077,21079,21080,21082,21084,21087,21088,21089,21094,21102,21111,21112,21113,21120,21122,21125,21130,21132,21139,21141,21142,21143,21144,21146,21148,21156,21157,21158,21159,21167,21168,21174,21175,21176,21178,21179,21181,21184,21188,21190,21192,21196,21199,21201,21204,21206,21211,21212,21217,21221,21224,21225,21226,21228,21232,21233,21236,21238,21239,21248,21251,21258,21259,21260,21265,21267,21272,21275,21276,21278,21279,21285,21287,21288,21289,21291,21292,21293,21296,21298,21301,21308,21309,21310,21314,21324,21323,21337,21339,21345,21347,21349,21356,21357,21362,21369,21374,21379,21383,21384,21390,21395,21396,21401,21405,21409,21412,21418,21419,21423,21426,21428,21429,21431,21432,21434,21437,21440,21445,21455,21458,21459,21461,21466,21469,21470,21472,21478,21479,21493,21506,21523,21530,21537,21543,21544,21546,21551,21553,21556,21557,21571,21572,21575,21581,21583,21598,21602,21604,21606,21607,21609,21611,21613,21614,21620,21631,21633,21635,21637,21640,21641,21645,21649,21653,21654,21660,21663,21665,21670,21671,21673,21674,21677,21678,21681,21687,21689,21690,21691,21695,21702,21706,21709,21710,21728,21738,21740,21743,21750,21756,21758,21759,21760,21761,21765,21768,21769,21772,21773,21774,21781,21802,21803,21810,21813,21814,21819,21820,21821,21825,21831,21833,21834,21837,21840,21841,21848,21850,21851,21854,21856,21857,21860,21862,21887,21889,21890,21894,21896,21902,21903,21905,21906,21907,21908,21911,21923,21924,21933,21938,21951,21953,21955,21958,21961,21963,21964,21966,21969,21970,21971,21975,21976,21979,21982,21986,21993,22006,22015,22021,22024,22026,22029,22030,22031,22032,22033,22034,22041,22060,22064,22067,22069,22071,22073,22075,22076,22077,22079,22080,22081,22083,22084,22086,22089,22091,22093,22095,22100,22110,22112,22113,22114,22115,22118,22121,22125,22127,22129,22130,22133,22148,22149,22152,22155,22156,22165,22169,22170,22173,22174,22175,22182,22183,22184,22185,22187,22188,22189,22193,22195,22199,22206,22213,22217,22218,22219,22223,22224,22220,22221,22233,22236,22237,22239,22241,22244,22245,22246,22247,22248,22257,22251,22253,22262,22263,22273,22274,22279,22282,22284,22289,22293,22298,22299,22301,22304,22306,22307,22308,22309,22313,22314,22316,22318,22319,22323,22324,22333,22334,22335,22341,22342,22348,22349,22354,22370,22373,22375,22376,22379,22381,22382,22383,22384,22385,22387,22388,22389,22391,22393,22394,22395,22396,22398,22401,22403,22412,22420,22423,22425,22426,22428,22429,22430,22431,22433,22421,22439,22440,22441,22444,22456,22461,22471,22472,22476,22479,22485,22493,22494,22500,22502,22503,22505,22509,22512,22517,22518,22520,22525,22526,22527,22531,22532,22536,22537,22497,22540,22541,22555,22558,22559,22560,22566,22567,22573,22578,22585,22591,22601,22604,22605,22607,22608,22613,22623,22625,22628,22631,22632,22648,22652,22655,22656,22657,22663,22664,22665,22666,22668,22669,22671,22672,22676,22678,22685,22688,22689,22690,22694,22697,22705,22706,22724,22716,22722,22728,22733,22734,22736,22738,22740,22742,22746,22749,22753,22754,22761,22771,22789,22790,22795,22796,22802,22803,22804,34369,22813,22817,22819,22820,22824,22831,22832,22835,22837,22838,22847,22851,22854,22866,22867,22873,22875,22877,22878,22879,22881,22883,22891,22893,22895,22898,22901,22902,22905,22907,22908,22923,22924,22926,22930,22933,22935,22943,22948,22951,22957,22958,22959,22960,22963,22967,22970,22972,22977,22979,22980,22984,22986,22989,22994,23005,23006,23007,23011,23012,23015,23022,23023,23025,23026,23028,23031,23040,23044,23052,23053,23054,23058,23059,23070,23075,23076,23079,23080,23082,23085,23088,23108,23109,23111,23112,23116,23120,23125,23134,23139,23141,23143,23149,23159,23162,23163,23166,23179,23184,23187,23190,23193,23196,23198,23199,23200,23202,23207,23212,23217,23218,23219,23221,23224,23226,23227,23231,23236,23238,23240,23247,23258,23260,23264,23269,23274,23278,23285,23286,23293,23296,23297,23304,23319,23348,23321,23323,23325,23329,23333,23341,23352,23361,23371,23372,23378,23382,23390,23400,23406,23407,23420,23421,23422,23423,23425,23428,23430,23434,23438,23440,23441,23443,23444,23446,23464,23465,23468,23469,23471,23473,23474,23479,23482,23484,23488,23489,23501,23503,23510,23511,23512,23513,23514,23520,23535,23537,23540,23549,23564,23575,23582,23583,23587,23590,23593,23595,23596,23598,23600,23602,23605,23606,23641,23642,23644,23650,23651,23655,23656,23657,23661,23664,23668,23669,23674,23675,23676,23677,23687,23688,23690,23695,23698,23709,23711,23712,23714,23715,23718,23722,23730,23732,23733,23738,23753,23755,23762,23773,23767,23790,23793,23794,23796,23809,23814,23821,23826,23851,23843,23844,23846,23847,23857,23860,23865,23869,23871,23874,23875,23878,23880,23893,23889,23897,23882,23903,23904,23905,23906,23908,23914,23917,23920,23929,23930,23934,23935,23937,23939,23944,23946,23954,23955,23956,23957,23961,23963,23967,23968,23975,23979,23984,23988,23992,23993,24003,24007,24011,24016,24014,24024,24025,24032,24036,24041,24056,24057,24064,24071,24077,24082,24084,24085,24088,24095,24096,24110,24104,24114,24117,24126,24139,24144,24137,24145,24150,24152,24155,24156,24158,24168,24170,24171,24172,24173,24174,24176,24192,24203,24206,24226,24228,24229,24232,24234,24236,24241,24243,24253,24254,24255,24262,24268,24267,24270,24273,24274,24276,24277,24284,24286,24293,24299,24322,24326,24327,24328,24334,24345,24348,24349,24353,24354,24355,24356,24360,24363,24364,24366,24368,24372,24374,24379,24381,24383,24384,24388,24389,24391,24397,24400,24404,24408,24411,24416,24419,24420,24423,24431,24434,24436,24437,24440,24442,24445,24446,24457,24461,24463,24470,24476,24477,24482,24487,24491,24484,24492,24495,24496,24497,24504,24516,24519,24520,24521,24523,24528,24529,24530,24531,24532,24542,24545,24546,24552,24553,24554,24556,24557,24558,24559,24562,24563,24566,24570,24572,24583,24586,24589,24595,24596,24599,24600,24602,24607,24612,24621,24627,24629,24640,24647,24648,24649,24652,24657,24660,24662,24663,24669,24673,24679,24689,24702,24703,24706,24710,24712,24714,24718,24721,24723,24725,24728,24733,24734,24738,24740,24741,24744,24752,24753,24759,24763,24766,24770,24772,24776,24777,24778,24779,24782,24783,24788,24789,24793,24795,24797,24798,24802,24805,24818,24821,24824,24828,24829,24834,24839,24842,24844,24848,24849,24850,24851,24852,24854,24855,24857,24860,24862,24866,24874,24875,24880,24881,24885,24886,24887,24889,24897,24901,24902,24905,24926,24928,24940,24946,24952,24955,24956,24959,24960,24961,24963,24964,24971,24973,24978,24979,24983,24984,24988,24989,24991,24992,24997,25000,25002,25005,25016,25017,25020,25024,25025,25026,25038,25039,25045,25052,25053,25054,25055,25057,25058,25063,25065,25061,25068,25069,25071,25089,25091,25092,25095,25107,25109,25116,25120,25122,25123,25127,25129,25131,25145,25149,25154,25155,25156,25158,25164,25168,25169,25170,25172,25174,25178,25180,25188,25197,25199,25203,25210,25213,25229,25230,25231,25232,25254,25256,25267,25270,25271,25274,25278,25279,25284,25294,25301,25302,25306,25322,25330,25332,25340,25341,25347,25348,25354,25355,25357,25360,25363,25366,25368,25385,25386,25389,25397,25398,25401,25404,25409,25410,25411,25412,25414,25418,25419,25422,25426,25427,25428,25432,25435,25445,25446,25452,25453,25457,25460,25461,25464,25468,25469,25471,25474,25476,25479,25482,25488,25492,25493,25497,25498,25502,25508,25510,25517,25518,25519,25533,25537,25541,25544,25550,25553,25555,25556,25557,25564,25568,25573,25578,25580,25586,25587,25589,25592,25593,25609,25610,25616,25618,25620,25624,25630,25632,25634,25636,25637,25641,25642,25647,25648,25653,25661,25663,25675,25679,25681,25682,25683,25684,25690,25691,25692,25693,25695,25696,25697,25699,25709,25715,25716,25723,25725,25733,25735,25743,25744,25745,25752,25753,25755,25757,25759,25761,25763,25766,25768,25772,25779,25789,25790,25791,25796,25801,25802,25803,25804,25806,25808,25809,25813,25815,25828,25829,25833,25834,25837,25840,25845,25847,25851,25855,25857,25860,25864,25865,25866,25871,25875,25876,25878,25881,25883,25886,25887,25890,25894,25897,25902,25905,25914,25916,25917,25923,25927,25929,25936,25938,25940,25951,25952,25959,25963,25978,25981,25985,25989,25994,26002,26005,26008,26013,26016,26019,26022,26030,26034,26035,26036,26047,26050,26056,26057,26062,26064,26068,26070,26072,26079,26096,26098,26100,26101,26105,26110,26111,26112,26116,26120,26121,26125,26129,26130,26133,26134,26141,26142,26145,26146,26147,26148,26150,26153,26154,26155,26156,26158,26160,26161,26163,26169,26167,26176,26181,26182,26186,26188,26193,26190,26199,26200,26201,26203,26204,26208,26209,26363,26218,26219,26220,26238,26227,26229,26239,26231,26232,26233,26235,26240,26236,26251,26252,26253,26256,26258,26265,26266,26267,26268,26271,26272,26276,26285,26289,26290,26293,26299,26303,26304,26306,26307,26312,26316,26318,26319,26324,26331,26335,26344,26347,26348,26350,26362,26373,26375,26382,26387,26393,26396,26400,26402,26419,26430,26437,26439,26440,26444,26452,26453,26461,26470,26476,26478,26484,26486,26491,26497,26500,26510,26511,26513,26515,26518,26520,26521,26523,26544,26545,26546,26549,26555,26556,26557,26617,26560,26562,26563,26565,26568,26569,26578,26583,26585,26588,26593,26598,26608,26610,26614,26615,26706,26644,26649,26653,26655,26664,26663,26668,26669,26671,26672,26673,26675,26683,26687,26692,26693,26698,26700,26709,26711,26712,26715,26731,26734,26735,26736,26737,26738,26741,26745,26746,26747,26748,26754,26756,26758,26760,26774,26776,26778,26780,26785,26787,26789,26793,26794,26798,26802,26811,26821,26824,26828,26831,26832,26833,26835,26838,26841,26844,26845,26853,26856,26858,26859,26860,26861,26864,26865,26869,26870,26875,26876,26877,26886,26889,26890,26896,26897,26899,26902,26903,26929,26931,26933,26936,26939,26946,26949,26953,26958,26967,26971,26979,26980,26981,26982,26984,26985,26988,26992,26993,26994,27002,27003,27007,27008,27021,27026,27030,27032,27041,27045,27046,27048,27051,27053,27055,27063,27064,27066,27068,27077,27080,27089,27094,27095,27106,27109,27118,27119,27121,27123,27125,27134,27136,27137,27139,27151,27153,27157,27162,27165,27168,27172,27176,27184,27186,27188,27191,27195,27198,27199,27205,27206,27209,27210,27214,27216,27217,27218,27221,27222,27227,27236,27239,27242,27249,27251,27262,27265,27267,27270,27271,27273,27275,27281,27291,27293,27294,27295,27301,27307,27311,27312,27313,27316,27325,27326,27327,27334,27337,27336,27340,27344,27348,27349,27350,27356,27357,27364,27367,27372,27376,27377,27378,27388,27389,27394,27395,27398,27399,27401,27407,27408,27409,27415,27419,27422,27428,27432,27435,27436,27439,27445,27446,27451,27455,27462,27466,27469,27474,27478,27480,27485,27488,27495,27499,27502,27504,27509,27517,27518,27522,27525,27543,27547,27551,27552,27554,27555,27560,27561,27564,27565,27566,27568,27576,27577,27581,27582,27587,27588,27593,27596,27606,27610,27617,27619,27622,27623,27630,27633,27639,27641,27647,27650,27652,27653,27657,27661,27662,27664,27666,27673,27679,27686,27687,27688,27692,27694,27699,27701,27702,27706,27707,27711,27722,27723,27725,27727,27730,27732,27737,27739,27740,27755,27757,27759,27764,27766,27768,27769,27771,27781,27782,27783,27785,27796,27797,27799,27800,27804,27807,27824,27826,27828,27842,27846,27853,27855,27856,27857,27858,27860,27862,27866,27868,27872,27879,27881,27883,27884,27886,27890,27892,27908,27911,27914,27918,27919,27921,27923,27930,27942,27943,27944,27751,27950,27951,27953,27961,27964,27967,27991,27998,27999,28001,28005,28007,28015,28016,28028,28034,28039,28049,28050,28052,28054,28055,28056,28074,28076,28084,28087,28089,28093,28095,28100,28104,28106,28110,28111,28118,28123,28125,28127,28128,28130,28133,28137,28143,28144,28148,28150,28156,28160,28164,28190,28194,28199,28210,28214,28217,28219,28220,28228,28229,28232,28233,28235,28239,28241,28242,28243,28244,28247,28252,28253,28254,28258,28259,28264,28275,28283,28285,28301,28307,28313,28320,28327,28333,28334,28337,28339,28347,28351,28352,28353,28355,28359,28360,28362,28365,28366,28367,28395,28397,28398,28409,28411,28413,28420,28424,28426,28428,28429,28438,28440,28442,28443,28454,28457,28458,28463,28464,28467,28470,28475,28476,28461,28495,28497,28498,28499,28503,28505,28506,28509,28510,28513,28514,28520,28524,28541,28542,28547,28551,28552,28555,28556,28557,28560,28562,28563,28564,28566,28570,28575,28576,28581,28582,28583,28584,28590,28591,28592,28597,28598,28604,28613,28615,28616,28618,28634,28638,28648,28649,28656,28661,28665,28668,28669,28672,28677,28678,28679,28685,28695,28704,28707,28719,28724,28727,28729,28732,28739,28740,28744,28745,28746,28747,28756,28757,28765,28766,28750,28772,28773,28780,28782,28789,28790,28798,28801,28805,28806,28820,28821,28822,28823,28824,28827,28836,28843,28848,28849,28852,28855,28874,28881,28883,28884,28885,28886,28888,28892,28900,28922,28931,28932,28933,28934,28935,28939,28940,28943,28958,28960,28971,28973,28975,28976,28977,28984,28993,28997,28998,28999,29002,29003,29008,29010,29015,29018,29020,29022,29024,29032,29049,29056,29061,29063,29068,29074,29082,29083,29088,29090,29103,29104,29106,29107,29114,29119,29120,29121,29124,29131,29132,29139,29142,29145,29146,29148,29176,29182,29184,29191,29192,29193,29203,29207,29210,29213,29215,29220,29227,29231,29236,29240,29241,29249,29250,29251,29253,29262,29263,29264,29267,29269,29270,29274,29276,29278,29280,29283,29288,29291,29294,29295,29297,29303,29304,29307,29308,29311,29316,29321,29325,29326,29331,29339,29352,29357,29358,29361,29364,29374,29377,29383,29385,29388,29397,29398,29400,29407,29413,29427,29428,29434,29435,29438,29442,29444,29445,29447,29451,29453,29458,29459,29464,29465,29470,29474,29476,29479,29480,29484,29489,29490,29493,29498,29499,29501,29507,29517,29520,29522,29526,29528,29533,29534,29535,29536,29542,29543,29545,29547,29548,29550,29551,29553,29559,29561,29564,29568,29569,29571,29573,29574,29582,29584,29587,29589,29591,29592,29596,29598,29599,29600,29602,29605,29606,29610,29611,29613,29621,29623,29625,29628,29629,29631,29637,29638,29641,29643,29644,29647,29650,29651,29654,29657,29661,29665,29667,29670,29671,29673,29684,29685,29687,29689,29690,29691,29693,29695,29696,29697,29700,29703,29706,29713,29722,29723,29732,29734,29736,29737,29738,29739,29740,29741,29742,29743,29744,29745,29753,29760,29763,29764,29766,29767,29771,29773,29777,29778,29783,29789,29794,29798,29799,29800,29803,29805,29806,29809,29810,29824,29825,29829,29830,29831,29833,29839,29840,29841,29842,29848,29849,29850,29852,29855,29856,29857,29859,29862,29864,29865,29866,29867,29870,29871,29873,29874,29877,29881,29883,29887,29896,29897,29900,29904,29907,29912,29914,29915,29918,29919,29924,29928,29930,29931,29935,29940,29946,29947,29948,29951,29958,29970,29974,29975,29984,29985,29988,29991,29993,29994,29999,30006,30009,30013,30014,30015,30016,30019,30023,30024,30030,30032,30034,30039,30046,30047,30049,30063,30065,30073,30074,30075,30076,30077,30078,30081,30085,30096,30098,30099,30101,30105,30108,30114,30116,30132,30138,30143,30144,30145,30148,30150,30156,30158,30159,30167,30172,30175,30176,30177,30180,30183,30188,30190,30191,30193,30201,30208,30210,30211,30212,30215,30216,30218,30220,30223,30226,30227,30229,30230,30233,30235,30236,30237,30238,30243,30245,30246,30249,30253,30258,30259,30261,30264,30265,30266,30268,30282,30272,30273,30275,30276,30277,30281,30283,30293,30297,30303,30308,30309,30317,30318,30319,30321,30324,30337,30341,30348,30349,30357,30363,30364,30365,30367,30368,30370,30371,30372,30373,30374,30375,30376,30378,30381,30397,30401,30405,30409,30411,30412,30414,30420,30425,30432,30438,30440,30444,30448,30449,30454,30457,30460,30464,30470,30474,30478,30482,30484,30485,30487,30489,30490,30492,30498,30504,30509,30510,30511,30516,30517,30518,30521,30525,30526,30530,30533,30534,30538,30541,30542,30543,30546,30550,30551,30556,30558,30559,30560,30562,30564,30567,30570,30572,30576,30578,30579,30580,30586,30589,30592,30596,30604,30605,30612,30613,30614,30618,30623,30626,30631,30634,30638,30639,30641,30645,30654,30659,30665,30673,30674,30677,30681,30686,30687,30688,30692,30694,30698,30700,30704,30705,30708,30712,30715,30725,30726,30729,30733,30734,30737,30749,30753,30754,30755,30765,30766,30768,30773,30775,30787,30788,30791,30792,30796,30798,30802,30812,30814,30816,30817,30819,30820,30824,30826,30830,30842,30846,30858,30863,30868,30872,30881,30877,30878,30879,30884,30888,30892,30893,30896,30897,30898,30899,30907,30909,30911,30919,30920,30921,30924,30926,30930,30931,30933,30934,30948,30939,30943,30944,30945,30950,30954,30962,30963,30976,30966,30967,30970,30971,30975,30982,30988,30992,31002,31004,31006,31007,31008,31013,31015,31017,31021,31025,31028,31029,31035,31037,31039,31044,31045,31046,31050,31051,31055,31057,31060,31064,31067,31068,31079,31081,31083,31090,31097,31099,31100,31102,31115,31116,31121,31123,31124,31125,31126,31128,31131,31132,31137,31144,31145,31147,31151,31153,31156,31160,31163,31170,31172,31175,31176,31178,31183,31188,31190,31194,31197,31198,31200,31202,31205,31210,31211,31213,31217,31224,31228,31234,31235,31239,31241,31242,31244,31249,31253,31259,31262,31265,31271,31275,31277,31279,31280,31284,31285,31288,31289,31290,31300,31301,31303,31304,31308,31317,31318,31321,31324,31325,31327,31328,31333,31335,31338,31341,31349,31352,31358,31360,31362,31365,31366,31370,31371,31376,31377,31380,31390,31392,31395,31404,31411,31413,31417,31419,31420,31430,31433,31436,31438,31441,31451,31464,31465,31467,31468,31473,31476,31483,31485,31486,31495,31508,31519,31523,31527,31529,31530,31531,31533,31534,31535,31536,31537,31540,31549,31551,31552,31553,31559,31566,31573,31584,31588,31590,31593,31594,31597,31599,31602,31603,31607,31620,31625,31630,31632,31633,31638,31643,31646,31648,31653,31660,31663,31664,31666,31669,31670,31674,31675,31676,31677,31682,31685,31688,31690,31700,31702,31703,31705,31706,31707,31720,31722,31730,31732,31733,31736,31737,31738,31740,31742,31745,31746,31747,31748,31750,31753,31755,31756,31758,31759,31769,31771,31776,31781,31782,31784,31788,31793,31795,31796,31798,31801,31802,31814,31818,31829,31825,31826,31827,31833,31834,31835,31836,31837,31838,31841,31843,31847,31849,31853,31854,31856,31858,31865,31868,31869,31878,31879,31887,31892,31902,31904,31910,31920,31926,31927,31930,31931,31932,31935,31940,31943,31944,31945,31949,31951,31955,31956,31957,31959,31961,31962,31965,31974,31977,31979,31989,32003,32007,32008,32009,32015,32017,32018,32019,32022,32029,32030,32035,32038,32042,32045,32049,32060,32061,32062,32064,32065,32071,32072,32077,32081,32083,32087,32089,32090,32092,32093,32101,32103,32106,32112,32120,32122,32123,32127,32129,32130,32131,32133,32134,32136,32139,32140,32141,32145,32150,32151,32157,32158,32166,32167,32170,32179,32182,32183,32185,32194,32195,32196,32197,32198,32204,32205,32206,32215,32217,32256,32226,32229,32230,32234,32235,32237,32241,32245,32246,32249,32250,32264,32272,32273,32277,32279,32284,32285,32288,32295,32296,32300,32301,32303,32307,32310,32319,32324,32325,32327,32334,32336,32338,32344,32351,32353,32354,32357,32363,32366,32367,32371,32376,32382,32385,32390,32391,32394,32397,32401,32405,32408,32410,32413,32414,32572,32571,32573,32574,32575,32579,32580,32583,32591,32594,32595,32603,32604,32605,32609,32611,32612,32613,32614,32621,32625,32637,32638,32639,32640,32651,32653,32655,32656,32657,32662,32663,32668,32673,32674,32678,32682,32685,32692,32700,32703,32704,32707,32712,32718,32719,32731,32735,32739,32741,32744,32748,32750,32751,32754,32762,32765,32766,32767,32775,32776,32778,32781,32782,32783,32785,32787,32788,32790,32797,32798,32799,32800,32804,32806,32812,32814,32816,32820,32821,32823,32825,32826,32828,32830,32832,32836,32864,32868,32870,32877,32881,32885,32897,32904,32910,32924,32926,32934,32935,32939,32952,32953,32968,32973,32975,32978,32980,32981,32983,32984,32992,33005,33006,33008,33010,33011,33014,33017,33018,33022,33027,33035,33046,33047,33048,33052,33054,33056,33060,33063,33068,33072,33077,33082,33084,33093,33095,33098,33100,33106,33111,33120,33121,33127,33128,33129,33133,33135,33143,33153,33168,33156,33157,33158,33163,33166,33174,33176,33179,33182,33186,33198,33202,33204,33211,33227,33219,33221,33226,33230,33231,33237,33239,33243,33245,33246,33249,33252,33259,33260,33264,33265,33266,33269,33270,33272,33273,33277,33279,33280,33283,33295,33299,33300,33305,33306,33309,33313,33314,33320,33330,33332,33338,33347,33348,33349,33350,33355,33358,33359,33361,33366,33372,33376,33379,33383,33389,33396,33403,33405,33407,33408,33409,33411,33412,33415,33417,33418,33422,33425,33428,33430,33432,33434,33435,33440,33441,33443,33444,33447,33448,33449,33450,33454,33456,33458,33460,33463,33466,33468,33470,33471,33478,33488,33493,33498,33504,33506,33508,33512,33514,33517,33519,33526,33527,33533,33534,33536,33537,33543,33544,33546,33547,33620,33563,33565,33566,33567,33569,33570,33580,33581,33582,33584,33587,33591,33594,33596,33597,33602,33603,33604,33607,33613,33614,33617,33621,33622,33623,33648,33656,33661,33663,33664,33666,33668,33670,33677,33682,33684,33685,33688,33689,33691,33692,33693,33702,33703,33705,33708,33726,33727,33728,33735,33737,33743,33744,33745,33748,33757,33619,33768,33770,33782,33784,33785,33788,33793,33798,33802,33807,33809,33813,33817,33709,33839,33849,33861,33863,33864,33866,33869,33871,33873,33874,33878,33880,33881,33882,33884,33888,33892,33893,33895,33898,33904,33907,33908,33910,33912,33916,33917,33921,33925,33938,33939,33941,33950,33958,33960,33961,33962,33967,33969,33972,33978,33981,33982,33984,33986,33991,33992,33996,33999,34003,34012,34023,34026,34031,34032,34033,34034,34039,34098,34042,34043,34045,34050,34051,34055,34060,34062,34064,34076,34078,34082,34083,34084,34085,34087,34090,34091,34095,34099,34100,34102,34111,34118,34127,34128,34129,34130,34131,34134,34137,34140,34141,34142,34143,34144,34145,34146,34148,34155,34159,34169,34170,34171,34173,34175,34177,34181,34182,34185,34187,34188,34191,34195,34200,34205,34207,34208,34210,34213,34215,34228,34230,34231,34232,34236,34237,34238,34239,34242,34247,34250,34251,34254,34221,34264,34266,34271,34272,34278,34280,34285,34291,34294,34300,34303,34304,34308,34309,34317,34318,34320,34321,34322,34328,34329,34331,34334,34337,34343,34345,34358,34360,34362,34364,34365,34368,34370,34374,34386,34387,34390,34391,34392,34393,34397,34400,34401,34402,34403,34404,34409,34412,34415,34421,34422,34423,34426,34445,34449,34454,34456,34458,34460,34465,34470,34471,34472,34477,34481,34483,34484,34485,34487,34488,34489,34495,34496,34497,34499,34501,34513,34514,34517,34519,34522,34524,34528,34531,34533,34535,34440,34554,34556,34557,34564,34565,34567,34571,34574,34575,34576,34579,34580,34585,34590,34591,34593,34595,34600,34606,34607,34609,34610,34617,34618,34620,34621,34622,34624,34627,34629,34637,34648,34653,34657,34660,34661,34671,34673,34674,34683,34691,34692,34693,34694,34695,34696,34697,34699,34700,34704,34707,34709,34711,34712,34713,34718,34720,34723,34727,34732,34733,34734,34737,34741,34750,34751,34753,34760,34761,34762,34766,34773,34774,34777,34778,34780,34783,34786,34787,34788,34794,34795,34797,34801,34803,34808,34810,34815,34817,34819,34822,34825,34826,34827,34832,34841,34834,34835,34836,34840,34842,34843,34844,34846,34847,34856,34861,34862,34864,34866,34869,34874,34876,34881,34883,34885,34888,34889,34890,34891,34894,34897,34901,34902,34904,34906,34908,34911,34912,34916,34921,34929,34937,34939,34944,34968,34970,34971,34972,34975,34976,34984,34986,35002,35005,35006,35008,35018,35019,35020,35021,35022,35025,35026,35027,35035,35038,35047,35055,35056,35057,35061,35063,35073,35078,35085,35086,35087,35093,35094,35096,35097,35098,35100,35104,35110,35111,35112,35120,35121,35122,35125,35129,35130,35134,35136,35138,35141,35142,35145,35151,35154,35159,35162,35163,35164,35169,35170,35171,35179,35182,35184,35187,35189,35194,35195,35196,35197,35209,35213,35216,35220,35221,35227,35228,35231,35232,35237,35248,35252,35253,35254,35255,35260,35284,35285,35286,35287,35288,35301,35305,35307,35309,35313,35315,35318,35321,35325,35327,35332,35333,35335,35343,35345,35346,35348,35349,35358,35360,35362,35364,35366,35371,35372,35375,35381,35383,35389,35390,35392,35395,35397,35399,35401,35405,35406,35411,35414,35415,35416,35420,35421,35425,35429,35431,35445,35446,35447,35449,35450,35451,35454,35455,35456,35459,35462,35467,35471,35472,35474,35478,35479,35481,35487,35495,35497,35502,35503,35507,35510,35511,35515,35518,35523,35526,35528,35529,35530,35537,35539,35540,35541,35543,35549,35551,35564,35568,35572,35573,35574,35580,35583,35589,35590,35595,35601,35612,35614,35615,35594,35629,35632,35639,35644,35650,35651,35652,35653,35654,35656,35666,35667,35668,35673,35661,35678,35683,35693,35702,35704,35705,35708,35710,35713,35716,35717,35723,35725,35727,35732,35733,35740,35742,35743,35896,35897,35901,35902,35909,35911,35913,35915,35919,35921,35923,35924,35927,35928,35931,35933,35929,35939,35940,35942,35944,35945,35949,35955,35957,35958,35963,35966,35974,35975,35979,35984,35986,35987,35993,35995,35996,36004,36025,36026,36037,36038,36041,36043,36047,36054,36053,36057,36061,36065,36072,36076,36079,36080,36082,36085,36087,36088,36094,36095,36097,36099,36105,36114,36119,36123,36197,36201,36204,36206,36223,36226,36228,36232,36237,36240,36241,36245,36254,36255,36256,36262,36267,36268,36271,36274,36277,36279,36281,36283,36288,36293,36294,36295,36296,36298,36302,36305,36308,36309,36311,36313,36324,36325,36327,36332,36336,36284,36337,36338,36340,36349,36353,36356,36357,36358,36363,36369,36372,36374,36384,36385,36386,36387,36390,36391,36401,36403,36406,36407,36408,36409,36413,36416,36417,36427,36429,36430,36431,36436,36443,36444,36445,36446,36449,36450,36457,36460,36461,36463,36464,36465,36473,36474,36475,36482,36483,36489,36496,36498,36501,36506,36507,36509,36510,36514,36519,36521,36525,36526,36531,36533,36538,36539,36544,36545,36547,36548,36551,36559,36561,36564,36572,36584,36590,36592,36593,36599,36601,36602,36589,36608,36610,36615,36616,36623,36624,36630,36631,36632,36638,36640,36641,36643,36645,36647,36648,36652,36653,36654,36660,36661,36662,36663,36666,36672,36673,36675,36679,36687,36689,36690,36691,36692,36693,36696,36701,36702,36709,36765,36768,36769,36772,36773,36774,36789,36790,36792,36798,36800,36801,36806,36810,36811,36813,36816,36818,36819,36821,36832,36835,36836,36840,36846,36849,36853,36854,36859,36862,36866,36868,36872,36876,36888,36891,36904,36905,36911,36906,36908,36909,36915,36916,36919,36927,36931,36932,36940,36955,36957,36962,36966,36967,36972,36976,36980,36985,36997,37000,37003,37004,37006,37008,37013,37015,37016,37017,37019,37024,37025,37026,37029,37040,37042,37043,37044,37046,37053,37068,37054,37059,37060,37061,37063,37064,37077,37079,37080,37081,37084,37085,37087,37093,37074,37110,37099,37103,37104,37108,37118,37119,37120,37124,37125,37126,37128,37133,37136,37140,37142,37143,37144,37146,37148,37150,37152,37157,37154,37155,37159,37161,37166,37167,37169,37172,37174,37175,37177,37178,37180,37181,37187,37191,37192,37199,37203,37207,37209,37210,37211,37217,37220,37223,37229,37236,37241,37242,37243,37249,37251,37253,37254,37258,37262,37265,37267,37268,37269,37272,37278,37281,37286,37288,37292,37293,37294,37296,37297,37298,37299,37302,37307,37308,37309,37311,37314,37315,37317,37331,37332,37335,37337,37338,37342,37348,37349,37353,37354,37356,37357,37358,37359,37360,37361,37367,37369,37371,37373,37376,37377,37380,37381,37382,37383,37385,37386,37388,37392,37394,37395,37398,37400,37404,37405,37411,37412,37413,37414,37416,37422,37423,37424,37427,37429,37430,37432,37433,37434,37436,37438,37440,37442,37443,37446,37447,37450,37453,37454,37455,37457,37464,37465,37468,37469,37472,37473,37477,37479,37480,37481,37486,37487,37488,37493,37494,37495,37496,37497,37499,37500,37501,37503,37512,37513,37514,37517,37518,37522,37527,37529,37535,37536,37540,37541,37543,37544,37547,37551,37554,37558,37560,37562,37563,37564,37565,37567,37568,37569,37570,37571,37573,37574,37575,37576,37579,37580,37581,37582,37584,37587,37589,37591,37592,37593,37596,37597,37599,37600,37601,37603,37605,37607,37608,37612,37614,37616,37625,37627,37631,37632,37634,37640,37645,37649,37652,37653,37660,37661,37662,37663,37665,37668,37669,37671,37673,37674,37683,37684,37686,37687,37703,37704,37705,37712,37713,37714,37717,37719,37720,37722,37726,37732,37733,37735,37737,37738,37741,37743,37744,37745,37747,37748,37750,37754,37757,37759,37760,37761,37762,37768,37770,37771,37773,37775,37778,37781,37784,37787,37790,37793,37795,37796,37798,37800,37803,37812,37813,37814,37818,37801,37825,37828,37829,37830,37831,37833,37834,37835,37836,37837,37843,37849,37852,37854,37855,37858,37862,37863,37881,37879,37880,37882,37883,37885,37889,37890,37892,37896,37897,37901,37902,37903,37909,37910,37911,37919,37934,37935,37937,37938,37939,37940,37947,37951,37949,37955,37957,37960,37962,37964,37973,37977,37980,37983,37985,37987,37992,37995,37997,37998,37999,38001,38002,38020,38019,38264,38265,38270,38276,38280,38284,38285,38286,38301,38302,38303,38305,38310,38313,38315,38316,38324,38326,38330,38333,38335,38342,38344,38345,38347,38352,38353,38354,38355,38361,38362,38365,38366,38367,38368,38372,38374,38429,38430,38434,38436,38437,38438,38444,38449,38451,38455,38456,38457,38458,38460,38461,38465,38482,38484,38486,38487,38488,38497,38510,38516,38523,38524,38526,38527,38529,38530,38531,38532,38537,38545,38550,38554,38557,38559,38564,38565,38566,38569,38574,38575,38579,38586,38602,38610,23986,38616,38618,38621,38622,38623,38633,38639,38641,38650,38658,38659,38661,38665,38682,38683,38685,38689,38690,38691,38696,38705,38707,38721,38723,38730,38734,38735,38741,38743,38744,38746,38747,38755,38759,38762,38766,38771,38774,38775,38776,38779,38781,38783,38784,38793,38805,38806,38807,38809,38810,38814,38815,38818,38828,38830,38833,38834,38837,38838,38840,38841,38842,38844,38846,38847,38849,38852,38853,38855,38857,38858,38860,38861,38862,38864,38865,38868,38871,38872,38873,38877,38878,38880,38875,38881,38884,38895,38897,38900,38903,38904,38906,38919,38922,38937,38925,38926,38932,38934,38940,38942,38944,38947,38950,38955,38958,38959,38960,38962,38963,38965,38949,38974,38980,38983,38986,38993,38994,38995,38998,38999,39001,39002,39010,39011,39013,39014,39018,39020,39083,39085,39086,39088,39092,39095,39096,39098,39099,39103,39106,39109,39112,39116,39137,39139,39141,39142,39143,39146,39155,39158,39170,39175,39176,39185,39189,39190,39191,39194,39195,39196,39199,39202,39206,39207,39211,39217,39218,39219,39220,39221,39225,39226,39227,39228,39232,39233,39238,39239,39240,39245,39246,39252,39256,39257,39259,39260,39262,39263,39264,39323,39325,39327,39334,39344,39345,39346,39349,39353,39354,39357,39359,39363,39369,39379,39380,39385,39386,39388,39390,39399,39402,39403,39404,39408,39412,39413,39417,39421,39422,39426,39427,39428,39435,39436,39440,39441,39446,39454,39456,39458,39459,39460,39463,39469,39470,39475,39477,39478,39480,39495,39489,39492,39498,39499,39500,39502,39505,39508,39510,39517,39594,39596,39598,39599,39602,39604,39605,39606,39609,39611,39614,39615,39617,39619,39622,39624,39630,39632,39634,39637,39638,39639,39643,39644,39648,39652,39653,39655,39657,39660,39666,39667,39669,39673,39674,39677,39679,39680,39681,39682,39683,39684,39685,39688,39689,39691,39692,39693,39694,39696,39698,39702,39705,39707,39708,39712,39718,39723,39725,39731,39732,39733,39735,39737,39738,39741,39752,39755,39756,39765,39766,39767,39771,39774,39777,39779,39781,39782,39784,39786,39787,39788,39789,39790,39795,39797,39799,39800,39801,39807,39808,39812,39813,39814,39815,39817,39818,39819,39821,39823,39824,39828,39834,39837,39838,39846,39847,39849,39852,39856,39857,39858,39863,39864,39867,39868,39870,39871,39873,39879,39880,39886,39888,39895,39896,39901,39903,39909,39911,39914,39915,39919,39923,39927,39928,39929,39930,39933,39935,39936,39938,39947,39951,39953,39958,39960,39961,39962,39964,39966,39970,39971,39974,39975,39976,39977,39978,39985,39989,39990,39991,39997,40001,40003,40004,40005,40009,40010,40014,40015,40016,40019,40020,40022,40024,40027,40029,40030,40031,40035,40041,40042,40028,40043,40040,40046,40048,40050,40053,40055,40059,40166,40178,40183,40185,40203,40194,40209,40215,40216,40220,40221,40222,40239,40240,40242,40243,40244,40250,40252,40261,40253,40258,40259,40263,40266,40275,40276,40287,40291,40290,40293,40297,40298,40299,40304,40310,40311,40315,40316,40318,40323,40324,40326,40330,40333,40334,40338,40339,40341,40342,40343,40344,40353,40362,40364,40366,40369,40373,40377,40380,40383,40387,40391,40393,40394,40404,40405,40406,40407,40410,40414,40415,40416,40421,40423,40425,40427,40430,40432,40435,40436,40446,40458,40450,40455,40462,40464,40465,40466,40469,40470,40473,40476,40477,40570,40571,40572,40576,40578,40579,40580,40581,40583,40590,40591,40598,40600,40603,40606,40612,40616,40620,40622,40623,40624,40627,40628,40629,40646,40648,40651,40661,40671,40676,40679,40684,40685,40686,40688,40689,40690,40693,40696,40703,40706,40707,40713,40719,40720,40721,40722,40724,40726,40727,40729,40730,40731,40735,40738,40742,40746,40747,40751,40753,40754,40756,40759,40761,40762,40764,40765,40767,40769,40771,40772,40773,40774,40775,40787,40789,40790,40791,40792,40794,40797,40798,40808,40809,40813,40814,40815,40816,40817,40819,40821,40826,40829,40847,40848,40849,40850,40852,40854,40855,40862,40865,40866,40867,40869,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],
- "ibm864":[176,183,8729,8730,9618,9472,9474,9532,9508,9516,9500,9524,9488,9484,9492,9496,946,8734,966,177,189,188,8776,171,187,65271,65272,155,156,65275,65276,159,160,173,65154,163,164,65156,null,null,65166,65167,65173,65177,1548,65181,65185,65189,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,65233,1563,65201,65205,65209,1567,162,65152,65153,65155,65157,65226,65163,65165,65169,65171,65175,65179,65183,65187,65191,65193,65195,65197,65199,65203,65207,65211,65215,65217,65221,65227,65231,166,172,247,215,65225,1600,65235,65239,65243,65247,65251,65255,65259,65261,65263,65267,65213,65228,65230,65229,65249,65149,1617,65253,65257,65260,65264,65266,65232,65237,65269,65270,65245,65241,65265,9632,null],
- "ibm866":[1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,9484,9608,9604,9612,9616,9600,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1025,1105,1028,1108,1031,1111,1038,1118,176,8729,183,8730,8470,164,9632,160],
- "iso-8859-2":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,728,321,164,317,346,167,168,352,350,356,377,173,381,379,176,261,731,322,180,318,347,711,184,353,351,357,378,733,382,380,340,193,194,258,196,313,262,199,268,201,280,203,282,205,206,270,272,323,327,211,212,336,214,215,344,366,218,368,220,221,354,223,341,225,226,259,228,314,263,231,269,233,281,235,283,237,238,271,273,324,328,243,244,337,246,247,345,367,250,369,252,253,355,729],
- "iso-8859-3":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,294,728,163,164,null,292,167,168,304,350,286,308,173,null,379,176,295,178,179,180,181,293,183,184,305,351,287,309,189,null,380,192,193,194,null,196,266,264,199,200,201,202,203,204,205,206,207,null,209,210,211,212,288,214,215,284,217,218,219,220,364,348,223,224,225,226,null,228,267,265,231,232,233,234,235,236,237,238,239,null,241,242,243,244,289,246,247,285,249,250,251,252,365,349,729],
- "iso-8859-4":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,312,342,164,296,315,167,168,352,274,290,358,173,381,175,176,261,731,343,180,297,316,711,184,353,275,291,359,330,382,331,256,193,194,195,196,197,198,302,268,201,280,203,278,205,206,298,272,325,332,310,212,213,214,215,216,370,218,219,220,360,362,223,257,225,226,227,228,229,230,303,269,233,281,235,279,237,238,299,273,326,333,311,244,245,246,247,248,371,250,251,252,361,363,729],
- "iso-8859-5":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,173,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,8470,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,167,1118,1119],
- "iso-8859-6":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,null,null,null,164,null,null,null,null,null,null,null,1548,173,null,null,null,null,null,null,null,null,null,null,null,null,null,1563,null,null,null,1567,null,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,null,null,null,null,null,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,null,null,null,null,null,null,null,null,null,null,null,null,null],
- "iso-8859-7":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,8216,8217,163,8364,8367,166,167,168,169,890,171,172,173,null,8213,176,177,178,179,900,901,902,183,904,905,906,187,908,189,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,null,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,null],
- "iso-8859-8":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,null,162,163,164,165,166,167,168,169,215,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,247,187,188,189,190,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,8215,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,null,null,8206,8207,null],
- "iso-8859-10":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,274,290,298,296,310,167,315,272,352,358,381,173,362,330,176,261,275,291,299,297,311,183,316,273,353,359,382,8213,363,331,256,193,194,195,196,197,198,302,268,201,280,203,278,205,206,207,208,325,332,211,212,213,214,360,216,370,218,219,220,221,222,223,257,225,226,227,228,229,230,303,269,233,281,235,279,237,238,239,240,326,333,243,244,245,246,361,248,371,250,251,252,253,254,312],
- "iso-8859-13":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,8221,162,163,164,8222,166,167,216,169,342,171,172,173,174,198,176,177,178,179,8220,181,182,183,248,185,343,187,188,189,190,230,260,302,256,262,196,197,280,274,268,201,377,278,290,310,298,315,352,323,325,211,332,213,214,215,370,321,346,362,220,379,381,223,261,303,257,263,228,229,281,275,269,233,378,279,291,311,299,316,353,324,326,243,333,245,246,247,371,322,347,363,252,380,382,8217],
- "iso-8859-14":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,7682,7683,163,266,267,7690,167,7808,169,7810,7691,7922,173,174,376,7710,7711,288,289,7744,7745,182,7766,7809,7767,7811,7776,7923,7812,7813,7777,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,372,209,210,211,212,213,214,7786,216,217,218,219,220,221,374,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,373,241,242,243,244,245,246,7787,248,249,250,251,252,253,375,255],
- "iso-8859-15":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,8364,165,352,167,353,169,170,171,172,173,174,175,176,177,178,179,381,181,182,183,382,185,186,187,338,339,376,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],
- "iso-8859-16":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,261,321,8364,8222,352,167,353,169,536,171,377,173,378,379,176,177,268,322,381,8221,182,183,382,269,537,187,338,339,376,380,192,193,194,258,196,262,198,199,200,201,202,203,204,205,206,207,272,323,210,211,212,336,214,346,368,217,218,219,220,280,538,223,224,225,226,259,228,263,230,231,232,233,234,235,236,237,238,239,273,324,242,243,244,337,246,347,369,249,250,251,252,281,539,255],
- "koi8-r":[9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9600,9604,9608,9612,9616,9617,9618,9619,8992,9632,8729,8730,8776,8804,8805,160,8993,176,178,183,247,9552,9553,9554,1105,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,1025,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,169,1102,1072,1073,1094,1076,1077,1092,1075,1093,1080,1081,1082,1083,1084,1085,1086,1087,1103,1088,1089,1090,1091,1078,1074,1100,1099,1079,1096,1101,1097,1095,1098,1070,1040,1041,1062,1044,1045,1060,1043,1061,1048,1049,1050,1051,1052,1053,1054,1055,1071,1056,1057,1058,1059,1046,1042,1068,1067,1047,1064,1069,1065,1063,1066],
- "koi8-u":[9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9600,9604,9608,9612,9616,9617,9618,9619,8992,9632,8729,8730,8776,8804,8805,160,8993,176,178,183,247,9552,9553,9554,1105,1108,9556,1110,1111,9559,9560,9561,9562,9563,1169,9565,9566,9567,9568,9569,1025,1028,9571,1030,1031,9574,9575,9576,9577,9578,1168,9580,169,1102,1072,1073,1094,1076,1077,1092,1075,1093,1080,1081,1082,1083,1084,1085,1086,1087,1103,1088,1089,1090,1091,1078,1074,1100,1099,1079,1096,1101,1097,1095,1098,1070,1040,1041,1062,1044,1045,1060,1043,1061,1048,1049,1050,1051,1052,1053,1054,1055,1071,1056,1057,1058,1059,1046,1042,1068,1067,1047,1064,1069,1065,1063,1066],
- "macintosh":[196,197,199,201,209,214,220,225,224,226,228,227,229,231,233,232,234,235,237,236,238,239,241,243,242,244,246,245,250,249,251,252,8224,176,162,163,167,8226,182,223,174,169,8482,180,168,8800,198,216,8734,177,8804,8805,165,181,8706,8721,8719,960,8747,170,186,937,230,248,191,161,172,8730,402,8776,8710,171,187,8230,160,192,195,213,338,339,8211,8212,8220,8221,8216,8217,247,9674,255,376,8260,8364,8249,8250,64257,64258,8225,183,8218,8222,8240,194,202,193,203,200,205,206,207,204,211,212,63743,210,218,219,217,305,710,732,175,728,729,730,184,733,731,711],
- "windows-874":[8364,129,130,131,132,8230,134,135,136,137,138,139,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,152,153,154,155,156,157,158,159,160,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,3630,3631,3632,3633,3634,3635,3636,3637,3638,3639,3640,3641,3642,null,null,null,null,3647,3648,3649,3650,3651,3652,3653,3654,3655,3656,3657,3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3674,3675,null,null,null,null],
- "windows-1250":[8364,129,8218,131,8222,8230,8224,8225,136,8240,352,8249,346,356,381,377,144,8216,8217,8220,8221,8226,8211,8212,152,8482,353,8250,347,357,382,378,160,711,728,321,164,260,166,167,168,169,350,171,172,173,174,379,176,177,731,322,180,181,182,183,184,261,351,187,317,733,318,380,340,193,194,258,196,313,262,199,268,201,280,203,282,205,206,270,272,323,327,211,212,336,214,215,344,366,218,368,220,221,354,223,341,225,226,259,228,314,263,231,269,233,281,235,283,237,238,271,273,324,328,243,244,337,246,247,345,367,250,369,252,253,355,729],
- "windows-1251":[1026,1027,8218,1107,8222,8230,8224,8225,8364,8240,1033,8249,1034,1036,1035,1039,1106,8216,8217,8220,8221,8226,8211,8212,152,8482,1113,8250,1114,1116,1115,1119,160,1038,1118,1032,164,1168,166,167,1025,169,1028,171,172,173,174,1031,176,177,1030,1110,1169,181,182,183,1105,8470,1108,187,1112,1029,1109,1111,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103],
- "windows-1252":[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],
- "windows-1253":[8364,129,8218,402,8222,8230,8224,8225,136,8240,138,8249,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,152,8482,154,8250,156,157,158,159,160,901,902,163,164,165,166,167,168,169,null,171,172,173,174,8213,176,177,178,179,900,181,182,183,904,905,906,187,908,189,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,null,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,null],
- "windows-1254":[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,158,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,286,209,210,211,212,213,214,215,216,217,218,219,220,304,350,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,287,241,242,243,244,245,246,247,248,249,250,251,252,305,351,255],
- "windows-1255":[8364,129,8218,402,8222,8230,8224,8225,710,8240,138,8249,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,154,8250,156,157,158,159,160,161,162,163,8362,165,166,167,168,169,215,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,247,187,188,189,190,191,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,null,1467,1468,1469,1470,1471,1472,1473,1474,1475,1520,1521,1522,1523,1524,null,null,null,null,null,null,null,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,null,null,8206,8207,null],
- "windows-1256":[8364,1662,8218,402,8222,8230,8224,8225,710,8240,1657,8249,338,1670,1688,1672,1711,8216,8217,8220,8221,8226,8211,8212,1705,8482,1681,8250,339,8204,8205,1722,160,1548,162,163,164,165,166,167,168,169,1726,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,1563,187,188,189,190,1567,1729,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,215,1591,1592,1593,1594,1600,1601,1602,1603,224,1604,226,1605,1606,1607,1608,231,232,233,234,235,1609,1610,238,239,1611,1612,1613,1614,244,1615,1616,247,1617,249,1618,251,252,8206,8207,1746],
- "windows-1257":[8364,129,8218,131,8222,8230,8224,8225,136,8240,138,8249,140,168,711,184,144,8216,8217,8220,8221,8226,8211,8212,152,8482,154,8250,156,175,731,159,160,null,162,163,164,null,166,167,216,169,342,171,172,173,174,198,176,177,178,179,180,181,182,183,248,185,343,187,188,189,190,230,260,302,256,262,196,197,280,274,268,201,377,278,290,310,298,315,352,323,325,211,332,213,214,215,370,321,346,362,220,379,381,223,261,303,257,263,228,229,281,275,269,233,378,279,291,311,299,316,353,324,326,243,333,245,246,247,371,322,347,363,252,380,382,729],
- "windows-1258":[8364,129,8218,402,8222,8230,8224,8225,710,8240,138,8249,338,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,154,8250,339,157,158,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,258,196,197,198,199,200,201,202,203,768,205,206,207,272,209,777,211,212,416,214,215,216,217,218,219,220,431,771,223,224,225,226,259,228,229,230,231,232,233,234,235,769,237,238,239,273,241,803,243,244,417,246,247,248,249,250,251,252,432,8363,255],
- "x-mac-cyrillic":[1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,8224,176,1168,163,167,8226,182,1030,174,169,8482,1026,1106,8800,1027,1107,8734,177,8804,8805,1110,181,1169,1032,1028,1108,1031,1111,1033,1113,1034,1114,1112,1029,172,8730,402,8776,8710,171,187,8230,160,1035,1115,1036,1116,1109,8211,8212,8220,8221,8216,8217,247,8222,1038,1118,1039,1119,8470,1025,1105,1103,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,8364]
-};
diff --git a/Server/node_modules/busboy/deps/encoding/encoding.js b/Server/node_modules/busboy/deps/encoding/encoding.js
deleted file mode 100644
index e3bc0a7..0000000
--- a/Server/node_modules/busboy/deps/encoding/encoding.js
+++ /dev/null
@@ -1,2391 +0,0 @@
-/*
- Modifications for better node.js integration:
- Copyright 2014 Brian White. All rights reserved.
-
- 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.
-*/
-/*
- Original source code:
- Copyright 2014 Joshua Bell
-
- 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.
-*/
-
-//
-// Utilities
-//
-
-/**
- * @param {number} a The number to test.
- * @param {number} min The minimum value in the range, inclusive.
- * @param {number} max The maximum value in the range, inclusive.
- * @return {boolean} True if a >= min and a <= max.
- */
-function inRange(a, min, max) {
- return min <= a && a <= max;
-}
-
-/**
- * @param {number} n The numerator.
- * @param {number} d The denominator.
- * @return {number} The result of the integer division of n by d.
- */
-function div(n, d) {
- return Math.floor(n / d);
-}
-
-
-//
-// Implementation of Encoding specification
-// http://dvcs.w3.org/hg/encoding/raw-file/tip/Overview.html
-//
-
-//
-// 3. Terminology
-//
-
-//
-// 4. Encodings
-//
-
-/** @const */ var EOF_byte = -1;
-/** @const */ var EOF_code_point = -1;
-
-/**
- * @constructor
- * @param {Buffer} bytes Array of bytes that provide the stream.
- */
-function ByteInputStream(bytes) {
- /** @type {number} */
- var pos = 0;
-
- /**
- * @this {ByteInputStream}
- * @return {number} Get the next byte from the stream.
- */
- this.get = function() {
- return (pos >= bytes.length) ? EOF_byte : Number(bytes[pos]);
- };
-
- /** @param {number} n Number (positive or negative) by which to
- * offset the byte pointer. */
- this.offset = function(n) {
- pos += n;
- if (pos < 0) {
- throw new Error('Seeking past start of the buffer');
- }
- if (pos > bytes.length) {
- throw new Error('Seeking past EOF');
- }
- };
-
- /**
- * @param {Array.<number>} test Array of bytes to compare against.
- * @return {boolean} True if the start of the stream matches the test
- * bytes.
- */
- this.match = function(test) {
- if (test.length > pos + bytes.length) {
- return false;
- }
- var i;
- for (i = 0; i < test.length; i += 1) {
- if (Number(bytes[pos + i]) !== test[i]) {
- return false;
- }
- }
- return true;
- };
-}
-
-/**
- * @constructor
- * @param {Array.<number>} bytes The array to write bytes into.
- */
-function ByteOutputStream(bytes) {
- /** @type {number} */
- var pos = 0;
-
- /**
- * @param {...number} var_args The byte or bytes to emit into the stream.
- * @return {number} The last byte emitted.
- */
- this.emit = function(var_args) {
- /** @type {number} */
- var last = EOF_byte;
- var i;
- for (i = 0; i < arguments.length; ++i) {
- last = Number(arguments[i]);
- bytes[pos++] = last;
- }
- return last;
- };
-}
-
-/**
- * @constructor
- * @param {string} string The source of code units for the stream.
- */
-function CodePointInputStream(string) {
- /**
- * @param {string} string Input string of UTF-16 code units.
- * @return {Array.<number>} Code points.
- */
- function stringToCodePoints(string) {
- /** @type {Array.<number>} */
- var cps = [];
- // Based on http://www.w3.org/TR/WebIDL/#idl-DOMString
- var i = 0, n = string.length;
- while (i < string.length) {
- var c = string.charCodeAt(i);
- if (!inRange(c, 0xD800, 0xDFFF)) {
- cps.push(c);
- } else if (inRange(c, 0xDC00, 0xDFFF)) {
- cps.push(0xFFFD);
- } else { // (inRange(cu, 0xD800, 0xDBFF))
- if (i === n - 1) {
- cps.push(0xFFFD);
- } else {
- var d = string.charCodeAt(i + 1);
- if (inRange(d, 0xDC00, 0xDFFF)) {
- var a = c & 0x3FF;
- var b = d & 0x3FF;
- i += 1;
- cps.push(0x10000 + (a << 10) + b);
- } else {
- cps.push(0xFFFD);
- }
- }
- }
- i += 1;
- }
- return cps;
- }
-
- /** @type {number} */
- var pos = 0;
- /** @type {Array.<number>} */
- var cps = stringToCodePoints(string);
-
- /** @param {number} n The number of bytes (positive or negative)
- * to advance the code point pointer by.*/
- this.offset = function(n) {
- pos += n;
- if (pos < 0) {
- throw new Error('Seeking past start of the buffer');
- }
- if (pos > cps.length) {
- throw new Error('Seeking past EOF');
- }
- };
-
-
- /** @return {number} Get the next code point from the stream. */
- this.get = function() {
- if (pos >= cps.length) {
- return EOF_code_point;
- }
- return cps[pos];
- };
-}
-
-/**
- * @constructor
- */
-function CodePointOutputStream() {
- /** @type {string} */
- var string = '';
-
- /** @return {string} The accumulated string. */
- this.string = function() {
- return string;
- };
-
- /** @param {number} c The code point to encode into the stream. */
- this.emit = function(c) {
- if (c <= 0xFFFF) {
- string += String.fromCharCode(c);
- } else {
- c -= 0x10000;
- string += String.fromCharCode(0xD800 + ((c >> 10) & 0x3ff));
- string += String.fromCharCode(0xDC00 + (c & 0x3ff));
- }
- };
-}
-
-/**
- * @constructor
- * @param {string} message Description of the error.
- */
-function EncodingError(message) {
- this.name = 'EncodingError';
- this.message = message;
- this.code = 0;
-}
-EncodingError.prototype = Error.prototype;
-
-/**
- * @param {boolean} fatal If true, decoding errors raise an exception.
- * @param {number=} opt_code_point Override the standard fallback code point.
- * @return {number} The code point to insert on a decoding error.
- */
-function decoderError(fatal, opt_code_point) {
- if (fatal) {
- throw new EncodingError('Decoder error');
- }
- return opt_code_point || 0xFFFD;
-}
-
-/**
- * @param {number} code_point The code point that could not be encoded.
- * @return {number} Always throws, no value is actually returned.
- */
-function encoderError(code_point) {
- throw new EncodingError('The code point ' + code_point +
- ' could not be encoded.');
-}
-
-/**
- * @param {string} label The encoding label.
- * @return {?{name:string,labels:Array.<string>}}
- */
-function getEncoding(label) {
- label = String(label).trim().toLowerCase();
- if (Object.prototype.hasOwnProperty.call(label_to_encoding, label)) {
- return label_to_encoding[label];
- }
- return null;
-}
-
-/** @type {Array.<{encodings: Array.<{name:string,labels:Array.<string>}>,
- * heading: string}>} */
-var encodings = [
- {
- "encodings": [
- {
- "labels": [
- "unicode-1-1-utf-8",
- "utf-8",
- "utf8"
- ],
- "name": "utf-8"
- }
- ],
- "heading": "The Encoding"
- },
- {
- "encodings": [
- {
- "labels": [
- "864",
- "cp864",
- "csibm864",
- "ibm864"
- ],
- "name": "ibm864"
- },
- {
- "labels": [
- "866",
- "cp866",
- "csibm866",
- "ibm866"
- ],
- "name": "ibm866"
- },
- {
- "labels": [
- "csisolatin2",
- "iso-8859-2",
- "iso-ir-101",
- "iso8859-2",
- "iso88592",
- "iso_8859-2",
- "iso_8859-2:1987",
- "l2",
- "latin2"
- ],
- "name": "iso-8859-2"
- },
- {
- "labels": [
- "csisolatin3",
- "iso-8859-3",
- "iso-ir-109",
- "iso8859-3",
- "iso88593",
- "iso_8859-3",
- "iso_8859-3:1988",
- "l3",
- "latin3"
- ],
- "name": "iso-8859-3"
- },
- {
- "labels": [
- "csisolatin4",
- "iso-8859-4",
- "iso-ir-110",
- "iso8859-4",
- "iso88594",
- "iso_8859-4",
- "iso_8859-4:1988",
- "l4",
- "latin4"
- ],
- "name": "iso-8859-4"
- },
- {
- "labels": [
- "csisolatincyrillic",
- "cyrillic",
- "iso-8859-5",
- "iso-ir-144",
- "iso8859-5",
- "iso88595",
- "iso_8859-5",
- "iso_8859-5:1988"
- ],
- "name": "iso-8859-5"
- },
- {
- "labels": [
- "arabic",
- "asmo-708",
- "csiso88596e",
- "csiso88596i",
- "csisolatinarabic",
- "ecma-114",
- "iso-8859-6",
- "iso-8859-6-e",
- "iso-8859-6-i",
- "iso-ir-127",
- "iso8859-6",
- "iso88596",
- "iso_8859-6",
- "iso_8859-6:1987"
- ],
- "name": "iso-8859-6"
- },
- {
- "labels": [
- "csisolatingreek",
- "ecma-118",
- "elot_928",
- "greek",
- "greek8",
- "iso-8859-7",
- "iso-ir-126",
- "iso8859-7",
- "iso88597",
- "iso_8859-7",
- "iso_8859-7:1987",
- "sun_eu_greek"
- ],
- "name": "iso-8859-7"
- },
- {
- "labels": [
- "csiso88598e",
- "csisolatinhebrew",
- "hebrew",
- "iso-8859-8",
- "iso-8859-8-e",
- "iso-ir-138",
- "iso8859-8",
- "iso88598",
- "iso_8859-8",
- "iso_8859-8:1988",
- "visual"
- ],
- "name": "iso-8859-8"
- },
- {
- "labels": [
- "csiso88598i",
- "iso-8859-8-i",
- "logical"
- ],
- "name": "iso-8859-8-i"
- },
- {
- "labels": [
- "csisolatin6",
- "iso-8859-10",
- "iso-ir-157",
- "iso8859-10",
- "iso885910",
- "l6",
- "latin6"
- ],
- "name": "iso-8859-10"
- },
- {
- "labels": [
- "iso-8859-13",
- "iso8859-13",
- "iso885913"
- ],
- "name": "iso-8859-13"
- },
- {
- "labels": [
- "iso-8859-14",
- "iso8859-14",
- "iso885914"
- ],
- "name": "iso-8859-14"
- },
- {
- "labels": [
- "csisolatin9",
- "iso-8859-15",
- "iso8859-15",
- "iso885915",
- "iso_8859-15",
- "l9"
- ],
- "name": "iso-8859-15"
- },
- {
- "labels": [
- "iso-8859-16"
- ],
- "name": "iso-8859-16"
- },
- {
- "labels": [
- "cskoi8r",
- "koi",
- "koi8",
- "koi8-r",
- "koi8_r"
- ],
- "name": "koi8-r"
- },
- {
- "labels": [
- "koi8-u"
- ],
- "name": "koi8-u"
- },
- {
- "labels": [
- "csmacintosh",
- "mac",
- "macintosh",
- "x-mac-roman"
- ],
- "name": "macintosh"
- },
- {
- "labels": [
- "dos-874",
- "iso-8859-11",
- "iso8859-11",
- "iso885911",
- "tis-620",
- "windows-874"
- ],
- "name": "windows-874"
- },
- {
- "labels": [
- "cp1250",
- "windows-1250",
- "x-cp1250"
- ],
- "name": "windows-1250"
- },
- {
- "labels": [
- "cp1251",
- "windows-1251",
- "x-cp1251"
- ],
- "name": "windows-1251"
- },
- {
- "labels": [
- "ansi_x3.4-1968",
- "ascii",
- "cp1252",
- "cp819",
- "csisolatin1",
- "ibm819",
- "iso-8859-1",
- "iso-ir-100",
- "iso8859-1",
- "iso88591",
- "iso_8859-1",
- "iso_8859-1:1987",
- "l1",
- "latin1",
- "us-ascii",
- "windows-1252",
- "x-cp1252"
- ],
- "name": "windows-1252"
- },
- {
- "labels": [
- "cp1253",
- "windows-1253",
- "x-cp1253"
- ],
- "name": "windows-1253"
- },
- {
- "labels": [
- "cp1254",
- "csisolatin5",
- "iso-8859-9",
- "iso-ir-148",
- "iso8859-9",
- "iso88599",
- "iso_8859-9",
- "iso_8859-9:1989",
- "l5",
- "latin5",
- "windows-1254",
- "x-cp1254"
- ],
- "name": "windows-1254"
- },
- {
- "labels": [
- "cp1255",
- "windows-1255",
- "x-cp1255"
- ],
- "name": "windows-1255"
- },
- {
- "labels": [
- "cp1256",
- "windows-1256",
- "x-cp1256"
- ],
- "name": "windows-1256"
- },
- {
- "labels": [
- "cp1257",
- "windows-1257",
- "x-cp1257"
- ],
- "name": "windows-1257"
- },
- {
- "labels": [
- "cp1258",
- "windows-1258",
- "x-cp1258"
- ],
- "name": "windows-1258"
- },
- {
- "labels": [
- "x-mac-cyrillic",
- "x-mac-ukrainian"
- ],
- "name": "x-mac-cyrillic"
- }
- ],
- "heading": "Legacy single-byte encodings"
- },
- {
- "encodings": [
- {
- "labels": [
- "chinese",
- "csgb2312",
- "csiso58gb231280",
- "gb2312",
- "gb_2312",
- "gb_2312-80",
- "gbk",
- "iso-ir-58",
- "x-gbk"
- ],
- "name": "gbk"
- },
- {
- "labels": [
- "gb18030"
- ],
- "name": "gb18030"
- },
- {
- "labels": [
- "hz-gb-2312"
- ],
- "name": "hz-gb-2312"
- }
- ],
- "heading": "Legacy multi-byte Chinese (simplified) encodings"
- },
- {
- "encodings": [
- {
- "labels": [
- "big5",
- "big5-hkscs",
- "cn-big5",
- "csbig5",
- "x-x-big5"
- ],
- "name": "big5"
- }
- ],
- "heading": "Legacy multi-byte Chinese (traditional) encodings"
- },
- {
- "encodings": [
- {
- "labels": [
- "cseucpkdfmtjapanese",
- "euc-jp",
- "x-euc-jp"
- ],
- "name": "euc-jp"
- },
- {
- "labels": [
- "csiso2022jp",
- "iso-2022-jp"
- ],
- "name": "iso-2022-jp"
- },
- {
- "labels": [
- "csshiftjis",
- "ms_kanji",
- "shift-jis",
- "shift_jis",
- "sjis",
- "windows-31j",
- "x-sjis"
- ],
- "name": "shift_jis"
- }
- ],
- "heading": "Legacy multi-byte Japanese encodings"
- },
- {
- "encodings": [
- {
- "labels": [
- "cseuckr",
- "csksc56011987",
- "euc-kr",
- "iso-ir-149",
- "korean",
- "ks_c_5601-1987",
- "ks_c_5601-1989",
- "ksc5601",
- "ksc_5601",
- "windows-949"
- ],
- "name": "euc-kr"
- }
- ],
- "heading": "Legacy multi-byte Korean encodings"
- },
- {
- "encodings": [
- {
- "labels": [
- "csiso2022kr",
- "iso-2022-cn",
- "iso-2022-cn-ext",
- "iso-2022-kr"
- ],
- "name": "replacement"
- },
- {
- "labels": [
- "utf-16be"
- ],
- "name": "utf-16be"
- },
- {
- "labels": [
- "utf-16",
- "utf-16le"
- ],
- "name": "utf-16le"
- },
- {
- "labels": [
- "x-user-defined"
- ],
- "name": "x-user-defined"
- }
- ],
- "heading": "Legacy miscellaneous encodings"
- }
-];
-
-var name_to_encoding = {};
-var label_to_encoding = {};
-encodings.forEach(function(category) {
- category.encodings.forEach(function(encoding) {
- name_to_encoding[encoding.name] = encoding;
- encoding.labels.forEach(function(label) {
- label_to_encoding[label] = encoding;
- });
- });
-});
-
-//
-// 5. Indexes
-//
-
-/**
- * @param {number} pointer The |pointer| to search for.
- * @param {Array.<?number>|undefined} index The |index| to search within.
- * @return {?number} The code point corresponding to |pointer| in |index|,
- * or null if |code point| is not in |index|.
- */
-function indexCodePointFor(pointer, index) {
- if (!index) return null;
- return index[pointer] || null;
-}
-
-/**
- * @param {number} code_point The |code point| to search for.
- * @param {Array.<?number>} index The |index| to search within.
- * @return {?number} The first pointer corresponding to |code point| in
- * |index|, or null if |code point| is not in |index|.
- */
-function indexPointerFor(code_point, index) {
- var pointer = index.indexOf(code_point);
- return pointer === -1 ? null : pointer;
-}
-
-/** @type {Object.<string, (Array.<number>|Array.<Array.<number>>)>} */
-var indexes = require('./encoding-indexes');
-
-/**
- * @param {number} pointer The |pointer| to search for in the gb18030 index.
- * @return {?number} The code point corresponding to |pointer| in |index|,
- * or null if |code point| is not in the gb18030 index.
- */
-function indexGB18030CodePointFor(pointer) {
- if ((pointer > 39419 && pointer < 189000) || (pointer > 1237575)) {
- return null;
- }
- var /** @type {number} */ offset = 0,
- /** @type {number} */ code_point_offset = 0,
- /** @type {Array.<Array.<number>>} */ idx = indexes['gb18030'];
- var i;
- for (i = 0; i < idx.length; ++i) {
- var entry = idx[i];
- if (entry[0] <= pointer) {
- offset = entry[0];
- code_point_offset = entry[1];
- } else {
- break;
- }
- }
- return code_point_offset + pointer - offset;
-}
-
-/**
- * @param {number} code_point The |code point| to locate in the gb18030 index.
- * @return {number} The first pointer corresponding to |code point| in the
- * gb18030 index.
- */
-function indexGB18030PointerFor(code_point) {
- var /** @type {number} */ offset = 0,
- /** @type {number} */ pointer_offset = 0,
- /** @type {Array.<Array.<number>>} */ idx = indexes['gb18030'];
- var i;
- for (i = 0; i < idx.length; ++i) {
- var entry = idx[i];
- if (entry[1] <= code_point) {
- offset = entry[1];
- pointer_offset = entry[0];
- } else {
- break;
- }
- }
- return pointer_offset + code_point - offset;
-}
-
-
-//
-// 7. API
-//
-
-/** @const */ var DEFAULT_ENCODING = 'utf-8';
-
-// 7.1 Interface TextDecoder
-
-/**
- * @constructor
- * @param {string=} opt_encoding The label of the encoding;
- * defaults to 'utf-8'.
- * @param {{fatal: boolean}=} options
- */
-function TextDecoder(opt_encoding, options) {
- if (!(this instanceof TextDecoder)) {
- return new TextDecoder(opt_encoding, options);
- }
- opt_encoding = opt_encoding ? String(opt_encoding) : DEFAULT_ENCODING;
- options = Object(options);
- /** @private */
- this._encoding = getEncoding(opt_encoding);
- if (this._encoding === null || this._encoding.name === 'replacement')
- throw new TypeError('Unknown encoding: ' + opt_encoding);
-
- /** @private @type {boolean} */
- this._streaming = false;
- /** @private @type {boolean} */
- this._BOMseen = false;
- /** @private */
- this._decoder = null;
- /** @private @type {{fatal: boolean}=} */
- this._options = { fatal: Boolean(options.fatal) };
-
- if (Object.defineProperty) {
- Object.defineProperty(
- this, 'encoding',
- { get: function() { return this._encoding.name; } });
- } else {
- this.encoding = this._encoding.name;
- }
-
- return this;
-}
-
-// TODO: Issue if input byte stream is offset by decoder
-// TODO: BOM detection will not work if stream header spans multiple calls
-// (last N bytes of previous stream may need to be retained?)
-TextDecoder.prototype = {
- /**
- * @param {Buffer=} bytes The buffer of bytes to decode.
- * @param {{stream: boolean}=} options
- */
- decode: function decode(bytes, options) {
- options = Object(options);
-
- if (!this._streaming) {
- this._decoder = this._encoding.getDecoder(this._options);
- this._BOMseen = false;
- }
- this._streaming = Boolean(options.stream);
-
- var input_stream = new ByteInputStream(bytes);
-
- var output_stream = new CodePointOutputStream();
-
- /** @type {number} */
- var code_point;
-
- while (input_stream.get() !== EOF_byte) {
- code_point = this._decoder.decode(input_stream);
- if (code_point !== null && code_point !== EOF_code_point) {
- output_stream.emit(code_point);
- }
- }
- if (!this._streaming) {
- do {
- code_point = this._decoder.decode(input_stream);
- if (code_point !== null && code_point !== EOF_code_point) {
- output_stream.emit(code_point);
- }
- } while (code_point !== EOF_code_point &&
- input_stream.get() != EOF_byte);
- this._decoder = null;
- }
-
- var result = output_stream.string();
- if (!this._BOMseen && result.length) {
- this._BOMseen = true;
- if (UTFs.indexOf(this.encoding) !== -1 &&
- result.charCodeAt(0) === 0xFEFF) {
- result = result.substring(1);
- }
- }
-
- return result;
- }
-};
-
-var UTFs = ['utf-8', 'utf-16le', 'utf-16be'];
-
-// 7.2 Interface TextEncoder
-
-/**
- * @constructor
- * @param {string=} opt_encoding The label of the encoding;
- * defaults to 'utf-8'.
- * @param {{fatal: boolean}=} options
- */
-function TextEncoder(opt_encoding, options) {
- if (!(this instanceof TextEncoder)) {
- return new TextEncoder(opt_encoding, options);
- }
- opt_encoding = opt_encoding ? String(opt_encoding) : DEFAULT_ENCODING;
- options = Object(options);
- /** @private */
- this._encoding = getEncoding(opt_encoding);
- if (this._encoding === null || (this._encoding.name !== 'utf-8' &&
- this._encoding.name !== 'utf-16le' &&
- this._encoding.name !== 'utf-16be'))
- throw new TypeError('Unknown encoding: ' + opt_encoding);
- /** @private @type {boolean} */
- this._streaming = false;
- /** @private */
- this._encoder = null;
- /** @private @type {{fatal: boolean}=} */
- this._options = { fatal: Boolean(options.fatal) };
-
- if (Object.defineProperty) {
- Object.defineProperty(
- this, 'encoding',
- { get: function() { return this._encoding.name; } });
- } else {
- this.encoding = this._encoding.name;
- }
-
- return this;
-}
-
-TextEncoder.prototype = {
- /**
- * @param {string=} opt_string The string to encode.
- * @param {{stream: boolean}=} options
- */
- encode: function encode(opt_string, options) {
- opt_string = opt_string ? String(opt_string) : '';
- options = Object(options);
- // TODO: any options?
- if (!this._streaming) {
- this._encoder = this._encoding.getEncoder(this._options);
- }
- this._streaming = Boolean(options.stream);
-
- var bytes = [];
- var output_stream = new ByteOutputStream(bytes);
- var input_stream = new CodePointInputStream(opt_string);
- while (input_stream.get() !== EOF_code_point) {
- this._encoder.encode(output_stream, input_stream);
- }
- if (!this._streaming) {
- /** @type {number} */
- var last_byte;
- do {
- last_byte = this._encoder.encode(output_stream, input_stream);
- } while (last_byte !== EOF_byte);
- this._encoder = null;
- }
- return new Buffer(bytes);
- }
-};
-
-
-//
-// 8. The encoding
-//
-
-// 8.1 utf-8
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function UTF8Decoder(options) {
- var fatal = options.fatal;
- var /** @type {number} */ utf8_code_point = 0,
- /** @type {number} */ utf8_bytes_needed = 0,
- /** @type {number} */ utf8_bytes_seen = 0,
- /** @type {number} */ utf8_lower_boundary = 0;
-
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite === EOF_byte) {
- if (utf8_bytes_needed !== 0) {
- return decoderError(fatal);
- }
- return EOF_code_point;
- }
- byte_pointer.offset(1);
-
- if (utf8_bytes_needed === 0) {
- if (inRange(bite, 0x00, 0x7F)) {
- return bite;
- }
- if (inRange(bite, 0xC2, 0xDF)) {
- utf8_bytes_needed = 1;
- utf8_lower_boundary = 0x80;
- utf8_code_point = bite - 0xC0;
- } else if (inRange(bite, 0xE0, 0xEF)) {
- utf8_bytes_needed = 2;
- utf8_lower_boundary = 0x800;
- utf8_code_point = bite - 0xE0;
- } else if (inRange(bite, 0xF0, 0xF4)) {
- utf8_bytes_needed = 3;
- utf8_lower_boundary = 0x10000;
- utf8_code_point = bite - 0xF0;
- } else {
- return decoderError(fatal);
- }
- utf8_code_point = utf8_code_point * Math.pow(64, utf8_bytes_needed);
- return null;
- }
- if (!inRange(bite, 0x80, 0xBF)) {
- utf8_code_point = 0;
- utf8_bytes_needed = 0;
- utf8_bytes_seen = 0;
- utf8_lower_boundary = 0;
- byte_pointer.offset(-1);
- return decoderError(fatal);
- }
- utf8_bytes_seen += 1;
- utf8_code_point = utf8_code_point + (bite - 0x80) *
- Math.pow(64, utf8_bytes_needed - utf8_bytes_seen);
- if (utf8_bytes_seen !== utf8_bytes_needed) {
- return null;
- }
- var code_point = utf8_code_point;
- var lower_boundary = utf8_lower_boundary;
- utf8_code_point = 0;
- utf8_bytes_needed = 0;
- utf8_bytes_seen = 0;
- utf8_lower_boundary = 0;
- if (inRange(code_point, lower_boundary, 0x10FFFF) &&
- !inRange(code_point, 0xD800, 0xDFFF)) {
- return code_point;
- }
- return decoderError(fatal);
- };
-}
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function UTF8Encoder(options) {
- var fatal = options.fatal;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- /** @type {number} */
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0xD800, 0xDFFF)) {
- return encoderError(code_point);
- }
- if (inRange(code_point, 0x0000, 0x007f)) {
- return output_byte_stream.emit(code_point);
- }
- var count, offset;
- if (inRange(code_point, 0x0080, 0x07FF)) {
- count = 1;
- offset = 0xC0;
- } else if (inRange(code_point, 0x0800, 0xFFFF)) {
- count = 2;
- offset = 0xE0;
- } else if (inRange(code_point, 0x10000, 0x10FFFF)) {
- count = 3;
- offset = 0xF0;
- }
- var result = output_byte_stream.emit(
- div(code_point, Math.pow(64, count)) + offset);
- while (count > 0) {
- var temp = div(code_point, Math.pow(64, count - 1));
- result = output_byte_stream.emit(0x80 + (temp % 64));
- count -= 1;
- }
- return result;
- };
-}
-
-/** @param {{fatal: boolean}} options */
-name_to_encoding['utf-8'].getEncoder = function(options) {
- return new UTF8Encoder(options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['utf-8'].getDecoder = function(options) {
- return new UTF8Decoder(options);
-};
-
-//
-// 9. Legacy single-byte encodings
-//
-
-/**
- * @constructor
- * @param {Array.<number>} index The encoding index.
- * @param {{fatal: boolean}} options
- */
-function SingleByteDecoder(index, options) {
- var fatal = options.fatal;
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite === EOF_byte) {
- return EOF_code_point;
- }
- byte_pointer.offset(1);
- if (inRange(bite, 0x00, 0x7F)) {
- return bite;
- }
- var code_point = index[bite - 0x80];
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
- };
-}
-
-/**
- * @constructor
- * @param {Array.<?number>} index The encoding index.
- * @param {{fatal: boolean}} options
- */
-function SingleByteEncoder(index, options) {
- var fatal = options.fatal;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0x0000, 0x007F)) {
- return output_byte_stream.emit(code_point);
- }
- var pointer = indexPointerFor(code_point, index);
- if (pointer === null) {
- encoderError(code_point);
- }
- return output_byte_stream.emit(pointer + 0x80);
- };
-}
-
-(function() {
- encodings.forEach(function(category) {
- if (category.heading !== 'Legacy single-byte encodings')
- return;
- category.encodings.forEach(function(encoding) {
- var idx = indexes[encoding.name];
- /** @param {{fatal: boolean}} options */
- encoding.getDecoder = function(options) {
- return new SingleByteDecoder(idx, options);
- };
- /** @param {{fatal: boolean}} options */
- encoding.getEncoder = function(options) {
- return new SingleByteEncoder(idx, options);
- };
- });
- });
-}());
-
-//
-// 10. Legacy multi-byte Chinese (simplified) encodings
-//
-
-// 9.1 gbk
-
-/**
- * @constructor
- * @param {boolean} gb18030 True if decoding gb18030, false otherwise.
- * @param {{fatal: boolean}} options
- */
-function GBKDecoder(gb18030, options) {
- var fatal = options.fatal;
- var /** @type {number} */ gbk_first = 0x00,
- /** @type {number} */ gbk_second = 0x00,
- /** @type {number} */ gbk_third = 0x00;
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite === EOF_byte && gbk_first === 0x00 &&
- gbk_second === 0x00 && gbk_third === 0x00) {
- return EOF_code_point;
- }
- if (bite === EOF_byte &&
- (gbk_first !== 0x00 || gbk_second !== 0x00 || gbk_third !== 0x00)) {
- gbk_first = 0x00;
- gbk_second = 0x00;
- gbk_third = 0x00;
- decoderError(fatal);
- }
- byte_pointer.offset(1);
- var code_point;
- if (gbk_third !== 0x00) {
- code_point = null;
- if (inRange(bite, 0x30, 0x39)) {
- code_point = indexGB18030CodePointFor(
- (((gbk_first - 0x81) * 10 + (gbk_second - 0x30)) * 126 +
- (gbk_third - 0x81)) * 10 + bite - 0x30);
- }
- gbk_first = 0x00;
- gbk_second = 0x00;
- gbk_third = 0x00;
- if (code_point === null) {
- byte_pointer.offset(-3);
- return decoderError(fatal);
- }
- return code_point;
- }
- if (gbk_second !== 0x00) {
- if (inRange(bite, 0x81, 0xFE)) {
- gbk_third = bite;
- return null;
- }
- byte_pointer.offset(-2);
- gbk_first = 0x00;
- gbk_second = 0x00;
- return decoderError(fatal);
- }
- if (gbk_first !== 0x00) {
- if (inRange(bite, 0x30, 0x39) && gb18030) {
- gbk_second = bite;
- return null;
- }
- var lead = gbk_first;
- var pointer = null;
- gbk_first = 0x00;
- var offset = bite < 0x7F ? 0x40 : 0x41;
- if (inRange(bite, 0x40, 0x7E) || inRange(bite, 0x80, 0xFE)) {
- pointer = (lead - 0x81) * 190 + (bite - offset);
- }
- code_point = pointer === null ? null :
- indexCodePointFor(pointer, indexes['gbk']);
- if (pointer === null) {
- byte_pointer.offset(-1);
- }
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
- }
- if (inRange(bite, 0x00, 0x7F)) {
- return bite;
- }
- if (bite === 0x80) {
- return 0x20AC;
- }
- if (inRange(bite, 0x81, 0xFE)) {
- gbk_first = bite;
- return null;
- }
- return decoderError(fatal);
- };
-}
-
-/**
- * @constructor
- * @param {boolean} gb18030 True if decoding gb18030, false otherwise.
- * @param {{fatal: boolean}} options
- */
-function GBKEncoder(gb18030, options) {
- var fatal = options.fatal;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0x0000, 0x007F)) {
- return output_byte_stream.emit(code_point);
- }
- var pointer = indexPointerFor(code_point, indexes['gbk']);
- if (pointer !== null) {
- var lead = div(pointer, 190) + 0x81;
- var trail = pointer % 190;
- var offset = trail < 0x3F ? 0x40 : 0x41;
- return output_byte_stream.emit(lead, trail + offset);
- }
- if (pointer === null && !gb18030) {
- return encoderError(code_point);
- }
- pointer = indexGB18030PointerFor(code_point);
- var byte1 = div(div(div(pointer, 10), 126), 10);
- pointer = pointer - byte1 * 10 * 126 * 10;
- var byte2 = div(div(pointer, 10), 126);
- pointer = pointer - byte2 * 10 * 126;
- var byte3 = div(pointer, 10);
- var byte4 = pointer - byte3 * 10;
- return output_byte_stream.emit(byte1 + 0x81,
- byte2 + 0x30,
- byte3 + 0x81,
- byte4 + 0x30);
- };
-}
-
-name_to_encoding['gbk'].getEncoder = function(options) {
- return new GBKEncoder(false, options);
-};
-name_to_encoding['gbk'].getDecoder = function(options) {
- return new GBKDecoder(false, options);
-};
-
-// 9.2 gb18030
-name_to_encoding['gb18030'].getEncoder = function(options) {
- return new GBKEncoder(true, options);
-};
-name_to_encoding['gb18030'].getDecoder = function(options) {
- return new GBKDecoder(true, options);
-};
-
-// 10.2 hz-gb-2312
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function HZGB2312Decoder(options) {
- var fatal = options.fatal;
- var /** @type {boolean} */ hzgb2312 = false,
- /** @type {number} */ hzgb2312_lead = 0x00;
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite === EOF_byte && hzgb2312_lead === 0x00) {
- return EOF_code_point;
- }
- if (bite === EOF_byte && hzgb2312_lead !== 0x00) {
- hzgb2312_lead = 0x00;
- return decoderError(fatal);
- }
- byte_pointer.offset(1);
- if (hzgb2312_lead === 0x7E) {
- hzgb2312_lead = 0x00;
- if (bite === 0x7B) {
- hzgb2312 = true;
- return null;
- }
- if (bite === 0x7D) {
- hzgb2312 = false;
- return null;
- }
- if (bite === 0x7E) {
- return 0x007E;
- }
- if (bite === 0x0A) {
- return null;
- }
- byte_pointer.offset(-1);
- return decoderError(fatal);
- }
- if (hzgb2312_lead !== 0x00) {
- var lead = hzgb2312_lead;
- hzgb2312_lead = 0x00;
- var code_point = null;
- if (inRange(bite, 0x21, 0x7E)) {
- code_point = indexCodePointFor((lead - 1) * 190 +
- (bite + 0x3F), indexes['gbk']);
- }
- if (bite === 0x0A) {
- hzgb2312 = false;
- }
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
- }
- if (bite === 0x7E) {
- hzgb2312_lead = 0x7E;
- return null;
- }
- if (hzgb2312) {
- if (inRange(bite, 0x20, 0x7F)) {
- hzgb2312_lead = bite;
- return null;
- }
- if (bite === 0x0A) {
- hzgb2312 = false;
- }
- return decoderError(fatal);
- }
- if (inRange(bite, 0x00, 0x7F)) {
- return bite;
- }
- return decoderError(fatal);
- };
-}
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function HZGB2312Encoder(options) {
- var fatal = options.fatal;
- /** @type {boolean} */
- var hzgb2312 = false;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0x0000, 0x007F) && hzgb2312) {
- code_point_pointer.offset(-1);
- hzgb2312 = false;
- return output_byte_stream.emit(0x7E, 0x7D);
- }
- if (code_point === 0x007E) {
- return output_byte_stream.emit(0x7E, 0x7E);
- }
- if (inRange(code_point, 0x0000, 0x007F)) {
- return output_byte_stream.emit(code_point);
- }
- if (!hzgb2312) {
- code_point_pointer.offset(-1);
- hzgb2312 = true;
- return output_byte_stream.emit(0x7E, 0x7B);
- }
- var pointer = indexPointerFor(code_point, indexes['gbk']);
- if (pointer === null) {
- return encoderError(code_point);
- }
- var lead = div(pointer, 190) + 1;
- var trail = pointer % 190 - 0x3F;
- if (!inRange(lead, 0x21, 0x7E) || !inRange(trail, 0x21, 0x7E)) {
- return encoderError(code_point);
- }
- return output_byte_stream.emit(lead, trail);
- };
-}
-
-/** @param {{fatal: boolean}} options */
-name_to_encoding['hz-gb-2312'].getEncoder = function(options) {
- return new HZGB2312Encoder(options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['hz-gb-2312'].getDecoder = function(options) {
- return new HZGB2312Decoder(options);
-};
-
-//
-// 11. Legacy multi-byte Chinese (traditional) encodings
-//
-
-// 11.1 big5
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function Big5Decoder(options) {
- var fatal = options.fatal;
- var /** @type {number} */ big5_lead = 0x00,
- /** @type {?number} */ big5_pending = null;
-
- /**
- * @param {ByteInputStream} byte_pointer The byte steram to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- // NOTE: Hack to support emitting two code points
- if (big5_pending !== null) {
- var pending = big5_pending;
- big5_pending = null;
- return pending;
- }
- var bite = byte_pointer.get();
- if (bite === EOF_byte && big5_lead === 0x00) {
- return EOF_code_point;
- }
- if (bite === EOF_byte && big5_lead !== 0x00) {
- big5_lead = 0x00;
- return decoderError(fatal);
- }
- byte_pointer.offset(1);
- if (big5_lead !== 0x00) {
- var lead = big5_lead;
- var pointer = null;
- big5_lead = 0x00;
- var offset = bite < 0x7F ? 0x40 : 0x62;
- if (inRange(bite, 0x40, 0x7E) || inRange(bite, 0xA1, 0xFE)) {
- pointer = (lead - 0x81) * 157 + (bite - offset);
- }
- if (pointer === 1133) {
- big5_pending = 0x0304;
- return 0x00CA;
- }
- if (pointer === 1135) {
- big5_pending = 0x030C;
- return 0x00CA;
- }
- if (pointer === 1164) {
- big5_pending = 0x0304;
- return 0x00EA;
- }
- if (pointer === 1166) {
- big5_pending = 0x030C;
- return 0x00EA;
- }
- var code_point = (pointer === null) ? null :
- indexCodePointFor(pointer, indexes['big5']);
- if (pointer === null) {
- byte_pointer.offset(-1);
- }
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
- }
- if (inRange(bite, 0x00, 0x7F)) {
- return bite;
- }
- if (inRange(bite, 0x81, 0xFE)) {
- big5_lead = bite;
- return null;
- }
- return decoderError(fatal);
- };
-}
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function Big5Encoder(options) {
- var fatal = options.fatal;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0x0000, 0x007F)) {
- return output_byte_stream.emit(code_point);
- }
- var pointer = indexPointerFor(code_point, indexes['big5']);
- if (pointer === null) {
- return encoderError(code_point);
- }
- var lead = div(pointer, 157) + 0x81;
- //if (lead < 0xA1) {
- // return encoderError(code_point);
- //}
- var trail = pointer % 157;
- var offset = trail < 0x3F ? 0x40 : 0x62;
- return output_byte_stream.emit(lead, trail + offset);
- };
-}
-
-/** @param {{fatal: boolean}} options */
-name_to_encoding['big5'].getEncoder = function(options) {
- return new Big5Encoder(options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['big5'].getDecoder = function(options) {
- return new Big5Decoder(options);
-};
-
-
-//
-// 12. Legacy multi-byte Japanese encodings
-//
-
-// 12.1 euc.jp
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function EUCJPDecoder(options) {
- var fatal = options.fatal;
- var /** @type {number} */ eucjp_first = 0x00,
- /** @type {number} */ eucjp_second = 0x00;
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite === EOF_byte) {
- if (eucjp_first === 0x00 && eucjp_second === 0x00) {
- return EOF_code_point;
- }
- eucjp_first = 0x00;
- eucjp_second = 0x00;
- return decoderError(fatal);
- }
- byte_pointer.offset(1);
-
- var lead, code_point;
- if (eucjp_second !== 0x00) {
- lead = eucjp_second;
- eucjp_second = 0x00;
- code_point = null;
- if (inRange(lead, 0xA1, 0xFE) && inRange(bite, 0xA1, 0xFE)) {
- code_point = indexCodePointFor((lead - 0xA1) * 94 + bite - 0xA1,
- indexes['jis0212']);
- }
- if (!inRange(bite, 0xA1, 0xFE)) {
- byte_pointer.offset(-1);
- }
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
- }
- if (eucjp_first === 0x8E && inRange(bite, 0xA1, 0xDF)) {
- eucjp_first = 0x00;
- return 0xFF61 + bite - 0xA1;
- }
- if (eucjp_first === 0x8F && inRange(bite, 0xA1, 0xFE)) {
- eucjp_first = 0x00;
- eucjp_second = bite;
- return null;
- }
- if (eucjp_first !== 0x00) {
- lead = eucjp_first;
- eucjp_first = 0x00;
- code_point = null;
- if (inRange(lead, 0xA1, 0xFE) && inRange(bite, 0xA1, 0xFE)) {
- code_point = indexCodePointFor((lead - 0xA1) * 94 + bite - 0xA1,
- indexes['jis0208']);
- }
- if (!inRange(bite, 0xA1, 0xFE)) {
- byte_pointer.offset(-1);
- }
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
- }
- if (inRange(bite, 0x00, 0x7F)) {
- return bite;
- }
- if (bite === 0x8E || bite === 0x8F || (inRange(bite, 0xA1, 0xFE))) {
- eucjp_first = bite;
- return null;
- }
- return decoderError(fatal);
- };
-}
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function EUCJPEncoder(options) {
- var fatal = options.fatal;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0x0000, 0x007F)) {
- return output_byte_stream.emit(code_point);
- }
- if (code_point === 0x00A5) {
- return output_byte_stream.emit(0x5C);
- }
- if (code_point === 0x203E) {
- return output_byte_stream.emit(0x7E);
- }
- if (inRange(code_point, 0xFF61, 0xFF9F)) {
- return output_byte_stream.emit(0x8E, code_point - 0xFF61 + 0xA1);
- }
-
- var pointer = indexPointerFor(code_point, indexes['jis0208']);
- if (pointer === null) {
- return encoderError(code_point);
- }
- var lead = div(pointer, 94) + 0xA1;
- var trail = pointer % 94 + 0xA1;
- return output_byte_stream.emit(lead, trail);
- };
-}
-
-/** @param {{fatal: boolean}} options */
-name_to_encoding['euc-jp'].getEncoder = function(options) {
- return new EUCJPEncoder(options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['euc-jp'].getDecoder = function(options) {
- return new EUCJPDecoder(options);
-};
-
-// 12.2 iso-2022-jp
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function ISO2022JPDecoder(options) {
- var fatal = options.fatal;
- /** @enum */
- var state = {
- ASCII: 0,
- escape_start: 1,
- escape_middle: 2,
- escape_final: 3,
- lead: 4,
- trail: 5,
- Katakana: 6
- };
- var /** @type {number} */ iso2022jp_state = state.ASCII,
- /** @type {boolean} */ iso2022jp_jis0212 = false,
- /** @type {number} */ iso2022jp_lead = 0x00;
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite !== EOF_byte) {
- byte_pointer.offset(1);
- }
- switch (iso2022jp_state) {
- default:
- case state.ASCII:
- if (bite === 0x1B) {
- iso2022jp_state = state.escape_start;
- return null;
- }
- if (inRange(bite, 0x00, 0x7F)) {
- return bite;
- }
- if (bite === EOF_byte) {
- return EOF_code_point;
- }
- return decoderError(fatal);
-
- case state.escape_start:
- if (bite === 0x24 || bite === 0x28) {
- iso2022jp_lead = bite;
- iso2022jp_state = state.escape_middle;
- return null;
- }
- if (bite !== EOF_byte) {
- byte_pointer.offset(-1);
- }
- iso2022jp_state = state.ASCII;
- return decoderError(fatal);
-
- case state.escape_middle:
- var lead = iso2022jp_lead;
- iso2022jp_lead = 0x00;
- if (lead === 0x24 && (bite === 0x40 || bite === 0x42)) {
- iso2022jp_jis0212 = false;
- iso2022jp_state = state.lead;
- return null;
- }
- if (lead === 0x24 && bite === 0x28) {
- iso2022jp_state = state.escape_final;
- return null;
- }
- if (lead === 0x28 && (bite === 0x42 || bite === 0x4A)) {
- iso2022jp_state = state.ASCII;
- return null;
- }
- if (lead === 0x28 && bite === 0x49) {
- iso2022jp_state = state.Katakana;
- return null;
- }
- if (bite === EOF_byte) {
- byte_pointer.offset(-1);
- } else {
- byte_pointer.offset(-2);
- }
- iso2022jp_state = state.ASCII;
- return decoderError(fatal);
-
- case state.escape_final:
- if (bite === 0x44) {
- iso2022jp_jis0212 = true;
- iso2022jp_state = state.lead;
- return null;
- }
- if (bite === EOF_byte) {
- byte_pointer.offset(-2);
- } else {
- byte_pointer.offset(-3);
- }
- iso2022jp_state = state.ASCII;
- return decoderError(fatal);
-
- case state.lead:
- if (bite === 0x0A) {
- iso2022jp_state = state.ASCII;
- return decoderError(fatal, 0x000A);
- }
- if (bite === 0x1B) {
- iso2022jp_state = state.escape_start;
- return null;
- }
- if (bite === EOF_byte) {
- return EOF_code_point;
- }
- iso2022jp_lead = bite;
- iso2022jp_state = state.trail;
- return null;
-
- case state.trail:
- iso2022jp_state = state.lead;
- if (bite === EOF_byte) {
- return decoderError(fatal);
- }
- var code_point = null;
- var pointer = (iso2022jp_lead - 0x21) * 94 + bite - 0x21;
- if (inRange(iso2022jp_lead, 0x21, 0x7E) &&
- inRange(bite, 0x21, 0x7E)) {
- code_point = (iso2022jp_jis0212 === false) ?
- indexCodePointFor(pointer, indexes['jis0208']) :
- indexCodePointFor(pointer, indexes['jis0212']);
- }
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
-
- case state.Katakana:
- if (bite === 0x1B) {
- iso2022jp_state = state.escape_start;
- return null;
- }
- if (inRange(bite, 0x21, 0x5F)) {
- return 0xFF61 + bite - 0x21;
- }
- if (bite === EOF_byte) {
- return EOF_code_point;
- }
- return decoderError(fatal);
- }
- };
-}
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function ISO2022JPEncoder(options) {
- var fatal = options.fatal;
- /** @enum */
- var state = {
- ASCII: 0,
- lead: 1,
- Katakana: 2
- };
- var /** @type {number} */ iso2022jp_state = state.ASCII;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if ((inRange(code_point, 0x0000, 0x007F) ||
- code_point === 0x00A5 || code_point === 0x203E) &&
- iso2022jp_state !== state.ASCII) {
- code_point_pointer.offset(-1);
- iso2022jp_state = state.ASCII;
- return output_byte_stream.emit(0x1B, 0x28, 0x42);
- }
- if (inRange(code_point, 0x0000, 0x007F)) {
- return output_byte_stream.emit(code_point);
- }
- if (code_point === 0x00A5) {
- return output_byte_stream.emit(0x5C);
- }
- if (code_point === 0x203E) {
- return output_byte_stream.emit(0x7E);
- }
- if (inRange(code_point, 0xFF61, 0xFF9F) &&
- iso2022jp_state !== state.Katakana) {
- code_point_pointer.offset(-1);
- iso2022jp_state = state.Katakana;
- return output_byte_stream.emit(0x1B, 0x28, 0x49);
- }
- if (inRange(code_point, 0xFF61, 0xFF9F)) {
- return output_byte_stream.emit(code_point - 0xFF61 - 0x21);
- }
- if (iso2022jp_state !== state.lead) {
- code_point_pointer.offset(-1);
- iso2022jp_state = state.lead;
- return output_byte_stream.emit(0x1B, 0x24, 0x42);
- }
- var pointer = indexPointerFor(code_point, indexes['jis0208']);
- if (pointer === null) {
- return encoderError(code_point);
- }
- var lead = div(pointer, 94) + 0x21;
- var trail = pointer % 94 + 0x21;
- return output_byte_stream.emit(lead, trail);
- };
-}
-
-/** @param {{fatal: boolean}} options */
-name_to_encoding['iso-2022-jp'].getEncoder = function(options) {
- return new ISO2022JPEncoder(options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['iso-2022-jp'].getDecoder = function(options) {
- return new ISO2022JPDecoder(options);
-};
-
-// 12.3 shift_jis
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function ShiftJISDecoder(options) {
- var fatal = options.fatal;
- var /** @type {number} */ shiftjis_lead = 0x00;
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite === EOF_byte && shiftjis_lead === 0x00) {
- return EOF_code_point;
- }
- if (bite === EOF_byte && shiftjis_lead !== 0x00) {
- shiftjis_lead = 0x00;
- return decoderError(fatal);
- }
- byte_pointer.offset(1);
- if (shiftjis_lead !== 0x00) {
- var lead = shiftjis_lead;
- shiftjis_lead = 0x00;
- if (inRange(bite, 0x40, 0x7E) || inRange(bite, 0x80, 0xFC)) {
- var offset = (bite < 0x7F) ? 0x40 : 0x41;
- var lead_offset = (lead < 0xA0) ? 0x81 : 0xC1;
- var code_point = indexCodePointFor((lead - lead_offset) * 188 +
- bite - offset, indexes['jis0208']);
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
- }
- byte_pointer.offset(-1);
- return decoderError(fatal);
- }
- if (inRange(bite, 0x00, 0x80)) {
- return bite;
- }
- if (inRange(bite, 0xA1, 0xDF)) {
- return 0xFF61 + bite - 0xA1;
- }
- if (inRange(bite, 0x81, 0x9F) || inRange(bite, 0xE0, 0xFC)) {
- shiftjis_lead = bite;
- return null;
- }
- return decoderError(fatal);
- };
-}
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function ShiftJISEncoder(options) {
- var fatal = options.fatal;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0x0000, 0x0080)) {
- return output_byte_stream.emit(code_point);
- }
- if (code_point === 0x00A5) {
- return output_byte_stream.emit(0x5C);
- }
- if (code_point === 0x203E) {
- return output_byte_stream.emit(0x7E);
- }
- if (inRange(code_point, 0xFF61, 0xFF9F)) {
- return output_byte_stream.emit(code_point - 0xFF61 + 0xA1);
- }
- var pointer = indexPointerFor(code_point, indexes['jis0208']);
- if (pointer === null) {
- return encoderError(code_point);
- }
- var lead = div(pointer, 188);
- var lead_offset = lead < 0x1F ? 0x81 : 0xC1;
- var trail = pointer % 188;
- var offset = trail < 0x3F ? 0x40 : 0x41;
- return output_byte_stream.emit(lead + lead_offset, trail + offset);
- };
-}
-
-/** @param {{fatal: boolean}} options */
-name_to_encoding['shift_jis'].getEncoder = function(options) {
- return new ShiftJISEncoder(options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['shift_jis'].getDecoder = function(options) {
- return new ShiftJISDecoder(options);
-};
-
-//
-// 13. Legacy multi-byte Korean encodings
-//
-
-// 13.1 euc-kr
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function EUCKRDecoder(options) {
- var fatal = options.fatal;
- var /** @type {number} */ euckr_lead = 0x00;
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite === EOF_byte && euckr_lead === 0) {
- return EOF_code_point;
- }
- if (bite === EOF_byte && euckr_lead !== 0) {
- euckr_lead = 0x00;
- return decoderError(fatal);
- }
- byte_pointer.offset(1);
- if (euckr_lead !== 0x00) {
- var lead = euckr_lead;
- var pointer = null;
- euckr_lead = 0x00;
-
- if (inRange(lead, 0x81, 0xC6)) {
- var temp = (26 + 26 + 126) * (lead - 0x81);
- if (inRange(bite, 0x41, 0x5A)) {
- pointer = temp + bite - 0x41;
- } else if (inRange(bite, 0x61, 0x7A)) {
- pointer = temp + 26 + bite - 0x61;
- } else if (inRange(bite, 0x81, 0xFE)) {
- pointer = temp + 26 + 26 + bite - 0x81;
- }
- }
-
- if (inRange(lead, 0xC7, 0xFD) && inRange(bite, 0xA1, 0xFE)) {
- pointer = (26 + 26 + 126) * (0xC7 - 0x81) + (lead - 0xC7) * 94 +
- (bite - 0xA1);
- }
-
- var code_point = (pointer === null) ? null :
- indexCodePointFor(pointer, indexes['euc-kr']);
- if (pointer === null) {
- byte_pointer.offset(-1);
- }
- if (code_point === null) {
- return decoderError(fatal);
- }
- return code_point;
- }
-
- if (inRange(bite, 0x00, 0x7F)) {
- return bite;
- }
-
- if (inRange(bite, 0x81, 0xFD)) {
- euckr_lead = bite;
- return null;
- }
-
- return decoderError(fatal);
- };
-}
-
-/**
- * @constructor
- * @param {{fatal: boolean}} options
- */
-function EUCKREncoder(options) {
- var fatal = options.fatal;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0x0000, 0x007F)) {
- return output_byte_stream.emit(code_point);
- }
- var pointer = indexPointerFor(code_point, indexes['euc-kr']);
- if (pointer === null) {
- return encoderError(code_point);
- }
- var lead, trail;
- if (pointer < ((26 + 26 + 126) * (0xC7 - 0x81))) {
- lead = div(pointer, (26 + 26 + 126)) + 0x81;
- trail = pointer % (26 + 26 + 126);
- var offset = trail < 26 ? 0x41 : trail < 26 + 26 ? 0x47 : 0x4D;
- return output_byte_stream.emit(lead, trail + offset);
- }
- pointer = pointer - (26 + 26 + 126) * (0xC7 - 0x81);
- lead = div(pointer, 94) + 0xC7;
- trail = pointer % 94 + 0xA1;
- return output_byte_stream.emit(lead, trail);
- };
-}
-
-/** @param {{fatal: boolean}} options */
-name_to_encoding['euc-kr'].getEncoder = function(options) {
- return new EUCKREncoder(options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['euc-kr'].getDecoder = function(options) {
- return new EUCKRDecoder(options);
-};
-
-
-//
-// 14. Legacy miscellaneous encodings
-//
-
-// 14.1 replacement
-
-// Not needed - API throws TypeError
-
-// 14.2 utf-16
-
-/**
- * @constructor
- * @param {boolean} utf16_be True if big-endian, false if little-endian.
- * @param {{fatal: boolean}} options
- */
-function UTF16Decoder(utf16_be, options) {
- var fatal = options.fatal;
- var /** @type {?number} */ utf16_lead_byte = null,
- /** @type {?number} */ utf16_lead_surrogate = null;
- /**
- * @param {ByteInputStream} byte_pointer The byte stream to decode.
- * @return {?number} The next code point decoded, or null if not enough
- * data exists in the input stream to decode a complete code point.
- */
- this.decode = function(byte_pointer) {
- var bite = byte_pointer.get();
- if (bite === EOF_byte && utf16_lead_byte === null &&
- utf16_lead_surrogate === null) {
- return EOF_code_point;
- }
- if (bite === EOF_byte && (utf16_lead_byte !== null ||
- utf16_lead_surrogate !== null)) {
- return decoderError(fatal);
- }
- byte_pointer.offset(1);
- if (utf16_lead_byte === null) {
- utf16_lead_byte = bite;
- return null;
- }
- var code_point;
- if (utf16_be) {
- code_point = (utf16_lead_byte << 8) + bite;
- } else {
- code_point = (bite << 8) + utf16_lead_byte;
- }
- utf16_lead_byte = null;
- if (utf16_lead_surrogate !== null) {
- var lead_surrogate = utf16_lead_surrogate;
- utf16_lead_surrogate = null;
- if (inRange(code_point, 0xDC00, 0xDFFF)) {
- return 0x10000 + (lead_surrogate - 0xD800) * 0x400 +
- (code_point - 0xDC00);
- }
- byte_pointer.offset(-2);
- return decoderError(fatal);
- }
- if (inRange(code_point, 0xD800, 0xDBFF)) {
- utf16_lead_surrogate = code_point;
- return null;
- }
- if (inRange(code_point, 0xDC00, 0xDFFF)) {
- return decoderError(fatal);
- }
- return code_point;
- };
-}
-
-/**
- * @constructor
- * @param {boolean} utf16_be True if big-endian, false if little-endian.
- * @param {{fatal: boolean}} options
- */
-function UTF16Encoder(utf16_be, options) {
- var fatal = options.fatal;
- /**
- * @param {ByteOutputStream} output_byte_stream Output byte stream.
- * @param {CodePointInputStream} code_point_pointer Input stream.
- * @return {number} The last byte emitted.
- */
- this.encode = function(output_byte_stream, code_point_pointer) {
- /**
- * @param {number} code_unit
- * @return {number} last byte emitted
- */
- function convert_to_bytes(code_unit) {
- var byte1 = code_unit >> 8;
- var byte2 = code_unit & 0x00FF;
- if (utf16_be) {
- return output_byte_stream.emit(byte1, byte2);
- }
- return output_byte_stream.emit(byte2, byte1);
- }
- var code_point = code_point_pointer.get();
- if (code_point === EOF_code_point) {
- return EOF_byte;
- }
- code_point_pointer.offset(1);
- if (inRange(code_point, 0xD800, 0xDFFF)) {
- encoderError(code_point);
- }
- if (code_point <= 0xFFFF) {
- return convert_to_bytes(code_point);
- }
- var lead = div((code_point - 0x10000), 0x400) + 0xD800;
- var trail = ((code_point - 0x10000) % 0x400) + 0xDC00;
- convert_to_bytes(lead);
- return convert_to_bytes(trail);
- };
-}
-
-// 14.3 utf-16be
-/** @param {{fatal: boolean}} options */
-name_to_encoding['utf-16be'].getEncoder = function(options) {
- return new UTF16Encoder(true, options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['utf-16be'].getDecoder = function(options) {
- return new UTF16Decoder(true, options);
-};
-
-// 14.4 utf-16le
-/** @param {{fatal: boolean}} options */
-name_to_encoding['utf-16le'].getEncoder = function(options) {
- return new UTF16Encoder(false, options);
-};
-/** @param {{fatal: boolean}} options */
-name_to_encoding['utf-16le'].getDecoder = function(options) {
- return new UTF16Decoder(false, options);
-};
-
-// 14.5 x-user-defined
-// TODO: Implement this encoding.
-
-// NOTE: currently unused
-/**
- * @param {string} label The encoding label.
- * @param {ByteInputStream} input_stream The byte stream to test.
- */
-function detectEncoding(label, input_stream) {
- if (input_stream.match([0xFF, 0xFE])) {
- input_stream.offset(2);
- return 'utf-16le';
- }
- if (input_stream.match([0xFE, 0xFF])) {
- input_stream.offset(2);
- return 'utf-16be';
- }
- if (input_stream.match([0xEF, 0xBB, 0xBF])) {
- input_stream.offset(3);
- return 'utf-8';
- }
- return label;
-}
-
-exports.TextEncoder = TextEncoder;
-exports.TextDecoder = TextDecoder;
-exports.encodingExists = getEncoding;
diff --git a/Server/node_modules/busboy/lib/main.js b/Server/node_modules/busboy/lib/main.js
deleted file mode 100644
index 1bc9613..0000000
--- a/Server/node_modules/busboy/lib/main.js
+++ /dev/null
@@ -1,88 +0,0 @@
-var fs = require('fs'),
- WritableStream = require('stream').Writable,
- inherits = require('util').inherits;
-
-var parseParams = require('./utils').parseParams;
-
-function Busboy(opts) {
- if (!(this instanceof Busboy))
- return new Busboy(opts);
- if (opts.highWaterMark !== undefined)
- WritableStream.call(this, { highWaterMark: opts.highWaterMark });
- else
- WritableStream.call(this);
-
- this._done = false;
- this._parser = undefined;
- this._finished = false;
-
- this.opts = opts;
- if (opts.headers && typeof opts.headers['content-type'] === 'string')
- this.parseHeaders(opts.headers);
- else
- throw new Error('Missing Content-Type');
-}
-inherits(Busboy, WritableStream);
-
-Busboy.prototype.emit = function(ev) {
- if (ev === 'finish') {
- if (!this._done) {
- this._parser && this._parser.end();
- return;
- } else if (this._finished) {
- return;
- }
- this._finished = true;
- }
- WritableStream.prototype.emit.apply(this, arguments);
-};
-
-Busboy.prototype.parseHeaders = function(headers) {
- this._parser = undefined;
- if (headers['content-type']) {
- var parsed = parseParams(headers['content-type']),
- matched, type;
- for (var i = 0; i < TYPES.length; ++i) {
- type = TYPES[i];
- if (typeof type.detect === 'function')
- matched = type.detect(parsed);
- else
- matched = type.detect.test(parsed[0]);
- if (matched)
- break;
- }
- if (matched) {
- var cfg = {
- limits: this.opts.limits,
- headers: headers,
- parsedConType: parsed,
- highWaterMark: undefined,
- fileHwm: undefined,
- defCharset: undefined,
- preservePath: false
- };
- if (this.opts.highWaterMark)
- cfg.highWaterMark = this.opts.highWaterMark;
- if (this.opts.fileHwm)
- cfg.fileHwm = this.opts.fileHwm;
- cfg.defCharset = this.opts.defCharset;
- cfg.preservePath = this.opts.preservePath;
- this._parser = type(this, cfg);
- return;
- }
- }
- throw new Error('Unsupported content type: ' + headers['content-type']);
-};
-
-Busboy.prototype._write = function(chunk, encoding, cb) {
- if (!this._parser)
- return cb(new Error('Not ready to parse. Missing Content-Type?'));
- this._parser.write(chunk, cb);
-};
-
-var TYPES = [
- require('./types/multipart'),
- require('./types/urlencoded'),
-];
-
-module.exports = Busboy;
diff --git a/Server/node_modules/busboy/lib/types/multipart.js b/Server/node_modules/busboy/lib/types/multipart.js
deleted file mode 100644
index b6d8e8b..0000000
--- a/Server/node_modules/busboy/lib/types/multipart.js
+++ /dev/null
@@ -1,325 +0,0 @@
-// TODO:
-// * support 1 nested multipart level
-// (see second multipart example here:
-// http://www.w3.org/TR/html401/interact/forms.html#didx-multipartform-data)
-// * support limits.fieldNameSize
-// -- this will require modifications to utils.parseParams
-
-var ReadableStream = require('stream').Readable,
- inherits = require('util').inherits;
-
-var Dicer = require('dicer');
-
-var parseParams = require('../utils').parseParams,
- decodeText = require('../utils').decodeText,
- basename = require('../utils').basename;
-
-var RE_BOUNDARY = /^boundary$/i,
- RE_FIELD = /^form-data$/i,
- RE_CHARSET = /^charset$/i,
- RE_FILENAME = /^filename$/i,
- RE_NAME = /^name$/i;
-
-Multipart.detect = /^multipart\/form-data/i;
-function Multipart(boy, cfg) {
- if (!(this instanceof Multipart))
- return new Multipart(boy, cfg);
- var i,
- len,
- self = this,
- boundary,
- limits = cfg.limits,
- parsedConType = cfg.parsedConType || [],
- defCharset = cfg.defCharset || 'utf8',
- preservePath = cfg.preservePath,
- fileopts = (typeof cfg.fileHwm === 'number'
- ? { highWaterMark: cfg.fileHwm }
- : {});
-
- for (i = 0, len = parsedConType.length; i < len; ++i) {
- if (Array.isArray(parsedConType[i])
- && RE_BOUNDARY.test(parsedConType[i][0])) {
- boundary = parsedConType[i][1];
- break;
- }
- }
-
- function checkFinished() {
- if (nends === 0 && finished && !boy._done) {
- finished = false;
- process.nextTick(function() {
- boy._done = true;
- boy.emit('finish');
- });
- }
- }
-
- if (typeof boundary !== 'string')
- throw new Error('Multipart: Boundary not found');
-
- var fieldSizeLimit = (limits && typeof limits.fieldSize === 'number'
- ? limits.fieldSize
- : 1 * 1024 * 1024),
- fileSizeLimit = (limits && typeof limits.fileSize === 'number'
- ? limits.fileSize
- : Infinity),
- filesLimit = (limits && typeof limits.files === 'number'
- ? limits.files
- : Infinity),
- fieldsLimit = (limits && typeof limits.fields === 'number'
- ? limits.fields
- : Infinity),
- partsLimit = (limits && typeof limits.parts === 'number'
- ? limits.parts
- : Infinity);
-
- var nfiles = 0,
- nfields = 0,
- nends = 0,
- curFile,
- curField,
- finished = false;
-
- this._needDrain = false;
- this._pause = false;
- this._cb = undefined;
- this._nparts = 0;
- this._boy = boy;
-
- var parserCfg = {
- boundary: boundary,
- maxHeaderPairs: (limits && limits.headerPairs)
- };
- if (fileopts.highWaterMark)
- parserCfg.partHwm = fileopts.highWaterMark;
- if (cfg.highWaterMark)
- parserCfg.highWaterMark = cfg.highWaterMark;
-
- this.parser = new Dicer(parserCfg);
- this.parser.on('drain', function() {
- self._needDrain = false;
- if (self._cb && !self._pause) {
- var cb = self._cb;
- self._cb = undefined;
- cb();
- }
- }).on('part', function onPart(part) {
- if (++self._nparts > partsLimit) {
- self.parser.removeListener('part', onPart);
- self.parser.on('part', skipPart);
- boy.hitPartsLimit = true;
- boy.emit('partsLimit');
- return skipPart(part);
- }
-
- // hack because streams2 _always_ doesn't emit 'end' until nextTick, so let
- // us emit 'end' early since we know the part has ended if we are already
- // seeing the next part
- if (curField) {
- var field = curField;
- field.emit('end');
- field.removeAllListeners('end');
- }
-
- part.on('header', function(header) {
- var contype,
- fieldname,
- parsed,
- charset,
- encoding,
- filename,
- nsize = 0;
-
- if (header['content-type']) {
- parsed = parseParams(header['content-type'][0]);
- if (parsed[0]) {
- contype = parsed[0].toLowerCase();
- for (i = 0, len = parsed.length; i < len; ++i) {
- if (RE_CHARSET.test(parsed[i][0])) {
- charset = parsed[i][1].toLowerCase();
- break;
- }
- }
- }
- }
-
- if (contype === undefined)
- contype = 'text/plain';
- if (charset === undefined)
- charset = defCharset;
-
- if (header['content-disposition']) {
- parsed = parseParams(header['content-disposition'][0]);
- if (!RE_FIELD.test(parsed[0]))
- return skipPart(part);
- for (i = 0, len = parsed.length; i < len; ++i) {
- if (RE_NAME.test(parsed[i][0])) {
- fieldname = decodeText(parsed[i][1], 'binary', 'utf8');
- } else if (RE_FILENAME.test(parsed[i][0])) {
- filename = decodeText(parsed[i][1], 'binary', 'utf8');
- if (!preservePath)
- filename = basename(filename);
- }
- }
- } else
- return skipPart(part);
-
- if (header['content-transfer-encoding'])
- encoding = header['content-transfer-encoding'][0].toLowerCase();
- else
- encoding = '7bit';
-
- var onData,
- onEnd;
- if (contype === 'application/octet-stream' || filename !== undefined) {
- // file/binary field
- if (nfiles === filesLimit) {
- if (!boy.hitFilesLimit) {
- boy.hitFilesLimit = true;
- boy.emit('filesLimit');
- }
- return skipPart(part);
- }
-
- ++nfiles;
-
- if (!boy._events.file) {
- self.parser._ignore();
- return;
- }
-
- ++nends;
- var file = new FileStream(fileopts);
- curFile = file;
- file.on('end', function() {
- --nends;
- self._pause = false;
- checkFinished();
- if (self._cb && !self._needDrain) {
- var cb = self._cb;
- self._cb = undefined;
- cb();
- }
- });
- file._read = function(n) {
- if (!self._pause)
- return;
- self._pause = false;
- if (self._cb && !self._needDrain) {
- var cb = self._cb;
- self._cb = undefined;
- cb();
- }
- };
- boy.emit('file', fieldname, file, filename, encoding, contype);
-
- onData = function(data) {
- if ((nsize += data.length) > fileSizeLimit) {
- var extralen = (fileSizeLimit - (nsize - data.length));
- if (extralen > 0)
- file.push(data.slice(0, extralen));
- file.emit('limit');
- file.truncated = true;
- part.removeAllListeners('data');
- } else if (!file.push(data))
- self._pause = true;
- };
-
- onEnd = function() {
- curFile = undefined;
- file.push(null);
- };
- } else {
- // non-file field
- if (nfields === fieldsLimit) {
- if (!boy.hitFieldsLimit) {
- boy.hitFieldsLimit = true;
- boy.emit('fieldsLimit');
- }
- return skipPart(part);
- }
-
- ++nfields;
- ++nends;
- var buffer = '',
- truncated = false;
- curField = part;
-
- onData = function(data) {
- if ((nsize += data.length) > fieldSizeLimit) {
- var extralen = (fieldSizeLimit - (nsize - data.length));
- buffer += data.toString('binary', 0, extralen);
- truncated = true;
- part.removeAllListeners('data');
- } else
- buffer += data.toString('binary');
- };
-
- onEnd = function() {
- curField = undefined;
- if (buffer.length)
- buffer = decodeText(buffer, 'binary', charset);
- boy.emit('field', fieldname, buffer, false, truncated, encoding, contype);
- --nends;
- checkFinished();
- };
- }
-
- /* As of node@2efe4ab761666 (v0.10.29+/v0.11.14+), busboy had become
- broken. Streams2/streams3 is a huge black box of confusion, but
- somehow overriding the sync state seems to fix things again (and still
- seems to work for previous node versions).
- */
- part._readableState.sync = false;
-
- part.on('data', onData);
- part.on('end', onEnd);
- }).on('error', function(err) {
- if (curFile)
- curFile.emit('error', err);
- });
- }).on('error', function(err) {
- boy.emit('error', err);
- }).on('finish', function() {
- finished = true;
- checkFinished();
- });
-}
-
-Multipart.prototype.write = function(chunk, cb) {
- var r;
- if ((r = this.parser.write(chunk)) && !this._pause)
- cb();
- else {
- this._needDrain = !r;
- this._cb = cb;
- }
-};
-
-Multipart.prototype.end = function() {
- var self = this;
- if (this._nparts === 0 && !self._boy._done) {
- process.nextTick(function() {
- self._boy._done = true;
- self._boy.emit('finish');
- });
- } else if (this.parser.writable)
- this.parser.end();
-};
-
-function skipPart(part) {
- part.resume();
-}
-
-function FileStream(opts) {
- if (!(this instanceof FileStream))
- return new FileStream(opts);
- ReadableStream.call(this, opts);
-
- this.truncated = false;
-}
-inherits(FileStream, ReadableStream);
-
-FileStream.prototype._read = function(n) {};
-
-module.exports = Multipart;
diff --git a/Server/node_modules/busboy/lib/types/urlencoded.js b/Server/node_modules/busboy/lib/types/urlencoded.js
deleted file mode 100644
index 361c804..0000000
--- a/Server/node_modules/busboy/lib/types/urlencoded.js
+++ /dev/null
@@ -1,214 +0,0 @@
-var Decoder = require('../utils').Decoder,
- decodeText = require('../utils').decodeText;
-
-var RE_CHARSET = /^charset$/i;
-
-UrlEncoded.detect = /^application\/x-www-form-urlencoded/i;
-function UrlEncoded(boy, cfg) {
- if (!(this instanceof UrlEncoded))
- return new UrlEncoded(boy, cfg);
- var limits = cfg.limits,
- headers = cfg.headers,
- parsedConType = cfg.parsedConType;
- this.boy = boy;
-
- this.fieldSizeLimit = (limits && typeof limits.fieldSize === 'number'
- ? limits.fieldSize
- : 1 * 1024 * 1024);
- this.fieldNameSizeLimit = (limits && typeof limits.fieldNameSize === 'number'
- ? limits.fieldNameSize
- : 100);
- this.fieldsLimit = (limits && typeof limits.fields === 'number'
- ? limits.fields
- : Infinity);
-
- var charset;
- for (var i = 0, len = parsedConType.length; i < len; ++i) {
- if (Array.isArray(parsedConType[i])
- && RE_CHARSET.test(parsedConType[i][0])) {
- charset = parsedConType[i][1].toLowerCase();
- break;
- }
- }
-
- if (charset === undefined)
- charset = cfg.defCharset || 'utf8';
-
- this.decoder = new Decoder();
- this.charset = charset;
- this._fields = 0;
- this._state = 'key';
- this._checkingBytes = true;
- this._bytesKey = 0;
- this._bytesVal = 0;
- this._key = '';
- this._val = '';
- this._keyTrunc = false;
- this._valTrunc = false;
- this._hitlimit = false;
-}
-
-UrlEncoded.prototype.write = function(data, cb) {
- if (this._fields === this.fieldsLimit) {
- if (!this.boy.hitFieldsLimit) {
- this.boy.hitFieldsLimit = true;
- this.boy.emit('fieldsLimit');
- }
- return cb();
- }
-
- var idxeq, idxamp, i, p = 0, len = data.length;
-
- while (p < len) {
- if (this._state === 'key') {
- idxeq = idxamp = undefined;
- for (i = p; i < len; ++i) {
- if (!this._checkingBytes)
- ++p;
- if (data[i] === 0x3D/*=*/) {
- idxeq = i;
- break;
- } else if (data[i] === 0x26/*&*/) {
- idxamp = i;
- break;
- }
- if (this._checkingBytes && this._bytesKey === this.fieldNameSizeLimit) {
- this._hitLimit = true;
- break;
- } else if (this._checkingBytes)
- ++this._bytesKey;
- }
-
- if (idxeq !== undefined) {
- // key with assignment
- if (idxeq > p)
- this._key += this.decoder.write(data.toString('binary', p, idxeq));
- this._state = 'val';
-
- this._hitLimit = false;
- this._checkingBytes = true;
- this._val = '';
- this._bytesVal = 0;
- this._valTrunc = false;
- this.decoder.reset();
-
- p = idxeq + 1;
- } else if (idxamp !== undefined) {
- // key with no assignment
- ++this._fields;
- var key, keyTrunc = this._keyTrunc;
- if (idxamp > p)
- key = (this._key += this.decoder.write(data.toString('binary', p, idxamp)));
- else
- key = this._key;
-
- this._hitLimit = false;
- this._checkingBytes = true;
- this._key = '';
- this._bytesKey = 0;
- this._keyTrunc = false;
- this.decoder.reset();
-
- if (key.length) {
- this.boy.emit('field', decodeText(key, 'binary', this.charset),
- '',
- keyTrunc,
- false);
- }
-
- p = idxamp + 1;
- if (this._fields === this.fieldsLimit)
- return cb();
- } else if (this._hitLimit) {
- // we may not have hit the actual limit if there are encoded bytes...
- if (i > p)
- this._key += this.decoder.write(data.toString('binary', p, i));
- p = i;
- if ((this._bytesKey = this._key.length) === this.fieldNameSizeLimit) {
- // yep, we actually did hit the limit
- this._checkingBytes = false;
- this._keyTrunc = true;
- }
- } else {
- if (p < len)
- this._key += this.decoder.write(data.toString('binary', p));
- p = len;
- }
- } else {
- idxamp = undefined;
- for (i = p; i < len; ++i) {
- if (!this._checkingBytes)
- ++p;
- if (data[i] === 0x26/*&*/) {
- idxamp = i;
- break;
- }
- if (this._checkingBytes && this._bytesVal === this.fieldSizeLimit) {
- this._hitLimit = true;
- break;
- }
- else if (this._checkingBytes)
- ++this._bytesVal;
- }
-
- if (idxamp !== undefined) {
- ++this._fields;
- if (idxamp > p)
- this._val += this.decoder.write(data.toString('binary', p, idxamp));
- this.boy.emit('field', decodeText(this._key, 'binary', this.charset),
- decodeText(this._val, 'binary', this.charset),
- this._keyTrunc,
- this._valTrunc);
- this._state = 'key';
-
- this._hitLimit = false;
- this._checkingBytes = true;
- this._key = '';
- this._bytesKey = 0;
- this._keyTrunc = false;
- this.decoder.reset();
-
- p = idxamp + 1;
- if (this._fields === this.fieldsLimit)
- return cb();
- } else if (this._hitLimit) {
- // we may not have hit the actual limit if there are encoded bytes...
- if (i > p)
- this._val += this.decoder.write(data.toString('binary', p, i));
- p = i;
- if ((this._val === '' && this.fieldSizeLimit === 0)
- || (this._bytesVal = this._val.length) === this.fieldSizeLimit) {
- // yep, we actually did hit the limit
- this._checkingBytes = false;
- this._valTrunc = true;
- }
- } else {
- if (p < len)
- this._val += this.decoder.write(data.toString('binary', p));
- p = len;
- }
- }
- }
- cb();
-};
-
-UrlEncoded.prototype.end = function() {
- if (this.boy._done)
- return;
-
- if (this._state === 'key' && this._key.length > 0) {
- this.boy.emit('field', decodeText(this._key, 'binary', this.charset),
- '',
- this._keyTrunc,
- false);
- } else if (this._state === 'val') {
- this.boy.emit('field', decodeText(this._key, 'binary', this.charset),
- decodeText(this._val, 'binary', this.charset),
- this._keyTrunc,
- this._valTrunc);
- }
- this.boy._done = true;
- this.boy.emit('finish');
-};
-
-module.exports = UrlEncoded;
diff --git a/Server/node_modules/busboy/lib/utils.js b/Server/node_modules/busboy/lib/utils.js
deleted file mode 100644
index 57d745f..0000000
--- a/Server/node_modules/busboy/lib/utils.js
+++ /dev/null
@@ -1,172 +0,0 @@
-var jsencoding = require('../deps/encoding/encoding');
-
-var RE_ENCODED = /%([a-fA-F0-9]{2})/g;
-function encodedReplacer(match, byte) {
- return String.fromCharCode(parseInt(byte, 16));
-}
-function parseParams(str) {
- var res = [],
- state = 'key',
- charset = '',
- inquote = false,
- escaping = false,
- p = 0,
- tmp = '';
-
- for (var i = 0, len = str.length; i < len; ++i) {
- if (str[i] === '\\' && inquote) {
- if (escaping)
- escaping = false;
- else {
- escaping = true;
- continue;
- }
- } else if (str[i] === '"') {
- if (!escaping) {
- if (inquote) {
- inquote = false;
- state = 'key';
- } else
- inquote = true;
- continue;
- } else
- escaping = false;
- } else {
- if (escaping && inquote)
- tmp += '\\';
- escaping = false;
- if ((state === 'charset' || state === 'lang') && str[i] === "'") {
- if (state === 'charset') {
- state = 'lang';
- charset = tmp.substring(1);
- } else
- state = 'value';
- tmp = '';
- continue;
- } else if (state === 'key'
- && (str[i] === '*' || str[i] === '=')
- && res.length) {
- if (str[i] === '*')
- state = 'charset';
- else
- state = 'value';
- res[p] = [tmp, undefined];
- tmp = '';
- continue;
- } else if (!inquote && str[i] === ';') {
- state = 'key';
- if (charset) {
- if (tmp.length) {
- tmp = decodeText(tmp.replace(RE_ENCODED, encodedReplacer),
- 'binary',
- charset);
- }
- charset = '';
- }
- if (res[p] === undefined)
- res[p] = tmp;
- else
- res[p][1] = tmp;
- tmp = '';
- ++p;
- continue;
- } else if (!inquote && (str[i] === ' ' || str[i] === '\t'))
- continue;
- }
- tmp += str[i];
- }
- if (charset && tmp.length) {
- tmp = decodeText(tmp.replace(RE_ENCODED, encodedReplacer),
- 'binary',
- charset);
- }
-
- if (res[p] === undefined) {
- if (tmp)
- res[p] = tmp;
- } else
- res[p][1] = tmp;
-
- return res;
-};
-exports.parseParams = parseParams;
-
-
-function decodeText(text, textEncoding, destEncoding) {
- var ret;
- if (text && jsencoding.encodingExists(destEncoding)) {
- try {
- ret = jsencoding.TextDecoder(destEncoding)
- .decode(Buffer.from(text, textEncoding));
- } catch(e) {}
- }
- return (typeof ret === 'string' ? ret : text);
-}
-exports.decodeText = decodeText;
-
-
-var HEX = [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,
- 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
-], RE_PLUS = /\+/g;
-function Decoder() {
- this.buffer = undefined;
-}
-Decoder.prototype.write = function(str) {
- // Replace '+' with ' ' before decoding
- str = str.replace(RE_PLUS, ' ');
- var res = '';
- var i = 0, p = 0, len = str.length;
- for (; i < len; ++i) {
- if (this.buffer !== undefined) {
- if (!HEX[str.charCodeAt(i)]) {
- res += '%' + this.buffer;
- this.buffer = undefined;
- --i; // retry character
- } else {
- this.buffer += str[i];
- ++p;
- if (this.buffer.length === 2) {
- res += String.fromCharCode(parseInt(this.buffer, 16));
- this.buffer = undefined;
- }
- }
- } else if (str[i] === '%') {
- if (i > p) {
- res += str.substring(p, i);
- p = i;
- }
- this.buffer = '';
- ++p;
- }
- }
- if (p < len && this.buffer === undefined)
- res += str.substring(p);
- return res;
-};
-Decoder.prototype.reset = function() {
- this.buffer = undefined;
-};
-exports.Decoder = Decoder;
-
-
-function basename(path) {
- if (typeof path !== 'string')
- return '';
- for (var i = path.length - 1; i >= 0; --i) {
- switch (path.charCodeAt(i)) {
- case 0x2F: // '/'
- case 0x5C: // '\'
- path = path.slice(i + 1);
- return (path === '..' || path === '.' ? '' : path);
- }
- }
- return (path === '..' || path === '.' ? '' : path);
-}
-exports.basename = basename;
diff --git a/Server/node_modules/busboy/package.json b/Server/node_modules/busboy/package.json
deleted file mode 100644
index afdf7a8..0000000
--- a/Server/node_modules/busboy/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "_from": "busboy@^0.3.1",
- "_id": "busboy@0.3.1",
- "_inBundle": false,
- "_integrity": "sha512-y7tTxhGKXcyBxRKAni+awqx8uqaJKrSFSNFSeRG5CsWNdmy2BIK+6VGWEW7TZnIO/533mtMEA4rOevQV815YJw==",
- "_location": "/busboy",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "busboy@^0.3.1",
- "name": "busboy",
- "escapedName": "busboy",
- "rawSpec": "^0.3.1",
- "saveSpec": null,
- "fetchSpec": "^0.3.1"
- },
- "_requiredBy": [
- "/express-fileupload"
- ],
- "_resolved": "https://registry.npmjs.org/busboy/-/busboy-0.3.1.tgz",
- "_shasum": "170899274c5bf38aae27d5c62b71268cd585fd1b",
- "_spec": "busboy@^0.3.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express-fileupload",
- "author": {
- "name": "Brian White",
- "email": "mscdex@mscdex.net"
- },
- "bugs": {
- "url": "https://github.com/mscdex/busboy/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "dicer": "0.3.0"
- },
- "deprecated": false,
- "description": "A streaming parser for HTML form data for node.js",
- "engines": {
- "node": ">=4.5.0"
- },
- "homepage": "https://github.com/mscdex/busboy#readme",
- "keywords": [
- "uploads",
- "forms",
- "multipart",
- "form-data"
- ],
- "licenses": [
- {
- "type": "MIT",
- "url": "http://github.com/mscdex/busboy/raw/master/LICENSE"
- }
- ],
- "main": "./lib/main",
- "name": "busboy",
- "repository": {
- "type": "git",
- "url": "git+ssh://git@github.com/mscdex/busboy.git"
- },
- "scripts": {
- "test": "node test/test.js"
- },
- "version": "0.3.1"
-}
diff --git a/Server/node_modules/busboy/test/test-types-multipart-stream-pause.js b/Server/node_modules/busboy/test/test-types-multipart-stream-pause.js
deleted file mode 100644
index 5f7485e..0000000
--- a/Server/node_modules/busboy/test/test-types-multipart-stream-pause.js
+++ /dev/null
@@ -1,80 +0,0 @@
-var Busboy = require('..');
-
-var path = require('path');
-var inspect = require('util').inspect;
-var assert = require('assert');
-
-function formDataSection(key, value) {
- return Buffer.from('\r\n--' + BOUNDARY
- + '\r\nContent-Disposition: form-data; name="'
- + key + '"\r\n\r\n' + value);
-}
-function formDataFile(key, filename, contentType) {
- return Buffer.concat([
- Buffer.from('\r\n--' + BOUNDARY + '\r\n'),
- Buffer.from('Content-Disposition: form-data; name="'
- + key + '"; filename="' + filename + '"\r\n'),
- Buffer.from('Content-Type: ' + contentType + '\r\n\r\n'),
- Buffer.allocUnsafe(100000)
- ]);
-}
-
-var BOUNDARY = 'u2KxIV5yF1y+xUspOQCCZopaVgeV6Jxihv35XQJmuTx8X3sh';
-var reqChunks = [
- Buffer.concat([
- formDataFile('file', 'file.bin', 'application/octet-stream'),
- formDataSection('foo', 'foo value')
- ]),
- formDataSection('bar', 'bar value'),
- Buffer.from('\r\n--' + BOUNDARY + '--\r\n')
-];
-var busboy = new Busboy({
- headers: {
- 'content-type': 'multipart/form-data; boundary=' + BOUNDARY
- }
-});
-var finishes = 0;
-var results = [];
-var expected = [
- ['file', 'file', 'file.bin', '7bit', 'application/octet-stream'],
- ['field', 'foo', 'foo value', false, false, '7bit', 'text/plain'],
- ['field', 'bar', 'bar value', false, false, '7bit', 'text/plain'],
-];
-
-busboy.on('field', function(key, val, keyTrunc, valTrunc, encoding, contype) {
- results.push(['field', key, val, keyTrunc, valTrunc, encoding, contype]);
-});
-busboy.on('file', function(fieldname, stream, filename, encoding, mimeType) {
- results.push(['file', fieldname, filename, encoding, mimeType]);
- // Simulate a pipe where the destination is pausing (perhaps due to waiting
- // for file system write to finish)
- setTimeout(function() {
- stream.resume();
- }, 10);
-});
-busboy.on('finish', function() {
- assert(finishes++ === 0, 'finish emitted multiple times');
- assert.deepEqual(results.length,
- expected.length,
- 'Parsed result count mismatch. Saw '
- + results.length
- + '. Expected: ' + expected.length);
-
- results.forEach(function(result, i) {
- assert.deepEqual(result,
- expected[i],
- 'Result mismatch:\nParsed: ' + inspect(result)
- + '\nExpected: ' + inspect(expected[i]));
- });
-}).on('error', function(err) {
- assert(false, 'Unexpected error: ' + err.stack);
-});
-
-reqChunks.forEach(function(buf) {
- busboy.write(buf);
-});
-busboy.end();
-
-process.on('exit', function() {
- assert(finishes === 1, 'busboy did not finish');
-});
diff --git a/Server/node_modules/busboy/test/test-types-multipart.js b/Server/node_modules/busboy/test/test-types-multipart.js
deleted file mode 100644
index 5288dbc..0000000
--- a/Server/node_modules/busboy/test/test-types-multipart.js
+++ /dev/null
@@ -1,343 +0,0 @@
-var Busboy = require('..');
-
-var path = require('path'),
- inspect = require('util').inspect,
- assert = require('assert');
-
-var EMPTY_FN = function() {};
-
-var t = 0,
- group = path.basename(__filename, '.js') + '/';
-var tests = [
- { source: [
- ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="file_name_0"',
- '',
- 'super alpha file',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="file_name_1"',
- '',
- 'super beta file',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_0"; filename="1k_a.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_1"; filename="1k_b.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--'
- ].join('\r\n')
- ],
- boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- expected: [
- ['field', 'file_name_0', 'super alpha file', false, false, '7bit', 'text/plain'],
- ['field', 'file_name_1', 'super beta file', false, false, '7bit', 'text/plain'],
- ['file', 'upload_file_0', 1023, 0, '1k_a.dat', '7bit', 'application/octet-stream'],
- ['file', 'upload_file_1', 1023, 0, '1k_b.dat', '7bit', 'application/octet-stream']
- ],
- what: 'Fields and files'
- },
- { source: [
- ['------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- 'Content-Disposition: form-data; name="cont"',
- '',
- 'some random content',
- '------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- 'Content-Disposition: form-data; name="pass"',
- '',
- 'some random pass',
- '------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- 'Content-Disposition: form-data; name="bit"',
- '',
- '2',
- '------WebKitFormBoundaryTB2MiQ36fnSJlrhY--'
- ].join('\r\n')
- ],
- boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- expected: [
- ['field', 'cont', 'some random content', false, false, '7bit', 'text/plain'],
- ['field', 'pass', 'some random pass', false, false, '7bit', 'text/plain'],
- ['field', 'bit', '2', false, false, '7bit', 'text/plain']
- ],
- what: 'Fields only'
- },
- { source: [
- ''
- ],
- boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- expected: [],
- what: 'No fields and no files'
- },
- { source: [
- ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="file_name_0"',
- '',
- 'super alpha file',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_0"; filename="1k_a.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--'
- ].join('\r\n')
- ],
- boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- limits: {
- fileSize: 13,
- fieldSize: 5
- },
- expected: [
- ['field', 'file_name_0', 'super', false, true, '7bit', 'text/plain'],
- ['file', 'upload_file_0', 13, 2, '1k_a.dat', '7bit', 'application/octet-stream']
- ],
- what: 'Fields and files (limits)'
- },
- { source: [
- ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="file_name_0"',
- '',
- 'super alpha file',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_0"; filename="1k_a.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--'
- ].join('\r\n')
- ],
- boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- limits: {
- files: 0
- },
- expected: [
- ['field', 'file_name_0', 'super alpha file', false, false, '7bit', 'text/plain']
- ],
- what: 'Fields and files (limits: 0 files)'
- },
- { source: [
- ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="file_name_0"',
- '',
- 'super alpha file',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="file_name_1"',
- '',
- 'super beta file',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_0"; filename="1k_a.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_1"; filename="1k_b.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--'
- ].join('\r\n')
- ],
- boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- expected: [
- ['field', 'file_name_0', 'super alpha file', false, false, '7bit', 'text/plain'],
- ['field', 'file_name_1', 'super beta file', false, false, '7bit', 'text/plain'],
- ],
- events: ['field'],
- what: 'Fields and (ignored) files'
- },
- { source: [
- ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_0"; filename="/tmp/1k_a.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_1"; filename="C:\\files\\1k_b.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_2"; filename="relative/1k_c.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--'
- ].join('\r\n')
- ],
- boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- expected: [
- ['file', 'upload_file_0', 26, 0, '1k_a.dat', '7bit', 'application/octet-stream'],
- ['file', 'upload_file_1', 26, 0, '1k_b.dat', '7bit', 'application/octet-stream'],
- ['file', 'upload_file_2', 26, 0, '1k_c.dat', '7bit', 'application/octet-stream']
- ],
- what: 'Files with filenames containing paths'
- },
- { source: [
- ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_0"; filename="/absolute/1k_a.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_1"; filename="C:\\absolute\\1k_b.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- 'Content-Disposition: form-data; name="upload_file_2"; filename="relative/1k_c.dat"',
- 'Content-Type: application/octet-stream',
- '',
- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
- '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--'
- ].join('\r\n')
- ],
- boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k',
- preservePath: true,
- expected: [
- ['file', 'upload_file_0', 26, 0, '/absolute/1k_a.dat', '7bit', 'application/octet-stream'],
- ['file', 'upload_file_1', 26, 0, 'C:\\absolute\\1k_b.dat', '7bit', 'application/octet-stream'],
- ['file', 'upload_file_2', 26, 0, 'relative/1k_c.dat', '7bit', 'application/octet-stream']
- ],
- what: 'Paths to be preserved through the preservePath option'
- },
- { source: [
- ['------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- 'Content-Disposition: form-data; name="cont"',
- 'Content-Type: ',
- '',
- 'some random content',
- '------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- 'Content-Disposition: ',
- '',
- 'some random pass',
- '------WebKitFormBoundaryTB2MiQ36fnSJlrhY--'
- ].join('\r\n')
- ],
- boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- expected: [
- ['field', 'cont', 'some random content', false, false, '7bit', 'text/plain']
- ],
- what: 'Empty content-type and empty content-disposition'
- },
- { source: [
- ['--asdasdasdasd\r\n',
- 'Content-Type: text/plain\r\n',
- 'Content-Disposition: form-data; name="foo"\r\n',
- '\r\n',
- 'asd\r\n',
- '--asdasdasdasd--'
- ].join(':)')
- ],
- boundary: 'asdasdasdasd',
- expected: [],
- shouldError: 'Unexpected end of multipart data',
- what: 'Stopped mid-header'
- },
- { source: [
- ['------WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- 'Content-Disposition: form-data; name="cont"',
- 'Content-Type: application/json',
- '',
- '{}',
- '------WebKitFormBoundaryTB2MiQ36fnSJlrhY--',
- ].join('\r\n')
- ],
- boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- expected: [
- ['field', 'cont', '{}', false, false, '7bit', 'application/json']
- ],
- what: 'content-type for fields'
- },
- { source: [
- '------WebKitFormBoundaryTB2MiQ36fnSJlrhY--\r\n'
- ],
- boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY',
- expected: [],
- what: 'empty form'
- }
-];
-
-function next() {
- if (t === tests.length)
- return;
-
- var v = tests[t];
-
- var busboy = new Busboy({
- limits: v.limits,
- preservePath: v.preservePath,
- headers: {
- 'content-type': 'multipart/form-data; boundary=' + v.boundary
- }
- }),
- finishes = 0,
- results = [];
-
- if (v.events === undefined || v.events.indexOf('field') > -1) {
- busboy.on('field', function(key, val, keyTrunc, valTrunc, encoding, contype) {
- results.push(['field', key, val, keyTrunc, valTrunc, encoding, contype]);
- });
- }
- if (v.events === undefined || v.events.indexOf('file') > -1) {
- busboy.on('file', function(fieldname, stream, filename, encoding, mimeType) {
- var nb = 0,
- info = ['file',
- fieldname,
- nb,
- 0,
- filename,
- encoding,
- mimeType];
- results.push(info);
- stream.on('data', function(d) {
- nb += d.length;
- }).on('limit', function() {
- ++info[3];
- }).on('end', function() {
- info[2] = nb;
- if (stream.truncated)
- ++info[3];
- });
- });
- }
- busboy.on('finish', function() {
- assert(finishes++ === 0, makeMsg(v.what, 'finish emitted multiple times'));
- assert.deepEqual(results.length,
- v.expected.length,
- makeMsg(v.what, 'Parsed result count mismatch. Saw '
- + results.length
- + '. Expected: ' + v.expected.length));
-
- results.forEach(function(result, i) {
- assert.deepEqual(result,
- v.expected[i],
- makeMsg(v.what,
- 'Result mismatch:\nParsed: ' + inspect(result)
- + '\nExpected: ' + inspect(v.expected[i]))
- );
- });
- ++t;
- next();
- }).on('error', function(err) {
- if (!v.shouldError || v.shouldError !== err.message)
- assert(false, makeMsg(v.what, 'Unexpected error: ' + err));
- });
-
- v.source.forEach(function(s) {
- busboy.write(Buffer.from(s, 'utf8'), EMPTY_FN);
- });
- busboy.end();
-}
-next();
-
-function makeMsg(what, msg) {
- return '[' + group + what + ']: ' + msg;
-}
-
-process.on('exit', function() {
- assert(t === tests.length,
- makeMsg('_exit',
- 'Only finished ' + t + '/' + tests.length + ' tests'));
-});
diff --git a/Server/node_modules/busboy/test/test-types-urlencoded.js b/Server/node_modules/busboy/test/test-types-urlencoded.js
deleted file mode 100644
index 631c48f..0000000
--- a/Server/node_modules/busboy/test/test-types-urlencoded.js
+++ /dev/null
@@ -1,183 +0,0 @@
-var Busboy = require('..');
-
-var path = require('path'),
- inspect = require('util').inspect,
- assert = require('assert');
-
-var EMPTY_FN = function() {};
-
-var t = 0,
- group = path.basename(__filename, '.js') + '/';
-
-var tests = [
- { source: ['foo'],
- expected: [['foo', '', false, false]],
- what: 'Unassigned value'
- },
- { source: ['foo=bar'],
- expected: [['foo', 'bar', false, false]],
- what: 'Assigned value'
- },
- { source: ['foo&bar=baz'],
- expected: [['foo', '', false, false],
- ['bar', 'baz', false, false]],
- what: 'Unassigned and assigned value'
- },
- { source: ['foo=bar&baz'],
- expected: [['foo', 'bar', false, false],
- ['baz', '', false, false]],
- what: 'Assigned and unassigned value'
- },
- { source: ['foo=bar&baz=bla'],
- expected: [['foo', 'bar', false, false],
- ['baz', 'bla', false, false]],
- what: 'Two assigned values'
- },
- { source: ['foo&bar'],
- expected: [['foo', '', false, false],
- ['bar', '', false, false]],
- what: 'Two unassigned values'
- },
- { source: ['foo&bar&'],
- expected: [['foo', '', false, false],
- ['bar', '', false, false]],
- what: 'Two unassigned values and ampersand'
- },
- { source: ['foo=bar+baz%2Bquux'],
- expected: [['foo', 'bar baz+quux', false, false]],
- what: 'Assigned value with (plus) space'
- },
- { source: ['foo=bar%20baz%21'],
- expected: [['foo', 'bar baz!', false, false]],
- what: 'Assigned value with encoded bytes'
- },
- { source: ['foo%20bar=baz%20bla%21'],
- expected: [['foo bar', 'baz bla!', false, false]],
- what: 'Assigned value with encoded bytes #2'
- },
- { source: ['foo=bar%20baz%21&num=1000'],
- expected: [['foo', 'bar baz!', false, false],
- ['num', '1000', false, false]],
- what: 'Two assigned values, one with encoded bytes'
- },
- { source: ['foo=bar&baz=bla'],
- expected: [],
- what: 'Limits: zero fields',
- limits: { fields: 0 }
- },
- { source: ['foo=bar&baz=bla'],
- expected: [['foo', 'bar', false, false]],
- what: 'Limits: one field',
- limits: { fields: 1 }
- },
- { source: ['foo=bar&baz=bla'],
- expected: [['foo', 'bar', false, false],
- ['baz', 'bla', false, false]],
- what: 'Limits: field part lengths match limits',
- limits: { fieldNameSize: 3, fieldSize: 3 }
- },
- { source: ['foo=bar&baz=bla'],
- expected: [['fo', 'bar', true, false],
- ['ba', 'bla', true, false]],
- what: 'Limits: truncated field name',
- limits: { fieldNameSize: 2 }
- },
- { source: ['foo=bar&baz=bla'],
- expected: [['foo', 'ba', false, true],
- ['baz', 'bl', false, true]],
- what: 'Limits: truncated field value',
- limits: { fieldSize: 2 }
- },
- { source: ['foo=bar&baz=bla'],
- expected: [['fo', 'ba', true, true],
- ['ba', 'bl', true, true]],
- what: 'Limits: truncated field name and value',
- limits: { fieldNameSize: 2, fieldSize: 2 }
- },
- { source: ['foo=bar&baz=bla'],
- expected: [['fo', '', true, true],
- ['ba', '', true, true]],
- what: 'Limits: truncated field name and zero value limit',
- limits: { fieldNameSize: 2, fieldSize: 0 }
- },
- { source: ['foo=bar&baz=bla'],
- expected: [['', '', true, true],
- ['', '', true, true]],
- what: 'Limits: truncated zero field name and zero value limit',
- limits: { fieldNameSize: 0, fieldSize: 0 }
- },
- { source: ['&'],
- expected: [],
- what: 'Ampersand'
- },
- { source: ['&&&&&'],
- expected: [],
- what: 'Many ampersands'
- },
- { source: ['='],
- expected: [['', '', false, false]],
- what: 'Assigned value, empty name and value'
- },
- { source: [''],
- expected: [],
- what: 'Nothing'
- },
-];
-
-function next() {
- if (t === tests.length)
- return;
-
- var v = tests[t];
-
- var busboy = new Busboy({
- limits: v.limits,
- headers: {
- 'content-type': 'application/x-www-form-urlencoded; charset=utf-8'
- }
- }),
- finishes = 0,
- results = [];
-
- busboy.on('field', function(key, val, keyTrunc, valTrunc) {
- results.push([key, val, keyTrunc, valTrunc]);
- });
- busboy.on('file', function() {
- throw new Error(makeMsg(v.what, 'Unexpected file'));
- });
- busboy.on('finish', function() {
- assert(finishes++ === 0, makeMsg(v.what, 'finish emitted multiple times'));
- assert.deepEqual(results.length,
- v.expected.length,
- makeMsg(v.what, 'Parsed result count mismatch. Saw '
- + results.length
- + '. Expected: ' + v.expected.length));
-
- var i = 0;
- results.forEach(function(result) {
- assert.deepEqual(result,
- v.expected[i],
- makeMsg(v.what,
- 'Result mismatch:\nParsed: ' + inspect(result)
- + '\nExpected: ' + inspect(v.expected[i]))
- );
- ++i;
- });
- ++t;
- next();
- });
-
- v.source.forEach(function(s) {
- busboy.write(Buffer.from(s, 'utf8'), EMPTY_FN);
- });
- busboy.end();
-}
-next();
-
-function makeMsg(what, msg) {
- return '[' + group + what + ']: ' + msg;
-}
-
-process.on('exit', function() {
- assert(t === tests.length, makeMsg('_exit', 'Only finished ' + t + '/' + tests.length + ' tests'));
-});
diff --git a/Server/node_modules/busboy/test/test-utils-decoder.js b/Server/node_modules/busboy/test/test-utils-decoder.js
deleted file mode 100644
index 780bf44..0000000
--- a/Server/node_modules/busboy/test/test-utils-decoder.js
+++ /dev/null
@@ -1,66 +0,0 @@
-var Decoder = require('../lib/utils').Decoder;
-
-var path = require('path'),
- assert = require('assert');
-
-var group = path.basename(__filename, '.js') + '/';
-
-[
- { source: ['Hello world'],
- expected: 'Hello world',
- what: 'No encoded bytes'
- },
- { source: ['Hello%20world'],
- expected: 'Hello world',
- what: 'One full encoded byte'
- },
- { source: ['Hello%20world%21'],
- expected: 'Hello world!',
- what: 'Two full encoded bytes'
- },
- { source: ['Hello%', '20world'],
- expected: 'Hello world',
- what: 'One full encoded byte split #1'
- },
- { source: ['Hello%2', '0world'],
- expected: 'Hello world',
- what: 'One full encoded byte split #2'
- },
- { source: ['Hello%20', 'world'],
- expected: 'Hello world',
- what: 'One full encoded byte (concat)'
- },
- { source: ['Hello%2Qworld'],
- expected: 'Hello%2Qworld',
- what: 'Malformed encoded byte #1'
- },
- { source: ['Hello%world'],
- expected: 'Hello%world',
- what: 'Malformed encoded byte #2'
- },
- { source: ['Hello+world'],
- expected: 'Hello world',
- what: 'Plus to space'
- },
- { source: ['Hello+world%21'],
- expected: 'Hello world!',
- what: 'Plus and encoded byte'
- },
- { source: ['5%2B5%3D10'],
- expected: '5+5=10',
- what: 'Encoded plus'
- },
- { source: ['5+%2B+5+%3D+10'],
- expected: '5 + 5 = 10',
- what: 'Spaces and encoded plus'
- },
-].forEach(function(v) {
- var dec = new Decoder(), result = '';
- v.source.forEach(function(s) {
- result += dec.write(s);
- });
- var msg = '[' + group + v.what + ']: decoded string mismatch.\n'
- + 'Saw: ' + result + '\n'
- + 'Expected: ' + v.expected;
- assert.deepEqual(result, v.expected, msg);
-});
diff --git a/Server/node_modules/busboy/test/test-utils-parse-params.js b/Server/node_modules/busboy/test/test-utils-parse-params.js
deleted file mode 100644
index c85c300..0000000
--- a/Server/node_modules/busboy/test/test-utils-parse-params.js
+++ /dev/null
@@ -1,96 +0,0 @@
-var parseParams = require('../lib/utils').parseParams;
-
-var path = require('path'),
- assert = require('assert'),
- inspect = require('util').inspect;
-
-var group = path.basename(__filename, '.js') + '/';
-
-[
- { source: 'video/ogg',
- expected: ['video/ogg'],
- what: 'No parameters'
- },
- { source: 'video/ogg;',
- expected: ['video/ogg'],
- what: 'No parameters (with separator)'
- },
- { source: 'video/ogg; ',
- expected: ['video/ogg'],
- what: 'No parameters (with separator followed by whitespace)'
- },
- { source: ';video/ogg',
- expected: ['', 'video/ogg'],
- what: 'Empty parameter'
- },
- { source: 'video/*',
- expected: ['video/*'],
- what: 'Subtype with asterisk'
- },
- { source: 'text/plain; encoding=utf8',
- expected: ['text/plain', ['encoding', 'utf8']],
- what: 'Unquoted'
- },
- { source: 'text/plain; encoding=',
- expected: ['text/plain', ['encoding', '']],
- what: 'Unquoted empty string'
- },
- { source: 'text/plain; encoding="utf8"',
- expected: ['text/plain', ['encoding', 'utf8']],
- what: 'Quoted'
- },
- { source: 'text/plain; greeting="hello \\"world\\""',
- expected: ['text/plain', ['greeting', 'hello "world"']],
- what: 'Quotes within quoted'
- },
- { source: 'text/plain; encoding=""',
- expected: ['text/plain', ['encoding', '']],
- what: 'Quoted empty string'
- },
- { source: 'text/plain; encoding="utf8";\t foo=bar;test',
- expected: ['text/plain', ['encoding', 'utf8'], ['foo', 'bar'], 'test'],
- what: 'Multiple params with various spacing'
- },
- { source: "text/plain; filename*=iso-8859-1'en'%A3%20rates",
- expected: ['text/plain', ['filename', '£ rates']],
- what: 'Extended parameter (RFC 5987) with language'
- },
- { source: "text/plain; filename*=utf-8''%c2%a3%20and%20%e2%82%ac%20rates",
- expected: ['text/plain', ['filename', '£ and € rates']],
- what: 'Extended parameter (RFC 5987) without language'
- },
- { source: "text/plain; filename*=utf-8''%E6%B5%8B%E8%AF%95%E6%96%87%E6%A1%A3",
- expected: ['text/plain', ['filename', '测试文档']],
- what: 'Extended parameter (RFC 5987) without language #2'
- },
- { source: "text/plain; filename*=iso-8859-1'en'%A3%20rates; altfilename*=utf-8''%c2%a3%20and%20%e2%82%ac%20rates",
- expected: ['text/plain', ['filename', '£ rates'], ['altfilename', '£ and € rates']],
- what: 'Multiple extended parameters (RFC 5987) with mixed charsets'
- },
- { source: "text/plain; filename*=iso-8859-1'en'%A3%20rates; altfilename=\"foobarbaz\"",
- expected: ['text/plain', ['filename', '£ rates'], ['altfilename', 'foobarbaz']],
- what: 'Mixed regular and extended parameters (RFC 5987)'
- },
- { source: "text/plain; filename=\"foobarbaz\"; altfilename*=iso-8859-1'en'%A3%20rates",
- expected: ['text/plain', ['filename', 'foobarbaz'], ['altfilename', '£ rates']],
- what: 'Mixed regular and extended parameters (RFC 5987) #2'
- },
- { source: 'text/plain; filename="C:\\folder\\test.png"',
- expected: ['text/plain', ['filename', 'C:\\folder\\test.png']],
- what: 'Unescaped backslashes should be considered backslashes'
- },
- { source: 'text/plain; filename="John \\"Magic\\" Smith.png"',
- expected: ['text/plain', ['filename', 'John "Magic" Smith.png']],
- what: 'Escaped double-quotes should be considered double-quotes'
- },
- { source: 'multipart/form-data; charset=utf-8; boundary=0xKhTmLbOuNdArY',
- expected: ['multipart/form-data', ['charset', 'utf-8'], ['boundary', '0xKhTmLbOuNdArY']],
- what: 'Multiple non-quoted parameters'
- },
-].forEach(function(v) {
- var result = parseParams(v.source),
- msg = '[' + group + v.what + ']: parsed parameters mismatch.\n'
- + 'Saw: ' + inspect(result) + '\n'
- + 'Expected: ' + inspect(v.expected);
- assert.deepEqual(result, v.expected, msg);
-});
diff --git a/Server/node_modules/busboy/test/test.js b/Server/node_modules/busboy/test/test.js
deleted file mode 100644
index 3383f27..0000000
--- a/Server/node_modules/busboy/test/test.js
+++ /dev/null
@@ -1,4 +0,0 @@
-require('fs').readdirSync(__dirname).forEach(function(f) {
- if (f.substr(0, 5) === 'test-')
- require('./' + f);
-});
\ No newline at end of file
diff --git a/Server/node_modules/bytes/History.md b/Server/node_modules/bytes/History.md
deleted file mode 100644
index cf6a5bb..0000000
--- a/Server/node_modules/bytes/History.md
+++ /dev/null
@@ -1,87 +0,0 @@
-3.1.0 / 2019-01-22
-==================
-
- * Add petabyte (`pb`) support
-
-3.0.0 / 2017-08-31
-==================
-
- * Change "kB" to "KB" in format output
- * Remove support for Node.js 0.6
- * Remove support for ComponentJS
-
-2.5.0 / 2017-03-24
-==================
-
- * Add option "unit"
-
-2.4.0 / 2016-06-01
-==================
-
- * Add option "unitSeparator"
-
-2.3.0 / 2016-02-15
-==================
-
- * Drop partial bytes on all parsed units
- * Fix non-finite numbers to `.format` to return `null`
- * Fix parsing byte string that looks like hex
- * perf: hoist regular expressions
-
-2.2.0 / 2015-11-13
-==================
-
- * add option "decimalPlaces"
- * add option "fixedDecimals"
-
-2.1.0 / 2015-05-21
-==================
-
- * add `.format` export
- * add `.parse` export
-
-2.0.2 / 2015-05-20
-==================
-
- * remove map recreation
- * remove unnecessary object construction
-
-2.0.1 / 2015-05-07
-==================
-
- * fix browserify require
- * remove node.extend dependency
-
-2.0.0 / 2015-04-12
-==================
-
- * add option "case"
- * add option "thousandsSeparator"
- * return "null" on invalid parse input
- * support proper round-trip: bytes(bytes(num)) === num
- * units no longer case sensitive when parsing
-
-1.0.0 / 2014-05-05
-==================
-
- * add negative support. fixes #6
-
-0.3.0 / 2014-03-19
-==================
-
- * added terabyte support
-
-0.2.1 / 2013-04-01
-==================
-
- * add .component
-
-0.2.0 / 2012-10-28
-==================
-
- * bytes(200).should.eql('200b')
-
-0.1.0 / 2012-07-04
-==================
-
- * add bytes to string conversion [yields]
diff --git a/Server/node_modules/bytes/LICENSE b/Server/node_modules/bytes/LICENSE
deleted file mode 100644
index 63e95a9..0000000
--- a/Server/node_modules/bytes/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012-2014 TJ Holowaychuk <tj@vision-media.ca>
-Copyright (c) 2015 Jed Watson <jed.watson@me.com>
-
-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.
diff --git a/Server/node_modules/bytes/Readme.md b/Server/node_modules/bytes/Readme.md
deleted file mode 100644
index 6ad1ec6..0000000
--- a/Server/node_modules/bytes/Readme.md
+++ /dev/null
@@ -1,126 +0,0 @@
-# Bytes utility
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Utility to parse a string bytes (ex: `1TB`) to bytes (`1099511627776`) and vice-versa.
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```bash
-$ npm install bytes
-```
-
-## Usage
-
-```js
-var bytes = require('bytes');
-```
-
-#### bytes.format(number value, [options]): string|null
-
-Format the given value in bytes into a string. If the value is negative, it is kept as such. If it is a float, it is
- rounded.
-
-**Arguments**
-
-| Name | Type | Description |
-|---------|----------|--------------------|
-| value | `number` | Value in bytes |
-| options | `Object` | Conversion options |
-
-**Options**
-
-| Property | Type | Description |
-|-------------------|--------|-----------------------------------------------------------------------------------------|
-| decimalPlaces | `number`|`null` | Maximum number of decimal places to include in output. Default value to `2`. |
-| fixedDecimals | `boolean`|`null` | Whether to always display the maximum number of decimal places. Default value to `false` |
-| thousandsSeparator | `string`|`null` | Example of values: `' '`, `','` and `.`... Default value to `''`. |
-| unit | `string`|`null` | The unit in which the result will be returned (B/KB/MB/GB/TB). Default value to `''` (which means auto detect). |
-| unitSeparator | `string`|`null` | Separator to use between number and unit. Default value to `''`. |
-
-**Returns**
-
-| Name | Type | Description |
-|---------|------------------|-------------------------------------------------|
-| results | `string`|`null` | Return null upon error. String value otherwise. |
-
-**Example**
-
-```js
-bytes(1024);
-// output: '1KB'
-
-bytes(1000);
-// output: '1000B'
-
-bytes(1000, {thousandsSeparator: ' '});
-// output: '1 000B'
-
-bytes(1024 * 1.7, {decimalPlaces: 0});
-// output: '2KB'
-
-bytes(1024, {unitSeparator: ' '});
-// output: '1 KB'
-
-```
-
-#### bytes.parse(string|number value): number|null
-
-Parse the string value into an integer in bytes. If no unit is given, or `value`
-is a number, it is assumed the value is in bytes.
-
-Supported units and abbreviations are as follows and are case-insensitive:
-
- * `b` for bytes
- * `kb` for kilobytes
- * `mb` for megabytes
- * `gb` for gigabytes
- * `tb` for terabytes
- * `pb` for petabytes
-
-The units are in powers of two, not ten. This means 1kb = 1024b according to this parser.
-
-**Arguments**
-
-| Name | Type | Description |
-|---------------|--------|--------------------|
-| value | `string`|`number` | String to parse, or number in bytes. |
-
-**Returns**
-
-| Name | Type | Description |
-|---------|-------------|-------------------------|
-| results | `number`|`null` | Return null upon error. Value in bytes otherwise. |
-
-**Example**
-
-```js
-bytes('1KB');
-// output: 1024
-
-bytes('1024');
-// output: 1024
-
-bytes(1024);
-// output: 1KB
-```
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/visionmedia/bytes.js/master
-[coveralls-url]: https://coveralls.io/r/visionmedia/bytes.js?branch=master
-[downloads-image]: https://badgen.net/npm/dm/bytes
-[downloads-url]: https://npmjs.org/package/bytes
-[npm-image]: https://badgen.net/npm/node/bytes
-[npm-url]: https://npmjs.org/package/bytes
-[travis-image]: https://badgen.net/travis/visionmedia/bytes.js/master
-[travis-url]: https://travis-ci.org/visionmedia/bytes.js
diff --git a/Server/node_modules/bytes/index.js b/Server/node_modules/bytes/index.js
deleted file mode 100644
index 4975bfb..0000000
--- a/Server/node_modules/bytes/index.js
+++ /dev/null
@@ -1,162 +0,0 @@
-/*!
- * bytes
- * Copyright(c) 2012-2014 TJ Holowaychuk
- * Copyright(c) 2015 Jed Watson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = bytes;
-module.exports.format = format;
-module.exports.parse = parse;
-
-/**
- * Module variables.
- * @private
- */
-
-var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g;
-
-var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
-
-var map = {
- b: 1,
- kb: 1 << 10,
- mb: 1 << 20,
- gb: 1 << 30,
- tb: Math.pow(1024, 4),
- pb: Math.pow(1024, 5),
-};
-
-var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
-
-/**
- * Convert the given value in bytes into a string or parse to string to an integer in bytes.
- *
- * @param {string|number} value
- * @param {{
- * case: [string],
- * decimalPlaces: [number]
- * fixedDecimals: [boolean]
- * thousandsSeparator: [string]
- * unitSeparator: [string]
- * }} [options] bytes options.
- *
- * @returns {string|number|null}
- */
-
-function bytes(value, options) {
- if (typeof value === 'string') {
- return parse(value);
- }
-
- if (typeof value === 'number') {
- return format(value, options);
- }
-
- return null;
-}
-
-/**
- * Format the given value in bytes into a string.
- *
- * If the value is negative, it is kept as such. If it is a float,
- * it is rounded.
- *
- * @param {number} value
- * @param {object} [options]
- * @param {number} [options.decimalPlaces=2]
- * @param {number} [options.fixedDecimals=false]
- * @param {string} [options.thousandsSeparator=]
- * @param {string} [options.unit=]
- * @param {string} [options.unitSeparator=]
- *
- * @returns {string|null}
- * @public
- */
-
-function format(value, options) {
- if (!Number.isFinite(value)) {
- return null;
- }
-
- var mag = Math.abs(value);
- var thousandsSeparator = (options && options.thousandsSeparator) || '';
- var unitSeparator = (options && options.unitSeparator) || '';
- var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2;
- var fixedDecimals = Boolean(options && options.fixedDecimals);
- var unit = (options && options.unit) || '';
-
- if (!unit || !map[unit.toLowerCase()]) {
- if (mag >= map.pb) {
- unit = 'PB';
- } else if (mag >= map.tb) {
- unit = 'TB';
- } else if (mag >= map.gb) {
- unit = 'GB';
- } else if (mag >= map.mb) {
- unit = 'MB';
- } else if (mag >= map.kb) {
- unit = 'KB';
- } else {
- unit = 'B';
- }
- }
-
- var val = value / map[unit.toLowerCase()];
- var str = val.toFixed(decimalPlaces);
-
- if (!fixedDecimals) {
- str = str.replace(formatDecimalsRegExp, '$1');
- }
-
- if (thousandsSeparator) {
- str = str.replace(formatThousandsRegExp, thousandsSeparator);
- }
-
- return str + unitSeparator + unit;
-}
-
-/**
- * Parse the string value into an integer in bytes.
- *
- * If no unit is given, it is assumed the value is in bytes.
- *
- * @param {number|string} val
- *
- * @returns {number|null}
- * @public
- */
-
-function parse(val) {
- if (typeof val === 'number' && !isNaN(val)) {
- return val;
- }
-
- if (typeof val !== 'string') {
- return null;
- }
-
- // Test if the string passed is valid
- var results = parseRegExp.exec(val);
- var floatValue;
- var unit = 'b';
-
- if (!results) {
- // Nothing could be extracted from the given string
- floatValue = parseInt(val, 10);
- unit = 'b'
- } else {
- // Retrieve the value and the unit
- floatValue = parseFloat(results[1]);
- unit = results[4].toLowerCase();
- }
-
- return Math.floor(map[unit] * floatValue);
-}
diff --git a/Server/node_modules/bytes/package.json b/Server/node_modules/bytes/package.json
deleted file mode 100644
index 121b052..0000000
--- a/Server/node_modules/bytes/package.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "_from": "bytes@3.1.0",
- "_id": "bytes@3.1.0",
- "_inBundle": false,
- "_integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==",
- "_location": "/bytes",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "bytes@3.1.0",
- "name": "bytes",
- "escapedName": "bytes",
- "rawSpec": "3.1.0",
- "saveSpec": null,
- "fetchSpec": "3.1.0"
- },
- "_requiredBy": [
- "/body-parser",
- "/raw-body"
- ],
- "_resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
- "_shasum": "f6cf7933a360e0588fa9fde85651cdc7f805d1f6",
- "_spec": "bytes@3.1.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca",
- "url": "http://tjholowaychuk.com"
- },
- "bugs": {
- "url": "https://github.com/visionmedia/bytes.js/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Jed Watson",
- "email": "jed.watson@me.com"
- },
- {
- "name": "Théo FIDRY",
- "email": "theo.fidry@gmail.com"
- }
- ],
- "deprecated": false,
- "description": "Utility to parse a string bytes to bytes and vice-versa",
- "devDependencies": {
- "eslint": "5.12.1",
- "mocha": "5.2.0",
- "nyc": "13.1.0"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "History.md",
- "LICENSE",
- "Readme.md",
- "index.js"
- ],
- "homepage": "https://github.com/visionmedia/bytes.js#readme",
- "keywords": [
- "byte",
- "bytes",
- "utility",
- "parse",
- "parser",
- "convert",
- "converter"
- ],
- "license": "MIT",
- "name": "bytes",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/visionmedia/bytes.js.git"
- },
- "scripts": {
- "lint": "eslint .",
- "test": "mocha --check-leaks --reporter spec",
- "test-ci": "nyc --reporter=text npm test",
- "test-cov": "nyc --reporter=html --reporter=text npm test"
- },
- "version": "3.1.0"
-}
diff --git a/Server/node_modules/chalk/index.js b/Server/node_modules/chalk/index.js
deleted file mode 100644
index 1cc5fa8..0000000
--- a/Server/node_modules/chalk/index.js
+++ /dev/null
@@ -1,228 +0,0 @@
-'use strict';
-const escapeStringRegexp = require('escape-string-regexp');
-const ansiStyles = require('ansi-styles');
-const stdoutColor = require('supports-color').stdout;
-
-const template = require('./templates.js');
-
-const isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm');
-
-// `supportsColor.level` → `ansiStyles.color[name]` mapping
-const levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m'];
-
-// `color-convert` models to exclude from the Chalk API due to conflicts and such
-const skipModels = new Set(['gray']);
-
-const styles = Object.create(null);
-
-function applyOptions(obj, options) {
- options = options || {};
-
- // Detect level if not set manually
- const scLevel = stdoutColor ? stdoutColor.level : 0;
- obj.level = options.level === undefined ? scLevel : options.level;
- obj.enabled = 'enabled' in options ? options.enabled : obj.level > 0;
-}
-
-function Chalk(options) {
- // We check for this.template here since calling `chalk.constructor()`
- // by itself will have a `this` of a previously constructed chalk object
- if (!this || !(this instanceof Chalk) || this.template) {
- const chalk = {};
- applyOptions(chalk, options);
-
- chalk.template = function () {
- const args = [].slice.call(arguments);
- return chalkTag.apply(null, [chalk.template].concat(args));
- };
-
- Object.setPrototypeOf(chalk, Chalk.prototype);
- Object.setPrototypeOf(chalk.template, chalk);
-
- chalk.template.constructor = Chalk;
-
- return chalk.template;
- }
-
- applyOptions(this, options);
-}
-
-// Use bright blue on Windows as the normal blue color is illegible
-if (isSimpleWindowsTerm) {
- ansiStyles.blue.open = '\u001B[94m';
-}
-
-for (const key of Object.keys(ansiStyles)) {
- ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g');
-
- styles[key] = {
- get() {
- const codes = ansiStyles[key];
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key);
- }
- };
-}
-
-styles.visible = {
- get() {
- return build.call(this, this._styles || [], true, 'visible');
- }
-};
-
-ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g');
-for (const model of Object.keys(ansiStyles.color.ansi)) {
- if (skipModels.has(model)) {
- continue;
- }
-
- styles[model] = {
- get() {
- const level = this.level;
- return function () {
- const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments);
- const codes = {
- open,
- close: ansiStyles.color.close,
- closeRe: ansiStyles.color.closeRe
- };
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
- };
- }
- };
-}
-
-ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), 'g');
-for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
- if (skipModels.has(model)) {
- continue;
- }
-
- const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);
- styles[bgModel] = {
- get() {
- const level = this.level;
- return function () {
- const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments);
- const codes = {
- open,
- close: ansiStyles.bgColor.close,
- closeRe: ansiStyles.bgColor.closeRe
- };
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
- };
- }
- };
-}
-
-const proto = Object.defineProperties(() => {}, styles);
-
-function build(_styles, _empty, key) {
- const builder = function () {
- return applyStyle.apply(builder, arguments);
- };
-
- builder._styles = _styles;
- builder._empty = _empty;
-
- const self = this;
-
- Object.defineProperty(builder, 'level', {
- enumerable: true,
- get() {
- return self.level;
- },
- set(level) {
- self.level = level;
- }
- });
-
- Object.defineProperty(builder, 'enabled', {
- enumerable: true,
- get() {
- return self.enabled;
- },
- set(enabled) {
- self.enabled = enabled;
- }
- });
-
- // See below for fix regarding invisible grey/dim combination on Windows
- builder.hasGrey = this.hasGrey || key === 'gray' || key === 'grey';
-
- // `__proto__` is used because we must return a function, but there is
- // no way to create a function with a different prototype
- builder.__proto__ = proto; // eslint-disable-line no-proto
-
- return builder;
-}
-
-function applyStyle() {
- // Support varags, but simply cast to string in case there's only one arg
- const args = arguments;
- const argsLen = args.length;
- let str = String(arguments[0]);
-
- if (argsLen === 0) {
- return '';
- }
-
- if (argsLen > 1) {
- // Don't slice `arguments`, it prevents V8 optimizations
- for (let a = 1; a < argsLen; a++) {
- str += ' ' + args[a];
- }
- }
-
- if (!this.enabled || this.level <= 0 || !str) {
- return this._empty ? '' : str;
- }
-
- // Turns out that on Windows dimmed gray text becomes invisible in cmd.exe,
- // see https://github.com/chalk/chalk/issues/58
- // If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop.
- const originalDim = ansiStyles.dim.open;
- if (isSimpleWindowsTerm && this.hasGrey) {
- ansiStyles.dim.open = '';
- }
-
- for (const code of this._styles.slice().reverse()) {
- // Replace any instances already present with a re-opening code
- // otherwise only the part of the string until said closing code
- // will be colored, and the rest will simply be 'plain'.
- str = code.open + str.replace(code.closeRe, code.open) + code.close;
-
- // Close the styling before a linebreak and reopen
- // after next line to fix a bleed issue on macOS
- // https://github.com/chalk/chalk/pull/92
- str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`);
- }
-
- // Reset the original `dim` if we changed it to work around the Windows dimmed gray issue
- ansiStyles.dim.open = originalDim;
-
- return str;
-}
-
-function chalkTag(chalk, strings) {
- if (!Array.isArray(strings)) {
- // If chalk() was called by itself or with a string,
- // return the string itself as a string.
- return [].slice.call(arguments, 1).join(' ');
- }
-
- const args = [].slice.call(arguments, 2);
- const parts = [strings.raw[0]];
-
- for (let i = 1; i < strings.length; i++) {
- parts.push(String(args[i - 1]).replace(/[{}\\]/g, '\\$&'));
- parts.push(String(strings.raw[i]));
- }
-
- return template(chalk, parts.join(''));
-}
-
-Object.defineProperties(Chalk.prototype, styles);
-
-module.exports = Chalk(); // eslint-disable-line new-cap
-module.exports.supportsColor = stdoutColor;
-module.exports.default = module.exports; // For TypeScript
diff --git a/Server/node_modules/chalk/index.js.flow b/Server/node_modules/chalk/index.js.flow
deleted file mode 100644
index 622caaa..0000000
--- a/Server/node_modules/chalk/index.js.flow
+++ /dev/null
@@ -1,93 +0,0 @@
-// @flow strict
-
-type TemplateStringsArray = $ReadOnlyArray<string>;
-
-export type Level = $Values<{
- None: 0,
- Basic: 1,
- Ansi256: 2,
- TrueColor: 3
-}>;
-
-export type ChalkOptions = {|
- enabled?: boolean,
- level?: Level
-|};
-
-export type ColorSupport = {|
- level: Level,
- hasBasic: boolean,
- has256: boolean,
- has16m: boolean
-|};
-
-export interface Chalk {
- (...text: string[]): string,
- (text: TemplateStringsArray, ...placeholders: string[]): string,
- constructor(options?: ChalkOptions): Chalk,
- enabled: boolean,
- level: Level,
- rgb(r: number, g: number, b: number): Chalk,
- hsl(h: number, s: number, l: number): Chalk,
- hsv(h: number, s: number, v: number): Chalk,
- hwb(h: number, w: number, b: number): Chalk,
- bgHex(color: string): Chalk,
- bgKeyword(color: string): Chalk,
- bgRgb(r: number, g: number, b: number): Chalk,
- bgHsl(h: number, s: number, l: number): Chalk,
- bgHsv(h: number, s: number, v: number): Chalk,
- bgHwb(h: number, w: number, b: number): Chalk,
- hex(color: string): Chalk,
- keyword(color: string): Chalk,
-
- +reset: Chalk,
- +bold: Chalk,
- +dim: Chalk,
- +italic: Chalk,
- +underline: Chalk,
- +inverse: Chalk,
- +hidden: Chalk,
- +strikethrough: Chalk,
-
- +visible: Chalk,
-
- +black: Chalk,
- +red: Chalk,
- +green: Chalk,
- +yellow: Chalk,
- +blue: Chalk,
- +magenta: Chalk,
- +cyan: Chalk,
- +white: Chalk,
- +gray: Chalk,
- +grey: Chalk,
- +blackBright: Chalk,
- +redBright: Chalk,
- +greenBright: Chalk,
- +yellowBright: Chalk,
- +blueBright: Chalk,
- +magentaBright: Chalk,
- +cyanBright: Chalk,
- +whiteBright: Chalk,
-
- +bgBlack: Chalk,
- +bgRed: Chalk,
- +bgGreen: Chalk,
- +bgYellow: Chalk,
- +bgBlue: Chalk,
- +bgMagenta: Chalk,
- +bgCyan: Chalk,
- +bgWhite: Chalk,
- +bgBlackBright: Chalk,
- +bgRedBright: Chalk,
- +bgGreenBright: Chalk,
- +bgYellowBright: Chalk,
- +bgBlueBright: Chalk,
- +bgMagentaBright: Chalk,
- +bgCyanBright: Chalk,
- +bgWhiteBrigh: Chalk,
-
- supportsColor: ColorSupport
-};
-
-declare module.exports: Chalk;
diff --git a/Server/node_modules/chalk/license b/Server/node_modules/chalk/license
deleted file mode 100644
index e7af2f7..0000000
--- a/Server/node_modules/chalk/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-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.
diff --git a/Server/node_modules/chalk/package.json b/Server/node_modules/chalk/package.json
deleted file mode 100644
index 98ef0c2..0000000
--- a/Server/node_modules/chalk/package.json
+++ /dev/null
@@ -1,103 +0,0 @@
-{
- "_from": "chalk@^2.4.2",
- "_id": "chalk@2.4.2",
- "_inBundle": false,
- "_integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "_location": "/chalk",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "chalk@^2.4.2",
- "name": "chalk",
- "escapedName": "chalk",
- "rawSpec": "^2.4.2",
- "saveSpec": null,
- "fetchSpec": "^2.4.2"
- },
- "_requiredBy": [
- "/jake"
- ],
- "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "_shasum": "cd42541677a54333cf541a49108c1432b44c9424",
- "_spec": "chalk@^2.4.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/jake",
- "bugs": {
- "url": "https://github.com/chalk/chalk/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "deprecated": false,
- "description": "Terminal string styling done right",
- "devDependencies": {
- "ava": "*",
- "coveralls": "^3.0.0",
- "execa": "^0.9.0",
- "flow-bin": "^0.68.0",
- "import-fresh": "^2.0.0",
- "matcha": "^0.7.0",
- "nyc": "^11.0.2",
- "resolve-from": "^4.0.0",
- "typescript": "^2.5.3",
- "xo": "*"
- },
- "engines": {
- "node": ">=4"
- },
- "files": [
- "index.js",
- "templates.js",
- "types/index.d.ts",
- "index.js.flow"
- ],
- "homepage": "https://github.com/chalk/chalk#readme",
- "keywords": [
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "cli",
- "string",
- "str",
- "ansi",
- "style",
- "styles",
- "tty",
- "formatting",
- "rgb",
- "256",
- "shell",
- "xterm",
- "log",
- "logging",
- "command-line",
- "text"
- ],
- "license": "MIT",
- "name": "chalk",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/chalk/chalk.git"
- },
- "scripts": {
- "bench": "matcha benchmark.js",
- "coveralls": "nyc report --reporter=text-lcov | coveralls",
- "test": "xo && tsc --project types && flow --max-warnings=0 && nyc ava"
- },
- "types": "types/index.d.ts",
- "version": "2.4.2",
- "xo": {
- "envs": [
- "node",
- "mocha"
- ],
- "ignores": [
- "test/_flow.js"
- ]
- }
-}
diff --git a/Server/node_modules/chalk/readme.md b/Server/node_modules/chalk/readme.md
deleted file mode 100644
index d298e2c..0000000
--- a/Server/node_modules/chalk/readme.md
+++ /dev/null
@@ -1,314 +0,0 @@
-<h1 align="center">
- <br>
- <br>
- <img width="320" src="media/logo.svg" alt="Chalk">
- <br>
- <br>
- <br>
-</h1>
-
-> Terminal string styling done right
-
-[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![Mentioned in Awesome Node.js](https://awesome.re/mentioned-badge.svg)](https://github.com/sindresorhus/awesome-nodejs)
-
-### [See what's new in Chalk 2](https://github.com/chalk/chalk/releases/tag/v2.0.0)
-
-<img src="https://cdn.rawgit.com/chalk/ansi-styles/8261697c95bf34b6c7767e2cbe9941a851d59385/screenshot.svg" alt="" width="900">
-
-
-## Highlights
-
-- Expressive API
-- Highly performant
-- Ability to nest styles
-- [256/Truecolor color support](#256-and-truecolor-color-support)
-- Auto-detects color support
-- Doesn't extend `String.prototype`
-- Clean and focused
-- Actively maintained
-- [Used by ~23,000 packages](https://www.npmjs.com/browse/depended/chalk) as of December 31, 2017
-
-
-## Install
-
-```console
-$ npm install chalk
-```
-
-<a href="https://www.patreon.com/sindresorhus">
- <img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
-</a>
-
-
-## Usage
-
-```js
-const chalk = require('chalk');
-
-console.log(chalk.blue('Hello world!'));
-```
-
-Chalk comes with an easy to use composable API where you just chain and nest the styles you want.
-
-```js
-const chalk = require('chalk');
-const log = console.log;
-
-// Combine styled and normal strings
-log(chalk.blue('Hello') + ' World' + chalk.red('!'));
-
-// Compose multiple styles using the chainable API
-log(chalk.blue.bgRed.bold('Hello world!'));
-
-// Pass in multiple arguments
-log(chalk.blue('Hello', 'World!', 'Foo', 'bar', 'biz', 'baz'));
-
-// Nest styles
-log(chalk.red('Hello', chalk.underline.bgBlue('world') + '!'));
-
-// Nest styles of the same type even (color, underline, background)
-log(chalk.green(
- 'I am a green line ' +
- chalk.blue.underline.bold('with a blue substring') +
- ' that becomes green again!'
-));
-
-// ES2015 template literal
-log(`
-CPU: ${chalk.red('90%')}
-RAM: ${chalk.green('40%')}
-DISK: ${chalk.yellow('70%')}
-`);
-
-// ES2015 tagged template literal
-log(chalk`
-CPU: {red ${cpu.totalPercent}%}
-RAM: {green ${ram.used / ram.total * 100}%}
-DISK: {rgb(255,131,0) ${disk.used / disk.total * 100}%}
-`);
-
-// Use RGB colors in terminal emulators that support it.
-log(chalk.keyword('orange')('Yay for orange colored text!'));
-log(chalk.rgb(123, 45, 67).underline('Underlined reddish color'));
-log(chalk.hex('#DEADED').bold('Bold gray!'));
-```
-
-Easily define your own themes:
-
-```js
-const chalk = require('chalk');
-
-const error = chalk.bold.red;
-const warning = chalk.keyword('orange');
-
-console.log(error('Error!'));
-console.log(warning('Warning!'));
-```
-
-Take advantage of console.log [string substitution](https://nodejs.org/docs/latest/api/console.html#console_console_log_data_args):
-
-```js
-const name = 'Sindre';
-console.log(chalk.green('Hello %s'), name);
-//=> 'Hello Sindre'
-```
-
-
-## API
-
-### chalk.`<style>[.<style>...](string, [string...])`
-
-Example: `chalk.red.bold.underline('Hello', 'world');`
-
-Chain [styles](#styles) and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
-
-Multiple arguments will be separated by space.
-
-### chalk.enabled
-
-Color support is automatically detected, as is the level (see `chalk.level`). However, if you'd like to simply enable/disable Chalk, you can do so via the `.enabled` property.
-
-Chalk is enabled by default unless explicitly disabled via the constructor or `chalk.level` is `0`.
-
-If you need to change this in a reusable module, create a new instance:
-
-```js
-const ctx = new chalk.constructor({enabled: false});
-```
-
-### chalk.level
-
-Color support is automatically detected, but you can override it by setting the `level` property. You should however only do this in your own code as it applies globally to all Chalk consumers.
-
-If you need to change this in a reusable module, create a new instance:
-
-```js
-const ctx = new chalk.constructor({level: 0});
-```
-
-Levels are as follows:
-
-0. All colors disabled
-1. Basic color support (16 colors)
-2. 256 color support
-3. Truecolor support (16 million colors)
-
-### chalk.supportsColor
-
-Detect whether the terminal [supports color](https://github.com/chalk/supports-color). Used internally and handled for you, but exposed for convenience.
-
-Can be overridden by the user with the flags `--color` and `--no-color`. For situations where using `--color` is not possible, add the environment variable `FORCE_COLOR=1` to forcefully enable color or `FORCE_COLOR=0` to forcefully disable. The use of `FORCE_COLOR` overrides all other color support checks.
-
-Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=16m` flags, respectively.
-
-
-## Styles
-
-### Modifiers
-
-- `reset`
-- `bold`
-- `dim`
-- `italic` *(Not widely supported)*
-- `underline`
-- `inverse`
-- `hidden`
-- `strikethrough` *(Not widely supported)*
-- `visible` (Text is emitted only if enabled)
-
-### Colors
-
-- `black`
-- `red`
-- `green`
-- `yellow`
-- `blue` *(On Windows the bright version is used since normal blue is illegible)*
-- `magenta`
-- `cyan`
-- `white`
-- `gray` ("bright black")
-- `redBright`
-- `greenBright`
-- `yellowBright`
-- `blueBright`
-- `magentaBright`
-- `cyanBright`
-- `whiteBright`
-
-### Background colors
-
-- `bgBlack`
-- `bgRed`
-- `bgGreen`
-- `bgYellow`
-- `bgBlue`
-- `bgMagenta`
-- `bgCyan`
-- `bgWhite`
-- `bgBlackBright`
-- `bgRedBright`
-- `bgGreenBright`
-- `bgYellowBright`
-- `bgBlueBright`
-- `bgMagentaBright`
-- `bgCyanBright`
-- `bgWhiteBright`
-
-
-## Tagged template literal
-
-Chalk can be used as a [tagged template literal](http://exploringjs.com/es6/ch_template-literals.html#_tagged-template-literals).
-
-```js
-const chalk = require('chalk');
-
-const miles = 18;
-const calculateFeet = miles => miles * 5280;
-
-console.log(chalk`
- There are {bold 5280 feet} in a mile.
- In {bold ${miles} miles}, there are {green.bold ${calculateFeet(miles)} feet}.
-`);
-```
-
-Blocks are delimited by an opening curly brace (`{`), a style, some content, and a closing curly brace (`}`).
-
-Template styles are chained exactly like normal Chalk styles. The following two statements are equivalent:
-
-```js
-console.log(chalk.bold.rgb(10, 100, 200)('Hello!'));
-console.log(chalk`{bold.rgb(10,100,200) Hello!}`);
-```
-
-Note that function styles (`rgb()`, `hsl()`, `keyword()`, etc.) may not contain spaces between parameters.
-
-All interpolated values (`` chalk`${foo}` ``) are converted to strings via the `.toString()` method. All curly braces (`{` and `}`) in interpolated value strings are escaped.
-
-
-## 256 and Truecolor color support
-
-Chalk supports 256 colors and [Truecolor](https://gist.github.com/XVilka/8346728) (16 million colors) on supported terminal apps.
-
-Colors are downsampled from 16 million RGB values to an ANSI color format that is supported by the terminal emulator (or by specifying `{level: n}` as a Chalk option). For example, Chalk configured to run at level 1 (basic color support) will downsample an RGB value of #FF0000 (red) to 31 (ANSI escape for red).
-
-Examples:
-
-- `chalk.hex('#DEADED').underline('Hello, world!')`
-- `chalk.keyword('orange')('Some orange text')`
-- `chalk.rgb(15, 100, 204).inverse('Hello!')`
-
-Background versions of these models are prefixed with `bg` and the first level of the module capitalized (e.g. `keyword` for foreground colors and `bgKeyword` for background colors).
-
-- `chalk.bgHex('#DEADED').underline('Hello, world!')`
-- `chalk.bgKeyword('orange')('Some orange text')`
-- `chalk.bgRgb(15, 100, 204).inverse('Hello!')`
-
-The following color models can be used:
-
-- [`rgb`](https://en.wikipedia.org/wiki/RGB_color_model) - Example: `chalk.rgb(255, 136, 0).bold('Orange!')`
-- [`hex`](https://en.wikipedia.org/wiki/Web_colors#Hex_triplet) - Example: `chalk.hex('#FF8800').bold('Orange!')`
-- [`keyword`](https://www.w3.org/wiki/CSS/Properties/color/keywords) (CSS keywords) - Example: `chalk.keyword('orange').bold('Orange!')`
-- [`hsl`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsl(32, 100, 50).bold('Orange!')`
-- [`hsv`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsv(32, 100, 100).bold('Orange!')`
-- [`hwb`](https://en.wikipedia.org/wiki/HWB_color_model) - Example: `chalk.hwb(32, 0, 50).bold('Orange!')`
-- `ansi16`
-- `ansi256`
-
-
-## Windows
-
-If you're on Windows, do yourself a favor and use [`cmder`](http://cmder.net/) instead of `cmd.exe`.
-
-
-## Origin story
-
-[colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68) and the package is unmaintained. Although there are other packages, they either do too much or not enough. Chalk is a clean and focused alternative.
-
-
-## Related
-
-- [chalk-cli](https://github.com/chalk/chalk-cli) - CLI for this module
-- [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal
-- [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
-- [strip-ansi](https://github.com/chalk/strip-ansi) - Strip ANSI escape codes
-- [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Strip ANSI escape codes from a stream
-- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
-- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
-- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes
-- [slice-ansi](https://github.com/chalk/slice-ansi) - Slice a string with ANSI escape codes
-- [color-convert](https://github.com/qix-/color-convert) - Converts colors between different models
-- [chalk-animation](https://github.com/bokub/chalk-animation) - Animate strings in the terminal
-- [gradient-string](https://github.com/bokub/gradient-string) - Apply color gradients to strings
-- [chalk-pipe](https://github.com/LitoMore/chalk-pipe) - Create chalk style schemes with simpler style strings
-- [terminal-link](https://github.com/sindresorhus/terminal-link) - Create clickable links in the terminal
-
-
-## Maintainers
-
-- [Sindre Sorhus](https://github.com/sindresorhus)
-- [Josh Junon](https://github.com/qix-)
-
-
-## License
-
-MIT
diff --git a/Server/node_modules/chalk/templates.js b/Server/node_modules/chalk/templates.js
deleted file mode 100644
index dbdf9b2..0000000
--- a/Server/node_modules/chalk/templates.js
+++ /dev/null
@@ -1,128 +0,0 @@
-'use strict';
-const TEMPLATE_REGEX = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
-const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
-const STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
-const ESCAPE_REGEX = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;
-
-const ESCAPES = new Map([
- ['n', '\n'],
- ['r', '\r'],
- ['t', '\t'],
- ['b', '\b'],
- ['f', '\f'],
- ['v', '\v'],
- ['0', '\0'],
- ['\\', '\\'],
- ['e', '\u001B'],
- ['a', '\u0007']
-]);
-
-function unescape(c) {
- if ((c[0] === 'u' && c.length === 5) || (c[0] === 'x' && c.length === 3)) {
- return String.fromCharCode(parseInt(c.slice(1), 16));
- }
-
- return ESCAPES.get(c) || c;
-}
-
-function parseArguments(name, args) {
- const results = [];
- const chunks = args.trim().split(/\s*,\s*/g);
- let matches;
-
- for (const chunk of chunks) {
- if (!isNaN(chunk)) {
- results.push(Number(chunk));
- } else if ((matches = chunk.match(STRING_REGEX))) {
- results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, chr) => escape ? unescape(escape) : chr));
- } else {
- throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);
- }
- }
-
- return results;
-}
-
-function parseStyle(style) {
- STYLE_REGEX.lastIndex = 0;
-
- const results = [];
- let matches;
-
- while ((matches = STYLE_REGEX.exec(style)) !== null) {
- const name = matches[1];
-
- if (matches[2]) {
- const args = parseArguments(name, matches[2]);
- results.push([name].concat(args));
- } else {
- results.push([name]);
- }
- }
-
- return results;
-}
-
-function buildStyle(chalk, styles) {
- const enabled = {};
-
- for (const layer of styles) {
- for (const style of layer.styles) {
- enabled[style[0]] = layer.inverse ? null : style.slice(1);
- }
- }
-
- let current = chalk;
- for (const styleName of Object.keys(enabled)) {
- if (Array.isArray(enabled[styleName])) {
- if (!(styleName in current)) {
- throw new Error(`Unknown Chalk style: ${styleName}`);
- }
-
- if (enabled[styleName].length > 0) {
- current = current[styleName].apply(current, enabled[styleName]);
- } else {
- current = current[styleName];
- }
- }
- }
-
- return current;
-}
-
-module.exports = (chalk, tmp) => {
- const styles = [];
- const chunks = [];
- let chunk = [];
-
- // eslint-disable-next-line max-params
- tmp.replace(TEMPLATE_REGEX, (m, escapeChar, inverse, style, close, chr) => {
- if (escapeChar) {
- chunk.push(unescape(escapeChar));
- } else if (style) {
- const str = chunk.join('');
- chunk = [];
- chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str));
- styles.push({inverse, styles: parseStyle(style)});
- } else if (close) {
- if (styles.length === 0) {
- throw new Error('Found extraneous } in Chalk template literal');
- }
-
- chunks.push(buildStyle(chalk, styles)(chunk.join('')));
- chunk = [];
- styles.pop();
- } else {
- chunk.push(chr);
- }
- });
-
- chunks.push(chunk.join(''));
-
- if (styles.length > 0) {
- const errMsg = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? '' : 's'} (\`}\`)`;
- throw new Error(errMsg);
- }
-
- return chunks.join('');
-};
diff --git a/Server/node_modules/chalk/types/index.d.ts b/Server/node_modules/chalk/types/index.d.ts
deleted file mode 100644
index b4e4dc5..0000000
--- a/Server/node_modules/chalk/types/index.d.ts
+++ /dev/null
@@ -1,97 +0,0 @@
-// Type definitions for Chalk
-// Definitions by: Thomas Sauer <https://github.com/t-sauer>
-
-export const enum Level {
- None = 0,
- Basic = 1,
- Ansi256 = 2,
- TrueColor = 3
-}
-
-export interface ChalkOptions {
- enabled?: boolean;
- level?: Level;
-}
-
-export interface ChalkConstructor {
- new (options?: ChalkOptions): Chalk;
- (options?: ChalkOptions): Chalk;
-}
-
-export interface ColorSupport {
- level: Level;
- hasBasic: boolean;
- has256: boolean;
- has16m: boolean;
-}
-
-export interface Chalk {
- (...text: string[]): string;
- (text: TemplateStringsArray, ...placeholders: string[]): string;
- constructor: ChalkConstructor;
- enabled: boolean;
- level: Level;
- rgb(r: number, g: number, b: number): this;
- hsl(h: number, s: number, l: number): this;
- hsv(h: number, s: number, v: number): this;
- hwb(h: number, w: number, b: number): this;
- bgHex(color: string): this;
- bgKeyword(color: string): this;
- bgRgb(r: number, g: number, b: number): this;
- bgHsl(h: number, s: number, l: number): this;
- bgHsv(h: number, s: number, v: number): this;
- bgHwb(h: number, w: number, b: number): this;
- hex(color: string): this;
- keyword(color: string): this;
-
- readonly reset: this;
- readonly bold: this;
- readonly dim: this;
- readonly italic: this;
- readonly underline: this;
- readonly inverse: this;
- readonly hidden: this;
- readonly strikethrough: this;
-
- readonly visible: this;
-
- readonly black: this;
- readonly red: this;
- readonly green: this;
- readonly yellow: this;
- readonly blue: this;
- readonly magenta: this;
- readonly cyan: this;
- readonly white: this;
- readonly gray: this;
- readonly grey: this;
- readonly blackBright: this;
- readonly redBright: this;
- readonly greenBright: this;
- readonly yellowBright: this;
- readonly blueBright: this;
- readonly magentaBright: this;
- readonly cyanBright: this;
- readonly whiteBright: this;
-
- readonly bgBlack: this;
- readonly bgRed: this;
- readonly bgGreen: this;
- readonly bgYellow: this;
- readonly bgBlue: this;
- readonly bgMagenta: this;
- readonly bgCyan: this;
- readonly bgWhite: this;
- readonly bgBlackBright: this;
- readonly bgRedBright: this;
- readonly bgGreenBright: this;
- readonly bgYellowBright: this;
- readonly bgBlueBright: this;
- readonly bgMagentaBright: this;
- readonly bgCyanBright: this;
- readonly bgWhiteBright: this;
-}
-
-declare const chalk: Chalk & { supportsColor: ColorSupport };
-
-export default chalk
diff --git a/Server/node_modules/color-convert/CHANGELOG.md b/Server/node_modules/color-convert/CHANGELOG.md
deleted file mode 100644
index 0a7bce4..0000000
--- a/Server/node_modules/color-convert/CHANGELOG.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# 1.0.0 - 2016-01-07
-
-- Removed: unused speed test
-- Added: Automatic routing between previously unsupported conversions
-([#27](https://github.com/Qix-/color-convert/pull/27))
-- Removed: `xxx2xxx()` and `xxx2xxxRaw()` functions
-([#27](https://github.com/Qix-/color-convert/pull/27))
-- Removed: `convert()` class
-([#27](https://github.com/Qix-/color-convert/pull/27))
-- Changed: all functions to lookup dictionary
-([#27](https://github.com/Qix-/color-convert/pull/27))
-- Changed: `ansi` to `ansi256`
-([#27](https://github.com/Qix-/color-convert/pull/27))
-- Fixed: argument grouping for functions requiring only one argument
-([#27](https://github.com/Qix-/color-convert/pull/27))
-
-# 0.6.0 - 2015-07-23
-
-- Added: methods to handle
-[ANSI](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) 16/256 colors:
- - rgb2ansi16
- - rgb2ansi
- - hsl2ansi16
- - hsl2ansi
- - hsv2ansi16
- - hsv2ansi
- - hwb2ansi16
- - hwb2ansi
- - cmyk2ansi16
- - cmyk2ansi
- - keyword2ansi16
- - keyword2ansi
- - ansi162rgb
- - ansi162hsl
- - ansi162hsv
- - ansi162hwb
- - ansi162cmyk
- - ansi162keyword
- - ansi2rgb
- - ansi2hsl
- - ansi2hsv
- - ansi2hwb
- - ansi2cmyk
- - ansi2keyword
-([#18](https://github.com/harthur/color-convert/pull/18))
-
-# 0.5.3 - 2015-06-02
-
-- Fixed: hsl2hsv does not return `NaN` anymore when using `[0,0,0]`
-([#15](https://github.com/harthur/color-convert/issues/15))
-
----
-
-Check out commit logs for older releases
diff --git a/Server/node_modules/color-convert/LICENSE b/Server/node_modules/color-convert/LICENSE
deleted file mode 100644
index 5b4c386..0000000
--- a/Server/node_modules/color-convert/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-Copyright (c) 2011-2016 Heather Arthur <fayearthur@gmail.com>
-
-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.
-
diff --git a/Server/node_modules/color-convert/README.md b/Server/node_modules/color-convert/README.md
deleted file mode 100644
index d4b08fc..0000000
--- a/Server/node_modules/color-convert/README.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# color-convert
-
-[![Build Status](https://travis-ci.org/Qix-/color-convert.svg?branch=master)](https://travis-ci.org/Qix-/color-convert)
-
-Color-convert is a color conversion library for JavaScript and node.
-It converts all ways between `rgb`, `hsl`, `hsv`, `hwb`, `cmyk`, `ansi`, `ansi16`, `hex` strings, and CSS `keyword`s (will round to closest):
-
-```js
-var convert = require('color-convert');
-
-convert.rgb.hsl(140, 200, 100); // [96, 48, 59]
-convert.keyword.rgb('blue'); // [0, 0, 255]
-
-var rgbChannels = convert.rgb.channels; // 3
-var cmykChannels = convert.cmyk.channels; // 4
-var ansiChannels = convert.ansi16.channels; // 1
-```
-
-# Install
-
-```console
-$ npm install color-convert
-```
-
-# API
-
-Simply get the property of the _from_ and _to_ conversion that you're looking for.
-
-All functions have a rounded and unrounded variant. By default, return values are rounded. To get the unrounded (raw) results, simply tack on `.raw` to the function.
-
-All 'from' functions have a hidden property called `.channels` that indicates the number of channels the function expects (not including alpha).
-
-```js
-var convert = require('color-convert');
-
-// Hex to LAB
-convert.hex.lab('DEADBF'); // [ 76, 21, -2 ]
-convert.hex.lab.raw('DEADBF'); // [ 75.56213190997677, 20.653827952644754, -2.290532499330533 ]
-
-// RGB to CMYK
-convert.rgb.cmyk(167, 255, 4); // [ 35, 0, 98, 0 ]
-convert.rgb.cmyk.raw(167, 255, 4); // [ 34.509803921568626, 0, 98.43137254901961, 0 ]
-```
-
-### Arrays
-All functions that accept multiple arguments also support passing an array.
-
-Note that this does **not** apply to functions that convert from a color that only requires one value (e.g. `keyword`, `ansi256`, `hex`, etc.)
-
-```js
-var convert = require('color-convert');
-
-convert.rgb.hex(123, 45, 67); // '7B2D43'
-convert.rgb.hex([123, 45, 67]); // '7B2D43'
-```
-
-## Routing
-
-Conversions that don't have an _explicitly_ defined conversion (in [conversions.js](conversions.js)), but can be converted by means of sub-conversions (e.g. XYZ -> **RGB** -> CMYK), are automatically routed together. This allows just about any color model supported by `color-convert` to be converted to any other model, so long as a sub-conversion path exists. This is also true for conversions requiring more than one step in between (e.g. LCH -> **LAB** -> **XYZ** -> **RGB** -> Hex).
-
-Keep in mind that extensive conversions _may_ result in a loss of precision, and exist only to be complete. For a list of "direct" (single-step) conversions, see [conversions.js](conversions.js).
-
-# Contribute
-
-If there is a new model you would like to support, or want to add a direct conversion between two existing models, please send us a pull request.
-
-# License
-Copyright &copy; 2011-2016, Heather Arthur and Josh Junon. Licensed under the [MIT License](LICENSE).
diff --git a/Server/node_modules/color-convert/conversions.js b/Server/node_modules/color-convert/conversions.js
deleted file mode 100644
index 3217200..0000000
--- a/Server/node_modules/color-convert/conversions.js
+++ /dev/null
@@ -1,868 +0,0 @@
-/* MIT license */
-var cssKeywords = require('color-name');
-
-// NOTE: conversions should only return primitive values (i.e. arrays, or
-// values that give correct `typeof` results).
-// do not use box values types (i.e. Number(), String(), etc.)
-
-var reverseKeywords = {};
-for (var key in cssKeywords) {
- if (cssKeywords.hasOwnProperty(key)) {
- reverseKeywords[cssKeywords[key]] = key;
- }
-}
-
-var convert = module.exports = {
- rgb: {channels: 3, labels: 'rgb'},
- hsl: {channels: 3, labels: 'hsl'},
- hsv: {channels: 3, labels: 'hsv'},
- hwb: {channels: 3, labels: 'hwb'},
- cmyk: {channels: 4, labels: 'cmyk'},
- xyz: {channels: 3, labels: 'xyz'},
- lab: {channels: 3, labels: 'lab'},
- lch: {channels: 3, labels: 'lch'},
- hex: {channels: 1, labels: ['hex']},
- keyword: {channels: 1, labels: ['keyword']},
- ansi16: {channels: 1, labels: ['ansi16']},
- ansi256: {channels: 1, labels: ['ansi256']},
- hcg: {channels: 3, labels: ['h', 'c', 'g']},
- apple: {channels: 3, labels: ['r16', 'g16', 'b16']},
- gray: {channels: 1, labels: ['gray']}
-};
-
-// hide .channels and .labels properties
-for (var model in convert) {
- if (convert.hasOwnProperty(model)) {
- if (!('channels' in convert[model])) {
- throw new Error('missing channels property: ' + model);
- }
-
- if (!('labels' in convert[model])) {
- throw new Error('missing channel labels property: ' + model);
- }
-
- if (convert[model].labels.length !== convert[model].channels) {
- throw new Error('channel and label counts mismatch: ' + model);
- }
-
- var channels = convert[model].channels;
- var labels = convert[model].labels;
- delete convert[model].channels;
- delete convert[model].labels;
- Object.defineProperty(convert[model], 'channels', {value: channels});
- Object.defineProperty(convert[model], 'labels', {value: labels});
- }
-}
-
-convert.rgb.hsl = function (rgb) {
- var r = rgb[0] / 255;
- var g = rgb[1] / 255;
- var b = rgb[2] / 255;
- var min = Math.min(r, g, b);
- var max = Math.max(r, g, b);
- var delta = max - min;
- var h;
- var s;
- var l;
-
- if (max === min) {
- h = 0;
- } else if (r === max) {
- h = (g - b) / delta;
- } else if (g === max) {
- h = 2 + (b - r) / delta;
- } else if (b === max) {
- h = 4 + (r - g) / delta;
- }
-
- h = Math.min(h * 60, 360);
-
- if (h < 0) {
- h += 360;
- }
-
- l = (min + max) / 2;
-
- if (max === min) {
- s = 0;
- } else if (l <= 0.5) {
- s = delta / (max + min);
- } else {
- s = delta / (2 - max - min);
- }
-
- return [h, s * 100, l * 100];
-};
-
-convert.rgb.hsv = function (rgb) {
- var rdif;
- var gdif;
- var bdif;
- var h;
- var s;
-
- var r = rgb[0] / 255;
- var g = rgb[1] / 255;
- var b = rgb[2] / 255;
- var v = Math.max(r, g, b);
- var diff = v - Math.min(r, g, b);
- var diffc = function (c) {
- return (v - c) / 6 / diff + 1 / 2;
- };
-
- if (diff === 0) {
- h = s = 0;
- } else {
- s = diff / v;
- rdif = diffc(r);
- gdif = diffc(g);
- bdif = diffc(b);
-
- if (r === v) {
- h = bdif - gdif;
- } else if (g === v) {
- h = (1 / 3) + rdif - bdif;
- } else if (b === v) {
- h = (2 / 3) + gdif - rdif;
- }
- if (h < 0) {
- h += 1;
- } else if (h > 1) {
- h -= 1;
- }
- }
-
- return [
- h * 360,
- s * 100,
- v * 100
- ];
-};
-
-convert.rgb.hwb = function (rgb) {
- var r = rgb[0];
- var g = rgb[1];
- var b = rgb[2];
- var h = convert.rgb.hsl(rgb)[0];
- var w = 1 / 255 * Math.min(r, Math.min(g, b));
-
- b = 1 - 1 / 255 * Math.max(r, Math.max(g, b));
-
- return [h, w * 100, b * 100];
-};
-
-convert.rgb.cmyk = function (rgb) {
- var r = rgb[0] / 255;
- var g = rgb[1] / 255;
- var b = rgb[2] / 255;
- var c;
- var m;
- var y;
- var k;
-
- k = Math.min(1 - r, 1 - g, 1 - b);
- c = (1 - r - k) / (1 - k) || 0;
- m = (1 - g - k) / (1 - k) || 0;
- y = (1 - b - k) / (1 - k) || 0;
-
- return [c * 100, m * 100, y * 100, k * 100];
-};
-
-/**
- * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance
- * */
-function comparativeDistance(x, y) {
- return (
- Math.pow(x[0] - y[0], 2) +
- Math.pow(x[1] - y[1], 2) +
- Math.pow(x[2] - y[2], 2)
- );
-}
-
-convert.rgb.keyword = function (rgb) {
- var reversed = reverseKeywords[rgb];
- if (reversed) {
- return reversed;
- }
-
- var currentClosestDistance = Infinity;
- var currentClosestKeyword;
-
- for (var keyword in cssKeywords) {
- if (cssKeywords.hasOwnProperty(keyword)) {
- var value = cssKeywords[keyword];
-
- // Compute comparative distance
- var distance = comparativeDistance(rgb, value);
-
- // Check if its less, if so set as closest
- if (distance < currentClosestDistance) {
- currentClosestDistance = distance;
- currentClosestKeyword = keyword;
- }
- }
- }
-
- return currentClosestKeyword;
-};
-
-convert.keyword.rgb = function (keyword) {
- return cssKeywords[keyword];
-};
-
-convert.rgb.xyz = function (rgb) {
- var r = rgb[0] / 255;
- var g = rgb[1] / 255;
- var b = rgb[2] / 255;
-
- // assume sRGB
- r = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);
- g = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);
- b = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);
-
- var x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);
- var y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);
- var z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);
-
- return [x * 100, y * 100, z * 100];
-};
-
-convert.rgb.lab = function (rgb) {
- var xyz = convert.rgb.xyz(rgb);
- var x = xyz[0];
- var y = xyz[1];
- var z = xyz[2];
- var l;
- var a;
- var b;
-
- x /= 95.047;
- y /= 100;
- z /= 108.883;
-
- x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);
- y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);
- z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);
-
- l = (116 * y) - 16;
- a = 500 * (x - y);
- b = 200 * (y - z);
-
- return [l, a, b];
-};
-
-convert.hsl.rgb = function (hsl) {
- var h = hsl[0] / 360;
- var s = hsl[1] / 100;
- var l = hsl[2] / 100;
- var t1;
- var t2;
- var t3;
- var rgb;
- var val;
-
- if (s === 0) {
- val = l * 255;
- return [val, val, val];
- }
-
- if (l < 0.5) {
- t2 = l * (1 + s);
- } else {
- t2 = l + s - l * s;
- }
-
- t1 = 2 * l - t2;
-
- rgb = [0, 0, 0];
- for (var i = 0; i < 3; i++) {
- t3 = h + 1 / 3 * -(i - 1);
- if (t3 < 0) {
- t3++;
- }
- if (t3 > 1) {
- t3--;
- }
-
- if (6 * t3 < 1) {
- val = t1 + (t2 - t1) * 6 * t3;
- } else if (2 * t3 < 1) {
- val = t2;
- } else if (3 * t3 < 2) {
- val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;
- } else {
- val = t1;
- }
-
- rgb[i] = val * 255;
- }
-
- return rgb;
-};
-
-convert.hsl.hsv = function (hsl) {
- var h = hsl[0];
- var s = hsl[1] / 100;
- var l = hsl[2] / 100;
- var smin = s;
- var lmin = Math.max(l, 0.01);
- var sv;
- var v;
-
- l *= 2;
- s *= (l <= 1) ? l : 2 - l;
- smin *= lmin <= 1 ? lmin : 2 - lmin;
- v = (l + s) / 2;
- sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);
-
- return [h, sv * 100, v * 100];
-};
-
-convert.hsv.rgb = function (hsv) {
- var h = hsv[0] / 60;
- var s = hsv[1] / 100;
- var v = hsv[2] / 100;
- var hi = Math.floor(h) % 6;
-
- var f = h - Math.floor(h);
- var p = 255 * v * (1 - s);
- var q = 255 * v * (1 - (s * f));
- var t = 255 * v * (1 - (s * (1 - f)));
- v *= 255;
-
- switch (hi) {
- case 0:
- return [v, t, p];
- case 1:
- return [q, v, p];
- case 2:
- return [p, v, t];
- case 3:
- return [p, q, v];
- case 4:
- return [t, p, v];
- case 5:
- return [v, p, q];
- }
-};
-
-convert.hsv.hsl = function (hsv) {
- var h = hsv[0];
- var s = hsv[1] / 100;
- var v = hsv[2] / 100;
- var vmin = Math.max(v, 0.01);
- var lmin;
- var sl;
- var l;
-
- l = (2 - s) * v;
- lmin = (2 - s) * vmin;
- sl = s * vmin;
- sl /= (lmin <= 1) ? lmin : 2 - lmin;
- sl = sl || 0;
- l /= 2;
-
- return [h, sl * 100, l * 100];
-};
-
-// http://dev.w3.org/csswg/css-color/#hwb-to-rgb
-convert.hwb.rgb = function (hwb) {
- var h = hwb[0] / 360;
- var wh = hwb[1] / 100;
- var bl = hwb[2] / 100;
- var ratio = wh + bl;
- var i;
- var v;
- var f;
- var n;
-
- // wh + bl cant be > 1
- if (ratio > 1) {
- wh /= ratio;
- bl /= ratio;
- }
-
- i = Math.floor(6 * h);
- v = 1 - bl;
- f = 6 * h - i;
-
- if ((i & 0x01) !== 0) {
- f = 1 - f;
- }
-
- n = wh + f * (v - wh); // linear interpolation
-
- var r;
- var g;
- var b;
- switch (i) {
- default:
- case 6:
- case 0: r = v; g = n; b = wh; break;
- case 1: r = n; g = v; b = wh; break;
- case 2: r = wh; g = v; b = n; break;
- case 3: r = wh; g = n; b = v; break;
- case 4: r = n; g = wh; b = v; break;
- case 5: r = v; g = wh; b = n; break;
- }
-
- return [r * 255, g * 255, b * 255];
-};
-
-convert.cmyk.rgb = function (cmyk) {
- var c = cmyk[0] / 100;
- var m = cmyk[1] / 100;
- var y = cmyk[2] / 100;
- var k = cmyk[3] / 100;
- var r;
- var g;
- var b;
-
- r = 1 - Math.min(1, c * (1 - k) + k);
- g = 1 - Math.min(1, m * (1 - k) + k);
- b = 1 - Math.min(1, y * (1 - k) + k);
-
- return [r * 255, g * 255, b * 255];
-};
-
-convert.xyz.rgb = function (xyz) {
- var x = xyz[0] / 100;
- var y = xyz[1] / 100;
- var z = xyz[2] / 100;
- var r;
- var g;
- var b;
-
- r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);
- g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);
- b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);
-
- // assume sRGB
- r = r > 0.0031308
- ? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)
- : r * 12.92;
-
- g = g > 0.0031308
- ? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)
- : g * 12.92;
-
- b = b > 0.0031308
- ? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)
- : b * 12.92;
-
- r = Math.min(Math.max(0, r), 1);
- g = Math.min(Math.max(0, g), 1);
- b = Math.min(Math.max(0, b), 1);
-
- return [r * 255, g * 255, b * 255];
-};
-
-convert.xyz.lab = function (xyz) {
- var x = xyz[0];
- var y = xyz[1];
- var z = xyz[2];
- var l;
- var a;
- var b;
-
- x /= 95.047;
- y /= 100;
- z /= 108.883;
-
- x = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);
- y = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);
- z = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);
-
- l = (116 * y) - 16;
- a = 500 * (x - y);
- b = 200 * (y - z);
-
- return [l, a, b];
-};
-
-convert.lab.xyz = function (lab) {
- var l = lab[0];
- var a = lab[1];
- var b = lab[2];
- var x;
- var y;
- var z;
-
- y = (l + 16) / 116;
- x = a / 500 + y;
- z = y - b / 200;
-
- var y2 = Math.pow(y, 3);
- var x2 = Math.pow(x, 3);
- var z2 = Math.pow(z, 3);
- y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;
- x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;
- z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;
-
- x *= 95.047;
- y *= 100;
- z *= 108.883;
-
- return [x, y, z];
-};
-
-convert.lab.lch = function (lab) {
- var l = lab[0];
- var a = lab[1];
- var b = lab[2];
- var hr;
- var h;
- var c;
-
- hr = Math.atan2(b, a);
- h = hr * 360 / 2 / Math.PI;
-
- if (h < 0) {
- h += 360;
- }
-
- c = Math.sqrt(a * a + b * b);
-
- return [l, c, h];
-};
-
-convert.lch.lab = function (lch) {
- var l = lch[0];
- var c = lch[1];
- var h = lch[2];
- var a;
- var b;
- var hr;
-
- hr = h / 360 * 2 * Math.PI;
- a = c * Math.cos(hr);
- b = c * Math.sin(hr);
-
- return [l, a, b];
-};
-
-convert.rgb.ansi16 = function (args) {
- var r = args[0];
- var g = args[1];
- var b = args[2];
- var value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization
-
- value = Math.round(value / 50);
-
- if (value === 0) {
- return 30;
- }
-
- var ansi = 30
- + ((Math.round(b / 255) << 2)
- | (Math.round(g / 255) << 1)
- | Math.round(r / 255));
-
- if (value === 2) {
- ansi += 60;
- }
-
- return ansi;
-};
-
-convert.hsv.ansi16 = function (args) {
- // optimization here; we already know the value and don't need to get
- // it converted for us.
- return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);
-};
-
-convert.rgb.ansi256 = function (args) {
- var r = args[0];
- var g = args[1];
- var b = args[2];
-
- // we use the extended greyscale palette here, with the exception of
- // black and white. normal palette only has 4 greyscale shades.
- if (r === g && g === b) {
- if (r < 8) {
- return 16;
- }
-
- if (r > 248) {
- return 231;
- }
-
- return Math.round(((r - 8) / 247) * 24) + 232;
- }
-
- var ansi = 16
- + (36 * Math.round(r / 255 * 5))
- + (6 * Math.round(g / 255 * 5))
- + Math.round(b / 255 * 5);
-
- return ansi;
-};
-
-convert.ansi16.rgb = function (args) {
- var color = args % 10;
-
- // handle greyscale
- if (color === 0 || color === 7) {
- if (args > 50) {
- color += 3.5;
- }
-
- color = color / 10.5 * 255;
-
- return [color, color, color];
- }
-
- var mult = (~~(args > 50) + 1) * 0.5;
- var r = ((color & 1) * mult) * 255;
- var g = (((color >> 1) & 1) * mult) * 255;
- var b = (((color >> 2) & 1) * mult) * 255;
-
- return [r, g, b];
-};
-
-convert.ansi256.rgb = function (args) {
- // handle greyscale
- if (args >= 232) {
- var c = (args - 232) * 10 + 8;
- return [c, c, c];
- }
-
- args -= 16;
-
- var rem;
- var r = Math.floor(args / 36) / 5 * 255;
- var g = Math.floor((rem = args % 36) / 6) / 5 * 255;
- var b = (rem % 6) / 5 * 255;
-
- return [r, g, b];
-};
-
-convert.rgb.hex = function (args) {
- var integer = ((Math.round(args[0]) & 0xFF) << 16)
- + ((Math.round(args[1]) & 0xFF) << 8)
- + (Math.round(args[2]) & 0xFF);
-
- var string = integer.toString(16).toUpperCase();
- return '000000'.substring(string.length) + string;
-};
-
-convert.hex.rgb = function (args) {
- var match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
- if (!match) {
- return [0, 0, 0];
- }
-
- var colorString = match[0];
-
- if (match[0].length === 3) {
- colorString = colorString.split('').map(function (char) {
- return char + char;
- }).join('');
- }
-
- var integer = parseInt(colorString, 16);
- var r = (integer >> 16) & 0xFF;
- var g = (integer >> 8) & 0xFF;
- var b = integer & 0xFF;
-
- return [r, g, b];
-};
-
-convert.rgb.hcg = function (rgb) {
- var r = rgb[0] / 255;
- var g = rgb[1] / 255;
- var b = rgb[2] / 255;
- var max = Math.max(Math.max(r, g), b);
- var min = Math.min(Math.min(r, g), b);
- var chroma = (max - min);
- var grayscale;
- var hue;
-
- if (chroma < 1) {
- grayscale = min / (1 - chroma);
- } else {
- grayscale = 0;
- }
-
- if (chroma <= 0) {
- hue = 0;
- } else
- if (max === r) {
- hue = ((g - b) / chroma) % 6;
- } else
- if (max === g) {
- hue = 2 + (b - r) / chroma;
- } else {
- hue = 4 + (r - g) / chroma + 4;
- }
-
- hue /= 6;
- hue %= 1;
-
- return [hue * 360, chroma * 100, grayscale * 100];
-};
-
-convert.hsl.hcg = function (hsl) {
- var s = hsl[1] / 100;
- var l = hsl[2] / 100;
- var c = 1;
- var f = 0;
-
- if (l < 0.5) {
- c = 2.0 * s * l;
- } else {
- c = 2.0 * s * (1.0 - l);
- }
-
- if (c < 1.0) {
- f = (l - 0.5 * c) / (1.0 - c);
- }
-
- return [hsl[0], c * 100, f * 100];
-};
-
-convert.hsv.hcg = function (hsv) {
- var s = hsv[1] / 100;
- var v = hsv[2] / 100;
-
- var c = s * v;
- var f = 0;
-
- if (c < 1.0) {
- f = (v - c) / (1 - c);
- }
-
- return [hsv[0], c * 100, f * 100];
-};
-
-convert.hcg.rgb = function (hcg) {
- var h = hcg[0] / 360;
- var c = hcg[1] / 100;
- var g = hcg[2] / 100;
-
- if (c === 0.0) {
- return [g * 255, g * 255, g * 255];
- }
-
- var pure = [0, 0, 0];
- var hi = (h % 1) * 6;
- var v = hi % 1;
- var w = 1 - v;
- var mg = 0;
-
- switch (Math.floor(hi)) {
- case 0:
- pure[0] = 1; pure[1] = v; pure[2] = 0; break;
- case 1:
- pure[0] = w; pure[1] = 1; pure[2] = 0; break;
- case 2:
- pure[0] = 0; pure[1] = 1; pure[2] = v; break;
- case 3:
- pure[0] = 0; pure[1] = w; pure[2] = 1; break;
- case 4:
- pure[0] = v; pure[1] = 0; pure[2] = 1; break;
- default:
- pure[0] = 1; pure[1] = 0; pure[2] = w;
- }
-
- mg = (1.0 - c) * g;
-
- return [
- (c * pure[0] + mg) * 255,
- (c * pure[1] + mg) * 255,
- (c * pure[2] + mg) * 255
- ];
-};
-
-convert.hcg.hsv = function (hcg) {
- var c = hcg[1] / 100;
- var g = hcg[2] / 100;
-
- var v = c + g * (1.0 - c);
- var f = 0;
-
- if (v > 0.0) {
- f = c / v;
- }
-
- return [hcg[0], f * 100, v * 100];
-};
-
-convert.hcg.hsl = function (hcg) {
- var c = hcg[1] / 100;
- var g = hcg[2] / 100;
-
- var l = g * (1.0 - c) + 0.5 * c;
- var s = 0;
-
- if (l > 0.0 && l < 0.5) {
- s = c / (2 * l);
- } else
- if (l >= 0.5 && l < 1.0) {
- s = c / (2 * (1 - l));
- }
-
- return [hcg[0], s * 100, l * 100];
-};
-
-convert.hcg.hwb = function (hcg) {
- var c = hcg[1] / 100;
- var g = hcg[2] / 100;
- var v = c + g * (1.0 - c);
- return [hcg[0], (v - c) * 100, (1 - v) * 100];
-};
-
-convert.hwb.hcg = function (hwb) {
- var w = hwb[1] / 100;
- var b = hwb[2] / 100;
- var v = 1 - b;
- var c = v - w;
- var g = 0;
-
- if (c < 1) {
- g = (v - c) / (1 - c);
- }
-
- return [hwb[0], c * 100, g * 100];
-};
-
-convert.apple.rgb = function (apple) {
- return [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];
-};
-
-convert.rgb.apple = function (rgb) {
- return [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];
-};
-
-convert.gray.rgb = function (args) {
- return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];
-};
-
-convert.gray.hsl = convert.gray.hsv = function (args) {
- return [0, 0, args[0]];
-};
-
-convert.gray.hwb = function (gray) {
- return [0, 100, gray[0]];
-};
-
-convert.gray.cmyk = function (gray) {
- return [0, 0, 0, gray[0]];
-};
-
-convert.gray.lab = function (gray) {
- return [gray[0], 0, 0];
-};
-
-convert.gray.hex = function (gray) {
- var val = Math.round(gray[0] / 100 * 255) & 0xFF;
- var integer = (val << 16) + (val << 8) + val;
-
- var string = integer.toString(16).toUpperCase();
- return '000000'.substring(string.length) + string;
-};
-
-convert.rgb.gray = function (rgb) {
- var val = (rgb[0] + rgb[1] + rgb[2]) / 3;
- return [val / 255 * 100];
-};
diff --git a/Server/node_modules/color-convert/index.js b/Server/node_modules/color-convert/index.js
deleted file mode 100644
index e65b5d7..0000000
--- a/Server/node_modules/color-convert/index.js
+++ /dev/null
@@ -1,78 +0,0 @@
-var conversions = require('./conversions');
-var route = require('./route');
-
-var convert = {};
-
-var models = Object.keys(conversions);
-
-function wrapRaw(fn) {
- var wrappedFn = function (args) {
- if (args === undefined || args === null) {
- return args;
- }
-
- if (arguments.length > 1) {
- args = Array.prototype.slice.call(arguments);
- }
-
- return fn(args);
- };
-
- // preserve .conversion property if there is one
- if ('conversion' in fn) {
- wrappedFn.conversion = fn.conversion;
- }
-
- return wrappedFn;
-}
-
-function wrapRounded(fn) {
- var wrappedFn = function (args) {
- if (args === undefined || args === null) {
- return args;
- }
-
- if (arguments.length > 1) {
- args = Array.prototype.slice.call(arguments);
- }
-
- var result = fn(args);
-
- // we're assuming the result is an array here.
- // see notice in conversions.js; don't use box types
- // in conversion functions.
- if (typeof result === 'object') {
- for (var len = result.length, i = 0; i < len; i++) {
- result[i] = Math.round(result[i]);
- }
- }
-
- return result;
- };
-
- // preserve .conversion property if there is one
- if ('conversion' in fn) {
- wrappedFn.conversion = fn.conversion;
- }
-
- return wrappedFn;
-}
-
-models.forEach(function (fromModel) {
- convert[fromModel] = {};
-
- Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});
- Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});
-
- var routes = route(fromModel);
- var routeModels = Object.keys(routes);
-
- routeModels.forEach(function (toModel) {
- var fn = routes[toModel];
-
- convert[fromModel][toModel] = wrapRounded(fn);
- convert[fromModel][toModel].raw = wrapRaw(fn);
- });
-});
-
-module.exports = convert;
diff --git a/Server/node_modules/color-convert/package.json b/Server/node_modules/color-convert/package.json
deleted file mode 100644
index b6e8554..0000000
--- a/Server/node_modules/color-convert/package.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "_from": "color-convert@^1.9.0",
- "_id": "color-convert@1.9.3",
- "_inBundle": false,
- "_integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "_location": "/color-convert",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "color-convert@^1.9.0",
- "name": "color-convert",
- "escapedName": "color-convert",
- "rawSpec": "^1.9.0",
- "saveSpec": null,
- "fetchSpec": "^1.9.0"
- },
- "_requiredBy": [
- "/ansi-styles"
- ],
- "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "_shasum": "bb71850690e1f136567de629d2d5471deda4c1e8",
- "_spec": "color-convert@^1.9.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/ansi-styles",
- "author": {
- "name": "Heather Arthur",
- "email": "fayearthur@gmail.com"
- },
- "bugs": {
- "url": "https://github.com/Qix-/color-convert/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "color-name": "1.1.3"
- },
- "deprecated": false,
- "description": "Plain color conversion functions",
- "devDependencies": {
- "chalk": "1.1.1",
- "xo": "0.11.2"
- },
- "files": [
- "index.js",
- "conversions.js",
- "css-keywords.js",
- "route.js"
- ],
- "homepage": "https://github.com/Qix-/color-convert#readme",
- "keywords": [
- "color",
- "colour",
- "convert",
- "converter",
- "conversion",
- "rgb",
- "hsl",
- "hsv",
- "hwb",
- "cmyk",
- "ansi",
- "ansi16"
- ],
- "license": "MIT",
- "name": "color-convert",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/Qix-/color-convert.git"
- },
- "scripts": {
- "pretest": "xo",
- "test": "node test/basic.js"
- },
- "version": "1.9.3",
- "xo": {
- "rules": {
- "default-case": 0,
- "no-inline-comments": 0,
- "operator-linebreak": 0
- }
- }
-}
diff --git a/Server/node_modules/color-convert/route.js b/Server/node_modules/color-convert/route.js
deleted file mode 100644
index 0a1fdea..0000000
--- a/Server/node_modules/color-convert/route.js
+++ /dev/null
@@ -1,97 +0,0 @@
-var conversions = require('./conversions');
-
-/*
- this function routes a model to all other models.
-
- all functions that are routed have a property `.conversion` attached
- to the returned synthetic function. This property is an array
- of strings, each with the steps in between the 'from' and 'to'
- color models (inclusive).
-
- conversions that are not possible simply are not included.
-*/
-
-function buildGraph() {
- var graph = {};
- // https://jsperf.com/object-keys-vs-for-in-with-closure/3
- var models = Object.keys(conversions);
-
- for (var len = models.length, i = 0; i < len; i++) {
- graph[models[i]] = {
- // http://jsperf.com/1-vs-infinity
- // micro-opt, but this is simple.
- distance: -1,
- parent: null
- };
- }
-
- return graph;
-}
-
-// https://en.wikipedia.org/wiki/Breadth-first_search
-function deriveBFS(fromModel) {
- var graph = buildGraph();
- var queue = [fromModel]; // unshift -> queue -> pop
-
- graph[fromModel].distance = 0;
-
- while (queue.length) {
- var current = queue.pop();
- var adjacents = Object.keys(conversions[current]);
-
- for (var len = adjacents.length, i = 0; i < len; i++) {
- var adjacent = adjacents[i];
- var node = graph[adjacent];
-
- if (node.distance === -1) {
- node.distance = graph[current].distance + 1;
- node.parent = current;
- queue.unshift(adjacent);
- }
- }
- }
-
- return graph;
-}
-
-function link(from, to) {
- return function (args) {
- return to(from(args));
- };
-}
-
-function wrapConversion(toModel, graph) {
- var path = [graph[toModel].parent, toModel];
- var fn = conversions[graph[toModel].parent][toModel];
-
- var cur = graph[toModel].parent;
- while (graph[cur].parent) {
- path.unshift(graph[cur].parent);
- fn = link(conversions[graph[cur].parent][cur], fn);
- cur = graph[cur].parent;
- }
-
- fn.conversion = path;
- return fn;
-}
-
-module.exports = function (fromModel) {
- var graph = deriveBFS(fromModel);
- var conversion = {};
-
- var models = Object.keys(graph);
- for (var len = models.length, i = 0; i < len; i++) {
- var toModel = models[i];
- var node = graph[toModel];
-
- if (node.parent === null) {
- // no possible conversion, or this node is the source model.
- continue;
- }
-
- conversion[toModel] = wrapConversion(toModel, graph);
- }
-
- return conversion;
-};
-
diff --git a/Server/node_modules/color-name/.eslintrc.json b/Server/node_modules/color-name/.eslintrc.json
deleted file mode 100644
index c50c250..0000000
--- a/Server/node_modules/color-name/.eslintrc.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "env": {
- "browser": true,
- "node": true,
- "commonjs": true,
- "es6": true
- },
- "extends": "eslint:recommended",
- "rules": {
- "strict": 2,
- "indent": 0,
- "linebreak-style": 0,
- "quotes": 0,
- "semi": 0,
- "no-cond-assign": 1,
- "no-constant-condition": 1,
- "no-duplicate-case": 1,
- "no-empty": 1,
- "no-ex-assign": 1,
- "no-extra-boolean-cast": 1,
- "no-extra-semi": 1,
- "no-fallthrough": 1,
- "no-func-assign": 1,
- "no-global-assign": 1,
- "no-implicit-globals": 2,
- "no-inner-declarations": ["error", "functions"],
- "no-irregular-whitespace": 2,
- "no-loop-func": 1,
- "no-multi-str": 1,
- "no-mixed-spaces-and-tabs": 1,
- "no-proto": 1,
- "no-sequences": 1,
- "no-throw-literal": 1,
- "no-unmodified-loop-condition": 1,
- "no-useless-call": 1,
- "no-void": 1,
- "no-with": 2,
- "wrap-iife": 1,
- "no-redeclare": 1,
- "no-unused-vars": ["error", { "vars": "all", "args": "none" }],
- "no-sparse-arrays": 1
- }
-}
diff --git a/Server/node_modules/color-name/.npmignore b/Server/node_modules/color-name/.npmignore
deleted file mode 100644
index f9f2816..0000000
--- a/Server/node_modules/color-name/.npmignore
+++ /dev/null
@@ -1,107 +0,0 @@
-//this will affect all the git repos
-git config --global core.excludesfile ~/.gitignore
-
-
-//update files since .ignore won't if already tracked
-git rm --cached <file>
-
-# Compiled source #
-###################
-*.com
-*.class
-*.dll
-*.exe
-*.o
-*.so
-
-# Packages #
-############
-# it's better to unpack these files and commit the raw source
-# git has its own built in compression methods
-*.7z
-*.dmg
-*.gz
-*.iso
-*.jar
-*.rar
-*.tar
-*.zip
-
-# Logs and databases #
-######################
-*.log
-*.sql
-*.sqlite
-
-# OS generated files #
-######################
-.DS_Store
-.DS_Store?
-._*
-.Spotlight-V100
-.Trashes
-# Icon?
-ehthumbs.db
-Thumbs.db
-.cache
-.project
-.settings
-.tmproj
-*.esproj
-nbproject
-
-# Numerous always-ignore extensions #
-#####################################
-*.diff
-*.err
-*.orig
-*.rej
-*.swn
-*.swo
-*.swp
-*.vi
-*~
-*.sass-cache
-*.grunt
-*.tmp
-
-# Dreamweaver added files #
-###########################
-_notes
-dwsync.xml
-
-# Komodo #
-###########################
-*.komodoproject
-.komodotools
-
-# Node #
-#####################
-node_modules
-
-# Bower #
-#####################
-bower_components
-
-# Folders to ignore #
-#####################
-.hg
-.svn
-.CVS
-intermediate
-publish
-.idea
-.graphics
-_test
-_archive
-uploads
-tmp
-
-# Vim files to ignore #
-#######################
-.VimballRecord
-.netrwhist
-
-bundle.*
-
-_demo
\ No newline at end of file
diff --git a/Server/node_modules/color-name/LICENSE b/Server/node_modules/color-name/LICENSE
deleted file mode 100644
index c6b1001..0000000
--- a/Server/node_modules/color-name/LICENSE
+++ /dev/null
@@ -1,8 +0,0 @@
-The MIT License (MIT)
-Copyright (c) 2015 Dmitry Ivanov
-
-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.
\ No newline at end of file
diff --git a/Server/node_modules/color-name/README.md b/Server/node_modules/color-name/README.md
deleted file mode 100644
index 932b979..0000000
--- a/Server/node_modules/color-name/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors.
-
-[![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/)
-
-
-```js
-var colors = require('color-name');
-colors.red //[255,0,0]
-```
-
-<a href="LICENSE"><img src="https://upload.wikimedia.org/wikipedia/commons/0/0c/MIT_logo.svg" width="120"/></a>
diff --git a/Server/node_modules/color-name/index.js b/Server/node_modules/color-name/index.js
deleted file mode 100644
index b7c198a..0000000
--- a/Server/node_modules/color-name/index.js
+++ /dev/null
@@ -1,152 +0,0 @@
-'use strict'
-
-module.exports = {
- "aliceblue": [240, 248, 255],
- "antiquewhite": [250, 235, 215],
- "aqua": [0, 255, 255],
- "aquamarine": [127, 255, 212],
- "azure": [240, 255, 255],
- "beige": [245, 245, 220],
- "bisque": [255, 228, 196],
- "black": [0, 0, 0],
- "blanchedalmond": [255, 235, 205],
- "blue": [0, 0, 255],
- "blueviolet": [138, 43, 226],
- "brown": [165, 42, 42],
- "burlywood": [222, 184, 135],
- "cadetblue": [95, 158, 160],
- "chartreuse": [127, 255, 0],
- "chocolate": [210, 105, 30],
- "coral": [255, 127, 80],
- "cornflowerblue": [100, 149, 237],
- "cornsilk": [255, 248, 220],
- "crimson": [220, 20, 60],
- "cyan": [0, 255, 255],
- "darkblue": [0, 0, 139],
- "darkcyan": [0, 139, 139],
- "darkgoldenrod": [184, 134, 11],
- "darkgray": [169, 169, 169],
- "darkgreen": [0, 100, 0],
- "darkgrey": [169, 169, 169],
- "darkkhaki": [189, 183, 107],
- "darkmagenta": [139, 0, 139],
- "darkolivegreen": [85, 107, 47],
- "darkorange": [255, 140, 0],
- "darkorchid": [153, 50, 204],
- "darkred": [139, 0, 0],
- "darksalmon": [233, 150, 122],
- "darkseagreen": [143, 188, 143],
- "darkslateblue": [72, 61, 139],
- "darkslategray": [47, 79, 79],
- "darkslategrey": [47, 79, 79],
- "darkturquoise": [0, 206, 209],
- "darkviolet": [148, 0, 211],
- "deeppink": [255, 20, 147],
- "deepskyblue": [0, 191, 255],
- "dimgray": [105, 105, 105],
- "dimgrey": [105, 105, 105],
- "dodgerblue": [30, 144, 255],
- "firebrick": [178, 34, 34],
- "floralwhite": [255, 250, 240],
- "forestgreen": [34, 139, 34],
- "fuchsia": [255, 0, 255],
- "gainsboro": [220, 220, 220],
- "ghostwhite": [248, 248, 255],
- "gold": [255, 215, 0],
- "goldenrod": [218, 165, 32],
- "gray": [128, 128, 128],
- "green": [0, 128, 0],
- "greenyellow": [173, 255, 47],
- "grey": [128, 128, 128],
- "honeydew": [240, 255, 240],
- "hotpink": [255, 105, 180],
- "indianred": [205, 92, 92],
- "indigo": [75, 0, 130],
- "ivory": [255, 255, 240],
- "khaki": [240, 230, 140],
- "lavender": [230, 230, 250],
- "lavenderblush": [255, 240, 245],
- "lawngreen": [124, 252, 0],
- "lemonchiffon": [255, 250, 205],
- "lightblue": [173, 216, 230],
- "lightcoral": [240, 128, 128],
- "lightcyan": [224, 255, 255],
- "lightgoldenrodyellow": [250, 250, 210],
- "lightgray": [211, 211, 211],
- "lightgreen": [144, 238, 144],
- "lightgrey": [211, 211, 211],
- "lightpink": [255, 182, 193],
- "lightsalmon": [255, 160, 122],
- "lightseagreen": [32, 178, 170],
- "lightskyblue": [135, 206, 250],
- "lightslategray": [119, 136, 153],
- "lightslategrey": [119, 136, 153],
- "lightsteelblue": [176, 196, 222],
- "lightyellow": [255, 255, 224],
- "lime": [0, 255, 0],
- "limegreen": [50, 205, 50],
- "linen": [250, 240, 230],
- "magenta": [255, 0, 255],
- "maroon": [128, 0, 0],
- "mediumaquamarine": [102, 205, 170],
- "mediumblue": [0, 0, 205],
- "mediumorchid": [186, 85, 211],
- "mediumpurple": [147, 112, 219],
- "mediumseagreen": [60, 179, 113],
- "mediumslateblue": [123, 104, 238],
- "mediumspringgreen": [0, 250, 154],
- "mediumturquoise": [72, 209, 204],
- "mediumvioletred": [199, 21, 133],
- "midnightblue": [25, 25, 112],
- "mintcream": [245, 255, 250],
- "mistyrose": [255, 228, 225],
- "moccasin": [255, 228, 181],
- "navajowhite": [255, 222, 173],
- "navy": [0, 0, 128],
- "oldlace": [253, 245, 230],
- "olive": [128, 128, 0],
- "olivedrab": [107, 142, 35],
- "orange": [255, 165, 0],
- "orangered": [255, 69, 0],
- "orchid": [218, 112, 214],
- "palegoldenrod": [238, 232, 170],
- "palegreen": [152, 251, 152],
- "paleturquoise": [175, 238, 238],
- "palevioletred": [219, 112, 147],
- "papayawhip": [255, 239, 213],
- "peachpuff": [255, 218, 185],
- "peru": [205, 133, 63],
- "pink": [255, 192, 203],
- "plum": [221, 160, 221],
- "powderblue": [176, 224, 230],
- "purple": [128, 0, 128],
- "rebeccapurple": [102, 51, 153],
- "red": [255, 0, 0],
- "rosybrown": [188, 143, 143],
- "royalblue": [65, 105, 225],
- "saddlebrown": [139, 69, 19],
- "salmon": [250, 128, 114],
- "sandybrown": [244, 164, 96],
- "seagreen": [46, 139, 87],
- "seashell": [255, 245, 238],
- "sienna": [160, 82, 45],
- "silver": [192, 192, 192],
- "skyblue": [135, 206, 235],
- "slateblue": [106, 90, 205],
- "slategray": [112, 128, 144],
- "slategrey": [112, 128, 144],
- "snow": [255, 250, 250],
- "springgreen": [0, 255, 127],
- "steelblue": [70, 130, 180],
- "tan": [210, 180, 140],
- "teal": [0, 128, 128],
- "thistle": [216, 191, 216],
- "tomato": [255, 99, 71],
- "turquoise": [64, 224, 208],
- "violet": [238, 130, 238],
- "wheat": [245, 222, 179],
- "white": [255, 255, 255],
- "whitesmoke": [245, 245, 245],
- "yellow": [255, 255, 0],
- "yellowgreen": [154, 205, 50]
-};
diff --git a/Server/node_modules/color-name/package.json b/Server/node_modules/color-name/package.json
deleted file mode 100644
index 2a61a23..0000000
--- a/Server/node_modules/color-name/package.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "_from": "color-name@1.1.3",
- "_id": "color-name@1.1.3",
- "_inBundle": false,
- "_integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
- "_location": "/color-name",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "color-name@1.1.3",
- "name": "color-name",
- "escapedName": "color-name",
- "rawSpec": "1.1.3",
- "saveSpec": null,
- "fetchSpec": "1.1.3"
- },
- "_requiredBy": [
- "/color-convert"
- ],
- "_resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "_shasum": "a7d0558bd89c42f795dd42328f740831ca53bc25",
- "_spec": "color-name@1.1.3",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/color-convert",
- "author": {
- "name": "DY",
- "email": "dfcreative@gmail.com"
- },
- "bugs": {
- "url": "https://github.com/dfcreative/color-name/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "A list of color names and its values",
- "homepage": "https://github.com/dfcreative/color-name",
- "keywords": [
- "color-name",
- "color",
- "color-keyword",
- "keyword"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "color-name",
- "repository": {
- "type": "git",
- "url": "git+ssh://git@github.com/dfcreative/color-name.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "1.1.3"
-}
diff --git a/Server/node_modules/color-name/test.js b/Server/node_modules/color-name/test.js
deleted file mode 100644
index 6e6bf30..0000000
--- a/Server/node_modules/color-name/test.js
+++ /dev/null
@@ -1,7 +0,0 @@
-'use strict'
-
-var names = require('./');
-var assert = require('assert');
-
-assert.deepEqual(names.red, [255,0,0]);
-assert.deepEqual(names.aliceblue, [240,248,255]);
diff --git a/Server/node_modules/concat-map/.travis.yml b/Server/node_modules/concat-map/.travis.yml
deleted file mode 100644
index f1d0f13..0000000
--- a/Server/node_modules/concat-map/.travis.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-language: node_js
-node_js:
- - 0.4
- - 0.6
diff --git a/Server/node_modules/concat-map/LICENSE b/Server/node_modules/concat-map/LICENSE
deleted file mode 100644
index ee27ba4..0000000
--- a/Server/node_modules/concat-map/LICENSE
+++ /dev/null
@@ -1,18 +0,0 @@
-This software is released under the MIT license:
-
-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.
diff --git a/Server/node_modules/concat-map/README.markdown b/Server/node_modules/concat-map/README.markdown
deleted file mode 100644
index 408f70a..0000000
--- a/Server/node_modules/concat-map/README.markdown
+++ /dev/null
@@ -1,62 +0,0 @@
-concat-map
-==========
-
-Concatenative mapdashery.
-
-[![browser support](http://ci.testling.com/substack/node-concat-map.png)](http://ci.testling.com/substack/node-concat-map)
-
-[![build status](https://secure.travis-ci.org/substack/node-concat-map.png)](http://travis-ci.org/substack/node-concat-map)
-
-example
-=======
-
-``` js
-var concatMap = require('concat-map');
-var xs = [ 1, 2, 3, 4, 5, 6 ];
-var ys = concatMap(xs, function (x) {
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
-});
-console.dir(ys);
-```
-
-***
-
-```
-[ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]
-```
-
-methods
-=======
-
-``` js
-var concatMap = require('concat-map')
-```
-
-concatMap(xs, fn)
------------------
-
-Return an array of concatenated elements by calling `fn(x, i)` for each element
-`x` and each index `i` in the array `xs`.
-
-When `fn(x, i)` returns an array, its result will be concatenated with the
-result array. If `fn(x, i)` returns anything else, that value will be pushed
-onto the end of the result array.
-
-install
-=======
-
-With [npm](http://npmjs.org) do:
-
-```
-npm install concat-map
-```
-
-license
-=======
-
-MIT
-
-notes
-=====
-
-This module was written while sitting high above the ground in a tree.
diff --git a/Server/node_modules/concat-map/example/map.js b/Server/node_modules/concat-map/example/map.js
deleted file mode 100644
index 3365621..0000000
--- a/Server/node_modules/concat-map/example/map.js
+++ /dev/null
@@ -1,6 +0,0 @@
-var concatMap = require('../');
-var xs = [ 1, 2, 3, 4, 5, 6 ];
-var ys = concatMap(xs, function (x) {
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
-});
-console.dir(ys);
diff --git a/Server/node_modules/concat-map/index.js b/Server/node_modules/concat-map/index.js
deleted file mode 100644
index b29a781..0000000
--- a/Server/node_modules/concat-map/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = function (xs, fn) {
- var res = [];
- for (var i = 0; i < xs.length; i++) {
- var x = fn(xs[i], i);
- if (isArray(x)) res.push.apply(res, x);
- else res.push(x);
- }
- return res;
-};
-
-var isArray = Array.isArray || function (xs) {
- return Object.prototype.toString.call(xs) === '[object Array]';
-};
diff --git a/Server/node_modules/concat-map/package.json b/Server/node_modules/concat-map/package.json
deleted file mode 100644
index 4c6db64..0000000
--- a/Server/node_modules/concat-map/package.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "_from": "concat-map@0.0.1",
- "_id": "concat-map@0.0.1",
- "_inBundle": false,
- "_integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
- "_location": "/concat-map",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "concat-map@0.0.1",
- "name": "concat-map",
- "escapedName": "concat-map",
- "rawSpec": "0.0.1",
- "saveSpec": null,
- "fetchSpec": "0.0.1"
- },
- "_requiredBy": [
- "/brace-expansion"
- ],
- "_resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "_shasum": "d8a96bd77fd68df7793a73036a3ba0d5405d477b",
- "_spec": "concat-map@0.0.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/brace-expansion",
- "author": {
- "name": "James Halliday",
- "email": "mail@substack.net",
- "url": "http://substack.net"
- },
- "bugs": {
- "url": "https://github.com/substack/node-concat-map/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "concatenative mapdashery",
- "devDependencies": {
- "tape": "~2.4.0"
- },
- "directories": {
- "example": "example",
- "test": "test"
- },
- "homepage": "https://github.com/substack/node-concat-map#readme",
- "keywords": [
- "concat",
- "concatMap",
- "map",
- "functional",
- "higher-order"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "concat-map",
- "repository": {
- "type": "git",
- "url": "git://github.com/substack/node-concat-map.git"
- },
- "scripts": {
- "test": "tape test/*.js"
- },
- "testling": {
- "files": "test/*.js",
- "browsers": {
- "ie": [
- 6,
- 7,
- 8,
- 9
- ],
- "ff": [
- 3.5,
- 10,
- 15
- ],
- "chrome": [
- 10,
- 22
- ],
- "safari": [
- 5.1
- ],
- "opera": [
- 12
- ]
- }
- },
- "version": "0.0.1"
-}
diff --git a/Server/node_modules/concat-map/test/map.js b/Server/node_modules/concat-map/test/map.js
deleted file mode 100644
index fdbd702..0000000
--- a/Server/node_modules/concat-map/test/map.js
+++ /dev/null
@@ -1,39 +0,0 @@
-var concatMap = require('../');
-var test = require('tape');
-
-test('empty or not', function (t) {
- var xs = [ 1, 2, 3, 4, 5, 6 ];
- var ixes = [];
- var ys = concatMap(xs, function (x, ix) {
- ixes.push(ix);
- return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
- });
- t.same(ys, [ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]);
- t.same(ixes, [ 0, 1, 2, 3, 4, 5 ]);
- t.end();
-});
-
-test('always something', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function (x) {
- return x === 'b' ? [ 'B', 'B', 'B' ] : [ x ];
- });
- t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]);
- t.end();
-});
-
-test('scalars', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function (x) {
- return x === 'b' ? [ 'B', 'B', 'B' ] : x;
- });
- t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]);
- t.end();
-});
-
-test('undefs', function (t) {
- var xs = [ 'a', 'b', 'c', 'd' ];
- var ys = concatMap(xs, function () {});
- t.same(ys, [ undefined, undefined, undefined, undefined ]);
- t.end();
-});
diff --git a/Server/node_modules/content-disposition/HISTORY.md b/Server/node_modules/content-disposition/HISTORY.md
deleted file mode 100644
index 63a3d08..0000000
--- a/Server/node_modules/content-disposition/HISTORY.md
+++ /dev/null
@@ -1,55 +0,0 @@
-0.5.3 / 2018-12-17
-==================
-
- * Use `safe-buffer` for improved Buffer API
-
-0.5.2 / 2016-12-08
-==================
-
- * Fix `parse` to accept any linear whitespace character
-
-0.5.1 / 2016-01-17
-==================
-
- * perf: enable strict mode
-
-0.5.0 / 2014-10-11
-==================
-
- * Add `parse` function
-
-0.4.0 / 2014-09-21
-==================
-
- * Expand non-Unicode `filename` to the full ISO-8859-1 charset
-
-0.3.0 / 2014-09-20
-==================
-
- * Add `fallback` option
- * Add `type` option
-
-0.2.0 / 2014-09-19
-==================
-
- * Reduce ambiguity of file names with hex escape in buggy browsers
-
-0.1.2 / 2014-09-19
-==================
-
- * Fix periodic invalid Unicode filename header
-
-0.1.1 / 2014-09-19
-==================
-
- * Fix invalid characters appearing in `filename*` parameter
-
-0.1.0 / 2014-09-18
-==================
-
- * Make the `filename` argument optional
-
-0.0.0 / 2014-09-18
-==================
-
- * Initial release
diff --git a/Server/node_modules/content-disposition/LICENSE b/Server/node_modules/content-disposition/LICENSE
deleted file mode 100644
index 84441fb..0000000
--- a/Server/node_modules/content-disposition/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014-2017 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/content-disposition/README.md b/Server/node_modules/content-disposition/README.md
deleted file mode 100644
index eebef13..0000000
--- a/Server/node_modules/content-disposition/README.md
+++ /dev/null
@@ -1,148 +0,0 @@
-# content-disposition
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Create and parse HTTP `Content-Disposition` header
-
-## Installation
-
-```sh
-$ npm install content-disposition
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var contentDisposition = require('content-disposition')
-```
-
-### contentDisposition(filename, options)
-
-Create an attachment `Content-Disposition` header value using the given file name,
-if supplied. The `filename` is optional and if no file name is desired, but you
-want to specify `options`, set `filename` to `undefined`.
-
-<!-- eslint-disable no-undef -->
-
-```js
-res.setHeader('Content-Disposition', contentDisposition('∫ maths.pdf'))
-```
-
-**note** HTTP headers are of the ISO-8859-1 character set. If you are writing this
-header through a means different from `setHeader` in Node.js, you'll want to specify
-the `'binary'` encoding in Node.js.
-
-#### Options
-
-`contentDisposition` accepts these properties in the options object.
-
-##### fallback
-
-If the `filename` option is outside ISO-8859-1, then the file name is actually
-stored in a supplemental field for clients that support Unicode file names and
-a ISO-8859-1 version of the file name is automatically generated.
-
-This specifies the ISO-8859-1 file name to override the automatic generation or
-disables the generation all together, defaults to `true`.
-
- - A string will specify the ISO-8859-1 file name to use in place of automatic
- generation.
- - `false` will disable including a ISO-8859-1 file name and only include the
- Unicode version (unless the file name is already ISO-8859-1).
- - `true` will enable automatic generation if the file name is outside ISO-8859-1.
-
-If the `filename` option is ISO-8859-1 and this option is specified and has a
-different value, then the `filename` option is encoded in the extended field
-and this set as the fallback field, even though they are both ISO-8859-1.
-
-##### type
-
-Specifies the disposition type, defaults to `"attachment"`. This can also be
-`"inline"`, or any other value (all values except inline are treated like
-`attachment`, but can convey additional information if both parties agree to
-it). The type is normalized to lower-case.
-
-### contentDisposition.parse(string)
-
-<!-- eslint-disable no-undef, no-unused-vars -->
-
-```js
-var disposition = contentDisposition.parse('attachment; filename="EURO rates.txt"; filename*=UTF-8\'\'%e2%82%ac%20rates.txt')
-```
-
-Parse a `Content-Disposition` header string. This automatically handles extended
-("Unicode") parameters by decoding them and providing them under the standard
-parameter name. This will return an object with the following properties (examples
-are shown for the string `'attachment; filename="EURO rates.txt"; filename*=UTF-8\'\'%e2%82%ac%20rates.txt'`):
-
- - `type`: The disposition type (always lower case). Example: `'attachment'`
-
- - `parameters`: An object of the parameters in the disposition (name of parameter
- always lower case and extended versions replace non-extended versions). Example:
- `{filename: "€ rates.txt"}`
-
-## Examples
-
-### Send a file for download
-
-```js
-var contentDisposition = require('content-disposition')
-var destroy = require('destroy')
-var fs = require('fs')
-var http = require('http')
-var onFinished = require('on-finished')
-
-var filePath = '/path/to/public/plans.pdf'
-
-http.createServer(function onRequest (req, res) {
- // set headers
- res.setHeader('Content-Type', 'application/pdf')
- res.setHeader('Content-Disposition', contentDisposition(filePath))
-
- // send file
- var stream = fs.createReadStream(filePath)
- stream.pipe(res)
- onFinished(res, function () {
- destroy(stream)
- })
-})
-```
-
-## Testing
-
-```sh
-$ npm test
-```
-
-## References
-
-- [RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1][rfc-2616]
-- [RFC 5987: Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters][rfc-5987]
-- [RFC 6266: Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol (HTTP)][rfc-6266]
-- [Test Cases for HTTP Content-Disposition header field (RFC 6266) and the Encodings defined in RFCs 2047, 2231 and 5987][tc-2231]
-
-[rfc-2616]: https://tools.ietf.org/html/rfc2616
-[rfc-5987]: https://tools.ietf.org/html/rfc5987
-[rfc-6266]: https://tools.ietf.org/html/rfc6266
-[tc-2231]: http://greenbytes.de/tech/tc2231/
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/content-disposition.svg
-[npm-url]: https://npmjs.org/package/content-disposition
-[node-version-image]: https://img.shields.io/node/v/content-disposition.svg
-[node-version-url]: https://nodejs.org/en/download
-[travis-image]: https://img.shields.io/travis/jshttp/content-disposition.svg
-[travis-url]: https://travis-ci.org/jshttp/content-disposition
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/content-disposition.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/content-disposition?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/content-disposition.svg
-[downloads-url]: https://npmjs.org/package/content-disposition
diff --git a/Server/node_modules/content-disposition/index.js b/Server/node_modules/content-disposition/index.js
deleted file mode 100644
index 3092a4d..0000000
--- a/Server/node_modules/content-disposition/index.js
+++ /dev/null
@@ -1,458 +0,0 @@
-/*!
- * content-disposition
- * Copyright(c) 2014-2017 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = contentDisposition
-module.exports.parse = parse
-
-/**
- * Module dependencies.
- * @private
- */
-
-var basename = require('path').basename
-var Buffer = require('safe-buffer').Buffer
-
-/**
- * RegExp to match non attr-char, *after* encodeURIComponent (i.e. not including "%")
- * @private
- */
-
-var ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g // eslint-disable-line no-control-regex
-
-/**
- * RegExp to match percent encoding escape.
- * @private
- */
-
-var HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/
-var HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g
-
-/**
- * RegExp to match non-latin1 characters.
- * @private
- */
-
-var NON_LATIN1_REGEXP = /[^\x20-\x7e\xa0-\xff]/g
-
-/**
- * RegExp to match quoted-pair in RFC 2616
- *
- * quoted-pair = "\" CHAR
- * CHAR = <any US-ASCII character (octets 0 - 127)>
- * @private
- */
-
-var QESC_REGEXP = /\\([\u0000-\u007f])/g // eslint-disable-line no-control-regex
-
-/**
- * RegExp to match chars that must be quoted-pair in RFC 2616
- * @private
- */
-
-var QUOTE_REGEXP = /([\\"])/g
-
-/**
- * RegExp for various RFC 2616 grammar
- *
- * parameter = token "=" ( token | quoted-string )
- * token = 1*<any CHAR except CTLs or separators>
- * separators = "(" | ")" | "<" | ">" | "@"
- * | "," | ";" | ":" | "\" | <">
- * | "/" | "[" | "]" | "?" | "="
- * | "{" | "}" | SP | HT
- * quoted-string = ( <"> *(qdtext | quoted-pair ) <"> )
- * qdtext = <any TEXT except <">>
- * quoted-pair = "\" CHAR
- * CHAR = <any US-ASCII character (octets 0 - 127)>
- * TEXT = <any OCTET except CTLs, but including LWS>
- * LWS = [CRLF] 1*( SP | HT )
- * CRLF = CR LF
- * CR = <US-ASCII CR, carriage return (13)>
- * LF = <US-ASCII LF, linefeed (10)>
- * SP = <US-ASCII SP, space (32)>
- * HT = <US-ASCII HT, horizontal-tab (9)>
- * CTL = <any US-ASCII control character (octets 0 - 31) and DEL (127)>
- * OCTET = <any 8-bit sequence of data>
- * @private
- */
-
-var PARAM_REGEXP = /;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g // eslint-disable-line no-control-regex
-var TEXT_REGEXP = /^[\x20-\x7e\x80-\xff]+$/
-var TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/
-
-/**
- * RegExp for various RFC 5987 grammar
- *
- * ext-value = charset "'" [ language ] "'" value-chars
- * charset = "UTF-8" / "ISO-8859-1" / mime-charset
- * mime-charset = 1*mime-charsetc
- * mime-charsetc = ALPHA / DIGIT
- * / "!" / "#" / "$" / "%" / "&"
- * / "+" / "-" / "^" / "_" / "`"
- * / "{" / "}" / "~"
- * language = ( 2*3ALPHA [ extlang ] )
- * / 4ALPHA
- * / 5*8ALPHA
- * extlang = *3( "-" 3ALPHA )
- * value-chars = *( pct-encoded / attr-char )
- * pct-encoded = "%" HEXDIG HEXDIG
- * attr-char = ALPHA / DIGIT
- * / "!" / "#" / "$" / "&" / "+" / "-" / "."
- * / "^" / "_" / "`" / "|" / "~"
- * @private
- */
-
-var EXT_VALUE_REGEXP = /^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/
-
-/**
- * RegExp for various RFC 6266 grammar
- *
- * disposition-type = "inline" | "attachment" | disp-ext-type
- * disp-ext-type = token
- * disposition-parm = filename-parm | disp-ext-parm
- * filename-parm = "filename" "=" value
- * | "filename*" "=" ext-value
- * disp-ext-parm = token "=" value
- * | ext-token "=" ext-value
- * ext-token = <the characters in token, followed by "*">
- * @private
- */
-
-var DISPOSITION_TYPE_REGEXP = /^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/ // eslint-disable-line no-control-regex
-
-/**
- * Create an attachment Content-Disposition header.
- *
- * @param {string} [filename]
- * @param {object} [options]
- * @param {string} [options.type=attachment]
- * @param {string|boolean} [options.fallback=true]
- * @return {string}
- * @public
- */
-
-function contentDisposition (filename, options) {
- var opts = options || {}
-
- // get type
- var type = opts.type || 'attachment'
-
- // get parameters
- var params = createparams(filename, opts.fallback)
-
- // format into string
- return format(new ContentDisposition(type, params))
-}
-
-/**
- * Create parameters object from filename and fallback.
- *
- * @param {string} [filename]
- * @param {string|boolean} [fallback=true]
- * @return {object}
- * @private
- */
-
-function createparams (filename, fallback) {
- if (filename === undefined) {
- return
- }
-
- var params = {}
-
- if (typeof filename !== 'string') {
- throw new TypeError('filename must be a string')
- }
-
- // fallback defaults to true
- if (fallback === undefined) {
- fallback = true
- }
-
- if (typeof fallback !== 'string' && typeof fallback !== 'boolean') {
- throw new TypeError('fallback must be a string or boolean')
- }
-
- if (typeof fallback === 'string' && NON_LATIN1_REGEXP.test(fallback)) {
- throw new TypeError('fallback must be ISO-8859-1 string')
- }
-
- // restrict to file base name
- var name = basename(filename)
-
- // determine if name is suitable for quoted string
- var isQuotedString = TEXT_REGEXP.test(name)
-
- // generate fallback name
- var fallbackName = typeof fallback !== 'string'
- ? fallback && getlatin1(name)
- : basename(fallback)
- var hasFallback = typeof fallbackName === 'string' && fallbackName !== name
-
- // set extended filename parameter
- if (hasFallback || !isQuotedString || HEX_ESCAPE_REGEXP.test(name)) {
- params['filename*'] = name
- }
-
- // set filename parameter
- if (isQuotedString || hasFallback) {
- params.filename = hasFallback
- ? fallbackName
- : name
- }
-
- return params
-}
-
-/**
- * Format object to Content-Disposition header.
- *
- * @param {object} obj
- * @param {string} obj.type
- * @param {object} [obj.parameters]
- * @return {string}
- * @private
- */
-
-function format (obj) {
- var parameters = obj.parameters
- var type = obj.type
-
- if (!type || typeof type !== 'string' || !TOKEN_REGEXP.test(type)) {
- throw new TypeError('invalid type')
- }
-
- // start with normalized type
- var string = String(type).toLowerCase()
-
- // append parameters
- if (parameters && typeof parameters === 'object') {
- var param
- var params = Object.keys(parameters).sort()
-
- for (var i = 0; i < params.length; i++) {
- param = params[i]
-
- var val = param.substr(-1) === '*'
- ? ustring(parameters[param])
- : qstring(parameters[param])
-
- string += '; ' + param + '=' + val
- }
- }
-
- return string
-}
-
-/**
- * Decode a RFC 6987 field value (gracefully).
- *
- * @param {string} str
- * @return {string}
- * @private
- */
-
-function decodefield (str) {
- var match = EXT_VALUE_REGEXP.exec(str)
-
- if (!match) {
- throw new TypeError('invalid extended field value')
- }
-
- var charset = match[1].toLowerCase()
- var encoded = match[2]
- var value
-
- // to binary string
- var binary = encoded.replace(HEX_ESCAPE_REPLACE_REGEXP, pdecode)
-
- switch (charset) {
- case 'iso-8859-1':
- value = getlatin1(binary)
- break
- case 'utf-8':
- value = Buffer.from(binary, 'binary').toString('utf8')
- break
- default:
- throw new TypeError('unsupported charset in extended field')
- }
-
- return value
-}
-
-/**
- * Get ISO-8859-1 version of string.
- *
- * @param {string} val
- * @return {string}
- * @private
- */
-
-function getlatin1 (val) {
- // simple Unicode -> ISO-8859-1 transformation
- return String(val).replace(NON_LATIN1_REGEXP, '?')
-}
-
-/**
- * Parse Content-Disposition header string.
- *
- * @param {string} string
- * @return {object}
- * @public
- */
-
-function parse (string) {
- if (!string || typeof string !== 'string') {
- throw new TypeError('argument string is required')
- }
-
- var match = DISPOSITION_TYPE_REGEXP.exec(string)
-
- if (!match) {
- throw new TypeError('invalid type format')
- }
-
- // normalize type
- var index = match[0].length
- var type = match[1].toLowerCase()
-
- var key
- var names = []
- var params = {}
- var value
-
- // calculate index to start at
- index = PARAM_REGEXP.lastIndex = match[0].substr(-1) === ';'
- ? index - 1
- : index
-
- // match parameters
- while ((match = PARAM_REGEXP.exec(string))) {
- if (match.index !== index) {
- throw new TypeError('invalid parameter format')
- }
-
- index += match[0].length
- key = match[1].toLowerCase()
- value = match[2]
-
- if (names.indexOf(key) !== -1) {
- throw new TypeError('invalid duplicate parameter')
- }
-
- names.push(key)
-
- if (key.indexOf('*') + 1 === key.length) {
- // decode extended value
- key = key.slice(0, -1)
- value = decodefield(value)
-
- // overwrite existing value
- params[key] = value
- continue
- }
-
- if (typeof params[key] === 'string') {
- continue
- }
-
- if (value[0] === '"') {
- // remove quotes and escapes
- value = value
- .substr(1, value.length - 2)
- .replace(QESC_REGEXP, '$1')
- }
-
- params[key] = value
- }
-
- if (index !== -1 && index !== string.length) {
- throw new TypeError('invalid parameter format')
- }
-
- return new ContentDisposition(type, params)
-}
-
-/**
- * Percent decode a single character.
- *
- * @param {string} str
- * @param {string} hex
- * @return {string}
- * @private
- */
-
-function pdecode (str, hex) {
- return String.fromCharCode(parseInt(hex, 16))
-}
-
-/**
- * Percent encode a single character.
- *
- * @param {string} char
- * @return {string}
- * @private
- */
-
-function pencode (char) {
- return '%' + String(char)
- .charCodeAt(0)
- .toString(16)
- .toUpperCase()
-}
-
-/**
- * Quote a string for HTTP.
- *
- * @param {string} val
- * @return {string}
- * @private
- */
-
-function qstring (val) {
- var str = String(val)
-
- return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"'
-}
-
-/**
- * Encode a Unicode string for HTTP (RFC 5987).
- *
- * @param {string} val
- * @return {string}
- * @private
- */
-
-function ustring (val) {
- var str = String(val)
-
- // percent encode as UTF-8
- var encoded = encodeURIComponent(str)
- .replace(ENCODE_URL_ATTR_CHAR_REGEXP, pencode)
-
- return 'UTF-8\'\'' + encoded
-}
-
-/**
- * Class for parsed Content-Disposition header for v8 optimization
- *
- * @public
- * @param {string} type
- * @param {object} parameters
- * @constructor
- */
-
-function ContentDisposition (type, parameters) {
- this.type = type
- this.parameters = parameters
-}
diff --git a/Server/node_modules/content-disposition/package.json b/Server/node_modules/content-disposition/package.json
deleted file mode 100644
index 25a8301..0000000
--- a/Server/node_modules/content-disposition/package.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "_from": "content-disposition@0.5.3",
- "_id": "content-disposition@0.5.3",
- "_inBundle": false,
- "_integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
- "_location": "/content-disposition",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "content-disposition@0.5.3",
- "name": "content-disposition",
- "escapedName": "content-disposition",
- "rawSpec": "0.5.3",
- "saveSpec": null,
- "fetchSpec": "0.5.3"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
- "_shasum": "e130caf7e7279087c5616c2007d0485698984fbd",
- "_spec": "content-disposition@0.5.3",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/content-disposition/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "safe-buffer": "5.1.2"
- },
- "deprecated": false,
- "description": "Create and parse Content-Disposition header",
- "devDependencies": {
- "deep-equal": "1.0.1",
- "eslint": "5.10.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.14.0",
- "eslint-plugin-markdown": "1.0.0-rc.1",
- "eslint-plugin-node": "7.0.1",
- "eslint-plugin-promise": "4.0.1",
- "eslint-plugin-standard": "4.0.0",
- "istanbul": "0.4.5",
- "mocha": "5.2.0"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/content-disposition#readme",
- "keywords": [
- "content-disposition",
- "http",
- "rfc6266",
- "res"
- ],
- "license": "MIT",
- "name": "content-disposition",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/content-disposition.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "0.5.3"
-}
diff --git a/Server/node_modules/content-type/HISTORY.md b/Server/node_modules/content-type/HISTORY.md
deleted file mode 100644
index 8f5cb70..0000000
--- a/Server/node_modules/content-type/HISTORY.md
+++ /dev/null
@@ -1,24 +0,0 @@
-1.0.4 / 2017-09-11
-==================
-
- * perf: skip parameter parsing when no parameters
-
-1.0.3 / 2017-09-10
-==================
-
- * perf: remove argument reassignment
-
-1.0.2 / 2016-05-09
-==================
-
- * perf: enable strict mode
-
-1.0.1 / 2015-02-13
-==================
-
- * Improve missing `Content-Type` header error message
-
-1.0.0 / 2015-02-01
-==================
-
- * Initial implementation, derived from `media-typer@0.3.0`
diff --git a/Server/node_modules/content-type/LICENSE b/Server/node_modules/content-type/LICENSE
deleted file mode 100644
index 34b1a2d..0000000
--- a/Server/node_modules/content-type/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2015 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/content-type/README.md b/Server/node_modules/content-type/README.md
deleted file mode 100644
index 3ed6741..0000000
--- a/Server/node_modules/content-type/README.md
+++ /dev/null
@@ -1,92 +0,0 @@
-# content-type
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Create and parse HTTP Content-Type header according to RFC 7231
-
-## Installation
-
-```sh
-$ npm install content-type
-```
-
-## API
-
-```js
-var contentType = require('content-type')
-```
-
-### contentType.parse(string)
-
-```js
-var obj = contentType.parse('image/svg+xml; charset=utf-8')
-```
-
-Parse a content type string. This will return an object with the following
-properties (examples are shown for the string `'image/svg+xml; charset=utf-8'`):
-
- - `type`: The media type (the type and subtype, always lower case).
- Example: `'image/svg+xml'`
-
- - `parameters`: An object of the parameters in the media type (name of parameter
- always lower case). Example: `{charset: 'utf-8'}`
-
-Throws a `TypeError` if the string is missing or invalid.
-
-### contentType.parse(req)
-
-```js
-var obj = contentType.parse(req)
-```
-
-Parse the `content-type` header from the given `req`. Short-cut for
-`contentType.parse(req.headers['content-type'])`.
-
-Throws a `TypeError` if the `Content-Type` header is missing or invalid.
-
-### contentType.parse(res)
-
-```js
-var obj = contentType.parse(res)
-```
-
-Parse the `content-type` header set on the given `res`. Short-cut for
-`contentType.parse(res.getHeader('content-type'))`.
-
-Throws a `TypeError` if the `Content-Type` header is missing or invalid.
-
-### contentType.format(obj)
-
-```js
-var str = contentType.format({type: 'image/svg+xml'})
-```
-
-Format an object into a content type string. This will return a string of the
-content type for the given object with the following properties (examples are
-shown that produce the string `'image/svg+xml; charset=utf-8'`):
-
- - `type`: The media type (will be lower-cased). Example: `'image/svg+xml'`
-
- - `parameters`: An object of the parameters in the media type (name of the
- parameter will be lower-cased). Example: `{charset: 'utf-8'}`
-
-Throws a `TypeError` if the object contains an invalid type or parameter names.
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/content-type.svg
-[npm-url]: https://npmjs.org/package/content-type
-[node-version-image]: https://img.shields.io/node/v/content-type.svg
-[node-version-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/jshttp/content-type/master.svg
-[travis-url]: https://travis-ci.org/jshttp/content-type
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/content-type/master.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/content-type
-[downloads-image]: https://img.shields.io/npm/dm/content-type.svg
-[downloads-url]: https://npmjs.org/package/content-type
diff --git a/Server/node_modules/content-type/index.js b/Server/node_modules/content-type/index.js
deleted file mode 100644
index 6ce03f2..0000000
--- a/Server/node_modules/content-type/index.js
+++ /dev/null
@@ -1,222 +0,0 @@
-/*!
- * content-type
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1
- *
- * parameter = token "=" ( token / quoted-string )
- * token = 1*tchar
- * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*"
- * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
- * / DIGIT / ALPHA
- * ; any VCHAR, except delimiters
- * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
- * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text
- * obs-text = %x80-FF
- * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
- */
-var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g
-var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/
-var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/
-
-/**
- * RegExp to match quoted-pair in RFC 7230 sec 3.2.6
- *
- * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
- * obs-text = %x80-FF
- */
-var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g
-
-/**
- * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6
- */
-var QUOTE_REGEXP = /([\\"])/g
-
-/**
- * RegExp to match type in RFC 7231 sec 3.1.1.1
- *
- * media-type = type "/" subtype
- * type = token
- * subtype = token
- */
-var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/
-
-/**
- * Module exports.
- * @public
- */
-
-exports.format = format
-exports.parse = parse
-
-/**
- * Format object to media type.
- *
- * @param {object} obj
- * @return {string}
- * @public
- */
-
-function format (obj) {
- if (!obj || typeof obj !== 'object') {
- throw new TypeError('argument obj is required')
- }
-
- var parameters = obj.parameters
- var type = obj.type
-
- if (!type || !TYPE_REGEXP.test(type)) {
- throw new TypeError('invalid type')
- }
-
- var string = type
-
- // append parameters
- if (parameters && typeof parameters === 'object') {
- var param
- var params = Object.keys(parameters).sort()
-
- for (var i = 0; i < params.length; i++) {
- param = params[i]
-
- if (!TOKEN_REGEXP.test(param)) {
- throw new TypeError('invalid parameter name')
- }
-
- string += '; ' + param + '=' + qstring(parameters[param])
- }
- }
-
- return string
-}
-
-/**
- * Parse media type to object.
- *
- * @param {string|object} string
- * @return {Object}
- * @public
- */
-
-function parse (string) {
- if (!string) {
- throw new TypeError('argument string is required')
- }
-
- // support req/res-like objects as argument
- var header = typeof string === 'object'
- ? getcontenttype(string)
- : string
-
- if (typeof header !== 'string') {
- throw new TypeError('argument string is required to be a string')
- }
-
- var index = header.indexOf(';')
- var type = index !== -1
- ? header.substr(0, index).trim()
- : header.trim()
-
- if (!TYPE_REGEXP.test(type)) {
- throw new TypeError('invalid media type')
- }
-
- var obj = new ContentType(type.toLowerCase())
-
- // parse parameters
- if (index !== -1) {
- var key
- var match
- var value
-
- PARAM_REGEXP.lastIndex = index
-
- while ((match = PARAM_REGEXP.exec(header))) {
- if (match.index !== index) {
- throw new TypeError('invalid parameter format')
- }
-
- index += match[0].length
- key = match[1].toLowerCase()
- value = match[2]
-
- if (value[0] === '"') {
- // remove quotes and escapes
- value = value
- .substr(1, value.length - 2)
- .replace(QESC_REGEXP, '$1')
- }
-
- obj.parameters[key] = value
- }
-
- if (index !== header.length) {
- throw new TypeError('invalid parameter format')
- }
- }
-
- return obj
-}
-
-/**
- * Get content-type from req/res objects.
- *
- * @param {object}
- * @return {Object}
- * @private
- */
-
-function getcontenttype (obj) {
- var header
-
- if (typeof obj.getHeader === 'function') {
- // res-like
- header = obj.getHeader('content-type')
- } else if (typeof obj.headers === 'object') {
- // req-like
- header = obj.headers && obj.headers['content-type']
- }
-
- if (typeof header !== 'string') {
- throw new TypeError('content-type header is missing from object')
- }
-
- return header
-}
-
-/**
- * Quote a string if necessary.
- *
- * @param {string} val
- * @return {string}
- * @private
- */
-
-function qstring (val) {
- var str = String(val)
-
- // no need to quote tokens
- if (TOKEN_REGEXP.test(str)) {
- return str
- }
-
- if (str.length > 0 && !TEXT_REGEXP.test(str)) {
- throw new TypeError('invalid parameter value')
- }
-
- return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"'
-}
-
-/**
- * Class to represent a content type.
- * @private
- */
-function ContentType (type) {
- this.parameters = Object.create(null)
- this.type = type
-}
diff --git a/Server/node_modules/content-type/package.json b/Server/node_modules/content-type/package.json
deleted file mode 100644
index 556571d..0000000
--- a/Server/node_modules/content-type/package.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "_from": "content-type@~1.0.4",
- "_id": "content-type@1.0.4",
- "_inBundle": false,
- "_integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",
- "_location": "/content-type",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "content-type@~1.0.4",
- "name": "content-type",
- "escapedName": "content-type",
- "rawSpec": "~1.0.4",
- "saveSpec": null,
- "fetchSpec": "~1.0.4"
- },
- "_requiredBy": [
- "/body-parser",
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
- "_shasum": "e138cc75e040c727b1966fe5e5f8c9aee256fe3b",
- "_spec": "content-type@~1.0.4",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/content-type/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Create and parse HTTP Content-Type header",
- "devDependencies": {
- "eslint": "3.19.0",
- "eslint-config-standard": "10.2.1",
- "eslint-plugin-import": "2.7.0",
- "eslint-plugin-node": "5.1.1",
- "eslint-plugin-promise": "3.5.0",
- "eslint-plugin-standard": "3.0.1",
- "istanbul": "0.4.5",
- "mocha": "~1.21.5"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/content-type#readme",
- "keywords": [
- "content-type",
- "http",
- "req",
- "res",
- "rfc7231"
- ],
- "license": "MIT",
- "name": "content-type",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/content-type.git"
- },
- "scripts": {
- "lint": "eslint .",
- "test": "mocha --reporter spec --check-leaks --bail test/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
- },
- "version": "1.0.4"
-}
diff --git a/Server/node_modules/cookie-signature/.npmignore b/Server/node_modules/cookie-signature/.npmignore
deleted file mode 100644
index f1250e5..0000000
--- a/Server/node_modules/cookie-signature/.npmignore
+++ /dev/null
@@ -1,4 +0,0 @@
-support
-test
-examples
-*.sock
diff --git a/Server/node_modules/cookie-signature/History.md b/Server/node_modules/cookie-signature/History.md
deleted file mode 100644
index 78513cc..0000000
--- a/Server/node_modules/cookie-signature/History.md
+++ /dev/null
@@ -1,38 +0,0 @@
-1.0.6 / 2015-02-03
-==================
-
-* use `npm test` instead of `make test` to run tests
-* clearer assertion messages when checking input
-
-
-1.0.5 / 2014-09-05
-==================
-
-* add license to package.json
-
-1.0.4 / 2014-06-25
-==================
-
- * corrected avoidance of timing attacks (thanks @tenbits!)
-
-1.0.3 / 2014-01-28
-==================
-
- * [incorrect] fix for timing attacks
-
-1.0.2 / 2014-01-28
-==================
-
- * fix missing repository warning
- * fix typo in test
-
-1.0.1 / 2013-04-15
-==================
-
- * Revert "Changed underlying HMAC algo. to sha512."
- * Revert "Fix for timing attacks on MAC verification."
-
-0.0.1 / 2010-01-03
-==================
-
- * Initial release
diff --git a/Server/node_modules/cookie-signature/Readme.md b/Server/node_modules/cookie-signature/Readme.md
deleted file mode 100644
index 2559e84..0000000
--- a/Server/node_modules/cookie-signature/Readme.md
+++ /dev/null
@@ -1,42 +0,0 @@
-
-# cookie-signature
-
- Sign and unsign cookies.
-
-## Example
-
-```js
-var cookie = require('cookie-signature');
-
-var val = cookie.sign('hello', 'tobiiscool');
-val.should.equal('hello.DGDUkGlIkCzPz+C0B064FNgHdEjox7ch8tOBGslZ5QI');
-
-var val = cookie.sign('hello', 'tobiiscool');
-cookie.unsign(val, 'tobiiscool').should.equal('hello');
-cookie.unsign(val, 'luna').should.be.false;
-```
-
-## License
-
-(The MIT License)
-
-Copyright (c) 2012 LearnBoost &lt;tj@learnboost.com&gt;
-
-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.
\ No newline at end of file
diff --git a/Server/node_modules/cookie-signature/index.js b/Server/node_modules/cookie-signature/index.js
deleted file mode 100644
index b8c9463..0000000
--- a/Server/node_modules/cookie-signature/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Module dependencies.
- */
-
-var crypto = require('crypto');
-
-/**
- * Sign the given `val` with `secret`.
- *
- * @param {String} val
- * @param {String} secret
- * @return {String}
- * @api private
- */
-
-exports.sign = function(val, secret){
- if ('string' != typeof val) throw new TypeError("Cookie value must be provided as a string.");
- if ('string' != typeof secret) throw new TypeError("Secret string must be provided.");
- return val + '.' + crypto
- .createHmac('sha256', secret)
- .update(val)
- .digest('base64')
- .replace(/\=+$/, '');
-};
-
-/**
- * Unsign and decode the given `val` with `secret`,
- * returning `false` if the signature is invalid.
- *
- * @param {String} val
- * @param {String} secret
- * @return {String|Boolean}
- * @api private
- */
-
-exports.unsign = function(val, secret){
- if ('string' != typeof val) throw new TypeError("Signed cookie string must be provided.");
- if ('string' != typeof secret) throw new TypeError("Secret string must be provided.");
- var str = val.slice(0, val.lastIndexOf('.'))
- , mac = exports.sign(str, secret);
-
- return sha1(mac) == sha1(val) ? str : false;
-};
-
-/**
- * Private
- */
-
-function sha1(str){
- return crypto.createHash('sha1').update(str).digest('hex');
-}
diff --git a/Server/node_modules/cookie-signature/package.json b/Server/node_modules/cookie-signature/package.json
deleted file mode 100644
index 7d0327b..0000000
--- a/Server/node_modules/cookie-signature/package.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "_from": "cookie-signature@1.0.6",
- "_id": "cookie-signature@1.0.6",
- "_inBundle": false,
- "_integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=",
- "_location": "/cookie-signature",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "cookie-signature@1.0.6",
- "name": "cookie-signature",
- "escapedName": "cookie-signature",
- "rawSpec": "1.0.6",
- "saveSpec": null,
- "fetchSpec": "1.0.6"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
- "_shasum": "e303a882b342cc3ee8ca513a79999734dab3ae2c",
- "_spec": "cookie-signature@1.0.6",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@learnboost.com"
- },
- "bugs": {
- "url": "https://github.com/visionmedia/node-cookie-signature/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Sign and unsign cookies",
- "devDependencies": {
- "mocha": "*",
- "should": "*"
- },
- "homepage": "https://github.com/visionmedia/node-cookie-signature#readme",
- "keywords": [
- "cookie",
- "sign",
- "unsign"
- ],
- "license": "MIT",
- "main": "index",
- "name": "cookie-signature",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/visionmedia/node-cookie-signature.git"
- },
- "scripts": {
- "test": "mocha --require should --reporter spec"
- },
- "version": "1.0.6"
-}
diff --git a/Server/node_modules/cookie/HISTORY.md b/Server/node_modules/cookie/HISTORY.md
deleted file mode 100644
index da2bf24..0000000
--- a/Server/node_modules/cookie/HISTORY.md
+++ /dev/null
@@ -1,123 +0,0 @@
-0.4.0 / 2019-05-15
-==================
-
- * Add `SameSite=None` support
-
-0.3.1 / 2016-05-26
-==================
-
- * Fix `sameSite: true` to work with draft-7 clients
- - `true` now sends `SameSite=Strict` instead of `SameSite`
-
-0.3.0 / 2016-05-26
-==================
-
- * Add `sameSite` option
- - Replaces `firstPartyOnly` option, never implemented by browsers
- * Improve error message when `encode` is not a function
- * Improve error message when `expires` is not a `Date`
-
-0.2.4 / 2016-05-20
-==================
-
- * perf: enable strict mode
- * perf: use for loop in parse
- * perf: use string concatination for serialization
-
-0.2.3 / 2015-10-25
-==================
-
- * Fix cookie `Max-Age` to never be a floating point number
-
-0.2.2 / 2015-09-17
-==================
-
- * Fix regression when setting empty cookie value
- - Ease the new restriction, which is just basic header-level validation
- * Fix typo in invalid value errors
-
-0.2.1 / 2015-09-17
-==================
-
- * Throw on invalid values provided to `serialize`
- - Ensures the resulting string is a valid HTTP header value
-
-0.2.0 / 2015-08-13
-==================
-
- * Add `firstPartyOnly` option
- * Throw better error for invalid argument to parse
- * perf: hoist regular expression
-
-0.1.5 / 2015-09-17
-==================
-
- * Fix regression when setting empty cookie value
- - Ease the new restriction, which is just basic header-level validation
- * Fix typo in invalid value errors
-
-0.1.4 / 2015-09-17
-==================
-
- * Throw better error for invalid argument to parse
- * Throw on invalid values provided to `serialize`
- - Ensures the resulting string is a valid HTTP header value
-
-0.1.3 / 2015-05-19
-==================
-
- * Reduce the scope of try-catch deopt
- * Remove argument reassignments
-
-0.1.2 / 2014-04-16
-==================
-
- * Remove unnecessary files from npm package
-
-0.1.1 / 2014-02-23
-==================
-
- * Fix bad parse when cookie value contained a comma
- * Fix support for `maxAge` of `0`
-
-0.1.0 / 2013-05-01
-==================
-
- * Add `decode` option
- * Add `encode` option
-
-0.0.6 / 2013-04-08
-==================
-
- * Ignore cookie parts missing `=`
-
-0.0.5 / 2012-10-29
-==================
-
- * Return raw cookie value if value unescape errors
-
-0.0.4 / 2012-06-21
-==================
-
- * Use encode/decodeURIComponent for cookie encoding/decoding
- - Improve server/client interoperability
-
-0.0.3 / 2012-06-06
-==================
-
- * Only escape special characters per the cookie RFC
-
-0.0.2 / 2012-06-01
-==================
-
- * Fix `maxAge` option to not throw error
-
-0.0.1 / 2012-05-28
-==================
-
- * Add more tests
-
-0.0.0 / 2012-05-28
-==================
-
- * Initial release
diff --git a/Server/node_modules/cookie/LICENSE b/Server/node_modules/cookie/LICENSE
deleted file mode 100644
index 058b6b4..0000000
--- a/Server/node_modules/cookie/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012-2014 Roman Shtylman <shtylman@gmail.com>
-Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
-
diff --git a/Server/node_modules/cookie/README.md b/Server/node_modules/cookie/README.md
deleted file mode 100644
index 857fb77..0000000
--- a/Server/node_modules/cookie/README.md
+++ /dev/null
@@ -1,253 +0,0 @@
-# cookie
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Basic HTTP cookie parser and serializer for HTTP servers.
-
-## Installation
-
-```sh
-$ npm install cookie
-```
-
-## API
-
-```js
-var cookie = require('cookie');
-```
-
-### cookie.parse(str, options)
-
-Parse an HTTP `Cookie` header string and returning an object of all cookie name-value pairs.
-The `str` argument is the string representing a `Cookie` header value and `options` is an
-optional object containing additional parsing options.
-
-```js
-var cookies = cookie.parse('foo=bar; equation=E%3Dmc%5E2');
-// { foo: 'bar', equation: 'E=mc^2' }
-```
-
-#### Options
-
-`cookie.parse` accepts these properties in the options object.
-
-##### decode
-
-Specifies a function that will be used to decode a cookie's value. Since the value of a cookie
-has a limited character set (and must be a simple string), this function can be used to decode
-a previously-encoded cookie value into a JavaScript string or other object.
-
-The default function is the global `decodeURIComponent`, which will decode any URL-encoded
-sequences into their byte representations.
-
-**note** if an error is thrown from this function, the original, non-decoded cookie value will
-be returned as the cookie's value.
-
-### cookie.serialize(name, value, options)
-
-Serialize a cookie name-value pair into a `Set-Cookie` header string. The `name` argument is the
-name for the cookie, the `value` argument is the value to set the cookie to, and the `options`
-argument is an optional object containing additional serialization options.
-
-```js
-var setCookie = cookie.serialize('foo', 'bar');
-// foo=bar
-```
-
-#### Options
-
-`cookie.serialize` accepts these properties in the options object.
-
-##### domain
-
-Specifies the value for the [`Domain` `Set-Cookie` attribute][rfc-6265-5.2.3]. By default, no
-domain is set, and most clients will consider the cookie to apply to only the current domain.
-
-##### encode
-
-Specifies a function that will be used to encode a cookie's value. Since value of a cookie
-has a limited character set (and must be a simple string), this function can be used to encode
-a value into a string suited for a cookie's value.
-
-The default function is the global `encodeURIComponent`, which will encode a JavaScript string
-into UTF-8 byte sequences and then URL-encode any that fall outside of the cookie range.
-
-##### expires
-
-Specifies the `Date` object to be the value for the [`Expires` `Set-Cookie` attribute][rfc-6265-5.2.1].
-By default, no expiration is set, and most clients will consider this a "non-persistent cookie" and
-will delete it on a condition like exiting a web browser application.
-
-**note** the [cookie storage model specification][rfc-6265-5.3] states that if both `expires` and
-`maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,
-so if both are set, they should point to the same date and time.
-
-##### httpOnly
-
-Specifies the `boolean` value for the [`HttpOnly` `Set-Cookie` attribute][rfc-6265-5.2.6]. When truthy,
-the `HttpOnly` attribute is set, otherwise it is not. By default, the `HttpOnly` attribute is not set.
-
-**note** be careful when setting this to `true`, as compliant clients will not allow client-side
-JavaScript to see the cookie in `document.cookie`.
-
-##### maxAge
-
-Specifies the `number` (in seconds) to be the value for the [`Max-Age` `Set-Cookie` attribute][rfc-6265-5.2.2].
-The given number will be converted to an integer by rounding down. By default, no maximum age is set.
-
-**note** the [cookie storage model specification][rfc-6265-5.3] states that if both `expires` and
-`maxAge` are set, then `maxAge` takes precedence, but it is possible not all clients by obey this,
-so if both are set, they should point to the same date and time.
-
-##### path
-
-Specifies the value for the [`Path` `Set-Cookie` attribute][rfc-6265-5.2.4]. By default, the path
-is considered the ["default path"][rfc-6265-5.1.4].
-
-##### sameSite
-
-Specifies the `boolean` or `string` to be the value for the [`SameSite` `Set-Cookie` attribute][rfc-6265bis-03-4.1.2.7].
-
- - `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
- - `false` will not set the `SameSite` attribute.
- - `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement.
- - `'none'` will set the `SameSite` attribute to `None` for an explicit cross-site cookie.
- - `'strict'` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
-
-More information about the different enforcement levels can be found in
-[the specification][rfc-6265bis-03-4.1.2.7].
-
-**note** This is an attribute that has not yet been fully standardized, and may change in the future.
-This also means many clients may ignore this attribute until they understand it.
-
-##### secure
-
-Specifies the `boolean` value for the [`Secure` `Set-Cookie` attribute][rfc-6265-5.2.5]. When truthy,
-the `Secure` attribute is set, otherwise it is not. By default, the `Secure` attribute is not set.
-
-**note** be careful when setting this to `true`, as compliant clients will not send the cookie back to
-the server in the future if the browser does not have an HTTPS connection.
-
-## Example
-
-The following example uses this module in conjunction with the Node.js core HTTP server
-to prompt a user for their name and display it back on future visits.
-
-```js
-var cookie = require('cookie');
-var escapeHtml = require('escape-html');
-var http = require('http');
-var url = require('url');
-
-function onRequest(req, res) {
- // Parse the query string
- var query = url.parse(req.url, true, true).query;
-
- if (query && query.name) {
- // Set a new cookie with the name
- res.setHeader('Set-Cookie', cookie.serialize('name', String(query.name), {
- httpOnly: true,
- maxAge: 60 * 60 * 24 * 7 // 1 week
- }));
-
- // Redirect back after setting cookie
- res.statusCode = 302;
- res.setHeader('Location', req.headers.referer || '/');
- res.end();
- return;
- }
-
- // Parse the cookies on the request
- var cookies = cookie.parse(req.headers.cookie || '');
-
- // Get the visitor name set in the cookie
- var name = cookies.name;
-
- res.setHeader('Content-Type', 'text/html; charset=UTF-8');
-
- if (name) {
- res.write('<p>Welcome back, <b>' + escapeHtml(name) + '</b>!</p>');
- } else {
- res.write('<p>Hello, new visitor!</p>');
- }
-
- res.write('<form method="GET">');
- res.write('<input placeholder="enter your name" name="name"> <input type="submit" value="Set Name">');
- res.end('</form>');
-}
-
-http.createServer(onRequest).listen(3000);
-```
-
-## Testing
-
-```sh
-$ npm test
-```
-
-## Benchmark
-
-```
-$ npm run bench
-
-> cookie@0.3.1 bench cookie
-> node benchmark/index.js
-
- http_parser@2.8.0
- node@6.14.2
- v8@5.1.281.111
- uv@1.16.1
- zlib@1.2.11
- ares@1.10.1-DEV
- icu@58.2
- modules@48
- napi@3
- openssl@1.0.2o
-
-> node benchmark/parse.js
-
- cookie.parse
-
- 6 tests completed.
-
- simple x 1,200,691 ops/sec ±1.12% (189 runs sampled)
- decode x 1,012,994 ops/sec ±0.97% (186 runs sampled)
- unquote x 1,074,174 ops/sec ±2.43% (186 runs sampled)
- duplicates x 438,424 ops/sec ±2.17% (184 runs sampled)
- 10 cookies x 147,154 ops/sec ±1.01% (186 runs sampled)
- 100 cookies x 14,274 ops/sec ±1.07% (187 runs sampled)
-```
-
-## References
-
-- [RFC 6265: HTTP State Management Mechanism][rfc-6265]
-- [Same-site Cookies][rfc-6265bis-03-4.1.2.7]
-
-[rfc-6265bis-03-4.1.2.7]: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7
-[rfc-6265]: https://tools.ietf.org/html/rfc6265
-[rfc-6265-5.1.4]: https://tools.ietf.org/html/rfc6265#section-5.1.4
-[rfc-6265-5.2.1]: https://tools.ietf.org/html/rfc6265#section-5.2.1
-[rfc-6265-5.2.2]: https://tools.ietf.org/html/rfc6265#section-5.2.2
-[rfc-6265-5.2.3]: https://tools.ietf.org/html/rfc6265#section-5.2.3
-[rfc-6265-5.2.4]: https://tools.ietf.org/html/rfc6265#section-5.2.4
-[rfc-6265-5.2.5]: https://tools.ietf.org/html/rfc6265#section-5.2.5
-[rfc-6265-5.2.6]: https://tools.ietf.org/html/rfc6265#section-5.2.6
-[rfc-6265-5.3]: https://tools.ietf.org/html/rfc6265#section-5.3
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/cookie/master
-[coveralls-url]: https://coveralls.io/r/jshttp/cookie?branch=master
-[node-version-image]: https://badgen.net/npm/node/cookie
-[node-version-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/cookie
-[npm-url]: https://npmjs.org/package/cookie
-[npm-version-image]: https://badgen.net/npm/v/cookie
-[travis-image]: https://badgen.net/travis/jshttp/cookie/master
-[travis-url]: https://travis-ci.org/jshttp/cookie
diff --git a/Server/node_modules/cookie/index.js b/Server/node_modules/cookie/index.js
deleted file mode 100644
index 16f56c0..0000000
--- a/Server/node_modules/cookie/index.js
+++ /dev/null
@@ -1,198 +0,0 @@
-/*!
- * cookie
- * Copyright(c) 2012-2014 Roman Shtylman
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module exports.
- * @public
- */
-
-exports.parse = parse;
-exports.serialize = serialize;
-
-/**
- * Module variables.
- * @private
- */
-
-var decode = decodeURIComponent;
-var encode = encodeURIComponent;
-var pairSplitRegExp = /; */;
-
-/**
- * RegExp to match field-content in RFC 7230 sec 3.2
- *
- * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
- * field-vchar = VCHAR / obs-text
- * obs-text = %x80-FF
- */
-
-var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
-
-/**
- * Parse a cookie header.
- *
- * Parse the given cookie header string into an object
- * The object has the various cookies as keys(names) => values
- *
- * @param {string} str
- * @param {object} [options]
- * @return {object}
- * @public
- */
-
-function parse(str, options) {
- if (typeof str !== 'string') {
- throw new TypeError('argument str must be a string');
- }
-
- var obj = {}
- var opt = options || {};
- var pairs = str.split(pairSplitRegExp);
- var dec = opt.decode || decode;
-
- for (var i = 0; i < pairs.length; i++) {
- var pair = pairs[i];
- var eq_idx = pair.indexOf('=');
-
- // skip things that don't look like key=value
- if (eq_idx < 0) {
- continue;
- }
-
- var key = pair.substr(0, eq_idx).trim()
- var val = pair.substr(++eq_idx, pair.length).trim();
-
- // quoted values
- if ('"' == val[0]) {
- val = val.slice(1, -1);
- }
-
- // only assign once
- if (undefined == obj[key]) {
- obj[key] = tryDecode(val, dec);
- }
- }
-
- return obj;
-}
-
-/**
- * Serialize data into a cookie header.
- *
- * Serialize the a name value pair into a cookie string suitable for
- * http headers. An optional options object specified cookie parameters.
- *
- * serialize('foo', 'bar', { httpOnly: true })
- * => "foo=bar; httpOnly"
- *
- * @param {string} name
- * @param {string} val
- * @param {object} [options]
- * @return {string}
- * @public
- */
-
-function serialize(name, val, options) {
- var opt = options || {};
- var enc = opt.encode || encode;
-
- if (typeof enc !== 'function') {
- throw new TypeError('option encode is invalid');
- }
-
- if (!fieldContentRegExp.test(name)) {
- throw new TypeError('argument name is invalid');
- }
-
- var value = enc(val);
-
- if (value && !fieldContentRegExp.test(value)) {
- throw new TypeError('argument val is invalid');
- }
-
- var str = name + '=' + value;
-
- if (null != opt.maxAge) {
- var maxAge = opt.maxAge - 0;
- if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
- str += '; Max-Age=' + Math.floor(maxAge);
- }
-
- if (opt.domain) {
- if (!fieldContentRegExp.test(opt.domain)) {
- throw new TypeError('option domain is invalid');
- }
-
- str += '; Domain=' + opt.domain;
- }
-
- if (opt.path) {
- if (!fieldContentRegExp.test(opt.path)) {
- throw new TypeError('option path is invalid');
- }
-
- str += '; Path=' + opt.path;
- }
-
- if (opt.expires) {
- if (typeof opt.expires.toUTCString !== 'function') {
- throw new TypeError('option expires is invalid');
- }
-
- str += '; Expires=' + opt.expires.toUTCString();
- }
-
- if (opt.httpOnly) {
- str += '; HttpOnly';
- }
-
- if (opt.secure) {
- str += '; Secure';
- }
-
- if (opt.sameSite) {
- var sameSite = typeof opt.sameSite === 'string'
- ? opt.sameSite.toLowerCase() : opt.sameSite;
-
- switch (sameSite) {
- case true:
- str += '; SameSite=Strict';
- break;
- case 'lax':
- str += '; SameSite=Lax';
- break;
- case 'strict':
- str += '; SameSite=Strict';
- break;
- case 'none':
- str += '; SameSite=None';
- break;
- default:
- throw new TypeError('option sameSite is invalid');
- }
- }
-
- return str;
-}
-
-/**
- * Try decoding a string using a decoding function.
- *
- * @param {string} str
- * @param {function} decode
- * @private
- */
-
-function tryDecode(str, decode) {
- try {
- return decode(str);
- } catch (e) {
- return str;
- }
-}
diff --git a/Server/node_modules/cookie/package.json b/Server/node_modules/cookie/package.json
deleted file mode 100644
index 86521b5..0000000
--- a/Server/node_modules/cookie/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "_from": "cookie@0.4.0",
- "_id": "cookie@0.4.0",
- "_inBundle": false,
- "_integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==",
- "_location": "/cookie",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "cookie@0.4.0",
- "name": "cookie",
- "escapedName": "cookie",
- "rawSpec": "0.4.0",
- "saveSpec": null,
- "fetchSpec": "0.4.0"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
- "_shasum": "beb437e7022b3b6d49019d088665303ebe9c14ba",
- "_spec": "cookie@0.4.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Roman Shtylman",
- "email": "shtylman@gmail.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/cookie/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "deprecated": false,
- "description": "HTTP server cookie parsing and serialization",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "eslint": "5.16.0",
- "eslint-plugin-markdown": "1.0.0",
- "istanbul": "0.4.5",
- "mocha": "6.1.4"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/cookie#readme",
- "keywords": [
- "cookie",
- "cookies"
- ],
- "license": "MIT",
- "name": "cookie",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/cookie.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "version": "node scripts/version-history.js && git add HISTORY.md"
- },
- "version": "0.4.0"
-}
diff --git a/Server/node_modules/core-util-is/LICENSE b/Server/node_modules/core-util-is/LICENSE
deleted file mode 100644
index d8d7f94..0000000
--- a/Server/node_modules/core-util-is/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright Node.js contributors. All rights reserved.
-
-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.
diff --git a/Server/node_modules/core-util-is/README.md b/Server/node_modules/core-util-is/README.md
deleted file mode 100644
index 5a76b41..0000000
--- a/Server/node_modules/core-util-is/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# core-util-is
-
-The `util.is*` functions introduced in Node v0.12.
diff --git a/Server/node_modules/core-util-is/float.patch b/Server/node_modules/core-util-is/float.patch
deleted file mode 100644
index a06d5c0..0000000
--- a/Server/node_modules/core-util-is/float.patch
+++ /dev/null
@@ -1,604 +0,0 @@
-diff --git a/lib/util.js b/lib/util.js
-index a03e874..9074e8e 100644
---- a/lib/util.js
-+++ b/lib/util.js
-@@ -19,430 +19,6 @@
- // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
- // USE OR OTHER DEALINGS IN THE SOFTWARE.
-
--var formatRegExp = /%[sdj%]/g;
--exports.format = function(f) {
-- if (!isString(f)) {
-- var objects = [];
-- for (var i = 0; i < arguments.length; i++) {
-- objects.push(inspect(arguments[i]));
-- }
-- return objects.join(' ');
-- }
--
-- var i = 1;
-- var args = arguments;
-- var len = args.length;
-- var str = String(f).replace(formatRegExp, function(x) {
-- if (x === '%%') return '%';
-- if (i >= len) return x;
-- switch (x) {
-- case '%s': return String(args[i++]);
-- case '%d': return Number(args[i++]);
-- case '%j':
-- try {
-- return JSON.stringify(args[i++]);
-- } catch (_) {
-- return '[Circular]';
-- }
-- default:
-- return x;
-- }
-- });
-- for (var x = args[i]; i < len; x = args[++i]) {
-- if (isNull(x) || !isObject(x)) {
-- str += ' ' + x;
-- } else {
-- str += ' ' + inspect(x);
-- }
-- }
-- return str;
--};
--
--
--// Mark that a method should not be used.
--// Returns a modified function which warns once by default.
--// If --no-deprecation is set, then it is a no-op.
--exports.deprecate = function(fn, msg) {
-- // Allow for deprecating things in the process of starting up.
-- if (isUndefined(global.process)) {
-- return function() {
-- return exports.deprecate(fn, msg).apply(this, arguments);
-- };
-- }
--
-- if (process.noDeprecation === true) {
-- return fn;
-- }
--
-- var warned = false;
-- function deprecated() {
-- if (!warned) {
-- if (process.throwDeprecation) {
-- throw new Error(msg);
-- } else if (process.traceDeprecation) {
-- console.trace(msg);
-- } else {
-- console.error(msg);
-- }
-- warned = true;
-- }
-- return fn.apply(this, arguments);
-- }
--
-- return deprecated;
--};
--
--
--var debugs = {};
--var debugEnviron;
--exports.debuglog = function(set) {
-- if (isUndefined(debugEnviron))
-- debugEnviron = process.env.NODE_DEBUG || '';
-- set = set.toUpperCase();
-- if (!debugs[set]) {
-- if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
-- var pid = process.pid;
-- debugs[set] = function() {
-- var msg = exports.format.apply(exports, arguments);
-- console.error('%s %d: %s', set, pid, msg);
-- };
-- } else {
-- debugs[set] = function() {};
-- }
-- }
-- return debugs[set];
--};
--
--
--/**
-- * Echos the value of a value. Trys to print the value out
-- * in the best way possible given the different types.
-- *
-- * @param {Object} obj The object to print out.
-- * @param {Object} opts Optional options object that alters the output.
-- */
--/* legacy: obj, showHidden, depth, colors*/
--function inspect(obj, opts) {
-- // default options
-- var ctx = {
-- seen: [],
-- stylize: stylizeNoColor
-- };
-- // legacy...
-- if (arguments.length >= 3) ctx.depth = arguments[2];
-- if (arguments.length >= 4) ctx.colors = arguments[3];
-- if (isBoolean(opts)) {
-- // legacy...
-- ctx.showHidden = opts;
-- } else if (opts) {
-- // got an "options" object
-- exports._extend(ctx, opts);
-- }
-- // set default options
-- if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
-- if (isUndefined(ctx.depth)) ctx.depth = 2;
-- if (isUndefined(ctx.colors)) ctx.colors = false;
-- if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
-- if (ctx.colors) ctx.stylize = stylizeWithColor;
-- return formatValue(ctx, obj, ctx.depth);
--}
--exports.inspect = inspect;
--
--
--// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
--inspect.colors = {
-- 'bold' : [1, 22],
-- 'italic' : [3, 23],
-- 'underline' : [4, 24],
-- 'inverse' : [7, 27],
-- 'white' : [37, 39],
-- 'grey' : [90, 39],
-- 'black' : [30, 39],
-- 'blue' : [34, 39],
-- 'cyan' : [36, 39],
-- 'green' : [32, 39],
-- 'magenta' : [35, 39],
-- 'red' : [31, 39],
-- 'yellow' : [33, 39]
--};
--
--// Don't use 'blue' not visible on cmd.exe
--inspect.styles = {
-- 'special': 'cyan',
-- 'number': 'yellow',
-- 'boolean': 'yellow',
-- 'undefined': 'grey',
-- 'null': 'bold',
-- 'string': 'green',
-- 'date': 'magenta',
-- // "name": intentionally not styling
-- 'regexp': 'red'
--};
--
--
--function stylizeWithColor(str, styleType) {
-- var style = inspect.styles[styleType];
--
-- if (style) {
-- return '\u001b[' + inspect.colors[style][0] + 'm' + str +
-- '\u001b[' + inspect.colors[style][1] + 'm';
-- } else {
-- return str;
-- }
--}
--
--
--function stylizeNoColor(str, styleType) {
-- return str;
--}
--
--
--function arrayToHash(array) {
-- var hash = {};
--
-- array.forEach(function(val, idx) {
-- hash[val] = true;
-- });
--
-- return hash;
--}
--
--
--function formatValue(ctx, value, recurseTimes) {
-- // Provide a hook for user-specified inspect functions.
-- // Check that value is an object with an inspect function on it
-- if (ctx.customInspect &&
-- value &&
-- isFunction(value.inspect) &&
-- // Filter out the util module, it's inspect function is special
-- value.inspect !== exports.inspect &&
-- // Also filter out any prototype objects using the circular check.
-- !(value.constructor && value.constructor.prototype === value)) {
-- var ret = value.inspect(recurseTimes, ctx);
-- if (!isString(ret)) {
-- ret = formatValue(ctx, ret, recurseTimes);
-- }
-- return ret;
-- }
--
-- // Primitive types cannot have properties
-- var primitive = formatPrimitive(ctx, value);
-- if (primitive) {
-- return primitive;
-- }
--
-- // Look up the keys of the object.
-- var keys = Object.keys(value);
-- var visibleKeys = arrayToHash(keys);
--
-- if (ctx.showHidden) {
-- keys = Object.getOwnPropertyNames(value);
-- }
--
-- // Some type of object without properties can be shortcutted.
-- if (keys.length === 0) {
-- if (isFunction(value)) {
-- var name = value.name ? ': ' + value.name : '';
-- return ctx.stylize('[Function' + name + ']', 'special');
-- }
-- if (isRegExp(value)) {
-- return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
-- }
-- if (isDate(value)) {
-- return ctx.stylize(Date.prototype.toString.call(value), 'date');
-- }
-- if (isError(value)) {
-- return formatError(value);
-- }
-- }
--
-- var base = '', array = false, braces = ['{', '}'];
--
-- // Make Array say that they are Array
-- if (isArray(value)) {
-- array = true;
-- braces = ['[', ']'];
-- }
--
-- // Make functions say that they are functions
-- if (isFunction(value)) {
-- var n = value.name ? ': ' + value.name : '';
-- base = ' [Function' + n + ']';
-- }
--
-- // Make RegExps say that they are RegExps
-- if (isRegExp(value)) {
-- base = ' ' + RegExp.prototype.toString.call(value);
-- }
--
-- // Make dates with properties first say the date
-- if (isDate(value)) {
-- base = ' ' + Date.prototype.toUTCString.call(value);
-- }
--
-- // Make error with message first say the error
-- if (isError(value)) {
-- base = ' ' + formatError(value);
-- }
--
-- if (keys.length === 0 && (!array || value.length == 0)) {
-- return braces[0] + base + braces[1];
-- }
--
-- if (recurseTimes < 0) {
-- if (isRegExp(value)) {
-- return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
-- } else {
-- return ctx.stylize('[Object]', 'special');
-- }
-- }
--
-- ctx.seen.push(value);
--
-- var output;
-- if (array) {
-- output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
-- } else {
-- output = keys.map(function(key) {
-- return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
-- });
-- }
--
-- ctx.seen.pop();
--
-- return reduceToSingleString(output, base, braces);
--}
--
--
--function formatPrimitive(ctx, value) {
-- if (isUndefined(value))
-- return ctx.stylize('undefined', 'undefined');
-- if (isString(value)) {
-- var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
-- .replace(/'/g, "\\'")
-- .replace(/\\"/g, '"') + '\'';
-- return ctx.stylize(simple, 'string');
-- }
-- if (isNumber(value)) {
-- // Format -0 as '-0'. Strict equality won't distinguish 0 from -0,
-- // so instead we use the fact that 1 / -0 < 0 whereas 1 / 0 > 0 .
-- if (value === 0 && 1 / value < 0)
-- return ctx.stylize('-0', 'number');
-- return ctx.stylize('' + value, 'number');
-- }
-- if (isBoolean(value))
-- return ctx.stylize('' + value, 'boolean');
-- // For some reason typeof null is "object", so special case here.
-- if (isNull(value))
-- return ctx.stylize('null', 'null');
--}
--
--
--function formatError(value) {
-- return '[' + Error.prototype.toString.call(value) + ']';
--}
--
--
--function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
-- var output = [];
-- for (var i = 0, l = value.length; i < l; ++i) {
-- if (hasOwnProperty(value, String(i))) {
-- output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
-- String(i), true));
-- } else {
-- output.push('');
-- }
-- }
-- keys.forEach(function(key) {
-- if (!key.match(/^\d+$/)) {
-- output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
-- key, true));
-- }
-- });
-- return output;
--}
--
--
--function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
-- var name, str, desc;
-- desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
-- if (desc.get) {
-- if (desc.set) {
-- str = ctx.stylize('[Getter/Setter]', 'special');
-- } else {
-- str = ctx.stylize('[Getter]', 'special');
-- }
-- } else {
-- if (desc.set) {
-- str = ctx.stylize('[Setter]', 'special');
-- }
-- }
-- if (!hasOwnProperty(visibleKeys, key)) {
-- name = '[' + key + ']';
-- }
-- if (!str) {
-- if (ctx.seen.indexOf(desc.value) < 0) {
-- if (isNull(recurseTimes)) {
-- str = formatValue(ctx, desc.value, null);
-- } else {
-- str = formatValue(ctx, desc.value, recurseTimes - 1);
-- }
-- if (str.indexOf('\n') > -1) {
-- if (array) {
-- str = str.split('\n').map(function(line) {
-- return ' ' + line;
-- }).join('\n').substr(2);
-- } else {
-- str = '\n' + str.split('\n').map(function(line) {
-- return ' ' + line;
-- }).join('\n');
-- }
-- }
-- } else {
-- str = ctx.stylize('[Circular]', 'special');
-- }
-- }
-- if (isUndefined(name)) {
-- if (array && key.match(/^\d+$/)) {
-- return str;
-- }
-- name = JSON.stringify('' + key);
-- if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
-- name = name.substr(1, name.length - 2);
-- name = ctx.stylize(name, 'name');
-- } else {
-- name = name.replace(/'/g, "\\'")
-- .replace(/\\"/g, '"')
-- .replace(/(^"|"$)/g, "'");
-- name = ctx.stylize(name, 'string');
-- }
-- }
--
-- return name + ': ' + str;
--}
--
--
--function reduceToSingleString(output, base, braces) {
-- var numLinesEst = 0;
-- var length = output.reduce(function(prev, cur) {
-- numLinesEst++;
-- if (cur.indexOf('\n') >= 0) numLinesEst++;
-- return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
-- }, 0);
--
-- if (length > 60) {
-- return braces[0] +
-- (base === '' ? '' : base + '\n ') +
-- ' ' +
-- output.join(',\n ') +
-- ' ' +
-- braces[1];
-- }
--
-- return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
--}
--
--
- // NOTE: These type checking functions intentionally don't use `instanceof`
- // because it is fragile and can be easily faked with `Object.create()`.
- function isArray(ar) {
-@@ -522,166 +98,10 @@ function isPrimitive(arg) {
- exports.isPrimitive = isPrimitive;
-
- function isBuffer(arg) {
-- return arg instanceof Buffer;
-+ return Buffer.isBuffer(arg);
- }
- exports.isBuffer = isBuffer;
-
- function objectToString(o) {
- return Object.prototype.toString.call(o);
--}
--
--
--function pad(n) {
-- return n < 10 ? '0' + n.toString(10) : n.toString(10);
--}
--
--
--var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
-- 'Oct', 'Nov', 'Dec'];
--
--// 26 Feb 16:19:34
--function timestamp() {
-- var d = new Date();
-- var time = [pad(d.getHours()),
-- pad(d.getMinutes()),
-- pad(d.getSeconds())].join(':');
-- return [d.getDate(), months[d.getMonth()], time].join(' ');
--}
--
--
--// log is just a thin wrapper to console.log that prepends a timestamp
--exports.log = function() {
-- console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));
--};
--
--
--/**
-- * Inherit the prototype methods from one constructor into another.
-- *
-- * The Function.prototype.inherits from lang.js rewritten as a standalone
-- * function (not on Function.prototype). NOTE: If this file is to be loaded
-- * during bootstrapping this function needs to be rewritten using some native
-- * functions as prototype setup using normal JavaScript does not work as
-- * expected during bootstrapping (see mirror.js in r114903).
-- *
-- * @param {function} ctor Constructor function which needs to inherit the
-- * prototype.
-- * @param {function} superCtor Constructor function to inherit prototype from.
-- */
--exports.inherits = function(ctor, superCtor) {
-- ctor.super_ = superCtor;
-- ctor.prototype = Object.create(superCtor.prototype, {
-- constructor: {
-- value: ctor,
-- enumerable: false,
-- writable: true,
-- configurable: true
-- }
-- });
--};
--
--exports._extend = function(origin, add) {
-- // Don't do anything if add isn't an object
-- if (!add || !isObject(add)) return origin;
--
-- var keys = Object.keys(add);
-- var i = keys.length;
-- while (i--) {
-- origin[keys[i]] = add[keys[i]];
-- }
-- return origin;
--};
--
--function hasOwnProperty(obj, prop) {
-- return Object.prototype.hasOwnProperty.call(obj, prop);
--}
--
--
--// Deprecated old stuff.
--
--exports.p = exports.deprecate(function() {
-- for (var i = 0, len = arguments.length; i < len; ++i) {
-- console.error(exports.inspect(arguments[i]));
-- }
--}, 'util.p: Use console.error() instead');
--
--
--exports.exec = exports.deprecate(function() {
-- return require('child_process').exec.apply(this, arguments);
--}, 'util.exec is now called `child_process.exec`.');
--
--
--exports.print = exports.deprecate(function() {
-- for (var i = 0, len = arguments.length; i < len; ++i) {
-- process.stdout.write(String(arguments[i]));
-- }
--}, 'util.print: Use console.log instead');
--
--
--exports.puts = exports.deprecate(function() {
-- for (var i = 0, len = arguments.length; i < len; ++i) {
-- process.stdout.write(arguments[i] + '\n');
-- }
--}, 'util.puts: Use console.log instead');
--
--
--exports.debug = exports.deprecate(function(x) {
-- process.stderr.write('DEBUG: ' + x + '\n');
--}, 'util.debug: Use console.error instead');
--
--
--exports.error = exports.deprecate(function(x) {
-- for (var i = 0, len = arguments.length; i < len; ++i) {
-- process.stderr.write(arguments[i] + '\n');
-- }
--}, 'util.error: Use console.error instead');
--
--
--exports.pump = exports.deprecate(function(readStream, writeStream, callback) {
-- var callbackCalled = false;
--
-- function call(a, b, c) {
-- if (callback && !callbackCalled) {
-- callback(a, b, c);
-- callbackCalled = true;
-- }
-- }
--
-- readStream.addListener('data', function(chunk) {
-- if (writeStream.write(chunk) === false) readStream.pause();
-- });
--
-- writeStream.addListener('drain', function() {
-- readStream.resume();
-- });
--
-- readStream.addListener('end', function() {
-- writeStream.end();
-- });
--
-- readStream.addListener('close', function() {
-- call();
-- });
--
-- readStream.addListener('error', function(err) {
-- writeStream.end();
-- call(err);
-- });
--
-- writeStream.addListener('error', function(err) {
-- readStream.destroy();
-- call(err);
-- });
--}, 'util.pump(): Use readableStream.pipe() instead');
--
--
--var uv;
--exports._errnoException = function(err, syscall) {
-- if (isUndefined(uv)) uv = process.binding('uv');
-- var errname = uv.errname(err);
-- var e = new Error(syscall + ' ' + errname);
-- e.code = errname;
-- e.errno = errname;
-- e.syscall = syscall;
-- return e;
--};
-+}
\ No newline at end of file
diff --git a/Server/node_modules/core-util-is/lib/util.js b/Server/node_modules/core-util-is/lib/util.js
deleted file mode 100644
index ff4c851..0000000
--- a/Server/node_modules/core-util-is/lib/util.js
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// 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.
-
-// NOTE: These type checking functions intentionally don't use `instanceof`
-// because it is fragile and can be easily faked with `Object.create()`.
-
-function isArray(arg) {
- if (Array.isArray) {
- return Array.isArray(arg);
- }
- return objectToString(arg) === '[object Array]';
-}
-exports.isArray = isArray;
-
-function isBoolean(arg) {
- return typeof arg === 'boolean';
-}
-exports.isBoolean = isBoolean;
-
-function isNull(arg) {
- return arg === null;
-}
-exports.isNull = isNull;
-
-function isNullOrUndefined(arg) {
- return arg == null;
-}
-exports.isNullOrUndefined = isNullOrUndefined;
-
-function isNumber(arg) {
- return typeof arg === 'number';
-}
-exports.isNumber = isNumber;
-
-function isString(arg) {
- return typeof arg === 'string';
-}
-exports.isString = isString;
-
-function isSymbol(arg) {
- return typeof arg === 'symbol';
-}
-exports.isSymbol = isSymbol;
-
-function isUndefined(arg) {
- return arg === void 0;
-}
-exports.isUndefined = isUndefined;
-
-function isRegExp(re) {
- return objectToString(re) === '[object RegExp]';
-}
-exports.isRegExp = isRegExp;
-
-function isObject(arg) {
- return typeof arg === 'object' && arg !== null;
-}
-exports.isObject = isObject;
-
-function isDate(d) {
- return objectToString(d) === '[object Date]';
-}
-exports.isDate = isDate;
-
-function isError(e) {
- return (objectToString(e) === '[object Error]' || e instanceof Error);
-}
-exports.isError = isError;
-
-function isFunction(arg) {
- return typeof arg === 'function';
-}
-exports.isFunction = isFunction;
-
-function isPrimitive(arg) {
- return arg === null ||
- typeof arg === 'boolean' ||
- typeof arg === 'number' ||
- typeof arg === 'string' ||
- typeof arg === 'symbol' || // ES6 symbol
- typeof arg === 'undefined';
-}
-exports.isPrimitive = isPrimitive;
-
-exports.isBuffer = Buffer.isBuffer;
-
-function objectToString(o) {
- return Object.prototype.toString.call(o);
-}
diff --git a/Server/node_modules/core-util-is/package.json b/Server/node_modules/core-util-is/package.json
deleted file mode 100644
index 13de8bf..0000000
--- a/Server/node_modules/core-util-is/package.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "_from": "core-util-is@~1.0.0",
- "_id": "core-util-is@1.0.2",
- "_inBundle": false,
- "_integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
- "_location": "/core-util-is",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "core-util-is@~1.0.0",
- "name": "core-util-is",
- "escapedName": "core-util-is",
- "rawSpec": "~1.0.0",
- "saveSpec": null,
- "fetchSpec": "~1.0.0"
- },
- "_requiredBy": [
- "/readable-stream"
- ],
- "_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
- "_shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7",
- "_spec": "core-util-is@~1.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/readable-stream",
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "i@izs.me",
- "url": "http://blog.izs.me/"
- },
- "bugs": {
- "url": "https://github.com/isaacs/core-util-is/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "The `util.is*` functions introduced in Node v0.12.",
- "devDependencies": {
- "tap": "^2.3.0"
- },
- "homepage": "https://github.com/isaacs/core-util-is#readme",
- "keywords": [
- "util",
- "isBuffer",
- "isArray",
- "isNumber",
- "isString",
- "isRegExp",
- "isThis",
- "isThat",
- "polyfill"
- ],
- "license": "MIT",
- "main": "lib/util.js",
- "name": "core-util-is",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/core-util-is.git"
- },
- "scripts": {
- "test": "tap test.js"
- },
- "version": "1.0.2"
-}
diff --git a/Server/node_modules/core-util-is/test.js b/Server/node_modules/core-util-is/test.js
deleted file mode 100644
index 1a490c6..0000000
--- a/Server/node_modules/core-util-is/test.js
+++ /dev/null
@@ -1,68 +0,0 @@
-var assert = require('tap');
-
-var t = require('./lib/util');
-
-assert.equal(t.isArray([]), true);
-assert.equal(t.isArray({}), false);
-
-assert.equal(t.isBoolean(null), false);
-assert.equal(t.isBoolean(true), true);
-assert.equal(t.isBoolean(false), true);
-
-assert.equal(t.isNull(null), true);
-assert.equal(t.isNull(undefined), false);
-assert.equal(t.isNull(false), false);
-assert.equal(t.isNull(), false);
-
-assert.equal(t.isNullOrUndefined(null), true);
-assert.equal(t.isNullOrUndefined(undefined), true);
-assert.equal(t.isNullOrUndefined(false), false);
-assert.equal(t.isNullOrUndefined(), true);
-
-assert.equal(t.isNumber(null), false);
-assert.equal(t.isNumber('1'), false);
-assert.equal(t.isNumber(1), true);
-
-assert.equal(t.isString(null), false);
-assert.equal(t.isString('1'), true);
-assert.equal(t.isString(1), false);
-
-assert.equal(t.isSymbol(null), false);
-assert.equal(t.isSymbol('1'), false);
-assert.equal(t.isSymbol(1), false);
-assert.equal(t.isSymbol(Symbol()), true);
-
-assert.equal(t.isUndefined(null), false);
-assert.equal(t.isUndefined(undefined), true);
-assert.equal(t.isUndefined(false), false);
-assert.equal(t.isUndefined(), true);
-
-assert.equal(t.isRegExp(null), false);
-assert.equal(t.isRegExp('1'), false);
-assert.equal(t.isRegExp(new RegExp()), true);
-
-assert.equal(t.isObject({}), true);
-assert.equal(t.isObject([]), true);
-assert.equal(t.isObject(new RegExp()), true);
-assert.equal(t.isObject(new Date()), true);
-
-assert.equal(t.isDate(null), false);
-assert.equal(t.isDate('1'), false);
-assert.equal(t.isDate(new Date()), true);
-
-assert.equal(t.isError(null), false);
-assert.equal(t.isError({ err: true }), false);
-assert.equal(t.isError(new Error()), true);
-
-assert.equal(t.isFunction(null), false);
-assert.equal(t.isFunction({ }), false);
-assert.equal(t.isFunction(function() {}), true);
-
-assert.equal(t.isPrimitive(null), true);
-assert.equal(t.isPrimitive(''), true);
-assert.equal(t.isPrimitive(0), true);
-assert.equal(t.isPrimitive(new Date()), false);
-
-assert.equal(t.isBuffer(null), false);
-assert.equal(t.isBuffer({}), false);
-assert.equal(t.isBuffer(new Buffer(0)), true);
diff --git a/Server/node_modules/cors/CONTRIBUTING.md b/Server/node_modules/cors/CONTRIBUTING.md
deleted file mode 100644
index 591b09a..0000000
--- a/Server/node_modules/cors/CONTRIBUTING.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# contributing to `cors`
-
-CORS is a node.js package for providing a [connect](http://www.senchalabs.org/connect/)/[express](http://expressjs.com/) middleware that can be used to enable [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing) with various options. Learn more about the project in [the README](README.md).
-
-## The CORS Spec
-
-[http://www.w3.org/TR/cors/](http://www.w3.org/TR/cors/)
-
-## Pull Requests Welcome
-
-* Include `'use strict';` in every javascript file.
-* 2 space indentation.
-* Please run the testing steps below before submitting.
-
-## Testing
-
-```bash
-$ npm install
-$ npm test
-```
-
-## Interactive Testing Harness
-
-[http://node-cors-client.herokuapp.com](http://node-cors-client.herokuapp.com)
-
-Related git repositories:
-
-* [https://github.com/TroyGoode/node-cors-server](https://github.com/TroyGoode/node-cors-server)
-* [https://github.com/TroyGoode/node-cors-client](https://github.com/TroyGoode/node-cors-client)
-
-## License
-
-[MIT License](http://www.opensource.org/licenses/mit-license.php)
diff --git a/Server/node_modules/cors/HISTORY.md b/Server/node_modules/cors/HISTORY.md
deleted file mode 100644
index 5762bce..0000000
--- a/Server/node_modules/cors/HISTORY.md
+++ /dev/null
@@ -1,58 +0,0 @@
-2.8.5 / 2018-11-04
-==================
-
- * Fix setting `maxAge` option to `0`
-
-2.8.4 / 2017-07-12
-==================
-
- * Work-around Safari bug in default pre-flight response
-
-2.8.3 / 2017-03-29
-==================
-
- * Fix error when options delegate missing `methods` option
-
-2.8.2 / 2017-03-28
-==================
-
- * Fix error when frozen options are passed
- * Send "Vary: Origin" when using regular expressions
- * Send "Vary: Access-Control-Request-Headers" when dynamic `allowedHeaders`
-
-2.8.1 / 2016-09-08
-==================
-
-This release only changed documentation.
-
-2.8.0 / 2016-08-23
-==================
-
- * Add `optionsSuccessStatus` option
-
-2.7.2 / 2016-08-23
-==================
-
- * Fix error when Node.js running in strict mode
-
-2.7.1 / 2015-05-28
-==================
-
- * Move module into expressjs organization
-
-2.7.0 / 2015-05-28
-==================
-
- * Allow array of matching condition as `origin` option
- * Allow regular expression as `origin` option
-
-2.6.1 / 2015-05-28
-==================
-
- * Update `license` in package.json
-
-2.6.0 / 2015-04-27
-==================
-
- * Add `preflightContinue` option
- * Fix "Vary: Origin" header added for "*"
diff --git a/Server/node_modules/cors/LICENSE b/Server/node_modules/cors/LICENSE
deleted file mode 100644
index fd10c84..0000000
--- a/Server/node_modules/cors/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2013 Troy Goode <troygoode@gmail.com>
-
-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.
diff --git a/Server/node_modules/cors/README.md b/Server/node_modules/cors/README.md
deleted file mode 100644
index 732b847..0000000
--- a/Server/node_modules/cors/README.md
+++ /dev/null
@@ -1,243 +0,0 @@
-# cors
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-CORS is a node.js package for providing a [Connect](http://www.senchalabs.org/connect/)/[Express](http://expressjs.com/) middleware that can be used to enable [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing) with various options.
-
-**[Follow me (@troygoode) on Twitter!](https://twitter.com/intent/user?screen_name=troygoode)**
-
-* [Installation](#installation)
-* [Usage](#usage)
- * [Simple Usage](#simple-usage-enable-all-cors-requests)
- * [Enable CORS for a Single Route](#enable-cors-for-a-single-route)
- * [Configuring CORS](#configuring-cors)
- * [Configuring CORS Asynchronously](#configuring-cors-asynchronously)
- * [Enabling CORS Pre-Flight](#enabling-cors-pre-flight)
-* [Configuration Options](#configuration-options)
-* [Demo](#demo)
-* [License](#license)
-* [Author](#author)
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install cors
-```
-
-## Usage
-
-### Simple Usage (Enable *All* CORS Requests)
-
-```javascript
-var express = require('express')
-var cors = require('cors')
-var app = express()
-
-app.use(cors())
-
-app.get('/products/:id', function (req, res, next) {
- res.json({msg: 'This is CORS-enabled for all origins!'})
-})
-
-app.listen(80, function () {
- console.log('CORS-enabled web server listening on port 80')
-})
-```
-
-### Enable CORS for a Single Route
-
-```javascript
-var express = require('express')
-var cors = require('cors')
-var app = express()
-
-app.get('/products/:id', cors(), function (req, res, next) {
- res.json({msg: 'This is CORS-enabled for a Single Route'})
-})
-
-app.listen(80, function () {
- console.log('CORS-enabled web server listening on port 80')
-})
-```
-
-### Configuring CORS
-
-```javascript
-var express = require('express')
-var cors = require('cors')
-var app = express()
-
-var corsOptions = {
- origin: 'http://example.com',
- optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204
-}
-
-app.get('/products/:id', cors(corsOptions), function (req, res, next) {
- res.json({msg: 'This is CORS-enabled for only example.com.'})
-})
-
-app.listen(80, function () {
- console.log('CORS-enabled web server listening on port 80')
-})
-```
-
-### Configuring CORS w/ Dynamic Origin
-
-```javascript
-var express = require('express')
-var cors = require('cors')
-var app = express()
-
-var whitelist = ['http://example1.com', 'http://example2.com']
-var corsOptions = {
- origin: function (origin, callback) {
- if (whitelist.indexOf(origin) !== -1) {
- callback(null, true)
- } else {
- callback(new Error('Not allowed by CORS'))
- }
- }
-}
-
-app.get('/products/:id', cors(corsOptions), function (req, res, next) {
- res.json({msg: 'This is CORS-enabled for a whitelisted domain.'})
-})
-
-app.listen(80, function () {
- console.log('CORS-enabled web server listening on port 80')
-})
-```
-
-If you do not want to block REST tools or server-to-server requests,
-add a `!origin` check in the origin function like so:
-
-```javascript
-var corsOptions = {
- origin: function (origin, callback) {
- if (whitelist.indexOf(origin) !== -1 || !origin) {
- callback(null, true)
- } else {
- callback(new Error('Not allowed by CORS'))
- }
- }
-}
-```
-
-### Enabling CORS Pre-Flight
-
-Certain CORS requests are considered 'complex' and require an initial
-`OPTIONS` request (called the "pre-flight request"). An example of a
-'complex' CORS request is one that uses an HTTP verb other than
-GET/HEAD/POST (such as DELETE) or that uses custom headers. To enable
-pre-flighting, you must add a new OPTIONS handler for the route you want
-to support:
-
-```javascript
-var express = require('express')
-var cors = require('cors')
-var app = express()
-
-app.options('/products/:id', cors()) // enable pre-flight request for DELETE request
-app.del('/products/:id', cors(), function (req, res, next) {
- res.json({msg: 'This is CORS-enabled for all origins!'})
-})
-
-app.listen(80, function () {
- console.log('CORS-enabled web server listening on port 80')
-})
-```
-
-You can also enable pre-flight across-the-board like so:
-
-```javascript
-app.options('*', cors()) // include before other routes
-```
-
-### Configuring CORS Asynchronously
-
-```javascript
-var express = require('express')
-var cors = require('cors')
-var app = express()
-
-var whitelist = ['http://example1.com', 'http://example2.com']
-var corsOptionsDelegate = function (req, callback) {
- var corsOptions;
- if (whitelist.indexOf(req.header('Origin')) !== -1) {
- corsOptions = { origin: true } // reflect (enable) the requested origin in the CORS response
- } else {
- corsOptions = { origin: false } // disable CORS for this request
- }
- callback(null, corsOptions) // callback expects two parameters: error and options
-}
-
-app.get('/products/:id', cors(corsOptionsDelegate), function (req, res, next) {
- res.json({msg: 'This is CORS-enabled for a whitelisted domain.'})
-})
-
-app.listen(80, function () {
- console.log('CORS-enabled web server listening on port 80')
-})
-```
-
-## Configuration Options
-
-* `origin`: Configures the **Access-Control-Allow-Origin** CORS header. Possible values:
- - `Boolean` - set `origin` to `true` to reflect the [request origin](http://tools.ietf.org/html/draft-abarth-origin-09), as defined by `req.header('Origin')`, or set it to `false` to disable CORS.
- - `String` - set `origin` to a specific origin. For example if you set it to `"http://example.com"` only requests from "http://example.com" will be allowed.
- - `RegExp` - set `origin` to a regular expression pattern which will be used to test the request origin. If it's a match, the request origin will be reflected. For example the pattern `/example\.com$/` will reflect any request that is coming from an origin ending with "example.com".
- - `Array` - set `origin` to an array of valid origins. Each origin can be a `String` or a `RegExp`. For example `["http://example1.com", /\.example2\.com$/]` will accept any request from "http://example1.com" or from a subdomain of "example2.com".
- - `Function` - set `origin` to a function implementing some custom logic. The function takes the request origin as the first parameter and a callback (which expects the signature `err [object], allow [bool]`) as the second.
-* `methods`: Configures the **Access-Control-Allow-Methods** CORS header. Expects a comma-delimited string (ex: 'GET,PUT,POST') or an array (ex: `['GET', 'PUT', 'POST']`).
-* `allowedHeaders`: Configures the **Access-Control-Allow-Headers** CORS header. Expects a comma-delimited string (ex: 'Content-Type,Authorization') or an array (ex: `['Content-Type', 'Authorization']`). If not specified, defaults to reflecting the headers specified in the request's **Access-Control-Request-Headers** header.
-* `exposedHeaders`: Configures the **Access-Control-Expose-Headers** CORS header. Expects a comma-delimited string (ex: 'Content-Range,X-Content-Range') or an array (ex: `['Content-Range', 'X-Content-Range']`). If not specified, no custom headers are exposed.
-* `credentials`: Configures the **Access-Control-Allow-Credentials** CORS header. Set to `true` to pass the header, otherwise it is omitted.
-* `maxAge`: Configures the **Access-Control-Max-Age** CORS header. Set to an integer to pass the header, otherwise it is omitted.
-* `preflightContinue`: Pass the CORS preflight response to the next handler.
-* `optionsSuccessStatus`: Provides a status code to use for successful `OPTIONS` requests, since some legacy browsers (IE11, various SmartTVs) choke on `204`.
-
-The default configuration is the equivalent of:
-
-```json
-{
- "origin": "*",
- "methods": "GET,HEAD,PUT,PATCH,POST,DELETE",
- "preflightContinue": false,
- "optionsSuccessStatus": 204
-}
-```
-
-For details on the effect of each CORS header, read [this](http://www.html5rocks.com/en/tutorials/cors/) article on HTML5 Rocks.
-
-## Demo
-
-A demo that illustrates CORS working (and not working) using jQuery is available here: [http://node-cors-client.herokuapp.com/](http://node-cors-client.herokuapp.com/)
-
-Code for that demo can be found here:
-
-* Client: [https://github.com/TroyGoode/node-cors-client](https://github.com/TroyGoode/node-cors-client)
-* Server: [https://github.com/TroyGoode/node-cors-server](https://github.com/TroyGoode/node-cors-server)
-
-## License
-
-[MIT License](http://www.opensource.org/licenses/mit-license.php)
-
-## Author
-
-[Troy Goode](https://github.com/TroyGoode) ([troygoode@gmail.com](mailto:troygoode@gmail.com))
-
-[coveralls-image]: https://img.shields.io/coveralls/expressjs/cors/master.svg
-[coveralls-url]: https://coveralls.io/r/expressjs/cors?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/cors.svg
-[downloads-url]: https://npmjs.org/package/cors
-[npm-image]: https://img.shields.io/npm/v/cors.svg
-[npm-url]: https://npmjs.org/package/cors
-[travis-image]: https://img.shields.io/travis/expressjs/cors/master.svg
-[travis-url]: https://travis-ci.org/expressjs/cors
diff --git a/Server/node_modules/cors/lib/index.js b/Server/node_modules/cors/lib/index.js
deleted file mode 100644
index 5475aec..0000000
--- a/Server/node_modules/cors/lib/index.js
+++ /dev/null
@@ -1,238 +0,0 @@
-(function () {
-
- 'use strict';
-
- var assign = require('object-assign');
- var vary = require('vary');
-
- var defaults = {
- origin: '*',
- methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
- preflightContinue: false,
- optionsSuccessStatus: 204
- };
-
- function isString(s) {
- return typeof s === 'string' || s instanceof String;
- }
-
- function isOriginAllowed(origin, allowedOrigin) {
- if (Array.isArray(allowedOrigin)) {
- for (var i = 0; i < allowedOrigin.length; ++i) {
- if (isOriginAllowed(origin, allowedOrigin[i])) {
- return true;
- }
- }
- return false;
- } else if (isString(allowedOrigin)) {
- return origin === allowedOrigin;
- } else if (allowedOrigin instanceof RegExp) {
- return allowedOrigin.test(origin);
- } else {
- return !!allowedOrigin;
- }
- }
-
- function configureOrigin(options, req) {
- var requestOrigin = req.headers.origin,
- headers = [],
- isAllowed;
-
- if (!options.origin || options.origin === '*') {
- // allow any origin
- headers.push([{
- key: 'Access-Control-Allow-Origin',
- value: '*'
- }]);
- } else if (isString(options.origin)) {
- // fixed origin
- headers.push([{
- key: 'Access-Control-Allow-Origin',
- value: options.origin
- }]);
- headers.push([{
- key: 'Vary',
- value: 'Origin'
- }]);
- } else {
- isAllowed = isOriginAllowed(requestOrigin, options.origin);
- // reflect origin
- headers.push([{
- key: 'Access-Control-Allow-Origin',
- value: isAllowed ? requestOrigin : false
- }]);
- headers.push([{
- key: 'Vary',
- value: 'Origin'
- }]);
- }
-
- return headers;
- }
-
- function configureMethods(options) {
- var methods = options.methods;
- if (methods.join) {
- methods = options.methods.join(','); // .methods is an array, so turn it into a string
- }
- return {
- key: 'Access-Control-Allow-Methods',
- value: methods
- };
- }
-
- function configureCredentials(options) {
- if (options.credentials === true) {
- return {
- key: 'Access-Control-Allow-Credentials',
- value: 'true'
- };
- }
- return null;
- }
-
- function configureAllowedHeaders(options, req) {
- var allowedHeaders = options.allowedHeaders || options.headers;
- var headers = [];
-
- if (!allowedHeaders) {
- allowedHeaders = req.headers['access-control-request-headers']; // .headers wasn't specified, so reflect the request headers
- headers.push([{
- key: 'Vary',
- value: 'Access-Control-Request-Headers'
- }]);
- } else if (allowedHeaders.join) {
- allowedHeaders = allowedHeaders.join(','); // .headers is an array, so turn it into a string
- }
- if (allowedHeaders && allowedHeaders.length) {
- headers.push([{
- key: 'Access-Control-Allow-Headers',
- value: allowedHeaders
- }]);
- }
-
- return headers;
- }
-
- function configureExposedHeaders(options) {
- var headers = options.exposedHeaders;
- if (!headers) {
- return null;
- } else if (headers.join) {
- headers = headers.join(','); // .headers is an array, so turn it into a string
- }
- if (headers && headers.length) {
- return {
- key: 'Access-Control-Expose-Headers',
- value: headers
- };
- }
- return null;
- }
-
- function configureMaxAge(options) {
- var maxAge = (typeof options.maxAge === 'number' || options.maxAge) && options.maxAge.toString()
- if (maxAge && maxAge.length) {
- return {
- key: 'Access-Control-Max-Age',
- value: maxAge
- };
- }
- return null;
- }
-
- function applyHeaders(headers, res) {
- for (var i = 0, n = headers.length; i < n; i++) {
- var header = headers[i];
- if (header) {
- if (Array.isArray(header)) {
- applyHeaders(header, res);
- } else if (header.key === 'Vary' && header.value) {
- vary(res, header.value);
- } else if (header.value) {
- res.setHeader(header.key, header.value);
- }
- }
- }
- }
-
- function cors(options, req, res, next) {
- var headers = [],
- method = req.method && req.method.toUpperCase && req.method.toUpperCase();
-
- if (method === 'OPTIONS') {
- // preflight
- headers.push(configureOrigin(options, req));
- headers.push(configureCredentials(options, req));
- headers.push(configureMethods(options, req));
- headers.push(configureAllowedHeaders(options, req));
- headers.push(configureMaxAge(options, req));
- headers.push(configureExposedHeaders(options, req));
- applyHeaders(headers, res);
-
- if (options.preflightContinue) {
- next();
- } else {
- // Safari (and potentially other browsers) need content-length 0,
- // for 204 or they just hang waiting for a body
- res.statusCode = options.optionsSuccessStatus;
- res.setHeader('Content-Length', '0');
- res.end();
- }
- } else {
- // actual response
- headers.push(configureOrigin(options, req));
- headers.push(configureCredentials(options, req));
- headers.push(configureExposedHeaders(options, req));
- applyHeaders(headers, res);
- next();
- }
- }
-
- function middlewareWrapper(o) {
- // if options are static (either via defaults or custom options passed in), wrap in a function
- var optionsCallback = null;
- if (typeof o === 'function') {
- optionsCallback = o;
- } else {
- optionsCallback = function (req, cb) {
- cb(null, o);
- };
- }
-
- return function corsMiddleware(req, res, next) {
- optionsCallback(req, function (err, options) {
- if (err) {
- next(err);
- } else {
- var corsOptions = assign({}, defaults, options);
- var originCallback = null;
- if (corsOptions.origin && typeof corsOptions.origin === 'function') {
- originCallback = corsOptions.origin;
- } else if (corsOptions.origin) {
- originCallback = function (origin, cb) {
- cb(null, corsOptions.origin);
- };
- }
-
- if (originCallback) {
- originCallback(req.headers.origin, function (err2, origin) {
- if (err2 || !origin) {
- next(err2);
- } else {
- corsOptions.origin = origin;
- cors(corsOptions, req, res, next);
- }
- });
- } else {
- next();
- }
- }
- });
- };
- }
-
- // can pass either an options hash, an options delegate, or nothing
- module.exports = middlewareWrapper;
-
-}());
diff --git a/Server/node_modules/cors/package.json b/Server/node_modules/cors/package.json
deleted file mode 100644
index 66b4f84..0000000
--- a/Server/node_modules/cors/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "_from": "cors",
- "_id": "cors@2.8.5",
- "_inBundle": false,
- "_integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
- "_location": "/cors",
- "_phantomChildren": {},
- "_requested": {
- "type": "tag",
- "registry": true,
- "raw": "cors",
- "name": "cors",
- "escapedName": "cors",
- "rawSpec": "",
- "saveSpec": null,
- "fetchSpec": "latest"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
- "_shasum": "eac11da51592dd86b9f06f6e7ac293b3df875d29",
- "_spec": "cors",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server",
- "author": {
- "name": "Troy Goode",
- "email": "troygoode@gmail.com",
- "url": "https://github.com/troygoode/"
- },
- "bugs": {
- "url": "https://github.com/expressjs/cors/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "object-assign": "^4",
- "vary": "^1"
- },
- "deprecated": false,
- "description": "Node.js CORS middleware",
- "devDependencies": {
- "after": "0.8.2",
- "eslint": "2.13.1",
- "express": "4.16.3",
- "mocha": "5.2.0",
- "nyc": "13.1.0",
- "supertest": "3.3.0"
- },
- "engines": {
- "node": ">= 0.10"
- },
- "files": [
- "lib/index.js",
- "CONTRIBUTING.md",
- "HISTORY.md",
- "LICENSE",
- "README.md"
- ],
- "homepage": "https://github.com/expressjs/cors#readme",
- "keywords": [
- "cors",
- "express",
- "connect",
- "middleware"
- ],
- "license": "MIT",
- "main": "./lib/index.js",
- "name": "cors",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/expressjs/cors.git"
- },
- "scripts": {
- "lint": "eslint lib test",
- "test": "npm run lint && nyc --reporter=html --reporter=text mocha --require test/support/env"
- },
- "version": "2.8.5"
-}
diff --git a/Server/node_modules/debug/.coveralls.yml b/Server/node_modules/debug/.coveralls.yml
deleted file mode 100644
index 20a7068..0000000
--- a/Server/node_modules/debug/.coveralls.yml
+++ /dev/null
@@ -1 +0,0 @@
-repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve
diff --git a/Server/node_modules/debug/.eslintrc b/Server/node_modules/debug/.eslintrc
deleted file mode 100644
index 8a37ae2..0000000
--- a/Server/node_modules/debug/.eslintrc
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "env": {
- "browser": true,
- "node": true
- },
- "rules": {
- "no-console": 0,
- "no-empty": [1, { "allowEmptyCatch": true }]
- },
- "extends": "eslint:recommended"
-}
diff --git a/Server/node_modules/debug/.npmignore b/Server/node_modules/debug/.npmignore
deleted file mode 100644
index 5f60eec..0000000
--- a/Server/node_modules/debug/.npmignore
+++ /dev/null
@@ -1,9 +0,0 @@
-support
-test
-examples
-example
-*.sock
-dist
-yarn.lock
-coverage
-bower.json
diff --git a/Server/node_modules/debug/.travis.yml b/Server/node_modules/debug/.travis.yml
deleted file mode 100644
index 6c6090c..0000000
--- a/Server/node_modules/debug/.travis.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-language: node_js
-node_js:
- - "6"
- - "5"
- - "4"
-
-install:
- - make node_modules
-
-script:
- - make lint
- - make test
- - make coveralls
diff --git a/Server/node_modules/debug/CHANGELOG.md b/Server/node_modules/debug/CHANGELOG.md
deleted file mode 100644
index eadaa18..0000000
--- a/Server/node_modules/debug/CHANGELOG.md
+++ /dev/null
@@ -1,362 +0,0 @@
-
-2.6.9 / 2017-09-22
-==================
-
- * remove ReDoS regexp in %o formatter (#504)
-
-2.6.8 / 2017-05-18
-==================
-
- * Fix: Check for undefined on browser globals (#462, @marbemac)
-
-2.6.7 / 2017-05-16
-==================
-
- * Fix: Update ms to 2.0.0 to fix regular expression denial of service vulnerability (#458, @hubdotcom)
- * Fix: Inline extend function in node implementation (#452, @dougwilson)
- * Docs: Fix typo (#455, @msasad)
-
-2.6.5 / 2017-04-27
-==================
-
- * Fix: null reference check on window.documentElement.style.WebkitAppearance (#447, @thebigredgeek)
- * Misc: clean up browser reference checks (#447, @thebigredgeek)
- * Misc: add npm-debug.log to .gitignore (@thebigredgeek)
-
-
-2.6.4 / 2017-04-20
-==================
-
- * Fix: bug that would occure if process.env.DEBUG is a non-string value. (#444, @LucianBuzzo)
- * Chore: ignore bower.json in npm installations. (#437, @joaovieira)
- * Misc: update "ms" to v0.7.3 (@tootallnate)
-
-2.6.3 / 2017-03-13
-==================
-
- * Fix: Electron reference to `process.env.DEBUG` (#431, @paulcbetts)
- * Docs: Changelog fix (@thebigredgeek)
-
-2.6.2 / 2017-03-10
-==================
-
- * Fix: DEBUG_MAX_ARRAY_LENGTH (#420, @slavaGanzin)
- * Docs: Add backers and sponsors from Open Collective (#422, @piamancini)
- * Docs: Add Slackin invite badge (@tootallnate)
-
-2.6.1 / 2017-02-10
-==================
-
- * Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error
- * Fix: Whitelist DEBUG_FD for values 1 and 2 only (#415, @pi0)
- * Fix: IE8 "Expected identifier" error (#414, @vgoma)
- * Fix: Namespaces would not disable once enabled (#409, @musikov)
-
-2.6.0 / 2016-12-28
-==================
-
- * Fix: added better null pointer checks for browser useColors (@thebigredgeek)
- * Improvement: removed explicit `window.debug` export (#404, @tootallnate)
- * Improvement: deprecated `DEBUG_FD` environment variable (#405, @tootallnate)
-
-2.5.2 / 2016-12-25
-==================
-
- * Fix: reference error on window within webworkers (#393, @KlausTrainer)
- * Docs: fixed README typo (#391, @lurch)
- * Docs: added notice about v3 api discussion (@thebigredgeek)
-
-2.5.1 / 2016-12-20
-==================
-
- * Fix: babel-core compatibility
-
-2.5.0 / 2016-12-20
-==================
-
- * Fix: wrong reference in bower file (@thebigredgeek)
- * Fix: webworker compatibility (@thebigredgeek)
- * Fix: output formatting issue (#388, @kribblo)
- * Fix: babel-loader compatibility (#383, @escwald)
- * Misc: removed built asset from repo and publications (@thebigredgeek)
- * Misc: moved source files to /src (#378, @yamikuronue)
- * Test: added karma integration and replaced babel with browserify for browser tests (#378, @yamikuronue)
- * Test: coveralls integration (#378, @yamikuronue)
- * Docs: simplified language in the opening paragraph (#373, @yamikuronue)
-
-2.4.5 / 2016-12-17
-==================
-
- * Fix: `navigator` undefined in Rhino (#376, @jochenberger)
- * Fix: custom log function (#379, @hsiliev)
- * Improvement: bit of cleanup + linting fixes (@thebigredgeek)
- * Improvement: rm non-maintainted `dist/` dir (#375, @freewil)
- * Docs: simplified language in the opening paragraph. (#373, @yamikuronue)
-
-2.4.4 / 2016-12-14
-==================
-
- * Fix: work around debug being loaded in preload scripts for electron (#368, @paulcbetts)
-
-2.4.3 / 2016-12-14
-==================
-
- * Fix: navigation.userAgent error for react native (#364, @escwald)
-
-2.4.2 / 2016-12-14
-==================
-
- * Fix: browser colors (#367, @tootallnate)
- * Misc: travis ci integration (@thebigredgeek)
- * Misc: added linting and testing boilerplate with sanity check (@thebigredgeek)
-
-2.4.1 / 2016-12-13
-==================
-
- * Fix: typo that broke the package (#356)
-
-2.4.0 / 2016-12-13
-==================
-
- * Fix: bower.json references unbuilt src entry point (#342, @justmatt)
- * Fix: revert "handle regex special characters" (@tootallnate)
- * Feature: configurable util.inspect()`options for NodeJS (#327, @tootallnate)
- * Feature: %O`(big O) pretty-prints objects (#322, @tootallnate)
- * Improvement: allow colors in workers (#335, @botverse)
- * Improvement: use same color for same namespace. (#338, @lchenay)
-
-2.3.3 / 2016-11-09
-==================
-
- * Fix: Catch `JSON.stringify()` errors (#195, Jovan Alleyne)
- * Fix: Returning `localStorage` saved values (#331, Levi Thomason)
- * Improvement: Don't create an empty object when no `process` (Nathan Rajlich)
-
-2.3.2 / 2016-11-09
-==================
-
- * Fix: be super-safe in index.js as well (@TooTallNate)
- * Fix: should check whether process exists (Tom Newby)
-
-2.3.1 / 2016-11-09
-==================
-
- * Fix: Added electron compatibility (#324, @paulcbetts)
- * Improvement: Added performance optimizations (@tootallnate)
- * Readme: Corrected PowerShell environment variable example (#252, @gimre)
- * Misc: Removed yarn lock file from source control (#321, @fengmk2)
-
-2.3.0 / 2016-11-07
-==================
-
- * Fix: Consistent placement of ms diff at end of output (#215, @gorangajic)
- * Fix: Escaping of regex special characters in namespace strings (#250, @zacronos)
- * Fix: Fixed bug causing crash on react-native (#282, @vkarpov15)
- * Feature: Enabled ES6+ compatible import via default export (#212 @bucaran)
- * Feature: Added %O formatter to reflect Chrome's console.log capability (#279, @oncletom)
- * Package: Update "ms" to 0.7.2 (#315, @DevSide)
- * Package: removed superfluous version property from bower.json (#207 @kkirsche)
- * Readme: fix USE_COLORS to DEBUG_COLORS
- * Readme: Doc fixes for format string sugar (#269, @mlucool)
- * Readme: Updated docs for DEBUG_FD and DEBUG_COLORS environment variables (#232, @mattlyons0)
- * Readme: doc fixes for PowerShell (#271 #243, @exoticknight @unreadable)
- * Readme: better docs for browser support (#224, @matthewmueller)
- * Tooling: Added yarn integration for development (#317, @thebigredgeek)
- * Misc: Renamed History.md to CHANGELOG.md (@thebigredgeek)
- * Misc: Added license file (#226 #274, @CantemoInternal @sdaitzman)
- * Misc: Updated contributors (@thebigredgeek)
-
-2.2.0 / 2015-05-09
-==================
-
- * package: update "ms" to v0.7.1 (#202, @dougwilson)
- * README: add logging to file example (#193, @DanielOchoa)
- * README: fixed a typo (#191, @amir-s)
- * browser: expose `storage` (#190, @stephenmathieson)
- * Makefile: add a `distclean` target (#189, @stephenmathieson)
-
-2.1.3 / 2015-03-13
-==================
-
- * Updated stdout/stderr example (#186)
- * Updated example/stdout.js to match debug current behaviour
- * Renamed example/stderr.js to stdout.js
- * Update Readme.md (#184)
- * replace high intensity foreground color for bold (#182, #183)
-
-2.1.2 / 2015-03-01
-==================
-
- * dist: recompile
- * update "ms" to v0.7.0
- * package: update "browserify" to v9.0.3
- * component: fix "ms.js" repo location
- * changed bower package name
- * updated documentation about using debug in a browser
- * fix: security error on safari (#167, #168, @yields)
-
-2.1.1 / 2014-12-29
-==================
-
- * browser: use `typeof` to check for `console` existence
- * browser: check for `console.log` truthiness (fix IE 8/9)
- * browser: add support for Chrome apps
- * Readme: added Windows usage remarks
- * Add `bower.json` to properly support bower install
-
-2.1.0 / 2014-10-15
-==================
-
- * node: implement `DEBUG_FD` env variable support
- * package: update "browserify" to v6.1.0
- * package: add "license" field to package.json (#135, @panuhorsmalahti)
-
-2.0.0 / 2014-09-01
-==================
-
- * package: update "browserify" to v5.11.0
- * node: use stderr rather than stdout for logging (#29, @stephenmathieson)
-
-1.0.4 / 2014-07-15
-==================
-
- * dist: recompile
- * example: remove `console.info()` log usage
- * example: add "Content-Type" UTF-8 header to browser example
- * browser: place %c marker after the space character
- * browser: reset the "content" color via `color: inherit`
- * browser: add colors support for Firefox >= v31
- * debug: prefer an instance `log()` function over the global one (#119)
- * Readme: update documentation about styled console logs for FF v31 (#116, @wryk)
-
-1.0.3 / 2014-07-09
-==================
-
- * Add support for multiple wildcards in namespaces (#122, @seegno)
- * browser: fix lint
-
-1.0.2 / 2014-06-10
-==================
-
- * browser: update color palette (#113, @gscottolson)
- * common: make console logging function configurable (#108, @timoxley)
- * node: fix %o colors on old node <= 0.8.x
- * Makefile: find node path using shell/which (#109, @timoxley)
-
-1.0.1 / 2014-06-06
-==================
-
- * browser: use `removeItem()` to clear localStorage
- * browser, node: don't set DEBUG if namespaces is undefined (#107, @leedm777)
- * package: add "contributors" section
- * node: fix comment typo
- * README: list authors
-
-1.0.0 / 2014-06-04
-==================
-
- * make ms diff be global, not be scope
- * debug: ignore empty strings in enable()
- * node: make DEBUG_COLORS able to disable coloring
- * *: export the `colors` array
- * npmignore: don't publish the `dist` dir
- * Makefile: refactor to use browserify
- * package: add "browserify" as a dev dependency
- * Readme: add Web Inspector Colors section
- * node: reset terminal color for the debug content
- * node: map "%o" to `util.inspect()`
- * browser: map "%j" to `JSON.stringify()`
- * debug: add custom "formatters"
- * debug: use "ms" module for humanizing the diff
- * Readme: add "bash" syntax highlighting
- * browser: add Firebug color support
- * browser: add colors for WebKit browsers
- * node: apply log to `console`
- * rewrite: abstract common logic for Node & browsers
- * add .jshintrc file
-
-0.8.1 / 2014-04-14
-==================
-
- * package: re-add the "component" section
-
-0.8.0 / 2014-03-30
-==================
-
- * add `enable()` method for nodejs. Closes #27
- * change from stderr to stdout
- * remove unnecessary index.js file
-
-0.7.4 / 2013-11-13
-==================
-
- * remove "browserify" key from package.json (fixes something in browserify)
-
-0.7.3 / 2013-10-30
-==================
-
- * fix: catch localStorage security error when cookies are blocked (Chrome)
- * add debug(err) support. Closes #46
- * add .browser prop to package.json. Closes #42
-
-0.7.2 / 2013-02-06
-==================
-
- * fix package.json
- * fix: Mobile Safari (private mode) is broken with debug
- * fix: Use unicode to send escape character to shell instead of octal to work with strict mode javascript
-
-0.7.1 / 2013-02-05
-==================
-
- * add repository URL to package.json
- * add DEBUG_COLORED to force colored output
- * add browserify support
- * fix component. Closes #24
-
-0.7.0 / 2012-05-04
-==================
-
- * Added .component to package.json
- * Added debug.component.js build
-
-0.6.0 / 2012-03-16
-==================
-
- * Added support for "-" prefix in DEBUG [Vinay Pulim]
- * Added `.enabled` flag to the node version [TooTallNate]
-
-0.5.0 / 2012-02-02
-==================
-
- * Added: humanize diffs. Closes #8
- * Added `debug.disable()` to the CS variant
- * Removed padding. Closes #10
- * Fixed: persist client-side variant again. Closes #9
-
-0.4.0 / 2012-02-01
-==================
-
- * Added browser variant support for older browsers [TooTallNate]
- * Added `debug.enable('project:*')` to browser variant [TooTallNate]
- * Added padding to diff (moved it to the right)
-
-0.3.0 / 2012-01-26
-==================
-
- * Added millisecond diff when isatty, otherwise UTC string
-
-0.2.0 / 2012-01-22
-==================
-
- * Added wildcard support
-
-0.1.0 / 2011-12-02
-==================
-
- * Added: remove colors unless stderr isatty [TooTallNate]
-
-0.0.1 / 2010-01-03
-==================
-
- * Initial release
diff --git a/Server/node_modules/debug/LICENSE b/Server/node_modules/debug/LICENSE
deleted file mode 100644
index 658c933..0000000
--- a/Server/node_modules/debug/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca>
-
-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.
-
diff --git a/Server/node_modules/debug/Makefile b/Server/node_modules/debug/Makefile
deleted file mode 100644
index 584da8b..0000000
--- a/Server/node_modules/debug/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-# get Makefile directory name: http://stackoverflow.com/a/5982798/376773
-THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
-THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)
-
-# BIN directory
-BIN := $(THIS_DIR)/node_modules/.bin
-
-# Path
-PATH := node_modules/.bin:$(PATH)
-SHELL := /bin/bash
-
-# applications
-NODE ?= $(shell which node)
-YARN ?= $(shell which yarn)
-PKG ?= $(if $(YARN),$(YARN),$(NODE) $(shell which npm))
-BROWSERIFY ?= $(NODE) $(BIN)/browserify
-
-.FORCE:
-
-install: node_modules
-
-node_modules: package.json
- @NODE_ENV= $(PKG) install
- @touch node_modules
-
-lint: .FORCE
- eslint browser.js debug.js index.js node.js
-
-test-node: .FORCE
- istanbul cover node_modules/mocha/bin/_mocha -- test/**.js
-
-test-browser: .FORCE
- mkdir -p dist
-
- @$(BROWSERIFY) \
- --standalone debug \
- . > dist/debug.js
-
- karma start --single-run
- rimraf dist
-
-test: .FORCE
- concurrently \
- "make test-node" \
- "make test-browser"
-
-coveralls:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
-
-.PHONY: all install clean distclean
diff --git a/Server/node_modules/debug/README.md b/Server/node_modules/debug/README.md
deleted file mode 100644
index f67be6b..0000000
--- a/Server/node_modules/debug/README.md
+++ /dev/null
@@ -1,312 +0,0 @@
-# debug
-[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug) [![Coverage Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
-[![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors)
-
-
-
-A tiny node.js debugging utility modelled after node core's debugging technique.
-
-**Discussion around the V3 API is under way [here](https://github.com/visionmedia/debug/issues/370)**
-
-## Installation
-
-```bash
-$ npm install debug
-```
-
-## Usage
-
-`debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole.
-
-Example _app.js_:
-
-```js
-var debug = require('debug')('http')
- , http = require('http')
- , name = 'My App';
-
-// fake app
-
-debug('booting %s', name);
-
-http.createServer(function(req, res){
- debug(req.method + ' ' + req.url);
- res.end('hello\n');
-}).listen(3000, function(){
- debug('listening');
-});
-
-// fake worker of some kind
-
-require('./worker');
-```
-
-Example _worker.js_:
-
-```js
-var debug = require('debug')('worker');
-
-setInterval(function(){
- debug('doing some work');
-}, 1000);
-```
-
- The __DEBUG__ environment variable is then used to enable these based on space or comma-delimited names. Here are some examples:
-
- ![debug http and worker](http://f.cl.ly/items/18471z1H402O24072r1J/Screenshot.png)
-
- ![debug worker](http://f.cl.ly/items/1X413v1a3M0d3C2c1E0i/Screenshot.png)
-
-#### Windows note
-
- On Windows the environment variable is set using the `set` command.
-
- ```cmd
- set DEBUG=*,-not_this
- ```
-
- Note that PowerShell uses different syntax to set environment variables.
-
- ```cmd
- $env:DEBUG = "*,-not_this"
- ```
-
-Then, run the program to be debugged as usual.
-
-## Millisecond diff
-
- When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls.
-
- ![](http://f.cl.ly/items/2i3h1d3t121M2Z1A3Q0N/Screenshot.png)
-
- When stdout is not a TTY, `Date#toUTCString()` is used, making it more useful for logging the debug information as shown below:
-
- ![](http://f.cl.ly/items/112H3i0e0o0P0a2Q2r11/Screenshot.png)
-
-## Conventions
-
- If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser".
-
-## Wildcards
-
- The `*` character may be used as a wildcard. Suppose for example your library has debuggers named "connect:bodyParser", "connect:compress", "connect:session", instead of listing all three with `DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do `DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`.
-
- You can also exclude specific debuggers by prefixing them with a "-" character. For example, `DEBUG=*,-connect:*` would include all debuggers except those starting with "connect:".
-
-## Environment Variables
-
- When running through Node.js, you can set a few environment variables that will
- change the behavior of the debug logging:
-
-| Name | Purpose |
-|-----------|-------------------------------------------------|
-| `DEBUG` | Enables/disables specific debugging namespaces. |
-| `DEBUG_COLORS`| Whether or not to use colors in the debug output. |
-| `DEBUG_DEPTH` | Object inspection depth. |
-| `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. |
-
-
- __Note:__ The environment variables beginning with `DEBUG_` end up being
- converted into an Options object that gets used with `%o`/`%O` formatters.
- See the Node.js documentation for
- [`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options)
- for the complete list.
-
-## Formatters
-
-
- Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. Below are the officially supported formatters:
-
-| Formatter | Representation |
-|-----------|----------------|
-| `%O` | Pretty-print an Object on multiple lines. |
-| `%o` | Pretty-print an Object all on a single line. |
-| `%s` | String. |
-| `%d` | Number (both integer and float). |
-| `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. |
-| `%%` | Single percent sign ('%'). This does not consume an argument. |
-
-### Custom formatters
-
- You can add custom formatters by extending the `debug.formatters` object. For example, if you wanted to add support for rendering a Buffer as hex with `%h`, you could do something like:
-
-```js
-const createDebug = require('debug')
-createDebug.formatters.h = (v) => {
- return v.toString('hex')
-}
-
-// …elsewhere
-const debug = createDebug('foo')
-debug('this is hex: %h', new Buffer('hello world'))
-// foo this is hex: 68656c6c6f20776f726c6421 +0ms
-```
-
-## Browser support
- You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify),
- or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest),
- if you don't want to build it yourself.
-
- Debug's enable state is currently persisted by `localStorage`.
- Consider the situation shown below where you have `worker:a` and `worker:b`,
- and wish to debug both. You can enable this using `localStorage.debug`:
-
-```js
-localStorage.debug = 'worker:*'
-```
-
-And then refresh the page.
-
-```js
-a = debug('worker:a');
-b = debug('worker:b');
-
-setInterval(function(){
- a('doing some work');
-}, 1000);
-
-setInterval(function(){
- b('doing some work');
-}, 1200);
-```
-
-#### Web Inspector Colors
-
- Colors are also enabled on "Web Inspectors" that understand the `%c` formatting
- option. These are WebKit web inspectors, Firefox ([since version
- 31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/))
- and the Firebug plugin for Firefox (any version).
-
- Colored output looks something like:
-
- ![](https://cloud.githubusercontent.com/assets/71256/3139768/b98c5fd8-e8ef-11e3-862a-f7253b6f47c6.png)
-
-
-## Output streams
-
- By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method:
-
-Example _stdout.js_:
-
-```js
-var debug = require('debug');
-var error = debug('app:error');
-
-// by default stderr is used
-error('goes to stderr!');
-
-var log = debug('app:log');
-// set this namespace to log via console.log
-log.log = console.log.bind(console); // don't forget to bind to console!
-log('goes to stdout');
-error('still goes to stderr!');
-
-// set all output to go via console.info
-// overrides all per-namespace log settings
-debug.log = console.info.bind(console);
-error('now goes to stdout via console.info');
-log('still goes to stdout, but via console.info now');
-```
-
-
-## Authors
-
- - TJ Holowaychuk
- - Nathan Rajlich
- - Andrew Rhyne
-
-## Backers
-
-Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/debug#backer)]
-
-<a href="https://opencollective.com/debug/backer/0/website" target="_blank"><img src="https://opencollective.com/debug/backer/0/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/1/website" target="_blank"><img src="https://opencollective.com/debug/backer/1/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/2/website" target="_blank"><img src="https://opencollective.com/debug/backer/2/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/3/website" target="_blank"><img src="https://opencollective.com/debug/backer/3/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/4/website" target="_blank"><img src="https://opencollective.com/debug/backer/4/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/5/website" target="_blank"><img src="https://opencollective.com/debug/backer/5/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/6/website" target="_blank"><img src="https://opencollective.com/debug/backer/6/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/7/website" target="_blank"><img src="https://opencollective.com/debug/backer/7/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/8/website" target="_blank"><img src="https://opencollective.com/debug/backer/8/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/9/website" target="_blank"><img src="https://opencollective.com/debug/backer/9/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/10/website" target="_blank"><img src="https://opencollective.com/debug/backer/10/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/11/website" target="_blank"><img src="https://opencollective.com/debug/backer/11/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/12/website" target="_blank"><img src="https://opencollective.com/debug/backer/12/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/13/website" target="_blank"><img src="https://opencollective.com/debug/backer/13/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/14/website" target="_blank"><img src="https://opencollective.com/debug/backer/14/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/15/website" target="_blank"><img src="https://opencollective.com/debug/backer/15/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/16/website" target="_blank"><img src="https://opencollective.com/debug/backer/16/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/17/website" target="_blank"><img src="https://opencollective.com/debug/backer/17/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/18/website" target="_blank"><img src="https://opencollective.com/debug/backer/18/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/19/website" target="_blank"><img src="https://opencollective.com/debug/backer/19/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/20/website" target="_blank"><img src="https://opencollective.com/debug/backer/20/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/21/website" target="_blank"><img src="https://opencollective.com/debug/backer/21/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/22/website" target="_blank"><img src="https://opencollective.com/debug/backer/22/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/23/website" target="_blank"><img src="https://opencollective.com/debug/backer/23/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/24/website" target="_blank"><img src="https://opencollective.com/debug/backer/24/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/25/website" target="_blank"><img src="https://opencollective.com/debug/backer/25/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/26/website" target="_blank"><img src="https://opencollective.com/debug/backer/26/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/27/website" target="_blank"><img src="https://opencollective.com/debug/backer/27/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/28/website" target="_blank"><img src="https://opencollective.com/debug/backer/28/avatar.svg"></a>
-<a href="https://opencollective.com/debug/backer/29/website" target="_blank"><img src="https://opencollective.com/debug/backer/29/avatar.svg"></a>
-
-
-## Sponsors
-
-Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)]
-
-<a href="https://opencollective.com/debug/sponsor/0/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/0/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/1/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/1/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/2/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/2/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/3/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/3/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/4/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/4/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/5/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/5/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/6/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/6/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/7/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/7/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/8/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/8/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/9/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/9/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/10/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/10/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/11/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/11/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/12/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/12/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/13/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/13/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/14/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/14/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/15/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/15/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/16/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/16/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/17/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/17/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/18/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/18/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/19/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/19/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/20/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/20/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/21/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/21/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/22/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/22/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/23/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/23/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/24/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/24/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/25/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/25/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/26/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/26/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/27/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/27/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/28/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/28/avatar.svg"></a>
-<a href="https://opencollective.com/debug/sponsor/29/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/29/avatar.svg"></a>
-
-## License
-
-(The MIT License)
-
-Copyright (c) 2014-2016 TJ Holowaychuk &lt;tj@vision-media.ca&gt;
-
-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.
diff --git a/Server/node_modules/debug/component.json b/Server/node_modules/debug/component.json
deleted file mode 100644
index 9de2641..0000000
--- a/Server/node_modules/debug/component.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "debug",
- "repo": "visionmedia/debug",
- "description": "small debugging utility",
- "version": "2.6.9",
- "keywords": [
- "debug",
- "log",
- "debugger"
- ],
- "main": "src/browser.js",
- "scripts": [
- "src/browser.js",
- "src/debug.js"
- ],
- "dependencies": {
- "rauchg/ms.js": "0.7.1"
- }
-}
diff --git a/Server/node_modules/debug/karma.conf.js b/Server/node_modules/debug/karma.conf.js
deleted file mode 100644
index 103a82d..0000000
--- a/Server/node_modules/debug/karma.conf.js
+++ /dev/null
@@ -1,70 +0,0 @@
-// Karma configuration
-// Generated on Fri Dec 16 2016 13:09:51 GMT+0000 (UTC)
-
-module.exports = function(config) {
- config.set({
-
- // base path that will be used to resolve all patterns (eg. files, exclude)
- basePath: '',
-
-
- // frameworks to use
- // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
- frameworks: ['mocha', 'chai', 'sinon'],
-
-
- // list of files / patterns to load in the browser
- files: [
- 'dist/debug.js',
- 'test/*spec.js'
- ],
-
-
- // list of files to exclude
- exclude: [
- 'src/node.js'
- ],
-
-
- // preprocess matching files before serving them to the browser
- // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
- preprocessors: {
- },
-
- // test results reporter to use
- // possible values: 'dots', 'progress'
- // available reporters: https://npmjs.org/browse/keyword/karma-reporter
- reporters: ['progress'],
-
-
- // web server port
- port: 9876,
-
-
- // enable / disable colors in the output (reporters and logs)
- colors: true,
-
-
- // level of logging
- // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
- logLevel: config.LOG_INFO,
-
-
- // enable / disable watching file and executing tests whenever any file changes
- autoWatch: true,
-
-
- // start these browsers
- // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
- browsers: ['PhantomJS'],
-
-
- // Continuous Integration mode
- // if true, Karma captures browsers, runs the tests and exits
- singleRun: false,
-
- // Concurrency level
- // how many browser should be started simultaneous
- concurrency: Infinity
- })
-}
diff --git a/Server/node_modules/debug/node.js b/Server/node_modules/debug/node.js
deleted file mode 100644
index 7fc36fe..0000000
--- a/Server/node_modules/debug/node.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('./src/node');
diff --git a/Server/node_modules/debug/package.json b/Server/node_modules/debug/package.json
deleted file mode 100644
index adcdfce..0000000
--- a/Server/node_modules/debug/package.json
+++ /dev/null
@@ -1,91 +0,0 @@
-{
- "_from": "debug@2.6.9",
- "_id": "debug@2.6.9",
- "_inBundle": false,
- "_integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "_location": "/debug",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "debug@2.6.9",
- "name": "debug",
- "escapedName": "debug",
- "rawSpec": "2.6.9",
- "saveSpec": null,
- "fetchSpec": "2.6.9"
- },
- "_requiredBy": [
- "/body-parser",
- "/express",
- "/finalhandler",
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "_shasum": "5d128515df134ff327e90a4c93f4e077a536341f",
- "_spec": "debug@2.6.9",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca"
- },
- "browser": "./src/browser.js",
- "bugs": {
- "url": "https://github.com/visionmedia/debug/issues"
- },
- "bundleDependencies": false,
- "component": {
- "scripts": {
- "debug/index.js": "browser.js",
- "debug/debug.js": "debug.js"
- }
- },
- "contributors": [
- {
- "name": "Nathan Rajlich",
- "email": "nathan@tootallnate.net",
- "url": "http://n8.io"
- },
- {
- "name": "Andrew Rhyne",
- "email": "rhyneandrew@gmail.com"
- }
- ],
- "dependencies": {
- "ms": "2.0.0"
- },
- "deprecated": false,
- "description": "small debugging utility",
- "devDependencies": {
- "browserify": "9.0.3",
- "chai": "^3.5.0",
- "concurrently": "^3.1.0",
- "coveralls": "^2.11.15",
- "eslint": "^3.12.1",
- "istanbul": "^0.4.5",
- "karma": "^1.3.0",
- "karma-chai": "^0.1.0",
- "karma-mocha": "^1.3.0",
- "karma-phantomjs-launcher": "^1.0.2",
- "karma-sinon": "^1.0.5",
- "mocha": "^3.2.0",
- "mocha-lcov-reporter": "^1.2.0",
- "rimraf": "^2.5.4",
- "sinon": "^1.17.6",
- "sinon-chai": "^2.8.0"
- },
- "homepage": "https://github.com/visionmedia/debug#readme",
- "keywords": [
- "debug",
- "log",
- "debugger"
- ],
- "license": "MIT",
- "main": "./src/index.js",
- "name": "debug",
- "repository": {
- "type": "git",
- "url": "git://github.com/visionmedia/debug.git"
- },
- "version": "2.6.9"
-}
diff --git a/Server/node_modules/debug/src/browser.js b/Server/node_modules/debug/src/browser.js
deleted file mode 100644
index 7106924..0000000
--- a/Server/node_modules/debug/src/browser.js
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- * This is the web browser implementation of `debug()`.
- *
- * Expose `debug()` as the module.
- */
-
-exports = module.exports = require('./debug');
-exports.log = log;
-exports.formatArgs = formatArgs;
-exports.save = save;
-exports.load = load;
-exports.useColors = useColors;
-exports.storage = 'undefined' != typeof chrome
- && 'undefined' != typeof chrome.storage
- ? chrome.storage.local
- : localstorage();
-
-/**
- * Colors.
- */
-
-exports.colors = [
- 'lightseagreen',
- 'forestgreen',
- 'goldenrod',
- 'dodgerblue',
- 'darkorchid',
- 'crimson'
-];
-
-/**
- * Currently only WebKit-based Web Inspectors, Firefox >= v31,
- * and the Firebug extension (any Firefox version) are known
- * to support "%c" CSS customizations.
- *
- * TODO: add a `localStorage` variable to explicitly enable/disable colors
- */
-
-function useColors() {
- // NB: In an Electron preload script, document will be defined but not fully
- // initialized. Since we know we're in Chrome, we'll just detect this case
- // explicitly
- if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') {
- return true;
- }
-
- // is webkit? http://stackoverflow.com/a/16459606/376773
- // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
- return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
- // is firebug? http://stackoverflow.com/a/398120/376773
- (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
- // is firefox >= v31?
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||
- // double check webkit in userAgent just in case we are in a worker
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
-}
-
-/**
- * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
- */
-
-exports.formatters.j = function(v) {
- try {
- return JSON.stringify(v);
- } catch (err) {
- return '[UnexpectedJSONParseError]: ' + err.message;
- }
-};
-
-
-/**
- * Colorize log arguments if enabled.
- *
- * @api public
- */
-
-function formatArgs(args) {
- var useColors = this.useColors;
-
- args[0] = (useColors ? '%c' : '')
- + this.namespace
- + (useColors ? ' %c' : ' ')
- + args[0]
- + (useColors ? '%c ' : ' ')
- + '+' + exports.humanize(this.diff);
-
- if (!useColors) return;
-
- var c = 'color: ' + this.color;
- args.splice(1, 0, c, 'color: inherit')
-
- // the final "%c" is somewhat tricky, because there could be other
- // arguments passed either before or after the %c, so we need to
- // figure out the correct index to insert the CSS into
- var index = 0;
- var lastC = 0;
- args[0].replace(/%[a-zA-Z%]/g, function(match) {
- if ('%%' === match) return;
- index++;
- if ('%c' === match) {
- // we only are interested in the *last* %c
- // (the user may have provided their own)
- lastC = index;
- }
- });
-
- args.splice(lastC, 0, c);
-}
-
-/**
- * Invokes `console.log()` when available.
- * No-op when `console.log` is not a "function".
- *
- * @api public
- */
-
-function log() {
- // this hackery is required for IE8/9, where
- // the `console.log` function doesn't have 'apply'
- return 'object' === typeof console
- && console.log
- && Function.prototype.apply.call(console.log, console, arguments);
-}
-
-/**
- * Save `namespaces`.
- *
- * @param {String} namespaces
- * @api private
- */
-
-function save(namespaces) {
- try {
- if (null == namespaces) {
- exports.storage.removeItem('debug');
- } else {
- exports.storage.debug = namespaces;
- }
- } catch(e) {}
-}
-
-/**
- * Load `namespaces`.
- *
- * @return {String} returns the previously persisted debug modes
- * @api private
- */
-
-function load() {
- var r;
- try {
- r = exports.storage.debug;
- } catch(e) {}
-
- // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
- if (!r && typeof process !== 'undefined' && 'env' in process) {
- r = process.env.DEBUG;
- }
-
- return r;
-}
-
-/**
- * Enable namespaces listed in `localStorage.debug` initially.
- */
-
-exports.enable(load());
-
-/**
- * Localstorage attempts to return the localstorage.
- *
- * This is necessary because safari throws
- * when a user disables cookies/localstorage
- * and you attempt to access it.
- *
- * @return {LocalStorage}
- * @api private
- */
-
-function localstorage() {
- try {
- return window.localStorage;
- } catch (e) {}
-}
diff --git a/Server/node_modules/debug/src/debug.js b/Server/node_modules/debug/src/debug.js
deleted file mode 100644
index 6a5e3fc..0000000
--- a/Server/node_modules/debug/src/debug.js
+++ /dev/null
@@ -1,202 +0,0 @@
-
-/**
- * This is the common logic for both the Node.js and web browser
- * implementations of `debug()`.
- *
- * Expose `debug()` as the module.
- */
-
-exports = module.exports = createDebug.debug = createDebug['default'] = createDebug;
-exports.coerce = coerce;
-exports.disable = disable;
-exports.enable = enable;
-exports.enabled = enabled;
-exports.humanize = require('ms');
-
-/**
- * The currently active debug mode names, and names to skip.
- */
-
-exports.names = [];
-exports.skips = [];
-
-/**
- * Map of special "%n" handling functions, for the debug "format" argument.
- *
- * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N".
- */
-
-exports.formatters = {};
-
-/**
- * Previous log timestamp.
- */
-
-var prevTime;
-
-/**
- * Select a color.
- * @param {String} namespace
- * @return {Number}
- * @api private
- */
-
-function selectColor(namespace) {
- var hash = 0, i;
-
- for (i in namespace) {
- hash = ((hash << 5) - hash) + namespace.charCodeAt(i);
- hash |= 0; // Convert to 32bit integer
- }
-
- return exports.colors[Math.abs(hash) % exports.colors.length];
-}
-
-/**
- * Create a debugger with the given `namespace`.
- *
- * @param {String} namespace
- * @return {Function}
- * @api public
- */
-
-function createDebug(namespace) {
-
- function debug() {
- // disabled?
- if (!debug.enabled) return;
-
- var self = debug;
-
- // set `diff` timestamp
- var curr = +new Date();
- var ms = curr - (prevTime || curr);
- self.diff = ms;
- self.prev = prevTime;
- self.curr = curr;
- prevTime = curr;
-
- // turn the `arguments` into a proper Array
- var args = new Array(arguments.length);
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i];
- }
-
- args[0] = exports.coerce(args[0]);
-
- if ('string' !== typeof args[0]) {
- // anything else let's inspect with %O
- args.unshift('%O');
- }
-
- // apply any `formatters` transformations
- var index = 0;
- args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {
- // if we encounter an escaped % then don't increase the array index
- if (match === '%%') return match;
- index++;
- var formatter = exports.formatters[format];
- if ('function' === typeof formatter) {
- var val = args[index];
- match = formatter.call(self, val);
-
- // now we need to remove `args[index]` since it's inlined in the `format`
- args.splice(index, 1);
- index--;
- }
- return match;
- });
-
- // apply env-specific formatting (colors, etc.)
- exports.formatArgs.call(self, args);
-
- var logFn = debug.log || exports.log || console.log.bind(console);
- logFn.apply(self, args);
- }
-
- debug.namespace = namespace;
- debug.enabled = exports.enabled(namespace);
- debug.useColors = exports.useColors();
- debug.color = selectColor(namespace);
-
- // env-specific initialization logic for debug instances
- if ('function' === typeof exports.init) {
- exports.init(debug);
- }
-
- return debug;
-}
-
-/**
- * Enables a debug mode by namespaces. This can include modes
- * separated by a colon and wildcards.
- *
- * @param {String} namespaces
- * @api public
- */
-
-function enable(namespaces) {
- exports.save(namespaces);
-
- exports.names = [];
- exports.skips = [];
-
- var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
- var len = split.length;
-
- for (var i = 0; i < len; i++) {
- if (!split[i]) continue; // ignore empty strings
- namespaces = split[i].replace(/\*/g, '.*?');
- if (namespaces[0] === '-') {
- exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));
- } else {
- exports.names.push(new RegExp('^' + namespaces + '$'));
- }
- }
-}
-
-/**
- * Disable debug output.
- *
- * @api public
- */
-
-function disable() {
- exports.enable('');
-}
-
-/**
- * Returns true if the given mode name is enabled, false otherwise.
- *
- * @param {String} name
- * @return {Boolean}
- * @api public
- */
-
-function enabled(name) {
- var i, len;
- for (i = 0, len = exports.skips.length; i < len; i++) {
- if (exports.skips[i].test(name)) {
- return false;
- }
- }
- for (i = 0, len = exports.names.length; i < len; i++) {
- if (exports.names[i].test(name)) {
- return true;
- }
- }
- return false;
-}
-
-/**
- * Coerce `val`.
- *
- * @param {Mixed} val
- * @return {Mixed}
- * @api private
- */
-
-function coerce(val) {
- if (val instanceof Error) return val.stack || val.message;
- return val;
-}
diff --git a/Server/node_modules/debug/src/index.js b/Server/node_modules/debug/src/index.js
deleted file mode 100644
index e12cf4d..0000000
--- a/Server/node_modules/debug/src/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * Detect Electron renderer process, which is node, but we should
- * treat as a browser.
- */
-
-if (typeof process !== 'undefined' && process.type === 'renderer') {
- module.exports = require('./browser.js');
-} else {
- module.exports = require('./node.js');
-}
diff --git a/Server/node_modules/debug/src/inspector-log.js b/Server/node_modules/debug/src/inspector-log.js
deleted file mode 100644
index 60ea6c0..0000000
--- a/Server/node_modules/debug/src/inspector-log.js
+++ /dev/null
@@ -1,15 +0,0 @@
-module.exports = inspectorLog;
-
-// black hole
-const nullStream = new (require('stream').Writable)();
-nullStream._write = () => {};
-
-/**
- * Outputs a `console.log()` to the Node.js Inspector console *only*.
- */
-function inspectorLog() {
- const stdout = console._stdout;
- console._stdout = nullStream;
- console.log.apply(console, arguments);
- console._stdout = stdout;
-}
diff --git a/Server/node_modules/debug/src/node.js b/Server/node_modules/debug/src/node.js
deleted file mode 100644
index b15109c..0000000
--- a/Server/node_modules/debug/src/node.js
+++ /dev/null
@@ -1,248 +0,0 @@
-/**
- * Module dependencies.
- */
-
-var tty = require('tty');
-var util = require('util');
-
-/**
- * This is the Node.js implementation of `debug()`.
- *
- * Expose `debug()` as the module.
- */
-
-exports = module.exports = require('./debug');
-exports.init = init;
-exports.log = log;
-exports.formatArgs = formatArgs;
-exports.save = save;
-exports.load = load;
-exports.useColors = useColors;
-
-/**
- * Colors.
- */
-
-exports.colors = [6, 2, 3, 4, 5, 1];
-
-/**
- * Build up the default `inspectOpts` object from the environment variables.
- *
- * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
- */
-
-exports.inspectOpts = Object.keys(process.env).filter(function (key) {
- return /^debug_/i.test(key);
-}).reduce(function (obj, key) {
- // camel-case
- var prop = key
- .substring(6)
- .toLowerCase()
- .replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });
-
- // coerce string value into JS value
- var val = process.env[key];
- if (/^(yes|on|true|enabled)$/i.test(val)) val = true;
- else if (/^(no|off|false|disabled)$/i.test(val)) val = false;
- else if (val === 'null') val = null;
- else val = Number(val);
-
- obj[prop] = val;
- return obj;
-}, {});
-
-/**
- * The file descriptor to write the `debug()` calls to.
- * Set the `DEBUG_FD` env variable to override with another value. i.e.:
- *
- * $ DEBUG_FD=3 node script.js 3>debug.log
- */
-
-var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
-
-if (1 !== fd && 2 !== fd) {
- util.deprecate(function(){}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')()
-}
-
-var stream = 1 === fd ? process.stdout :
- 2 === fd ? process.stderr :
- createWritableStdioStream(fd);
-
-/**
- * Is stdout a TTY? Colored output is enabled when `true`.
- */
-
-function useColors() {
- return 'colors' in exports.inspectOpts
- ? Boolean(exports.inspectOpts.colors)
- : tty.isatty(fd);
-}
-
-/**
- * Map %o to `util.inspect()`, all on a single line.
- */
-
-exports.formatters.o = function(v) {
- this.inspectOpts.colors = this.useColors;
- return util.inspect(v, this.inspectOpts)
- .split('\n').map(function(str) {
- return str.trim()
- }).join(' ');
-};
-
-/**
- * Map %o to `util.inspect()`, allowing multiple lines if needed.
- */
-
-exports.formatters.O = function(v) {
- this.inspectOpts.colors = this.useColors;
- return util.inspect(v, this.inspectOpts);
-};
-
-/**
- * Adds ANSI color escape codes if enabled.
- *
- * @api public
- */
-
-function formatArgs(args) {
- var name = this.namespace;
- var useColors = this.useColors;
-
- if (useColors) {
- var c = this.color;
- var prefix = ' \u001b[3' + c + ';1m' + name + ' ' + '\u001b[0m';
-
- args[0] = prefix + args[0].split('\n').join('\n' + prefix);
- args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m');
- } else {
- args[0] = new Date().toUTCString()
- + ' ' + name + ' ' + args[0];
- }
-}
-
-/**
- * Invokes `util.format()` with the specified arguments and writes to `stream`.
- */
-
-function log() {
- return stream.write(util.format.apply(util, arguments) + '\n');
-}
-
-/**
- * Save `namespaces`.
- *
- * @param {String} namespaces
- * @api private
- */
-
-function save(namespaces) {
- if (null == namespaces) {
- // If you set a process.env field to null or undefined, it gets cast to the
- // string 'null' or 'undefined'. Just delete instead.
- delete process.env.DEBUG;
- } else {
- process.env.DEBUG = namespaces;
- }
-}
-
-/**
- * Load `namespaces`.
- *
- * @return {String} returns the previously persisted debug modes
- * @api private
- */
-
-function load() {
- return process.env.DEBUG;
-}
-
-/**
- * Copied from `node/src/node.js`.
- *
- * XXX: It's lame that node doesn't expose this API out-of-the-box. It also
- * relies on the undocumented `tty_wrap.guessHandleType()` which is also lame.
- */
-
-function createWritableStdioStream (fd) {
- var stream;
- var tty_wrap = process.binding('tty_wrap');
-
- // Note stream._type is used for test-module-load-list.js
-
- switch (tty_wrap.guessHandleType(fd)) {
- case 'TTY':
- stream = new tty.WriteStream(fd);
- stream._type = 'tty';
-
- // Hack to have stream not keep the event loop alive.
- // See https://github.com/joyent/node/issues/1726
- if (stream._handle && stream._handle.unref) {
- stream._handle.unref();
- }
- break;
-
- case 'FILE':
- var fs = require('fs');
- stream = new fs.SyncWriteStream(fd, { autoClose: false });
- stream._type = 'fs';
- break;
-
- case 'PIPE':
- case 'TCP':
- var net = require('net');
- stream = new net.Socket({
- fd: fd,
- readable: false,
- writable: true
- });
-
- // FIXME Should probably have an option in net.Socket to create a
- // stream from an existing fd which is writable only. But for now
- // we'll just add this hack and set the `readable` member to false.
- // Test: ./node test/fixtures/echo.js < /etc/passwd
- stream.readable = false;
- stream.read = null;
- stream._type = 'pipe';
-
- // FIXME Hack to have stream not keep the event loop alive.
- // See https://github.com/joyent/node/issues/1726
- if (stream._handle && stream._handle.unref) {
- stream._handle.unref();
- }
- break;
-
- default:
- // Probably an error on in uv_guess_handle()
- throw new Error('Implement me. Unknown stream file type!');
- }
-
- // For supporting legacy API we put the FD here.
- stream.fd = fd;
-
- stream._isStdio = true;
-
- return stream;
-}
-
-/**
- * Init logic for `debug` instances.
- *
- * Create a new `inspectOpts` object in case `useColors` is set
- * differently for a particular `debug` instance.
- */
-
-function init (debug) {
- debug.inspectOpts = {};
-
- var keys = Object.keys(exports.inspectOpts);
- for (var i = 0; i < keys.length; i++) {
- debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
- }
-}
-
-/**
- * Enable namespaces listed in `process.env.DEBUG` initially.
- */
-
-exports.enable(load());
diff --git a/Server/node_modules/depd/History.md b/Server/node_modules/depd/History.md
deleted file mode 100644
index 507ecb8..0000000
--- a/Server/node_modules/depd/History.md
+++ /dev/null
@@ -1,96 +0,0 @@
-1.1.2 / 2018-01-11
-==================
-
- * perf: remove argument reassignment
- * Support Node.js 0.6 to 9.x
-
-1.1.1 / 2017-07-27
-==================
-
- * Remove unnecessary `Buffer` loading
- * Support Node.js 0.6 to 8.x
-
-1.1.0 / 2015-09-14
-==================
-
- * Enable strict mode in more places
- * Support io.js 3.x
- * Support io.js 2.x
- * Support web browser loading
- - Requires bundler like Browserify or webpack
-
-1.0.1 / 2015-04-07
-==================
-
- * Fix `TypeError`s when under `'use strict'` code
- * Fix useless type name on auto-generated messages
- * Support io.js 1.x
- * Support Node.js 0.12
-
-1.0.0 / 2014-09-17
-==================
-
- * No changes
-
-0.4.5 / 2014-09-09
-==================
-
- * Improve call speed to functions using the function wrapper
- * Support Node.js 0.6
-
-0.4.4 / 2014-07-27
-==================
-
- * Work-around v8 generating empty stack traces
-
-0.4.3 / 2014-07-26
-==================
-
- * Fix exception when global `Error.stackTraceLimit` is too low
-
-0.4.2 / 2014-07-19
-==================
-
- * Correct call site for wrapped functions and properties
-
-0.4.1 / 2014-07-19
-==================
-
- * Improve automatic message generation for function properties
-
-0.4.0 / 2014-07-19
-==================
-
- * Add `TRACE_DEPRECATION` environment variable
- * Remove non-standard grey color from color output
- * Support `--no-deprecation` argument
- * Support `--trace-deprecation` argument
- * Support `deprecate.property(fn, prop, message)`
-
-0.3.0 / 2014-06-16
-==================
-
- * Add `NO_DEPRECATION` environment variable
-
-0.2.0 / 2014-06-15
-==================
-
- * Add `deprecate.property(obj, prop, message)`
- * Remove `supports-color` dependency for node.js 0.8
-
-0.1.0 / 2014-06-15
-==================
-
- * Add `deprecate.function(fn, message)`
- * Add `process.on('deprecation', fn)` emitter
- * Automatically generate message when omitted from `deprecate()`
-
-0.0.1 / 2014-06-15
-==================
-
- * Fix warning for dynamic calls at singe call site
-
-0.0.0 / 2014-06-15
-==================
-
- * Initial implementation
diff --git a/Server/node_modules/depd/LICENSE b/Server/node_modules/depd/LICENSE
deleted file mode 100644
index 84441fb..0000000
--- a/Server/node_modules/depd/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014-2017 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/depd/Readme.md b/Server/node_modules/depd/Readme.md
deleted file mode 100644
index 7790670..0000000
--- a/Server/node_modules/depd/Readme.md
+++ /dev/null
@@ -1,280 +0,0 @@
-# depd
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-image]][node-url]
-[![Linux Build][travis-image]][travis-url]
-[![Windows Build][appveyor-image]][appveyor-url]
-[![Coverage Status][coveralls-image]][coveralls-url]
-
-Deprecate all the things
-
-> With great modules comes great responsibility; mark things deprecated!
-
-## Install
-
-This module is installed directly using `npm`:
-
-```sh
-$ npm install depd
-```
-
-This module can also be bundled with systems like
-[Browserify](http://browserify.org/) or [webpack](https://webpack.github.io/),
-though by default this module will alter it's API to no longer display or
-track deprecations.
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var deprecate = require('depd')('my-module')
-```
-
-This library allows you to display deprecation messages to your users.
-This library goes above and beyond with deprecation warnings by
-introspection of the call stack (but only the bits that it is interested
-in).
-
-Instead of just warning on the first invocation of a deprecated
-function and never again, this module will warn on the first invocation
-of a deprecated function per unique call site, making it ideal to alert
-users of all deprecated uses across the code base, rather than just
-whatever happens to execute first.
-
-The deprecation warnings from this module also include the file and line
-information for the call into the module that the deprecated function was
-in.
-
-**NOTE** this library has a similar interface to the `debug` module, and
-this module uses the calling file to get the boundary for the call stacks,
-so you should always create a new `deprecate` object in each file and not
-within some central file.
-
-### depd(namespace)
-
-Create a new deprecate function that uses the given namespace name in the
-messages and will display the call site prior to the stack entering the
-file this function was called from. It is highly suggested you use the
-name of your module as the namespace.
-
-### deprecate(message)
-
-Call this function from deprecated code to display a deprecation message.
-This message will appear once per unique caller site. Caller site is the
-first call site in the stack in a different file from the caller of this
-function.
-
-If the message is omitted, a message is generated for you based on the site
-of the `deprecate()` call and will display the name of the function called,
-similar to the name displayed in a stack trace.
-
-### deprecate.function(fn, message)
-
-Call this function to wrap a given function in a deprecation message on any
-call to the function. An optional message can be supplied to provide a custom
-message.
-
-### deprecate.property(obj, prop, message)
-
-Call this function to wrap a given property on object in a deprecation message
-on any accessing or setting of the property. An optional message can be supplied
-to provide a custom message.
-
-The method must be called on the object where the property belongs (not
-inherited from the prototype).
-
-If the property is a data descriptor, it will be converted to an accessor
-descriptor in order to display the deprecation message.
-
-### process.on('deprecation', fn)
-
-This module will allow easy capturing of deprecation errors by emitting the
-errors as the type "deprecation" on the global `process`. If there are no
-listeners for this type, the errors are written to STDERR as normal, but if
-there are any listeners, nothing will be written to STDERR and instead only
-emitted. From there, you can write the errors in a different format or to a
-logging source.
-
-The error represents the deprecation and is emitted only once with the same
-rules as writing to STDERR. The error has the following properties:
-
- - `message` - This is the message given by the library
- - `name` - This is always `'DeprecationError'`
- - `namespace` - This is the namespace the deprecation came from
- - `stack` - This is the stack of the call to the deprecated thing
-
-Example `error.stack` output:
-
-```
-DeprecationError: my-cool-module deprecated oldfunction
- at Object.<anonymous> ([eval]-wrapper:6:22)
- at Module._compile (module.js:456:26)
- at evalScript (node.js:532:25)
- at startup (node.js:80:7)
- at node.js:902:3
-```
-
-### process.env.NO_DEPRECATION
-
-As a user of modules that are deprecated, the environment variable `NO_DEPRECATION`
-is provided as a quick solution to silencing deprecation warnings from being
-output. The format of this is similar to that of `DEBUG`:
-
-```sh
-$ NO_DEPRECATION=my-module,othermod node app.js
-```
-
-This will suppress deprecations from being output for "my-module" and "othermod".
-The value is a list of comma-separated namespaces. To suppress every warning
-across all namespaces, use the value `*` for a namespace.
-
-Providing the argument `--no-deprecation` to the `node` executable will suppress
-all deprecations (only available in Node.js 0.8 or higher).
-
-**NOTE** This will not suppress the deperecations given to any "deprecation"
-event listeners, just the output to STDERR.
-
-### process.env.TRACE_DEPRECATION
-
-As a user of modules that are deprecated, the environment variable `TRACE_DEPRECATION`
-is provided as a solution to getting more detailed location information in deprecation
-warnings by including the entire stack trace. The format of this is the same as
-`NO_DEPRECATION`:
-
-```sh
-$ TRACE_DEPRECATION=my-module,othermod node app.js
-```
-
-This will include stack traces for deprecations being output for "my-module" and
-"othermod". The value is a list of comma-separated namespaces. To trace every
-warning across all namespaces, use the value `*` for a namespace.
-
-Providing the argument `--trace-deprecation` to the `node` executable will trace
-all deprecations (only available in Node.js 0.8 or higher).
-
-**NOTE** This will not trace the deperecations silenced by `NO_DEPRECATION`.
-
-## Display
-
-![message](files/message.png)
-
-When a user calls a function in your library that you mark deprecated, they
-will see the following written to STDERR (in the given colors, similar colors
-and layout to the `debug` module):
-
-```
-bright cyan bright yellow
-| | reset cyan
-| | | |
-▼ ▼ ▼ ▼
-my-cool-module deprecated oldfunction [eval]-wrapper:6:22
-▲ ▲ ▲ ▲
-| | | |
-namespace | | location of mycoolmod.oldfunction() call
- | deprecation message
- the word "deprecated"
-```
-
-If the user redirects their STDERR to a file or somewhere that does not support
-colors, they see (similar layout to the `debug` module):
-
-```
-Sun, 15 Jun 2014 05:21:37 GMT my-cool-module deprecated oldfunction at [eval]-wrapper:6:22
-▲ ▲ ▲ ▲ ▲
-| | | | |
-timestamp of message namespace | | location of mycoolmod.oldfunction() call
- | deprecation message
- the word "deprecated"
-```
-
-## Examples
-
-### Deprecating all calls to a function
-
-This will display a deprecated message about "oldfunction" being deprecated
-from "my-module" on STDERR.
-
-```js
-var deprecate = require('depd')('my-cool-module')
-
-// message automatically derived from function name
-// Object.oldfunction
-exports.oldfunction = deprecate.function(function oldfunction () {
- // all calls to function are deprecated
-})
-
-// specific message
-exports.oldfunction = deprecate.function(function () {
- // all calls to function are deprecated
-}, 'oldfunction')
-```
-
-### Conditionally deprecating a function call
-
-This will display a deprecated message about "weirdfunction" being deprecated
-from "my-module" on STDERR when called with less than 2 arguments.
-
-```js
-var deprecate = require('depd')('my-cool-module')
-
-exports.weirdfunction = function () {
- if (arguments.length < 2) {
- // calls with 0 or 1 args are deprecated
- deprecate('weirdfunction args < 2')
- }
-}
-```
-
-When calling `deprecate` as a function, the warning is counted per call site
-within your own module, so you can display different deprecations depending
-on different situations and the users will still get all the warnings:
-
-```js
-var deprecate = require('depd')('my-cool-module')
-
-exports.weirdfunction = function () {
- if (arguments.length < 2) {
- // calls with 0 or 1 args are deprecated
- deprecate('weirdfunction args < 2')
- } else if (typeof arguments[0] !== 'string') {
- // calls with non-string first argument are deprecated
- deprecate('weirdfunction non-string first arg')
- }
-}
-```
-
-### Deprecating property access
-
-This will display a deprecated message about "oldprop" being deprecated
-from "my-module" on STDERR when accessed. A deprecation will be displayed
-when setting the value and when getting the value.
-
-```js
-var deprecate = require('depd')('my-cool-module')
-
-exports.oldprop = 'something'
-
-// message automatically derives from property name
-deprecate.property(exports, 'oldprop')
-
-// explicit message
-deprecate.property(exports, 'oldprop', 'oldprop >= 0.10')
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-version-image]: https://img.shields.io/npm/v/depd.svg
-[npm-downloads-image]: https://img.shields.io/npm/dm/depd.svg
-[npm-url]: https://npmjs.org/package/depd
-[travis-image]: https://img.shields.io/travis/dougwilson/nodejs-depd/master.svg?label=linux
-[travis-url]: https://travis-ci.org/dougwilson/nodejs-depd
-[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/nodejs-depd/master.svg?label=windows
-[appveyor-url]: https://ci.appveyor.com/project/dougwilson/nodejs-depd
-[coveralls-image]: https://img.shields.io/coveralls/dougwilson/nodejs-depd/master.svg
-[coveralls-url]: https://coveralls.io/r/dougwilson/nodejs-depd?branch=master
-[node-image]: https://img.shields.io/node/v/depd.svg
-[node-url]: https://nodejs.org/en/download/
diff --git a/Server/node_modules/depd/index.js b/Server/node_modules/depd/index.js
deleted file mode 100644
index d758d3c..0000000
--- a/Server/node_modules/depd/index.js
+++ /dev/null
@@ -1,522 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2014-2017 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module dependencies.
- */
-
-var callSiteToString = require('./lib/compat').callSiteToString
-var eventListenerCount = require('./lib/compat').eventListenerCount
-var relative = require('path').relative
-
-/**
- * Module exports.
- */
-
-module.exports = depd
-
-/**
- * Get the path to base files on.
- */
-
-var basePath = process.cwd()
-
-/**
- * Determine if namespace is contained in the string.
- */
-
-function containsNamespace (str, namespace) {
- var vals = str.split(/[ ,]+/)
- var ns = String(namespace).toLowerCase()
-
- for (var i = 0; i < vals.length; i++) {
- var val = vals[i]
-
- // namespace contained
- if (val && (val === '*' || val.toLowerCase() === ns)) {
- return true
- }
- }
-
- return false
-}
-
-/**
- * Convert a data descriptor to accessor descriptor.
- */
-
-function convertDataDescriptorToAccessor (obj, prop, message) {
- var descriptor = Object.getOwnPropertyDescriptor(obj, prop)
- var value = descriptor.value
-
- descriptor.get = function getter () { return value }
-
- if (descriptor.writable) {
- descriptor.set = function setter (val) { return (value = val) }
- }
-
- delete descriptor.value
- delete descriptor.writable
-
- Object.defineProperty(obj, prop, descriptor)
-
- return descriptor
-}
-
-/**
- * Create arguments string to keep arity.
- */
-
-function createArgumentsString (arity) {
- var str = ''
-
- for (var i = 0; i < arity; i++) {
- str += ', arg' + i
- }
-
- return str.substr(2)
-}
-
-/**
- * Create stack string from stack.
- */
-
-function createStackString (stack) {
- var str = this.name + ': ' + this.namespace
-
- if (this.message) {
- str += ' deprecated ' + this.message
- }
-
- for (var i = 0; i < stack.length; i++) {
- str += '\n at ' + callSiteToString(stack[i])
- }
-
- return str
-}
-
-/**
- * Create deprecate for namespace in caller.
- */
-
-function depd (namespace) {
- if (!namespace) {
- throw new TypeError('argument namespace is required')
- }
-
- var stack = getStack()
- var site = callSiteLocation(stack[1])
- var file = site[0]
-
- function deprecate (message) {
- // call to self as log
- log.call(deprecate, message)
- }
-
- deprecate._file = file
- deprecate._ignored = isignored(namespace)
- deprecate._namespace = namespace
- deprecate._traced = istraced(namespace)
- deprecate._warned = Object.create(null)
-
- deprecate.function = wrapfunction
- deprecate.property = wrapproperty
-
- return deprecate
-}
-
-/**
- * Determine if namespace is ignored.
- */
-
-function isignored (namespace) {
- /* istanbul ignore next: tested in a child processs */
- if (process.noDeprecation) {
- // --no-deprecation support
- return true
- }
-
- var str = process.env.NO_DEPRECATION || ''
-
- // namespace ignored
- return containsNamespace(str, namespace)
-}
-
-/**
- * Determine if namespace is traced.
- */
-
-function istraced (namespace) {
- /* istanbul ignore next: tested in a child processs */
- if (process.traceDeprecation) {
- // --trace-deprecation support
- return true
- }
-
- var str = process.env.TRACE_DEPRECATION || ''
-
- // namespace traced
- return containsNamespace(str, namespace)
-}
-
-/**
- * Display deprecation message.
- */
-
-function log (message, site) {
- var haslisteners = eventListenerCount(process, 'deprecation') !== 0
-
- // abort early if no destination
- if (!haslisteners && this._ignored) {
- return
- }
-
- var caller
- var callFile
- var callSite
- var depSite
- var i = 0
- var seen = false
- var stack = getStack()
- var file = this._file
-
- if (site) {
- // provided site
- depSite = site
- callSite = callSiteLocation(stack[1])
- callSite.name = depSite.name
- file = callSite[0]
- } else {
- // get call site
- i = 2
- depSite = callSiteLocation(stack[i])
- callSite = depSite
- }
-
- // get caller of deprecated thing in relation to file
- for (; i < stack.length; i++) {
- caller = callSiteLocation(stack[i])
- callFile = caller[0]
-
- if (callFile === file) {
- seen = true
- } else if (callFile === this._file) {
- file = this._file
- } else if (seen) {
- break
- }
- }
-
- var key = caller
- ? depSite.join(':') + '__' + caller.join(':')
- : undefined
-
- if (key !== undefined && key in this._warned) {
- // already warned
- return
- }
-
- this._warned[key] = true
-
- // generate automatic message from call site
- var msg = message
- if (!msg) {
- msg = callSite === depSite || !callSite.name
- ? defaultMessage(depSite)
- : defaultMessage(callSite)
- }
-
- // emit deprecation if listeners exist
- if (haslisteners) {
- var err = DeprecationError(this._namespace, msg, stack.slice(i))
- process.emit('deprecation', err)
- return
- }
-
- // format and write message
- var format = process.stderr.isTTY
- ? formatColor
- : formatPlain
- var output = format.call(this, msg, caller, stack.slice(i))
- process.stderr.write(output + '\n', 'utf8')
-}
-
-/**
- * Get call site location as array.
- */
-
-function callSiteLocation (callSite) {
- var file = callSite.getFileName() || '<anonymous>'
- var line = callSite.getLineNumber()
- var colm = callSite.getColumnNumber()
-
- if (callSite.isEval()) {
- file = callSite.getEvalOrigin() + ', ' + file
- }
-
- var site = [file, line, colm]
-
- site.callSite = callSite
- site.name = callSite.getFunctionName()
-
- return site
-}
-
-/**
- * Generate a default message from the site.
- */
-
-function defaultMessage (site) {
- var callSite = site.callSite
- var funcName = site.name
-
- // make useful anonymous name
- if (!funcName) {
- funcName = '<anonymous@' + formatLocation(site) + '>'
- }
-
- var context = callSite.getThis()
- var typeName = context && callSite.getTypeName()
-
- // ignore useless type name
- if (typeName === 'Object') {
- typeName = undefined
- }
-
- // make useful type name
- if (typeName === 'Function') {
- typeName = context.name || typeName
- }
-
- return typeName && callSite.getMethodName()
- ? typeName + '.' + funcName
- : funcName
-}
-
-/**
- * Format deprecation message without color.
- */
-
-function formatPlain (msg, caller, stack) {
- var timestamp = new Date().toUTCString()
-
- var formatted = timestamp +
- ' ' + this._namespace +
- ' deprecated ' + msg
-
- // add stack trace
- if (this._traced) {
- for (var i = 0; i < stack.length; i++) {
- formatted += '\n at ' + callSiteToString(stack[i])
- }
-
- return formatted
- }
-
- if (caller) {
- formatted += ' at ' + formatLocation(caller)
- }
-
- return formatted
-}
-
-/**
- * Format deprecation message with color.
- */
-
-function formatColor (msg, caller, stack) {
- var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' + // bold cyan
- ' \x1b[33;1mdeprecated\x1b[22;39m' + // bold yellow
- ' \x1b[0m' + msg + '\x1b[39m' // reset
-
- // add stack trace
- if (this._traced) {
- for (var i = 0; i < stack.length; i++) {
- formatted += '\n \x1b[36mat ' + callSiteToString(stack[i]) + '\x1b[39m' // cyan
- }
-
- return formatted
- }
-
- if (caller) {
- formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan
- }
-
- return formatted
-}
-
-/**
- * Format call site location.
- */
-
-function formatLocation (callSite) {
- return relative(basePath, callSite[0]) +
- ':' + callSite[1] +
- ':' + callSite[2]
-}
-
-/**
- * Get the stack as array of call sites.
- */
-
-function getStack () {
- var limit = Error.stackTraceLimit
- var obj = {}
- var prep = Error.prepareStackTrace
-
- Error.prepareStackTrace = prepareObjectStackTrace
- Error.stackTraceLimit = Math.max(10, limit)
-
- // capture the stack
- Error.captureStackTrace(obj)
-
- // slice this function off the top
- var stack = obj.stack.slice(1)
-
- Error.prepareStackTrace = prep
- Error.stackTraceLimit = limit
-
- return stack
-}
-
-/**
- * Capture call site stack from v8.
- */
-
-function prepareObjectStackTrace (obj, stack) {
- return stack
-}
-
-/**
- * Return a wrapped function in a deprecation message.
- */
-
-function wrapfunction (fn, message) {
- if (typeof fn !== 'function') {
- throw new TypeError('argument fn must be a function')
- }
-
- var args = createArgumentsString(fn.length)
- var deprecate = this // eslint-disable-line no-unused-vars
- var stack = getStack()
- var site = callSiteLocation(stack[1])
-
- site.name = fn.name
-
- // eslint-disable-next-line no-eval
- var deprecatedfn = eval('(function (' + args + ') {\n' +
- '"use strict"\n' +
- 'log.call(deprecate, message, site)\n' +
- 'return fn.apply(this, arguments)\n' +
- '})')
-
- return deprecatedfn
-}
-
-/**
- * Wrap property in a deprecation message.
- */
-
-function wrapproperty (obj, prop, message) {
- if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
- throw new TypeError('argument obj must be object')
- }
-
- var descriptor = Object.getOwnPropertyDescriptor(obj, prop)
-
- if (!descriptor) {
- throw new TypeError('must call property on owner object')
- }
-
- if (!descriptor.configurable) {
- throw new TypeError('property must be configurable')
- }
-
- var deprecate = this
- var stack = getStack()
- var site = callSiteLocation(stack[1])
-
- // set site name
- site.name = prop
-
- // convert data descriptor
- if ('value' in descriptor) {
- descriptor = convertDataDescriptorToAccessor(obj, prop, message)
- }
-
- var get = descriptor.get
- var set = descriptor.set
-
- // wrap getter
- if (typeof get === 'function') {
- descriptor.get = function getter () {
- log.call(deprecate, message, site)
- return get.apply(this, arguments)
- }
- }
-
- // wrap setter
- if (typeof set === 'function') {
- descriptor.set = function setter () {
- log.call(deprecate, message, site)
- return set.apply(this, arguments)
- }
- }
-
- Object.defineProperty(obj, prop, descriptor)
-}
-
-/**
- * Create DeprecationError for deprecation
- */
-
-function DeprecationError (namespace, message, stack) {
- var error = new Error()
- var stackString
-
- Object.defineProperty(error, 'constructor', {
- value: DeprecationError
- })
-
- Object.defineProperty(error, 'message', {
- configurable: true,
- enumerable: false,
- value: message,
- writable: true
- })
-
- Object.defineProperty(error, 'name', {
- enumerable: false,
- configurable: true,
- value: 'DeprecationError',
- writable: true
- })
-
- Object.defineProperty(error, 'namespace', {
- configurable: true,
- enumerable: false,
- value: namespace,
- writable: true
- })
-
- Object.defineProperty(error, 'stack', {
- configurable: true,
- enumerable: false,
- get: function () {
- if (stackString !== undefined) {
- return stackString
- }
-
- // prepare stack trace
- return (stackString = createStackString.call(this, stack))
- },
- set: function setter (val) {
- stackString = val
- }
- })
-
- return error
-}
diff --git a/Server/node_modules/depd/lib/browser/index.js b/Server/node_modules/depd/lib/browser/index.js
deleted file mode 100644
index 6be45cc..0000000
--- a/Server/node_modules/depd/lib/browser/index.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = depd
-
-/**
- * Create deprecate for namespace in caller.
- */
-
-function depd (namespace) {
- if (!namespace) {
- throw new TypeError('argument namespace is required')
- }
-
- function deprecate (message) {
- // no-op in browser
- }
-
- deprecate._file = undefined
- deprecate._ignored = true
- deprecate._namespace = namespace
- deprecate._traced = false
- deprecate._warned = Object.create(null)
-
- deprecate.function = wrapfunction
- deprecate.property = wrapproperty
-
- return deprecate
-}
-
-/**
- * Return a wrapped function in a deprecation message.
- *
- * This is a no-op version of the wrapper, which does nothing but call
- * validation.
- */
-
-function wrapfunction (fn, message) {
- if (typeof fn !== 'function') {
- throw new TypeError('argument fn must be a function')
- }
-
- return fn
-}
-
-/**
- * Wrap property in a deprecation message.
- *
- * This is a no-op version of the wrapper, which does nothing but call
- * validation.
- */
-
-function wrapproperty (obj, prop, message) {
- if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
- throw new TypeError('argument obj must be object')
- }
-
- var descriptor = Object.getOwnPropertyDescriptor(obj, prop)
-
- if (!descriptor) {
- throw new TypeError('must call property on owner object')
- }
-
- if (!descriptor.configurable) {
- throw new TypeError('property must be configurable')
- }
-}
diff --git a/Server/node_modules/depd/lib/compat/callsite-tostring.js b/Server/node_modules/depd/lib/compat/callsite-tostring.js
deleted file mode 100644
index 73186dc..0000000
--- a/Server/node_modules/depd/lib/compat/callsite-tostring.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- */
-
-module.exports = callSiteToString
-
-/**
- * Format a CallSite file location to a string.
- */
-
-function callSiteFileLocation (callSite) {
- var fileName
- var fileLocation = ''
-
- if (callSite.isNative()) {
- fileLocation = 'native'
- } else if (callSite.isEval()) {
- fileName = callSite.getScriptNameOrSourceURL()
- if (!fileName) {
- fileLocation = callSite.getEvalOrigin()
- }
- } else {
- fileName = callSite.getFileName()
- }
-
- if (fileName) {
- fileLocation += fileName
-
- var lineNumber = callSite.getLineNumber()
- if (lineNumber != null) {
- fileLocation += ':' + lineNumber
-
- var columnNumber = callSite.getColumnNumber()
- if (columnNumber) {
- fileLocation += ':' + columnNumber
- }
- }
- }
-
- return fileLocation || 'unknown source'
-}
-
-/**
- * Format a CallSite to a string.
- */
-
-function callSiteToString (callSite) {
- var addSuffix = true
- var fileLocation = callSiteFileLocation(callSite)
- var functionName = callSite.getFunctionName()
- var isConstructor = callSite.isConstructor()
- var isMethodCall = !(callSite.isToplevel() || isConstructor)
- var line = ''
-
- if (isMethodCall) {
- var methodName = callSite.getMethodName()
- var typeName = getConstructorName(callSite)
-
- if (functionName) {
- if (typeName && functionName.indexOf(typeName) !== 0) {
- line += typeName + '.'
- }
-
- line += functionName
-
- if (methodName && functionName.lastIndexOf('.' + methodName) !== functionName.length - methodName.length - 1) {
- line += ' [as ' + methodName + ']'
- }
- } else {
- line += typeName + '.' + (methodName || '<anonymous>')
- }
- } else if (isConstructor) {
- line += 'new ' + (functionName || '<anonymous>')
- } else if (functionName) {
- line += functionName
- } else {
- addSuffix = false
- line += fileLocation
- }
-
- if (addSuffix) {
- line += ' (' + fileLocation + ')'
- }
-
- return line
-}
-
-/**
- * Get constructor name of reviver.
- */
-
-function getConstructorName (obj) {
- var receiver = obj.receiver
- return (receiver.constructor && receiver.constructor.name) || null
-}
diff --git a/Server/node_modules/depd/lib/compat/event-listener-count.js b/Server/node_modules/depd/lib/compat/event-listener-count.js
deleted file mode 100644
index 3a8925d..0000000
--- a/Server/node_modules/depd/lib/compat/event-listener-count.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = eventListenerCount
-
-/**
- * Get the count of listeners on an event emitter of a specific type.
- */
-
-function eventListenerCount (emitter, type) {
- return emitter.listeners(type).length
-}
diff --git a/Server/node_modules/depd/lib/compat/index.js b/Server/node_modules/depd/lib/compat/index.js
deleted file mode 100644
index 955b333..0000000
--- a/Server/node_modules/depd/lib/compat/index.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/*!
- * depd
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var EventEmitter = require('events').EventEmitter
-
-/**
- * Module exports.
- * @public
- */
-
-lazyProperty(module.exports, 'callSiteToString', function callSiteToString () {
- var limit = Error.stackTraceLimit
- var obj = {}
- var prep = Error.prepareStackTrace
-
- function prepareObjectStackTrace (obj, stack) {
- return stack
- }
-
- Error.prepareStackTrace = prepareObjectStackTrace
- Error.stackTraceLimit = 2
-
- // capture the stack
- Error.captureStackTrace(obj)
-
- // slice the stack
- var stack = obj.stack.slice()
-
- Error.prepareStackTrace = prep
- Error.stackTraceLimit = limit
-
- return stack[0].toString ? toString : require('./callsite-tostring')
-})
-
-lazyProperty(module.exports, 'eventListenerCount', function eventListenerCount () {
- return EventEmitter.listenerCount || require('./event-listener-count')
-})
-
-/**
- * Define a lazy property.
- */
-
-function lazyProperty (obj, prop, getter) {
- function get () {
- var val = getter()
-
- Object.defineProperty(obj, prop, {
- configurable: true,
- enumerable: true,
- value: val
- })
-
- return val
- }
-
- Object.defineProperty(obj, prop, {
- configurable: true,
- enumerable: true,
- get: get
- })
-}
-
-/**
- * Call toString() on the obj
- */
-
-function toString (obj) {
- return obj.toString()
-}
diff --git a/Server/node_modules/depd/package.json b/Server/node_modules/depd/package.json
deleted file mode 100644
index 82e3a57..0000000
--- a/Server/node_modules/depd/package.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "_from": "depd@~1.1.2",
- "_id": "depd@1.1.2",
- "_inBundle": false,
- "_integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=",
- "_location": "/depd",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "depd@~1.1.2",
- "name": "depd",
- "escapedName": "depd",
- "rawSpec": "~1.1.2",
- "saveSpec": null,
- "fetchSpec": "~1.1.2"
- },
- "_requiredBy": [
- "/body-parser",
- "/express",
- "/http-errors",
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
- "_shasum": "9bcd52e14c097763e749b274c4346ed2e560b5a9",
- "_spec": "depd@~1.1.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "browser": "lib/browser/index.js",
- "bugs": {
- "url": "https://github.com/dougwilson/nodejs-depd/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Deprecate all the things",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "eslint": "3.19.0",
- "eslint-config-standard": "7.1.0",
- "eslint-plugin-markdown": "1.0.0-beta.7",
- "eslint-plugin-promise": "3.6.0",
- "eslint-plugin-standard": "3.0.1",
- "istanbul": "0.4.5",
- "mocha": "~1.21.5"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "lib/",
- "History.md",
- "LICENSE",
- "index.js",
- "Readme.md"
- ],
- "homepage": "https://github.com/dougwilson/nodejs-depd#readme",
- "keywords": [
- "deprecate",
- "deprecated"
- ],
- "license": "MIT",
- "name": "depd",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/dougwilson/nodejs-depd.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail test/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --no-exit test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/"
- },
- "version": "1.1.2"
-}
diff --git a/Server/node_modules/destroy/LICENSE b/Server/node_modules/destroy/LICENSE
deleted file mode 100644
index a7ae8ee..0000000
--- a/Server/node_modules/destroy/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-
-The MIT License (MIT)
-
-Copyright (c) 2014 Jonathan Ong me@jongleberry.com
-
-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.
diff --git a/Server/node_modules/destroy/README.md b/Server/node_modules/destroy/README.md
deleted file mode 100644
index 6474bc3..0000000
--- a/Server/node_modules/destroy/README.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# Destroy
-
-[![NPM version][npm-image]][npm-url]
-[![Build status][travis-image]][travis-url]
-[![Test coverage][coveralls-image]][coveralls-url]
-[![License][license-image]][license-url]
-[![Downloads][downloads-image]][downloads-url]
-[![Gittip][gittip-image]][gittip-url]
-
-Destroy a stream.
-
-This module is meant to ensure a stream gets destroyed, handling different APIs
-and Node.js bugs.
-
-## API
-
-```js
-var destroy = require('destroy')
-```
-
-### destroy(stream)
-
-Destroy the given stream. In most cases, this is identical to a simple
-`stream.destroy()` call. The rules are as follows for a given stream:
-
- 1. If the `stream` is an instance of `ReadStream`, then call `stream.destroy()`
- and add a listener to the `open` event to call `stream.close()` if it is
- fired. This is for a Node.js bug that will leak a file descriptor if
- `.destroy()` is called before `open`.
- 2. If the `stream` is not an instance of `Stream`, then nothing happens.
- 3. If the `stream` has a `.destroy()` method, then call it.
-
-The function returns the `stream` passed in as the argument.
-
-## Example
-
-```js
-var destroy = require('destroy')
-
-var fs = require('fs')
-var stream = fs.createReadStream('package.json')
-
-// ... and later
-destroy(stream)
-```
-
-[npm-image]: https://img.shields.io/npm/v/destroy.svg?style=flat-square
-[npm-url]: https://npmjs.org/package/destroy
-[github-tag]: http://img.shields.io/github/tag/stream-utils/destroy.svg?style=flat-square
-[github-url]: https://github.com/stream-utils/destroy/tags
-[travis-image]: https://img.shields.io/travis/stream-utils/destroy.svg?style=flat-square
-[travis-url]: https://travis-ci.org/stream-utils/destroy
-[coveralls-image]: https://img.shields.io/coveralls/stream-utils/destroy.svg?style=flat-square
-[coveralls-url]: https://coveralls.io/r/stream-utils/destroy?branch=master
-[license-image]: http://img.shields.io/npm/l/destroy.svg?style=flat-square
-[license-url]: LICENSE.md
-[downloads-image]: http://img.shields.io/npm/dm/destroy.svg?style=flat-square
-[downloads-url]: https://npmjs.org/package/destroy
-[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square
-[gittip-url]: https://www.gittip.com/jonathanong/
diff --git a/Server/node_modules/destroy/index.js b/Server/node_modules/destroy/index.js
deleted file mode 100644
index 6da2d26..0000000
--- a/Server/node_modules/destroy/index.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/*!
- * destroy
- * Copyright(c) 2014 Jonathan Ong
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var ReadStream = require('fs').ReadStream
-var Stream = require('stream')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = destroy
-
-/**
- * Destroy a stream.
- *
- * @param {object} stream
- * @public
- */
-
-function destroy(stream) {
- if (stream instanceof ReadStream) {
- return destroyReadStream(stream)
- }
-
- if (!(stream instanceof Stream)) {
- return stream
- }
-
- if (typeof stream.destroy === 'function') {
- stream.destroy()
- }
-
- return stream
-}
-
-/**
- * Destroy a ReadStream.
- *
- * @param {object} stream
- * @private
- */
-
-function destroyReadStream(stream) {
- stream.destroy()
-
- if (typeof stream.close === 'function') {
- // node.js core bug work-around
- stream.on('open', onOpenClose)
- }
-
- return stream
-}
-
-/**
- * On open handler to close stream.
- * @private
- */
-
-function onOpenClose() {
- if (typeof this.fd === 'number') {
- // actually close down the fd
- this.close()
- }
-}
diff --git a/Server/node_modules/destroy/package.json b/Server/node_modules/destroy/package.json
deleted file mode 100644
index e86ad9d..0000000
--- a/Server/node_modules/destroy/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "_from": "destroy@~1.0.4",
- "_id": "destroy@1.0.4",
- "_inBundle": false,
- "_integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=",
- "_location": "/destroy",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "destroy@~1.0.4",
- "name": "destroy",
- "escapedName": "destroy",
- "rawSpec": "~1.0.4",
- "saveSpec": null,
- "fetchSpec": "~1.0.4"
- },
- "_requiredBy": [
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
- "_shasum": "978857442c44749e4206613e37946205826abd80",
- "_spec": "destroy@~1.0.4",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/send",
- "author": {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- "bugs": {
- "url": "https://github.com/stream-utils/destroy/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "deprecated": false,
- "description": "destroy a stream if possible",
- "devDependencies": {
- "istanbul": "0.4.2",
- "mocha": "2.3.4"
- },
- "files": [
- "index.js",
- "LICENSE"
- ],
- "homepage": "https://github.com/stream-utils/destroy#readme",
- "keywords": [
- "stream",
- "streams",
- "destroy",
- "cleanup",
- "leak",
- "fd"
- ],
- "license": "MIT",
- "name": "destroy",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/stream-utils/destroy.git"
- },
- "scripts": {
- "test": "mocha --reporter spec",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
- },
- "version": "1.0.4"
-}
diff --git a/Server/node_modules/dicer/.travis.yml b/Server/node_modules/dicer/.travis.yml
deleted file mode 100644
index 76a4d5b..0000000
--- a/Server/node_modules/dicer/.travis.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-sudo: false
-language: cpp
-notifications:
- email: false
-env:
- matrix:
- - TRAVIS_NODE_VERSION="4"
- - TRAVIS_NODE_VERSION="6"
- - TRAVIS_NODE_VERSION="8"
- - TRAVIS_NODE_VERSION="10"
-install:
- - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- - node --version
- - npm --version
- - npm install
-script: npm test
diff --git a/Server/node_modules/dicer/LICENSE b/Server/node_modules/dicer/LICENSE
deleted file mode 100644
index 290762e..0000000
--- a/Server/node_modules/dicer/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright Brian White. All rights reserved.
-
-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.
\ No newline at end of file
diff --git a/Server/node_modules/dicer/README.md b/Server/node_modules/dicer/README.md
deleted file mode 100644
index b462c99..0000000
--- a/Server/node_modules/dicer/README.md
+++ /dev/null
@@ -1,122 +0,0 @@
-
-Description
-===========
-
-A very fast streaming multipart parser for node.js.
-
-Benchmarks can be found [here](https://github.com/mscdex/dicer/wiki/Benchmarks).
-
-
-Requirements
-============
-
-* [node.js](http://nodejs.org/) -- v4.5.0 or newer
-
-
-Install
-============
-
- npm install dicer
-
-
-Examples
-========
-
-* Parse an HTTP form upload
-
-```javascript
-var inspect = require('util').inspect,
- http = require('http');
-
-var Dicer = require('dicer');
-
- // quick and dirty way to parse multipart boundary
-var RE_BOUNDARY = /^multipart\/.+?(?:; boundary=(?:(?:"(.+)")|(?:([^\s]+))))$/i,
- HTML = Buffer.from('<html><head></head><body>\
- <form method="POST" enctype="multipart/form-data">\
- <input type="text" name="textfield"><br />\
- <input type="file" name="filefield"><br />\
- <input type="submit">\
- </form>\
- </body></html>'),
- PORT = 8080;
-
-http.createServer(function(req, res) {
- var m;
- if (req.method === 'POST'
- && req.headers['content-type']
- && (m = RE_BOUNDARY.exec(req.headers['content-type']))) {
- var d = new Dicer({ boundary: m[1] || m[2] });
-
- d.on('part', function(p) {
- console.log('New part!');
- p.on('header', function(header) {
- for (var h in header) {
- console.log('Part header: k: ' + inspect(h)
- + ', v: ' + inspect(header[h]));
- }
- });
- p.on('data', function(data) {
- console.log('Part data: ' + inspect(data.toString()));
- });
- p.on('end', function() {
- console.log('End of part\n');
- });
- });
- d.on('finish', function() {
- console.log('End of parts');
- res.writeHead(200);
- res.end('Form submission successful!');
- });
- req.pipe(d);
- } else if (req.method === 'GET' && req.url === '/') {
- res.writeHead(200);
- res.end(HTML);
- } else {
- res.writeHead(404);
- res.end();
- }
-}).listen(PORT, function() {
- console.log('Listening for requests on port ' + PORT);
-});
-```
-
-
-API
-===
-
-_Dicer_ is a _WritableStream_
-
-Dicer (special) events
-----------------------
-
-* **finish**() - Emitted when all parts have been parsed and the Dicer instance has been ended.
-
-* **part**(< _PartStream_ >stream) - Emitted when a new part has been found.
-
-* **preamble**(< _PartStream_ >stream) - Emitted for preamble if you should happen to need it (can usually be ignored).
-
-* **trailer**(< _Buffer_ >data) - Emitted when trailing data was found after the terminating boundary (as with the preamble, this can usually be ignored too).
-
-
-Dicer methods
--------------
-
-* **(constructor)**(< _object_ >config) - Creates and returns a new Dicer instance with the following valid `config` settings:
-
- * **boundary** - _string_ - This is the boundary used to detect the beginning of a new part.
-
- * **headerFirst** - _boolean_ - If true, preamble header parsing will be performed first.
-
- * **maxHeaderPairs** - _integer_ - The maximum number of header key=>value pairs to parse **Default:** 2000 (same as node's http).
-
-* **setBoundary**(< _string_ >boundary) - _(void)_ - Sets the boundary to use for parsing and performs some initialization needed for parsing. You should only need to use this if you set `headerFirst` to true in the constructor and are parsing the boundary from the preamble header.
-
-
-
-_PartStream_ is a _ReadableStream_
-
-PartStream (special) events
----------------------------
-
-* **header**(< _object_ >header) - An object containing the header for this particular part. Each property value is an _array_ of one or more string values.
diff --git a/Server/node_modules/dicer/bench/dicer-bench-multipart-parser.js b/Server/node_modules/dicer/bench/dicer-bench-multipart-parser.js
deleted file mode 100644
index d941a1c..0000000
--- a/Server/node_modules/dicer/bench/dicer-bench-multipart-parser.js
+++ /dev/null
@@ -1,63 +0,0 @@
-var assert = require('assert');
-var Dicer = require('..'),
- boundary = '-----------------------------168072824752491622650073',
- d = new Dicer({ boundary: boundary }),
- mb = 100,
- buffer = createMultipartBuffer(boundary, mb * 1024 * 1024),
- callbacks =
- { partBegin: -1,
- partEnd: -1,
- headerField: -1,
- headerValue: -1,
- partData: -1,
- end: -1,
- };
-
-
-d.on('part', function(p) {
- callbacks.partBegin++;
- p.on('header', function(header) {
- /*for (var h in header)
- console.log('Part header: k: ' + inspect(h) + ', v: ' + inspect(header[h]));*/
- });
- p.on('data', function(data) {
- callbacks.partData++;
- //console.log('Part data: ' + inspect(data.toString()));
- });
- p.on('end', function() {
- //console.log('End of part\n');
- callbacks.partEnd++;
- });
-});
-d.on('end', function() {
- //console.log('End of parts');
- callbacks.end++;
-});
-
-var start = +new Date(),
- nparsed = d.write(buffer),
- duration = +new Date - start,
- mbPerSec = (mb / (duration / 1000)).toFixed(2);
-
-console.log(mbPerSec+' mb/sec');
-
-//assert.equal(nparsed, buffer.length);
-
-function createMultipartBuffer(boundary, size) {
- var head =
- '--'+boundary+'\r\n'
- + 'content-disposition: form-data; name="field1"\r\n'
- + '\r\n'
- , tail = '\r\n--'+boundary+'--\r\n'
- , buffer = Buffer.allocUnsafe(size);
-
- buffer.write(head, 'ascii', 0);
- buffer.write(tail, 'ascii', buffer.length - tail.length);
- return buffer;
-}
-
-process.on('exit', function() {
- /*for (var k in callbacks) {
- assert.equal(0, callbacks[k], k+' count off by '+callbacks[k]);
- }*/
-});
diff --git a/Server/node_modules/dicer/bench/formidable-bench-multipart-parser.js b/Server/node_modules/dicer/bench/formidable-bench-multipart-parser.js
deleted file mode 100644
index 07e5449..0000000
--- a/Server/node_modules/dicer/bench/formidable-bench-multipart-parser.js
+++ /dev/null
@@ -1,70 +0,0 @@
-var assert = require('assert');
-require('../node_modules/formidable/test/common');
-var multipartParser = require('../node_modules/formidable/lib/multipart_parser'),
- MultipartParser = multipartParser.MultipartParser,
- parser = new MultipartParser(),
- boundary = '-----------------------------168072824752491622650073',
- mb = 100,
- buffer = createMultipartBuffer(boundary, mb * 1024 * 1024),
- callbacks =
- { partBegin: -1,
- partEnd: -1,
- headerField: -1,
- headerValue: -1,
- partData: -1,
- end: -1,
- };
-
-
-parser.initWithBoundary(boundary);
-parser.onHeaderField = function() {
- callbacks.headerField++;
-};
-
-parser.onHeaderValue = function() {
- callbacks.headerValue++;
-};
-
-parser.onPartBegin = function() {
- callbacks.partBegin++;
-};
-
-parser.onPartData = function() {
- callbacks.partData++;
-};
-
-parser.onPartEnd = function() {
- callbacks.partEnd++;
-};
-
-parser.onEnd = function() {
- callbacks.end++;
-};
-
-var start = +new Date(),
- nparsed = parser.write(buffer),
- duration = +new Date - start,
- mbPerSec = (mb / (duration / 1000)).toFixed(2);
-
-console.log(mbPerSec+' mb/sec');
-
-//assert.equal(nparsed, buffer.length);
-
-function createMultipartBuffer(boundary, size) {
- var head =
- '--'+boundary+'\r\n'
- + 'content-disposition: form-data; name="field1"\r\n'
- + '\r\n'
- , tail = '\r\n--'+boundary+'--\r\n'
- , buffer = Buffer.allocUnsafe(size);
-
- buffer.write(head, 'ascii', 0);
- buffer.write(tail, 'ascii', buffer.length - tail.length);
- return buffer;
-}
-
-process.on('exit', function() {
- /*for (var k in callbacks) {
- assert.equal(0, callbacks[k], k+' count off by '+callbacks[k]);
- }*/
-});
diff --git a/Server/node_modules/dicer/bench/multipartser-bench-multipart-parser.js b/Server/node_modules/dicer/bench/multipartser-bench-multipart-parser.js
deleted file mode 100644
index 9629fc9..0000000
--- a/Server/node_modules/dicer/bench/multipartser-bench-multipart-parser.js
+++ /dev/null
@@ -1,56 +0,0 @@
-var assert = require('assert');
-var multipartser = require('multipartser'),
- boundary = '-----------------------------168072824752491622650073',
- parser = multipartser(),
- mb = 100,
- buffer = createMultipartBuffer(boundary, mb * 1024 * 1024),
- callbacks =
- { partBegin: -1,
- partEnd: -1,
- headerField: -1,
- headerValue: -1,
- partData: -1,
- end: -1,
- };
-
-parser.boundary( boundary );
-
-parser.on( 'part', function ( part ) {
-});
-
-parser.on( 'end', function () {
- //console.log( 'completed parsing' );
-});
-
-parser.on( 'error', function ( error ) {
- console.error( error );
-});
-
-var start = +new Date(),
- nparsed = parser.data(buffer),
- nend = parser.end(),
- duration = +new Date - start,
- mbPerSec = (mb / (duration / 1000)).toFixed(2);
-
-console.log(mbPerSec+' mb/sec');
-
-//assert.equal(nparsed, buffer.length);
-
-function createMultipartBuffer(boundary, size) {
- var head =
- '--'+boundary+'\r\n'
- + 'content-disposition: form-data; name="field1"\r\n'
- + '\r\n'
- , tail = '\r\n--'+boundary+'--\r\n'
- , buffer = Buffer.allocUnsafe(size);
-
- buffer.write(head, 'ascii', 0);
- buffer.write(tail, 'ascii', buffer.length - tail.length);
- return buffer;
-}
-
-process.on('exit', function() {
- /*for (var k in callbacks) {
- assert.equal(0, callbacks[k], k+' count off by '+callbacks[k]);
- }*/
-});
diff --git a/Server/node_modules/dicer/bench/multiparty-bench-multipart-parser.js b/Server/node_modules/dicer/bench/multiparty-bench-multipart-parser.js
deleted file mode 100644
index da52651..0000000
--- a/Server/node_modules/dicer/bench/multiparty-bench-multipart-parser.js
+++ /dev/null
@@ -1,76 +0,0 @@
-var assert = require('assert'),
- Form = require('multiparty').Form,
- boundary = '-----------------------------168072824752491622650073',
- mb = 100,
- buffer = createMultipartBuffer(boundary, mb * 1024 * 1024),
- callbacks =
- { partBegin: -1,
- partEnd: -1,
- headerField: -1,
- headerValue: -1,
- partData: -1,
- end: -1,
- };
-
-var form = new Form({ boundary: boundary });
-
-hijack('onParseHeaderField', function() {
- callbacks.headerField++;
-});
-
-hijack('onParseHeaderValue', function() {
- callbacks.headerValue++;
-});
-
-hijack('onParsePartBegin', function() {
- callbacks.partBegin++;
-});
-
-hijack('onParsePartData', function() {
- callbacks.partData++;
-});
-
-hijack('onParsePartEnd', function() {
- callbacks.partEnd++;
-});
-
-form.on('finish', function() {
- callbacks.end++;
-});
-
-var start = new Date();
-form.write(buffer, function(err) {
- var duration = new Date() - start;
- assert.ifError(err);
- var mbPerSec = (mb / (duration / 1000)).toFixed(2);
- console.log(mbPerSec+' mb/sec');
-});
-
-//assert.equal(nparsed, buffer.length);
-
-function createMultipartBuffer(boundary, size) {
- var head =
- '--'+boundary+'\r\n'
- + 'content-disposition: form-data; name="field1"\r\n'
- + '\r\n'
- , tail = '\r\n--'+boundary+'--\r\n'
- , buffer = Buffer.allocUnsafe(size);
-
- buffer.write(head, 'ascii', 0);
- buffer.write(tail, 'ascii', buffer.length - tail.length);
- return buffer;
-}
-
-process.on('exit', function() {
- /*for (var k in callbacks) {
- assert.equal(0, callbacks[k], k+' count off by '+callbacks[k]);
- }*/
-});
-
-function hijack(name, fn) {
- var oldFn = form[name];
- form[name] = function() {
- fn();
- return oldFn.apply(this, arguments);
- };
-}
diff --git a/Server/node_modules/dicer/bench/parted-bench-multipart-parser.js b/Server/node_modules/dicer/bench/parted-bench-multipart-parser.js
deleted file mode 100644
index b031e30..0000000
--- a/Server/node_modules/dicer/bench/parted-bench-multipart-parser.js
+++ /dev/null
@@ -1,63 +0,0 @@
-// A special, edited version of the multipart parser from parted is needed here
-// because otherwise it attempts to do some things above and beyond just parsing
-// -- like saving to disk and whatnot
-
-var assert = require('assert');
-var Parser = require('./parted-multipart'),
- boundary = '-----------------------------168072824752491622650073',
- parser = new Parser('boundary=' + boundary),
- mb = 100,
- buffer = createMultipartBuffer(boundary, mb * 1024 * 1024),
- callbacks =
- { partBegin: -1,
- partEnd: -1,
- headerField: -1,
- headerValue: -1,
- partData: -1,
- end: -1,
- };
-
-
-parser.on('header', function() {
- //callbacks.headerField++;
-});
-
-parser.on('data', function() {
- //callbacks.partBegin++;
-});
-
-parser.on('part', function() {
-
-});
-
-parser.on('end', function() {
- //callbacks.end++;
-});
-
-var start = +new Date(),
- nparsed = parser.write(buffer),
- duration = +new Date - start,
- mbPerSec = (mb / (duration / 1000)).toFixed(2);
-
-console.log(mbPerSec+' mb/sec');
-
-//assert.equal(nparsed, buffer.length);
-
-function createMultipartBuffer(boundary, size) {
- var head =
- '--'+boundary+'\r\n'
- + 'content-disposition: form-data; name="field1"\r\n'
- + '\r\n'
- , tail = '\r\n--'+boundary+'--\r\n'
- , buffer = Buffer.allocUnsafe(size);
-
- buffer.write(head, 'ascii', 0);
- buffer.write(tail, 'ascii', buffer.length - tail.length);
- return buffer;
-}
-
-process.on('exit', function() {
- /*for (var k in callbacks) {
- assert.equal(0, callbacks[k], k+' count off by '+callbacks[k]);
- }*/
-});
diff --git a/Server/node_modules/dicer/bench/parted-multipart.js b/Server/node_modules/dicer/bench/parted-multipart.js
deleted file mode 100644
index 91add32..0000000
--- a/Server/node_modules/dicer/bench/parted-multipart.js
+++ /dev/null
@@ -1,485 +0,0 @@
-/**
- * Parted (https://github.com/chjj/parted)
- * A streaming multipart state parser.
- * Copyright (c) 2011, Christopher Jeffrey. (MIT Licensed)
- */
-
-var fs = require('fs')
- , path = require('path')
- , EventEmitter = require('events').EventEmitter
- , StringDecoder = require('string_decoder').StringDecoder
- , set = require('qs').set
- , each = Array.prototype.forEach;
-
-/**
- * Character Constants
- */
-
-var DASH = '-'.charCodeAt(0)
- , CR = '\r'.charCodeAt(0)
- , LF = '\n'.charCodeAt(0)
- , COLON = ':'.charCodeAt(0)
- , SPACE = ' '.charCodeAt(0);
-
-/**
- * Parser
- */
-
-var Parser = function(type, options) {
- if (!(this instanceof Parser)) {
- return new Parser(type, options);
- }
-
- EventEmitter.call(this);
-
- this.writable = true;
- this.readable = true;
-
- this.options = options || {};
-
- var key = grab(type, 'boundary');
- if (!key) {
- return this._error('No boundary key found.');
- }
-
- this.key = Buffer.allocUnsafe('\r\n--' + key);
-
- this._key = {};
- each.call(this.key, function(ch) {
- this._key[ch] = true;
- }, this);
-
- this.state = 'start';
- this.pending = 0;
- this.written = 0;
- this.writtenDisk = 0;
- this.buff = Buffer.allocUnsafe(200);
-
- this.preamble = true;
- this.epilogue = false;
-
- this._reset();
-};
-
-Parser.prototype.__proto__ = EventEmitter.prototype;
-
-/**
- * Parsing
- */
-
-Parser.prototype.write = function(data) {
- if (!this.writable
- || this.epilogue) return;
-
- try {
- this._parse(data);
- } catch (e) {
- this._error(e);
- }
-
- return true;
-};
-
-Parser.prototype.end = function(data) {
- if (!this.writable) return;
-
- if (data) this.write(data);
-
- if (!this.epilogue) {
- return this._error('Message underflow.');
- }
-
- return true;
-};
-
-Parser.prototype._parse = function(data) {
- var i = 0
- , len = data.length
- , buff = this.buff
- , key = this.key
- , ch
- , val
- , j;
-
- for (; i < len; i++) {
- if (this.pos >= 200) {
- return this._error('Potential buffer overflow.');
- }
-
- ch = data[i];
-
- switch (this.state) {
- case 'start':
- switch (ch) {
- case DASH:
- this.pos = 3;
- this.state = 'key';
- break;
- default:
- break;
- }
- break;
- case 'key':
- if (this.pos === key.length) {
- this.state = 'key_end';
- i--;
- } else if (ch !== key[this.pos]) {
- if (this.preamble) {
- this.state = 'start';
- i--;
- } else {
- this.state = 'body';
- val = this.pos - i;
- if (val > 0) {
- this._write(key.slice(0, val));
- }
- i--;
- }
- } else {
- this.pos++;
- }
- break;
- case 'key_end':
- switch (ch) {
- case CR:
- this.state = 'key_line_end';
- break;
- case DASH:
- this.state = 'key_dash_end';
- break;
- default:
- return this._error('Expected CR or DASH.');
- }
- break;
- case 'key_line_end':
- switch (ch) {
- case LF:
- if (this.preamble) {
- this.preamble = false;
- } else {
- this._finish();
- }
- this.state = 'header_name';
- this.pos = 0;
- break;
- default:
- return this._error('Expected CR.');
- }
- break;
- case 'key_dash_end':
- switch (ch) {
- case DASH:
- this.epilogue = true;
- this._finish();
- return;
- default:
- return this._error('Expected DASH.');
- }
- break;
- case 'header_name':
- switch (ch) {
- case COLON:
- this.header = buff.toString('ascii', 0, this.pos);
- this.pos = 0;
- this.state = 'header_val';
- break;
- default:
- buff[this.pos++] = ch | 32;
- break;
- }
- break;
- case 'header_val':
- switch (ch) {
- case CR:
- this.state = 'header_val_end';
- break;
- case SPACE:
- if (this.pos === 0) {
- break;
- }
- ; // FALL-THROUGH
- default:
- buff[this.pos++] = ch;
- break;
- }
- break;
- case 'header_val_end':
- switch (ch) {
- case LF:
- val = buff.toString('ascii', 0, this.pos);
- this._header(this.header, val);
- this.pos = 0;
- this.state = 'header_end';
- break;
- default:
- return this._error('Expected LF.');
- }
- break;
- case 'header_end':
- switch (ch) {
- case CR:
- this.state = 'head_end';
- break;
- default:
- this.state = 'header_name';
- i--;
- break;
- }
- break;
- case 'head_end':
- switch (ch) {
- case LF:
- this.state = 'body';
- i++;
- if (i >= len) return;
- data = data.slice(i);
- i = -1;
- len = data.length;
- break;
- default:
- return this._error('Expected LF.');
- }
- break;
- case 'body':
- switch (ch) {
- case CR:
- if (i > 0) {
- this._write(data.slice(0, i));
- }
- this.pos = 1;
- this.state = 'key';
- data = data.slice(i);
- i = 0;
- len = data.length;
- break;
- default:
- // boyer-moore-like algorithm
- // at felixge's suggestion
- while ((j = i + key.length - 1) < len) {
- if (this._key[data[j]]) break;
- i = j;
- }
- break;
- }
- break;
- }
- }
-
- if (this.state === 'body') {
- this._write(data);
- }
-};
-
-Parser.prototype._header = function(name, val) {
- /*if (name === 'content-disposition') {
- this.field = grab(val, 'name');
- this.file = grab(val, 'filename');
-
- if (this.file) {
- this.data = stream(this.file, this.options.path);
- } else {
- this.decode = new StringDecoder('utf8');
- this.data = '';
- }
- }*/
-
- return this.emit('header', name, val);
-};
-
-Parser.prototype._write = function(data) {
- /*if (this.data == null) {
- return this._error('No disposition.');
- }
-
- if (this.file) {
- this.data.write(data);
- this.writtenDisk += data.length;
- } else {
- this.data += this.decode.write(data);
- this.written += data.length;
- }*/
-
- this.emit('data', data);
-};
-
-Parser.prototype._reset = function() {
- this.pos = 0;
- this.decode = null;
- this.field = null;
- this.data = null;
- this.file = null;
- this.header = null;
-};
-
-Parser.prototype._error = function(err) {
- this.destroy();
- this.emit('error', typeof err === 'string'
- ? new Error(err)
- : err);
-};
-
-Parser.prototype.destroy = function(err) {
- this.writable = false;
- this.readable = false;
- this._reset();
-};
-
-Parser.prototype._finish = function() {
- var self = this
- , field = this.field
- , data = this.data
- , file = this.file
- , part;
-
- this.pending++;
-
- this._reset();
-
- if (data && data.path) {
- part = data.path;
- data.end(next);
- } else {
- part = data;
- next();
- }
-
- function next() {
- if (!self.readable) return;
-
- self.pending--;
-
- self.emit('part', field, part);
-
- if (data && data.path) {
- self.emit('file', field, part, file);
- }
-
- if (self.epilogue && !self.pending) {
- self.emit('end');
- self.destroy();
- }
- }
-};
-
-/**
- * Uploads
- */
-
-Parser.root = process.platform === 'win32'
- ? 'C:/Temp'
- : '/tmp';
-
-/**
- * Middleware
- */
-
-Parser.middleware = function(options) {
- options = options || {};
- return function(req, res, next) {
- if (options.ensureBody) {
- req.body = {};
- }
-
- if (req.method === 'GET'
- || req.method === 'HEAD'
- || req._multipart) return next();
-
- req._multipart = true;
-
- var type = req.headers['content-type'];
-
- if (type) type = type.split(';')[0].trim().toLowerCase();
-
- if (type === 'multipart/form-data') {
- Parser.handle(req, res, next, options);
- } else {
- next();
- }
- };
-};
-
-/**
- * Handler
- */
-
-Parser.handle = function(req, res, next, options) {
- var parser = new Parser(req.headers['content-type'], options)
- , diskLimit = options.diskLimit
- , limit = options.limit
- , parts = {}
- , files = {};
-
- parser.on('error', function(err) {
- req.destroy();
- next(err);
- });
-
- parser.on('part', function(field, part) {
- set(parts, field, part);
- });
-
- parser.on('file', function(field, path, name) {
- set(files, field, {
- path: path,
- name: name,
- toString: function() {
- return path;
- }
- });
- });
-
- parser.on('data', function() {
- if (this.writtenDisk > diskLimit || this.written > limit) {
- this.emit('error', new Error('Overflow.'));
- this.destroy();
- }
- });
-
- parser.on('end', next);
-
- req.body = parts;
- req.files = files;
- req.pipe(parser);
-};
-
-/**
- * Helpers
- */
-
-var isWindows = process.platform === 'win32';
-
-var stream = function(name, dir) {
- var ext = path.extname(name) || ''
- , name = path.basename(name, ext) || ''
- , dir = dir || Parser.root
- , tag;
-
- tag = Math.random().toString(36).substring(2);
-
- name = name.substring(0, 200) + '.' + tag;
- name = path.join(dir, name) + ext.substring(0, 6);
- name = name.replace(/\0/g, '');
-
- if (isWindows) {
- name = name.replace(/[:*<>|"?]/g, '');
- }
-
- return fs.createWriteStream(name);
-};
-
-var grab = function(str, name) {
- if (!str) return;
-
- var rx = new RegExp('\\b' + name + '\\s*=\\s*("[^"]+"|\'[^\']+\'|[^;,]+)', 'i')
- , cap = rx.exec(str);
-
- if (cap) {
- return cap[1].trim().replace(/^['"]|['"]$/g, '');
- }
-};
-
-/**
- * Expose
- */
-
-module.exports = Parser;
diff --git a/Server/node_modules/dicer/lib/Dicer.js b/Server/node_modules/dicer/lib/Dicer.js
deleted file mode 100644
index 9d580cb..0000000
--- a/Server/node_modules/dicer/lib/Dicer.js
+++ /dev/null
@@ -1,239 +0,0 @@
-var WritableStream = require('stream').Writable,
- inherits = require('util').inherits;
-
-var StreamSearch = require('streamsearch');
-
-var PartStream = require('./PartStream'),
- HeaderParser = require('./HeaderParser');
-
-var DASH = 45,
- B_ONEDASH = Buffer.from('-'),
- B_CRLF = Buffer.from('\r\n'),
- EMPTY_FN = function() {};
-
-function Dicer(cfg) {
- if (!(this instanceof Dicer))
- return new Dicer(cfg);
- WritableStream.call(this, cfg);
-
- if (!cfg || (!cfg.headerFirst && typeof cfg.boundary !== 'string'))
- throw new TypeError('Boundary required');
-
- if (typeof cfg.boundary === 'string')
- this.setBoundary(cfg.boundary);
- else
- this._bparser = undefined;
-
- this._headerFirst = cfg.headerFirst;
-
- var self = this;
-
- this._dashes = 0;
- this._parts = 0;
- this._finished = false;
- this._realFinish = false;
- this._isPreamble = true;
- this._justMatched = false;
- this._firstWrite = true;
- this._inHeader = true;
- this._part = undefined;
- this._cb = undefined;
- this._ignoreData = false;
- this._partOpts = (typeof cfg.partHwm === 'number'
- ? { highWaterMark: cfg.partHwm }
- : {});
- this._pause = false;
-
- this._hparser = new HeaderParser(cfg);
- this._hparser.on('header', function(header) {
- self._inHeader = false;
- self._part.emit('header', header);
- });
-
-}
-inherits(Dicer, WritableStream);
-
-Dicer.prototype.emit = function(ev) {
- if (ev === 'finish' && !this._realFinish) {
- if (!this._finished) {
- var self = this;
- process.nextTick(function() {
- self.emit('error', new Error('Unexpected end of multipart data'));
- if (self._part && !self._ignoreData) {
- var type = (self._isPreamble ? 'Preamble' : 'Part');
- self._part.emit('error', new Error(type + ' terminated early due to unexpected end of multipart data'));
- self._part.push(null);
- process.nextTick(function() {
- self._realFinish = true;
- self.emit('finish');
- self._realFinish = false;
- });
- return;
- }
- self._realFinish = true;
- self.emit('finish');
- self._realFinish = false;
- });
- }
- } else
- WritableStream.prototype.emit.apply(this, arguments);
-};
-
-Dicer.prototype._write = function(data, encoding, cb) {
- // ignore unexpected data (e.g. extra trailer data after finished)
- if (!this._hparser && !this._bparser)
- return cb();
-
- if (this._headerFirst && this._isPreamble) {
- if (!this._part) {
- this._part = new PartStream(this._partOpts);
- if (this._events.preamble)
- this.emit('preamble', this._part);
- else
- this._ignore();
- }
- var r = this._hparser.push(data);
- if (!this._inHeader && r !== undefined && r < data.length)
- data = data.slice(r);
- else
- return cb();
- }
-
- // allows for "easier" testing
- if (this._firstWrite) {
- this._bparser.push(B_CRLF);
- this._firstWrite = false;
- }
-
- this._bparser.push(data);
-
- if (this._pause)
- this._cb = cb;
- else
- cb();
-};
-
-Dicer.prototype.reset = function() {
- this._part = undefined;
- this._bparser = undefined;
- this._hparser = undefined;
-};
-
-Dicer.prototype.setBoundary = function(boundary) {
- var self = this;
- this._bparser = new StreamSearch('\r\n--' + boundary);
- this._bparser.on('info', function(isMatch, data, start, end) {
- self._oninfo(isMatch, data, start, end);
- });
-};
-
-Dicer.prototype._ignore = function() {
- if (this._part && !this._ignoreData) {
- this._ignoreData = true;
- this._part.on('error', EMPTY_FN);
- // we must perform some kind of read on the stream even though we are
- // ignoring the data, otherwise node's Readable stream will not emit 'end'
- // after pushing null to the stream
- this._part.resume();
- }
-};
-
-Dicer.prototype._oninfo = function(isMatch, data, start, end) {
- var buf, self = this, i = 0, r, ev, shouldWriteMore = true;
-
- if (!this._part && this._justMatched && data) {
- while (this._dashes < 2 && (start + i) < end) {
- if (data[start + i] === DASH) {
- ++i;
- ++this._dashes;
- } else {
- if (this._dashes)
- buf = B_ONEDASH;
- this._dashes = 0;
- break;
- }
- }
- if (this._dashes === 2) {
- if ((start + i) < end && this._events.trailer)
- this.emit('trailer', data.slice(start + i, end));
- this.reset();
- this._finished = true;
- // no more parts will be added
- if (self._parts === 0) {
- self._realFinish = true;
- self.emit('finish');
- self._realFinish = false;
- }
- }
- if (this._dashes)
- return;
- }
- if (this._justMatched)
- this._justMatched = false;
- if (!this._part) {
- this._part = new PartStream(this._partOpts);
- this._part._read = function(n) {
- self._unpause();
- };
- ev = this._isPreamble ? 'preamble' : 'part';
- if (this._events[ev])
- this.emit(ev, this._part);
- else
- this._ignore();
- if (!this._isPreamble)
- this._inHeader = true;
- }
- if (data && start < end && !this._ignoreData) {
- if (this._isPreamble || !this._inHeader) {
- if (buf)
- shouldWriteMore = this._part.push(buf);
- shouldWriteMore = this._part.push(data.slice(start, end));
- if (!shouldWriteMore)
- this._pause = true;
- } else if (!this._isPreamble && this._inHeader) {
- if (buf)
- this._hparser.push(buf);
- r = this._hparser.push(data.slice(start, end));
- if (!this._inHeader && r !== undefined && r < end)
- this._oninfo(false, data, start + r, end);
- }
- }
- if (isMatch) {
- this._hparser.reset();
- if (this._isPreamble)
- this._isPreamble = false;
- else {
- ++this._parts;
- this._part.on('end', function() {
- if (--self._parts === 0) {
- if (self._finished) {
- self._realFinish = true;
- self.emit('finish');
- self._realFinish = false;
- } else {
- self._unpause();
- }
- }
- });
- }
- this._part.push(null);
- this._part = undefined;
- this._ignoreData = false;
- this._justMatched = true;
- this._dashes = 0;
- }
-};
-
-Dicer.prototype._unpause = function() {
- if (!this._pause)
- return;
-
- this._pause = false;
- if (this._cb) {
- var cb = this._cb;
- this._cb = undefined;
- cb();
- }
-};
-
-module.exports = Dicer;
diff --git a/Server/node_modules/dicer/lib/HeaderParser.js b/Server/node_modules/dicer/lib/HeaderParser.js
deleted file mode 100644
index 8ccb6e5..0000000
--- a/Server/node_modules/dicer/lib/HeaderParser.js
+++ /dev/null
@@ -1,110 +0,0 @@
-var EventEmitter = require('events').EventEmitter,
- inherits = require('util').inherits;
-
-var StreamSearch = require('streamsearch');
-
-var B_DCRLF = Buffer.from('\r\n\r\n'),
- RE_CRLF = /\r\n/g,
- RE_HDR = /^([^:]+):[ \t]?([\x00-\xFF]+)?$/,
- MAX_HEADER_PAIRS = 2000, // from node's http.js
- MAX_HEADER_SIZE = 80 * 1024; // from node's http_parser
-
-function HeaderParser(cfg) {
- EventEmitter.call(this);
-
- var self = this;
- this.nread = 0;
- this.maxed = false;
- this.npairs = 0;
- this.maxHeaderPairs = (cfg && typeof cfg.maxHeaderPairs === 'number'
- ? cfg.maxHeaderPairs
- : MAX_HEADER_PAIRS);
- this.buffer = '';
- this.header = {};
- this.finished = false;
- this.ss = new StreamSearch(B_DCRLF);
- this.ss.on('info', function(isMatch, data, start, end) {
- if (data && !self.maxed) {
- if (self.nread + (end - start) > MAX_HEADER_SIZE) {
- end = (MAX_HEADER_SIZE - self.nread);
- self.nread = MAX_HEADER_SIZE;
- } else
- self.nread += (end - start);
-
- if (self.nread === MAX_HEADER_SIZE)
- self.maxed = true;
-
- self.buffer += data.toString('binary', start, end);
- }
- if (isMatch)
- self._finish();
- });
-}
-inherits(HeaderParser, EventEmitter);
-
-HeaderParser.prototype.push = function(data) {
- var r = this.ss.push(data);
- if (this.finished)
- return r;
-};
-
-HeaderParser.prototype.reset = function() {
- this.finished = false;
- this.buffer = '';
- this.header = {};
- this.ss.reset();
-};
-
-HeaderParser.prototype._finish = function() {
- if (this.buffer)
- this._parseHeader();
- this.ss.matches = this.ss.maxMatches;
- var header = this.header;
- this.header = {};
- this.buffer = '';
- this.finished = true;
- this.nread = this.npairs = 0;
- this.maxed = false;
- this.emit('header', header);
-};
-
-HeaderParser.prototype._parseHeader = function() {
- if (this.npairs === this.maxHeaderPairs)
- return;
-
- var lines = this.buffer.split(RE_CRLF), len = lines.length, m, h,
- modded = false;
-
- for (var i = 0; i < len; ++i) {
- if (lines[i].length === 0)
- continue;
- if (lines[i][0] === '\t' || lines[i][0] === ' ') {
- // folded header content
- // RFC2822 says to just remove the CRLF and not the whitespace following
- // it, so we follow the RFC and include the leading whitespace ...
- this.header[h][this.header[h].length - 1] += lines[i];
- } else {
- m = RE_HDR.exec(lines[i]);
- if (m) {
- h = m[1].toLowerCase();
- if (m[2]) {
- if (this.header[h] === undefined)
- this.header[h] = [m[2]];
- else
- this.header[h].push(m[2]);
- } else
- this.header[h] = [''];
- if (++this.npairs === this.maxHeaderPairs)
- break;
- } else {
- this.buffer = lines[i];
- modded = true;
- break;
- }
- }
- }
- if (!modded)
- this.buffer = '';
-};
-
-module.exports = HeaderParser;
diff --git a/Server/node_modules/dicer/lib/PartStream.js b/Server/node_modules/dicer/lib/PartStream.js
deleted file mode 100644
index b646ac0..0000000
--- a/Server/node_modules/dicer/lib/PartStream.js
+++ /dev/null
@@ -1,11 +0,0 @@
-var inherits = require('util').inherits,
- ReadableStream = require('stream').Readable;
-
-function PartStream(opts) {
- ReadableStream.call(this, opts);
-}
-inherits(PartStream, ReadableStream);
-
-PartStream.prototype._read = function(n) {};
-
-module.exports = PartStream;
diff --git a/Server/node_modules/dicer/package.json b/Server/node_modules/dicer/package.json
deleted file mode 100644
index 87abf78..0000000
--- a/Server/node_modules/dicer/package.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "_from": "dicer@0.3.0",
- "_id": "dicer@0.3.0",
- "_inBundle": false,
- "_integrity": "sha512-MdceRRWqltEG2dZqO769g27N/3PXfcKl04VhYnBlo2YhH7zPi88VebsjTKclaOyiuMaGU72hTfw3VkUitGcVCA==",
- "_location": "/dicer",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "dicer@0.3.0",
- "name": "dicer",
- "escapedName": "dicer",
- "rawSpec": "0.3.0",
- "saveSpec": null,
- "fetchSpec": "0.3.0"
- },
- "_requiredBy": [
- "/busboy"
- ],
- "_resolved": "https://registry.npmjs.org/dicer/-/dicer-0.3.0.tgz",
- "_shasum": "eacd98b3bfbf92e8ab5c2fdb71aaac44bb06b872",
- "_spec": "dicer@0.3.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/busboy",
- "author": {
- "name": "Brian White",
- "email": "mscdex@mscdex.net"
- },
- "bugs": {
- "url": "https://github.com/mscdex/dicer/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "streamsearch": "0.1.2"
- },
- "deprecated": false,
- "description": "A very fast streaming multipart parser for node.js",
- "engines": {
- "node": ">=4.5.0"
- },
- "homepage": "https://github.com/mscdex/dicer#readme",
- "keywords": [
- "parser",
- "parse",
- "parsing",
- "multipart",
- "form-data",
- "streaming"
- ],
- "licenses": [
- {
- "type": "MIT",
- "url": "http://github.com/mscdex/dicer/raw/master/LICENSE"
- }
- ],
- "main": "./lib/Dicer",
- "name": "dicer",
- "repository": {
- "type": "git",
- "url": "git+ssh://git@github.com/mscdex/dicer.git"
- },
- "scripts": {
- "test": "node test/test.js"
- },
- "version": "0.3.0"
-}
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/original b/Server/node_modules/dicer/test/fixtures/many-noend/original
deleted file mode 100644
index ad9f0cc..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/original
+++ /dev/null
@@ -1,31 +0,0 @@
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="_method"
-
-put
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[blog]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[public_email]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[interests]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[bio]"
-
-hello
-
-"quote"
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="commit"
-
-Save
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="media"; filename=""
-Content-Type: application/octet-stream
-
-
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part1 b/Server/node_modules/dicer/test/fixtures/many-noend/part1
deleted file mode 100644
index a232311..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part1
+++ /dev/null
@@ -1 +0,0 @@
-put
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part1.header b/Server/node_modules/dicer/test/fixtures/many-noend/part1.header
deleted file mode 100644
index 5e6bbe5..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part1.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"_method\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part2 b/Server/node_modules/dicer/test/fixtures/many-noend/part2
deleted file mode 100644
index e69de29..0000000
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part2.header b/Server/node_modules/dicer/test/fixtures/many-noend/part2.header
deleted file mode 100644
index 5b53966..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part2.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"profile[blog]\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part3 b/Server/node_modules/dicer/test/fixtures/many-noend/part3
deleted file mode 100644
index e69de29..0000000
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part3.header b/Server/node_modules/dicer/test/fixtures/many-noend/part3.header
deleted file mode 100644
index 579e16e..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part3.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"profile[public_email]\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part4 b/Server/node_modules/dicer/test/fixtures/many-noend/part4
deleted file mode 100644
index e69de29..0000000
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part4.header b/Server/node_modules/dicer/test/fixtures/many-noend/part4.header
deleted file mode 100644
index b41be09..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part4.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"profile[interests]\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part5 b/Server/node_modules/dicer/test/fixtures/many-noend/part5
deleted file mode 100644
index f2bb979..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part5
+++ /dev/null
@@ -1,3 +0,0 @@
-hello
-
-"quote"
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part5.header b/Server/node_modules/dicer/test/fixtures/many-noend/part5.header
deleted file mode 100644
index 92e417f..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part5.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"profile[bio]\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part6 b/Server/node_modules/dicer/test/fixtures/many-noend/part6
deleted file mode 100644
index f0f5479..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part6
+++ /dev/null
@@ -1 +0,0 @@
-Save
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part6.header b/Server/node_modules/dicer/test/fixtures/many-noend/part6.header
deleted file mode 100644
index 65a68a9..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part6.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"commit\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-noend/part7.header b/Server/node_modules/dicer/test/fixtures/many-noend/part7.header
deleted file mode 100644
index 25171e8..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-noend/part7.header
+++ /dev/null
@@ -1,2 +0,0 @@
-{"content-disposition": ["form-data; name=\"media\"; filename=\"\""],
- "content-type": ["application/octet-stream"]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-wrongboundary/original b/Server/node_modules/dicer/test/fixtures/many-wrongboundary/original
deleted file mode 100644
index 859770c..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-wrongboundary/original
+++ /dev/null
@@ -1,32 +0,0 @@
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="_method"
-
-put
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[blog]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[public_email]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[interests]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[bio]"
-
-hello
-
-"quote"
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="media"; filename=""
-Content-Type: application/octet-stream
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="commit"
-
-Save
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR--
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-wrongboundary/preamble b/Server/node_modules/dicer/test/fixtures/many-wrongboundary/preamble
deleted file mode 100644
index 6e4bcc6..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-wrongboundary/preamble
+++ /dev/null
@@ -1,33 +0,0 @@
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="_method"
-
-put
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[blog]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[public_email]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[interests]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[bio]"
-
-hello
-
-"quote"
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="media"; filename=""
-Content-Type: application/octet-stream
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="commit"
-
-Save
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR--
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many-wrongboundary/preamble.error b/Server/node_modules/dicer/test/fixtures/many-wrongboundary/preamble.error
deleted file mode 100644
index 15f4c89..0000000
--- a/Server/node_modules/dicer/test/fixtures/many-wrongboundary/preamble.error
+++ /dev/null
@@ -1 +0,0 @@
-Preamble terminated early due to unexpected end of multipart data
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/original b/Server/node_modules/dicer/test/fixtures/many/original
deleted file mode 100644
index 859770c..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/original
+++ /dev/null
@@ -1,32 +0,0 @@
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="_method"
-
-put
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[blog]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[public_email]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[interests]"
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="profile[bio]"
-
-hello
-
-"quote"
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="media"; filename=""
-Content-Type: application/octet-stream
-
-
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR
-Content-Disposition: form-data; name="commit"
-
-Save
-------WebKitFormBoundaryWLHCs9qmcJJoyjKR--
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part1 b/Server/node_modules/dicer/test/fixtures/many/part1
deleted file mode 100644
index a232311..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part1
+++ /dev/null
@@ -1 +0,0 @@
-put
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part1.header b/Server/node_modules/dicer/test/fixtures/many/part1.header
deleted file mode 100644
index 5e6bbe5..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part1.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"_method\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part2 b/Server/node_modules/dicer/test/fixtures/many/part2
deleted file mode 100644
index e69de29..0000000
diff --git a/Server/node_modules/dicer/test/fixtures/many/part2.header b/Server/node_modules/dicer/test/fixtures/many/part2.header
deleted file mode 100644
index 5b53966..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part2.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"profile[blog]\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part3 b/Server/node_modules/dicer/test/fixtures/many/part3
deleted file mode 100644
index e69de29..0000000
diff --git a/Server/node_modules/dicer/test/fixtures/many/part3.header b/Server/node_modules/dicer/test/fixtures/many/part3.header
deleted file mode 100644
index 579e16e..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part3.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"profile[public_email]\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part4 b/Server/node_modules/dicer/test/fixtures/many/part4
deleted file mode 100644
index e69de29..0000000
diff --git a/Server/node_modules/dicer/test/fixtures/many/part4.header b/Server/node_modules/dicer/test/fixtures/many/part4.header
deleted file mode 100644
index b41be09..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part4.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"profile[interests]\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part5 b/Server/node_modules/dicer/test/fixtures/many/part5
deleted file mode 100644
index f2bb979..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part5
+++ /dev/null
@@ -1,3 +0,0 @@
-hello
-
-"quote"
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part5.header b/Server/node_modules/dicer/test/fixtures/many/part5.header
deleted file mode 100644
index 92e417f..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part5.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"profile[bio]\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part6 b/Server/node_modules/dicer/test/fixtures/many/part6
deleted file mode 100644
index e69de29..0000000
diff --git a/Server/node_modules/dicer/test/fixtures/many/part6.header b/Server/node_modules/dicer/test/fixtures/many/part6.header
deleted file mode 100644
index 25171e8..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part6.header
+++ /dev/null
@@ -1,2 +0,0 @@
-{"content-disposition": ["form-data; name=\"media\"; filename=\"\""],
- "content-type": ["application/octet-stream"]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part7 b/Server/node_modules/dicer/test/fixtures/many/part7
deleted file mode 100644
index f0f5479..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part7
+++ /dev/null
@@ -1 +0,0 @@
-Save
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/many/part7.header b/Server/node_modules/dicer/test/fixtures/many/part7.header
deleted file mode 100644
index 65a68a9..0000000
--- a/Server/node_modules/dicer/test/fixtures/many/part7.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"commit\""]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested-full/original b/Server/node_modules/dicer/test/fixtures/nested-full/original
deleted file mode 100644
index 3044550..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested-full/original
+++ /dev/null
@@ -1,24 +0,0 @@
-User-Agent: foo bar baz
-Content-Type: multipart/form-data; boundary=AaB03x
-
---AaB03x
-Content-Disposition: form-data; name="foo"
-
-bar
---AaB03x
-Content-Disposition: form-data; name="files"
-Content-Type: multipart/mixed, boundary=BbC04y
-
---BbC04y
-Content-Disposition: attachment; filename="file.txt"
-Content-Type: text/plain
-
-contents
---BbC04y
-Content-Disposition: attachment; filename="flowers.jpg"
-Content-Type: image/jpeg
-Content-Transfer-Encoding: binary
-
-contents
---BbC04y--
---AaB03x--
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested-full/part1 b/Server/node_modules/dicer/test/fixtures/nested-full/part1
deleted file mode 100644
index ba0e162..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested-full/part1
+++ /dev/null
@@ -1 +0,0 @@
-bar
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested-full/part1.header b/Server/node_modules/dicer/test/fixtures/nested-full/part1.header
deleted file mode 100644
index 03bd093..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested-full/part1.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"foo\""]}
diff --git a/Server/node_modules/dicer/test/fixtures/nested-full/part2 b/Server/node_modules/dicer/test/fixtures/nested-full/part2
deleted file mode 100644
index 2d4deb5..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested-full/part2
+++ /dev/null
@@ -1,12 +0,0 @@
---BbC04y
-Content-Disposition: attachment; filename="file.txt"
-Content-Type: text/plain
-
-contents
---BbC04y
-Content-Disposition: attachment; filename="flowers.jpg"
-Content-Type: image/jpeg
-Content-Transfer-Encoding: binary
-
-contents
---BbC04y--
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested-full/part2.header b/Server/node_modules/dicer/test/fixtures/nested-full/part2.header
deleted file mode 100644
index bbe4513..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested-full/part2.header
+++ /dev/null
@@ -1,2 +0,0 @@
-{"content-disposition": ["form-data; name=\"files\""],
- "content-type": ["multipart/mixed, boundary=BbC04y"]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested-full/preamble.header b/Server/node_modules/dicer/test/fixtures/nested-full/preamble.header
deleted file mode 100644
index 2815341..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested-full/preamble.header
+++ /dev/null
@@ -1,2 +0,0 @@
-{"user-agent": ["foo bar baz"],
- "content-type": ["multipart/form-data; boundary=AaB03x"]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested/original b/Server/node_modules/dicer/test/fixtures/nested/original
deleted file mode 100644
index 380f451..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested/original
+++ /dev/null
@@ -1,21 +0,0 @@
---AaB03x
-Content-Disposition: form-data; name="foo"
-
-bar
---AaB03x
-Content-Disposition: form-data; name="files"
-Content-Type: multipart/mixed, boundary=BbC04y
-
---BbC04y
-Content-Disposition: attachment; filename="file.txt"
-Content-Type: text/plain
-
-contents
---BbC04y
-Content-Disposition: attachment; filename="flowers.jpg"
-Content-Type: image/jpeg
-Content-Transfer-Encoding: binary
-
-contents
---BbC04y--
---AaB03x--
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested/part1 b/Server/node_modules/dicer/test/fixtures/nested/part1
deleted file mode 100644
index ba0e162..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested/part1
+++ /dev/null
@@ -1 +0,0 @@
-bar
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested/part1.header b/Server/node_modules/dicer/test/fixtures/nested/part1.header
deleted file mode 100644
index 03bd093..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested/part1.header
+++ /dev/null
@@ -1 +0,0 @@
-{"content-disposition": ["form-data; name=\"foo\""]}
diff --git a/Server/node_modules/dicer/test/fixtures/nested/part2 b/Server/node_modules/dicer/test/fixtures/nested/part2
deleted file mode 100644
index 2d4deb5..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested/part2
+++ /dev/null
@@ -1,12 +0,0 @@
---BbC04y
-Content-Disposition: attachment; filename="file.txt"
-Content-Type: text/plain
-
-contents
---BbC04y
-Content-Disposition: attachment; filename="flowers.jpg"
-Content-Type: image/jpeg
-Content-Transfer-Encoding: binary
-
-contents
---BbC04y--
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/fixtures/nested/part2.header b/Server/node_modules/dicer/test/fixtures/nested/part2.header
deleted file mode 100644
index bbe4513..0000000
--- a/Server/node_modules/dicer/test/fixtures/nested/part2.header
+++ /dev/null
@@ -1,2 +0,0 @@
-{"content-disposition": ["form-data; name=\"files\""],
- "content-type": ["multipart/mixed, boundary=BbC04y"]}
\ No newline at end of file
diff --git a/Server/node_modules/dicer/test/test-endfinish.js b/Server/node_modules/dicer/test/test-endfinish.js
deleted file mode 100644
index 0ad3925..0000000
--- a/Server/node_modules/dicer/test/test-endfinish.js
+++ /dev/null
@@ -1,87 +0,0 @@
-var Dicer = require('..');
-var assert = require('assert');
-
-var CRLF = '\r\n';
-var boundary = 'boundary';
-
-var writeSep = '--' + boundary;
-
-var writePart = [
- writeSep,
- 'Content-Type: text/plain',
- 'Content-Length: 0'
- ].join(CRLF)
- + CRLF + CRLF
- + 'some data' + CRLF;
-
-var writeEnd = '--' + CRLF;
-
-var firedEnd = false;
-var firedFinish = false;
-
-var dicer = new Dicer({boundary: boundary});
-dicer.on('part', partListener);
-dicer.on('finish', finishListener);
-dicer.write(writePart+writeSep);
-
-function partListener(partReadStream) {
- partReadStream.on('data', function(){});
- partReadStream.on('end', partEndListener);
-}
-function partEndListener() {
- firedEnd = true;
- setImmediate(afterEnd);
-}
-function afterEnd() {
- dicer.end(writeEnd);
- setImmediate(afterWrite);
-}
-function finishListener() {
- assert(firedEnd, 'Failed to end before finishing');
- firedFinish = true;
- test2();
-}
-function afterWrite() {
- assert(firedFinish, 'Failed to finish');
-}
-
-var isPausePush = true;
-
-var firedPauseCallback = false;
-var firedPauseFinish = false;
-
-var dicer2 = null;
-
-function test2() {
- dicer2 = new Dicer({boundary: boundary});
- dicer2.on('part', pausePartListener);
- dicer2.on('finish', pauseFinish);
- dicer2.write(writePart+writeSep, 'utf8', pausePartCallback);
- setImmediate(pauseAfterWrite);
-}
-function pausePartListener(partReadStream) {
- partReadStream.on('data', function(){});
- partReadStream.on('end', function(){});
- var realPush = partReadStream.push;
- partReadStream.push = function fakePush() {
- realPush.apply(partReadStream, arguments);
- if (!isPausePush)
- return true;
- isPausePush = false;
- return false;
- };
-}
-function pauseAfterWrite() {
- dicer2.end(writeEnd);
- setImmediate(pauseAfterEnd);
-}
-function pauseAfterEnd() {
- assert(firedPauseCallback, 'Failed to call callback after pause');
- assert(firedPauseFinish, 'Failed to finish after pause');
-}
-function pauseFinish() {
- firedPauseFinish = true;
-}
-function pausePartCallback() {
- firedPauseCallback = true;
-}
diff --git a/Server/node_modules/dicer/test/test-headerparser.js b/Server/node_modules/dicer/test/test-headerparser.js
deleted file mode 100644
index 32ac2c4..0000000
--- a/Server/node_modules/dicer/test/test-headerparser.js
+++ /dev/null
@@ -1,68 +0,0 @@
-var assert = require('assert'),
- path = require('path');
-
-var HeaderParser = require('../lib/HeaderParser');
-
-var DCRLF = '\r\n\r\n',
- MAXED_BUFFER = Buffer.allocUnsafe(128 * 1024);
-MAXED_BUFFER.fill(0x41); // 'A'
-
-var group = path.basename(__filename, '.js') + '/';
-
-[
- { source: DCRLF,
- expected: {},
- what: 'No header'
- },
- { source: ['Content-Type:\t text/plain',
- 'Content-Length:0'
- ].join('\r\n') + DCRLF,
- expected: {'content-type': [' text/plain'], 'content-length': ['0']},
- what: 'Value spacing'
- },
- { source: ['Content-Type:\r\n text/plain',
- 'Foo:\r\n bar\r\n baz',
- ].join('\r\n') + DCRLF,
- expected: {'content-type': [' text/plain'], 'foo': [' bar baz']},
- what: 'Folded values'
- },
- { source: ['Content-Type:',
- 'Foo: ',
- ].join('\r\n') + DCRLF,
- expected: {'content-type': [''], 'foo': ['']},
- what: 'Empty values'
- },
- { source: MAXED_BUFFER.toString('ascii') + DCRLF,
- expected: {},
- what: 'Max header size (single chunk)'
- },
- { source: ['ABCDEFGHIJ', MAXED_BUFFER.toString('ascii'), DCRLF],
- expected: {},
- what: 'Max header size (multiple chunks #1)'
- },
- { source: [MAXED_BUFFER.toString('ascii'), MAXED_BUFFER.toString('ascii'), DCRLF],
- expected: {},
- what: 'Max header size (multiple chunk #2)'
- },
-].forEach(function(v) {
- var parser = new HeaderParser(),
- fired = false;
-
- parser.on('header', function(header) {
- assert(!fired, makeMsg(v.what, 'Header event fired more than once'));
- fired = true;
- assert.deepEqual(header,
- v.expected,
- makeMsg(v.what, 'Parsed result mismatch'));
- });
- if (!Array.isArray(v.source))
- v.source = [v.source];
- v.source.forEach(function(s) {
- parser.push(s);
- });
- assert(fired, makeMsg(v.what, 'Did not receive header from parser'));
-});
-
-function makeMsg(what, msg) {
- return '[' + group + what + ']: ' + msg;
-}
diff --git a/Server/node_modules/dicer/test/test-multipart-extra-trailer.js b/Server/node_modules/dicer/test/test-multipart-extra-trailer.js
deleted file mode 100644
index 62441ea..0000000
--- a/Server/node_modules/dicer/test/test-multipart-extra-trailer.js
+++ /dev/null
@@ -1,148 +0,0 @@
-var Dicer = require('..');
-var assert = require('assert'),
- fs = require('fs'),
- path = require('path'),
- inspect = require('util').inspect;
-
-var FIXTURES_ROOT = __dirname + '/fixtures/';
-
-var t = 0,
- group = path.basename(__filename, '.js') + '/';
-
-var tests = [
- { source: 'many',
- opts: { boundary: '----WebKitFormBoundaryWLHCs9qmcJJoyjKR' },
- chsize: 16,
- nparts: 7,
- what: 'Extra trailer data pushed after finished'
- },
-];
-
-function next() {
- if (t === tests.length)
- return;
- var v = tests[t],
- fixtureBase = FIXTURES_ROOT + v.source,
- fd,
- n = 0,
- buffer = Buffer.allocUnsafe(v.chsize),
- state = { parts: [] };
-
- fd = fs.openSync(fixtureBase + '/original', 'r');
-
- var dicer = new Dicer(v.opts),
- error,
- partErrors = 0,
- finishes = 0;
-
- dicer.on('part', function(p) {
- var part = {
- body: undefined,
- bodylen: 0,
- error: undefined,
- header: undefined
- };
-
- p.on('header', function(h) {
- part.header = h;
- }).on('data', function(data) {
- // make a copy because we are using readSync which re-uses a buffer ...
- var copy = Buffer.allocUnsafe(data.length);
- data.copy(copy);
- data = copy;
- if (!part.body)
- part.body = [ data ];
- else
- part.body.push(data);
- part.bodylen += data.length;
- }).on('error', function(err) {
- part.error = err;
- ++partErrors;
- }).on('end', function() {
- if (part.body)
- part.body = Buffer.concat(part.body, part.bodylen);
- state.parts.push(part);
- });
- }).on('error', function(err) {
- error = err;
- }).on('finish', function() {
- assert(finishes++ === 0, makeMsg(v.what, 'finish emitted multiple times'));
-
- if (v.dicerError)
- assert(error !== undefined, makeMsg(v.what, 'Expected error'));
- else
- assert(error === undefined, makeMsg(v.what, 'Unexpected error'));
-
- if (v.events && v.events.indexOf('part') > -1) {
- assert.equal(state.parts.length,
- v.nparts,
- makeMsg(v.what,
- 'Part count mismatch:\nActual: '
- + state.parts.length
- + '\nExpected: '
- + v.nparts));
-
- if (!v.npartErrors)
- v.npartErrors = 0;
- assert.equal(partErrors,
- v.npartErrors,
- makeMsg(v.what,
- 'Part errors mismatch:\nActual: '
- + partErrors
- + '\nExpected: '
- + v.npartErrors));
-
- for (var i = 0, header, body; i < v.nparts; ++i) {
- if (fs.existsSync(fixtureBase + '/part' + (i+1))) {
- body = fs.readFileSync(fixtureBase + '/part' + (i+1));
- if (body.length === 0)
- body = undefined;
- } else
- body = undefined;
- assert.deepEqual(state.parts[i].body,
- body,
- makeMsg(v.what,
- 'Part #' + (i+1) + ' body mismatch'));
- if (fs.existsSync(fixtureBase + '/part' + (i+1) + '.header')) {
- header = fs.readFileSync(fixtureBase
- + '/part' + (i+1) + '.header', 'binary');
- header = JSON.parse(header);
- } else
- header = undefined;
- assert.deepEqual(state.parts[i].header,
- header,
- makeMsg(v.what,
- 'Part #' + (i+1)
- + ' parsed header mismatch:\nActual: '
- + inspect(state.parts[i].header)
- + '\nExpected: '
- + inspect(header)));
- }
- }
- ++t;
- next();
- });
-
- while (true) {
- n = fs.readSync(fd, buffer, 0, buffer.length, null);
- if (n === 0) {
- setTimeout(function() {
- dicer.write('\r\n\r\n\r\n');
- dicer.end();
- }, 50);
- break;
- }
- dicer.write(n === buffer.length ? buffer : buffer.slice(0, n));
- }
- fs.closeSync(fd);
-}
-next();
-
-function makeMsg(what, msg) {
- return '[' + group + what + ']: ' + msg;
-}
-
-process.on('exit', function() {
- assert(t === tests.length,
- makeMsg('_exit', 'Only ran ' + t + '/' + tests.length + ' tests'));
-});
diff --git a/Server/node_modules/dicer/test/test-multipart-nolisteners.js b/Server/node_modules/dicer/test/test-multipart-nolisteners.js
deleted file mode 100644
index be30684..0000000
--- a/Server/node_modules/dicer/test/test-multipart-nolisteners.js
+++ /dev/null
@@ -1,228 +0,0 @@
-var Dicer = require('..');
-var assert = require('assert'),
- fs = require('fs'),
- path = require('path'),
- inspect = require('util').inspect;
-
-var FIXTURES_ROOT = __dirname + '/fixtures/';
-
-var t = 0,
- group = path.basename(__filename, '.js') + '/';
-
-var tests = [
- { source: 'many',
- opts: { boundary: '----WebKitFormBoundaryWLHCs9qmcJJoyjKR' },
- chsize: 16,
- nparts: 0,
- what: 'No preamble or part listeners'
- },
-];
-
-function next() {
- if (t === tests.length)
- return;
- var v = tests[t],
- fixtureBase = FIXTURES_ROOT + v.source,
- fd,
- n = 0,
- buffer = Buffer.allocUnsafe(v.chsize),
- state = { done: false, parts: [], preamble: undefined };
-
- fd = fs.openSync(fixtureBase + '/original', 'r');
-
- var dicer = new Dicer(v.opts),
- error,
- partErrors = 0,
- finishes = 0;
-
- if (v.events && v.events.indexOf('preamble') > -1) {
- dicer.on('preamble', function(p) {
- var preamble = {
- body: undefined,
- bodylen: 0,
- error: undefined,
- header: undefined
- };
-
- p.on('header', function(h) {
- preamble.header = h;
- }).on('data', function(data) {
- // make a copy because we are using readSync which re-uses a buffer ...
- var copy = Buffer.allocUnsafe(data.length);
- data.copy(copy);
- data = copy;
- if (!preamble.body)
- preamble.body = [ data ];
- else
- preamble.body.push(data);
- preamble.bodylen += data.length;
- }).on('error', function(err) {
- preamble.error = err;
- }).on('end', function() {
- if (preamble.body)
- preamble.body = Buffer.concat(preamble.body, preamble.bodylen);
- if (preamble.body || preamble.header)
- state.preamble = preamble;
- });
- });
- }
- if (v.events && v.events.indexOf('part') > -1) {
- dicer.on('part', function(p) {
- var part = {
- body: undefined,
- bodylen: 0,
- error: undefined,
- header: undefined
- };
-
- p.on('header', function(h) {
- part.header = h;
- }).on('data', function(data) {
- // make a copy because we are using readSync which re-uses a buffer ...
- var copy = Buffer.allocUnsafe(data.length);
- data.copy(copy);
- data = copy;
- if (!part.body)
- part.body = [ data ];
- else
- part.body.push(data);
- part.bodylen += data.length;
- }).on('error', function(err) {
- part.error = err;
- ++partErrors;
- }).on('end', function() {
- if (part.body)
- part.body = Buffer.concat(part.body, part.bodylen);
- state.parts.push(part);
- });
- });
- }
- dicer.on('error', function(err) {
- error = err;
- }).on('finish', function() {
- assert(finishes++ === 0, makeMsg(v.what, 'finish emitted multiple times'));
-
- if (v.dicerError)
- assert(error !== undefined, makeMsg(v.what, 'Expected error'));
- else
- assert(error === undefined, makeMsg(v.what, 'Unexpected error'));
-
- if (v.events && v.events.indexOf('preamble') > -1) {
- var preamble;
- if (fs.existsSync(fixtureBase + '/preamble')) {
- var prebody = fs.readFileSync(fixtureBase + '/preamble');
- if (prebody.length) {
- preamble = {
- body: prebody,
- bodylen: prebody.length,
- error: undefined,
- header: undefined
- };
- }
- }
- if (fs.existsSync(fixtureBase + '/preamble.header')) {
- var prehead = JSON.parse(fs.readFileSync(fixtureBase
- + '/preamble.header', 'binary'));
- if (!preamble) {
- preamble = {
- body: undefined,
- bodylen: 0,
- error: undefined,
- header: prehead
- };
- } else
- preamble.header = prehead;
- }
- if (fs.existsSync(fixtureBase + '/preamble.error')) {
- var err = new Error(fs.readFileSync(fixtureBase
- + '/preamble.error', 'binary'));
- if (!preamble) {
- preamble = {
- body: undefined,
- bodylen: 0,
- error: err,
- header: undefined
- };
- } else
- preamble.error = err;
- }
-
- assert.deepEqual(state.preamble,
- preamble,
- makeMsg(v.what,
- 'Preamble mismatch:\nActual:'
- + inspect(state.preamble)
- + '\nExpected: '
- + inspect(preamble)));
- }
-
- if (v.events && v.events.indexOf('part') > -1) {
- assert.equal(state.parts.length,
- v.nparts,
- makeMsg(v.what,
- 'Part count mismatch:\nActual: '
- + state.parts.length
- + '\nExpected: '
- + v.nparts));
-
- if (!v.npartErrors)
- v.npartErrors = 0;
- assert.equal(partErrors,
- v.npartErrors,
- makeMsg(v.what,
- 'Part errors mismatch:\nActual: '
- + partErrors
- + '\nExpected: '
- + v.npartErrors));
-
- for (var i = 0, header, body; i < v.nparts; ++i) {
- if (fs.existsSync(fixtureBase + '/part' + (i+1))) {
- body = fs.readFileSync(fixtureBase + '/part' + (i+1));
- if (body.length === 0)
- body = undefined;
- } else
- body = undefined;
- assert.deepEqual(state.parts[i].body,
- body,
- makeMsg(v.what,
- 'Part #' + (i+1) + ' body mismatch'));
- if (fs.existsSync(fixtureBase + '/part' + (i+1) + '.header')) {
- header = fs.readFileSync(fixtureBase
- + '/part' + (i+1) + '.header', 'binary');
- header = JSON.parse(header);
- } else
- header = undefined;
- assert.deepEqual(state.parts[i].header,
- header,
- makeMsg(v.what,
- 'Part #' + (i+1)
- + ' parsed header mismatch:\nActual: '
- + inspect(state.parts[i].header)
- + '\nExpected: '
- + inspect(header)));
- }
- }
- ++t;
- next();
- });
-
- while (true) {
- n = fs.readSync(fd, buffer, 0, buffer.length, null);
- if (n === 0) {
- dicer.end();
- break;
- }
- dicer.write(n === buffer.length ? buffer : buffer.slice(0, n));
- }
- fs.closeSync(fd);
-}
-next();
-
-function makeMsg(what, msg) {
- return '[' + group + what + ']: ' + msg;
-}
-
-process.on('exit', function() {
- assert(t === tests.length,
- makeMsg('_exit', 'Only ran ' + t + '/' + tests.length + ' tests'));
-});
diff --git a/Server/node_modules/dicer/test/test-multipart.js b/Server/node_modules/dicer/test/test-multipart.js
deleted file mode 100644
index 4fcae9e..0000000
--- a/Server/node_modules/dicer/test/test-multipart.js
+++ /dev/null
@@ -1,240 +0,0 @@
-var Dicer = require('..');
-var assert = require('assert'),
- fs = require('fs'),
- path = require('path'),
- inspect = require('util').inspect;
-
-var FIXTURES_ROOT = __dirname + '/fixtures/';
-
-var t = 0,
- group = path.basename(__filename, '.js') + '/';
-
-var tests = [
- { source: 'nested',
- opts: { boundary: 'AaB03x' },
- chsize: 32,
- nparts: 2,
- what: 'One nested multipart'
- },
- { source: 'many',
- opts: { boundary: '----WebKitFormBoundaryWLHCs9qmcJJoyjKR' },
- chsize: 16,
- nparts: 7,
- what: 'Many parts'
- },
- { source: 'many-wrongboundary',
- opts: { boundary: 'LOLOLOL' },
- chsize: 8,
- nparts: 0,
- dicerError: true,
- what: 'Many parts, wrong boundary'
- },
- { source: 'many-noend',
- opts: { boundary: '----WebKitFormBoundaryWLHCs9qmcJJoyjKR' },
- chsize: 16,
- nparts: 7,
- npartErrors: 1,
- dicerError: true,
- what: 'Many parts, end boundary missing, 1 file open'
- },
- { source: 'nested-full',
- opts: { boundary: 'AaB03x', headerFirst: true },
- chsize: 32,
- nparts: 2,
- what: 'One nested multipart with preceding header'
- },
- { source: 'nested-full',
- opts: { headerFirst: true },
- chsize: 32,
- nparts: 2,
- setBoundary: 'AaB03x',
- what: 'One nested multipart with preceding header, using setBoundary'
- },
-];
-
-function next() {
- if (t === tests.length)
- return;
- var v = tests[t],
- fixtureBase = FIXTURES_ROOT + v.source,
- n = 0,
- buffer = Buffer.allocUnsafe(v.chsize),
- state = { parts: [], preamble: undefined };
-
- var dicer = new Dicer(v.opts),
- error,
- partErrors = 0,
- finishes = 0;
-
- dicer.on('preamble', function(p) {
- var preamble = {
- body: undefined,
- bodylen: 0,
- error: undefined,
- header: undefined
- };
-
- p.on('header', function(h) {
- preamble.header = h;
- if (v.setBoundary)
- dicer.setBoundary(v.setBoundary);
- }).on('data', function(data) {
- // make a copy because we are using readSync which re-uses a buffer ...
- var copy = Buffer.allocUnsafe(data.length);
- data.copy(copy);
- data = copy;
- if (!preamble.body)
- preamble.body = [ data ];
- else
- preamble.body.push(data);
- preamble.bodylen += data.length;
- }).on('error', function(err) {
- preamble.error = err;
- }).on('end', function() {
- if (preamble.body)
- preamble.body = Buffer.concat(preamble.body, preamble.bodylen);
- if (preamble.body || preamble.header)
- state.preamble = preamble;
- });
- });
- dicer.on('part', function(p) {
- var part = {
- body: undefined,
- bodylen: 0,
- error: undefined,
- header: undefined
- };
-
- p.on('header', function(h) {
- part.header = h;
- }).on('data', function(data) {
- if (!part.body)
- part.body = [ data ];
- else
- part.body.push(data);
- part.bodylen += data.length;
- }).on('error', function(err) {
- part.error = err;
- ++partErrors;
- }).on('end', function() {
- if (part.body)
- part.body = Buffer.concat(part.body, part.bodylen);
- state.parts.push(part);
- });
- }).on('error', function(err) {
- error = err;
- }).on('finish', function() {
- assert(finishes++ === 0, makeMsg(v.what, 'finish emitted multiple times'));
-
- if (v.dicerError)
- assert(error !== undefined, makeMsg(v.what, 'Expected error'));
- else
- assert(error === undefined, makeMsg(v.what, 'Unexpected error: ' + error));
-
- var preamble;
- if (fs.existsSync(fixtureBase + '/preamble')) {
- var prebody = fs.readFileSync(fixtureBase + '/preamble');
- if (prebody.length) {
- preamble = {
- body: prebody,
- bodylen: prebody.length,
- error: undefined,
- header: undefined
- };
- }
- }
- if (fs.existsSync(fixtureBase + '/preamble.header')) {
- var prehead = JSON.parse(fs.readFileSync(fixtureBase
- + '/preamble.header', 'binary'));
- if (!preamble) {
- preamble = {
- body: undefined,
- bodylen: 0,
- error: undefined,
- header: prehead
- };
- } else
- preamble.header = prehead;
- }
- if (fs.existsSync(fixtureBase + '/preamble.error')) {
- var err = new Error(fs.readFileSync(fixtureBase
- + '/preamble.error', 'binary'));
- if (!preamble) {
- preamble = {
- body: undefined,
- bodylen: 0,
- error: err,
- header: undefined
- };
- } else
- preamble.error = err;
- }
-
- assert.deepEqual(state.preamble,
- preamble,
- makeMsg(v.what,
- 'Preamble mismatch:\nActual:'
- + inspect(state.preamble)
- + '\nExpected: '
- + inspect(preamble)));
-
- assert.equal(state.parts.length,
- v.nparts,
- makeMsg(v.what,
- 'Part count mismatch:\nActual: '
- + state.parts.length
- + '\nExpected: '
- + v.nparts));
-
- if (!v.npartErrors)
- v.npartErrors = 0;
- assert.equal(partErrors,
- v.npartErrors,
- makeMsg(v.what,
- 'Part errors mismatch:\nActual: '
- + partErrors
- + '\nExpected: '
- + v.npartErrors));
-
- for (var i = 0, header, body; i < v.nparts; ++i) {
- if (fs.existsSync(fixtureBase + '/part' + (i+1))) {
- body = fs.readFileSync(fixtureBase + '/part' + (i+1));
- if (body.length === 0)
- body = undefined;
- } else
- body = undefined;
- assert.deepEqual(state.parts[i].body,
- body,
- makeMsg(v.what,
- 'Part #' + (i+1) + ' body mismatch'));
- if (fs.existsSync(fixtureBase + '/part' + (i+1) + '.header')) {
- header = fs.readFileSync(fixtureBase
- + '/part' + (i+1) + '.header', 'binary');
- header = JSON.parse(header);
- } else
- header = undefined;
- assert.deepEqual(state.parts[i].header,
- header,
- makeMsg(v.what,
- 'Part #' + (i+1)
- + ' parsed header mismatch:\nActual: '
- + inspect(state.parts[i].header)
- + '\nExpected: '
- + inspect(header)));
- }
- ++t;
- next();
- });
-
- fs.createReadStream(fixtureBase + '/original').pipe(dicer);
-}
-next();
-
-function makeMsg(what, msg) {
- return '[' + group + what + ']: ' + msg;
-}
-
-process.on('exit', function() {
- assert(t === tests.length,
- makeMsg('_exit', 'Only ran ' + t + '/' + tests.length + ' tests'));
-});
diff --git a/Server/node_modules/dicer/test/test.js b/Server/node_modules/dicer/test/test.js
deleted file mode 100644
index 3383f27..0000000
--- a/Server/node_modules/dicer/test/test.js
+++ /dev/null
@@ -1,4 +0,0 @@
-require('fs').readdirSync(__dirname).forEach(function(f) {
- if (f.substr(0, 5) === 'test-')
- require('./' + f);
-});
\ No newline at end of file
diff --git a/Server/node_modules/ee-first/LICENSE b/Server/node_modules/ee-first/LICENSE
deleted file mode 100644
index a7ae8ee..0000000
--- a/Server/node_modules/ee-first/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-
-The MIT License (MIT)
-
-Copyright (c) 2014 Jonathan Ong me@jongleberry.com
-
-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.
diff --git a/Server/node_modules/ee-first/README.md b/Server/node_modules/ee-first/README.md
deleted file mode 100644
index cbd2478..0000000
--- a/Server/node_modules/ee-first/README.md
+++ /dev/null
@@ -1,80 +0,0 @@
-# EE First
-
-[![NPM version][npm-image]][npm-url]
-[![Build status][travis-image]][travis-url]
-[![Test coverage][coveralls-image]][coveralls-url]
-[![License][license-image]][license-url]
-[![Downloads][downloads-image]][downloads-url]
-[![Gittip][gittip-image]][gittip-url]
-
-Get the first event in a set of event emitters and event pairs,
-then clean up after itself.
-
-## Install
-
-```sh
-$ npm install ee-first
-```
-
-## API
-
-```js
-var first = require('ee-first')
-```
-
-### first(arr, listener)
-
-Invoke `listener` on the first event from the list specified in `arr`. `arr` is
-an array of arrays, with each array in the format `[ee, ...event]`. `listener`
-will be called only once, the first time any of the given events are emitted. If
-`error` is one of the listened events, then if that fires first, the `listener`
-will be given the `err` argument.
-
-The `listener` is invoked as `listener(err, ee, event, args)`, where `err` is the
-first argument emitted from an `error` event, if applicable; `ee` is the event
-emitter that fired; `event` is the string event name that fired; and `args` is an
-array of the arguments that were emitted on the event.
-
-```js
-var ee1 = new EventEmitter()
-var ee2 = new EventEmitter()
-
-first([
- [ee1, 'close', 'end', 'error'],
- [ee2, 'error']
-], function (err, ee, event, args) {
- // listener invoked
-})
-```
-
-#### .cancel()
-
-The group of listeners can be cancelled before being invoked and have all the event
-listeners removed from the underlying event emitters.
-
-```js
-var thunk = first([
- [ee1, 'close', 'end', 'error'],
- [ee2, 'error']
-], function (err, ee, event, args) {
- // listener invoked
-})
-
-// cancel and clean up
-thunk.cancel()
-```
-
-[npm-image]: https://img.shields.io/npm/v/ee-first.svg?style=flat-square
-[npm-url]: https://npmjs.org/package/ee-first
-[github-tag]: http://img.shields.io/github/tag/jonathanong/ee-first.svg?style=flat-square
-[github-url]: https://github.com/jonathanong/ee-first/tags
-[travis-image]: https://img.shields.io/travis/jonathanong/ee-first.svg?style=flat-square
-[travis-url]: https://travis-ci.org/jonathanong/ee-first
-[coveralls-image]: https://img.shields.io/coveralls/jonathanong/ee-first.svg?style=flat-square
-[coveralls-url]: https://coveralls.io/r/jonathanong/ee-first?branch=master
-[license-image]: http://img.shields.io/npm/l/ee-first.svg?style=flat-square
-[license-url]: LICENSE.md
-[downloads-image]: http://img.shields.io/npm/dm/ee-first.svg?style=flat-square
-[downloads-url]: https://npmjs.org/package/ee-first
-[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square
-[gittip-url]: https://www.gittip.com/jonathanong/
diff --git a/Server/node_modules/ee-first/index.js b/Server/node_modules/ee-first/index.js
deleted file mode 100644
index 501287c..0000000
--- a/Server/node_modules/ee-first/index.js
+++ /dev/null
@@ -1,95 +0,0 @@
-/*!
- * ee-first
- * Copyright(c) 2014 Jonathan Ong
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = first
-
-/**
- * Get the first event in a set of event emitters and event pairs.
- *
- * @param {array} stuff
- * @param {function} done
- * @public
- */
-
-function first(stuff, done) {
- if (!Array.isArray(stuff))
- throw new TypeError('arg must be an array of [ee, events...] arrays')
-
- var cleanups = []
-
- for (var i = 0; i < stuff.length; i++) {
- var arr = stuff[i]
-
- if (!Array.isArray(arr) || arr.length < 2)
- throw new TypeError('each array member must be [ee, events...]')
-
- var ee = arr[0]
-
- for (var j = 1; j < arr.length; j++) {
- var event = arr[j]
- var fn = listener(event, callback)
-
- // listen to the event
- ee.on(event, fn)
- // push this listener to the list of cleanups
- cleanups.push({
- ee: ee,
- event: event,
- fn: fn,
- })
- }
- }
-
- function callback() {
- cleanup()
- done.apply(null, arguments)
- }
-
- function cleanup() {
- var x
- for (var i = 0; i < cleanups.length; i++) {
- x = cleanups[i]
- x.ee.removeListener(x.event, x.fn)
- }
- }
-
- function thunk(fn) {
- done = fn
- }
-
- thunk.cancel = cleanup
-
- return thunk
-}
-
-/**
- * Create the event listener.
- * @private
- */
-
-function listener(event, done) {
- return function onevent(arg1) {
- var args = new Array(arguments.length)
- var ee = this
- var err = event === 'error'
- ? arg1
- : null
-
- // copy args to prevent arguments escaping scope
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i]
- }
-
- done(err, ee, event, args)
- }
-}
diff --git a/Server/node_modules/ee-first/package.json b/Server/node_modules/ee-first/package.json
deleted file mode 100644
index 3bf265a..0000000
--- a/Server/node_modules/ee-first/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "_from": "ee-first@1.1.1",
- "_id": "ee-first@1.1.1",
- "_inBundle": false,
- "_integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=",
- "_location": "/ee-first",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "ee-first@1.1.1",
- "name": "ee-first",
- "escapedName": "ee-first",
- "rawSpec": "1.1.1",
- "saveSpec": null,
- "fetchSpec": "1.1.1"
- },
- "_requiredBy": [
- "/on-finished"
- ],
- "_resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
- "_shasum": "590c61156b0ae2f4f0255732a158b266bc56b21d",
- "_spec": "ee-first@1.1.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/on-finished",
- "author": {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- "bugs": {
- "url": "https://github.com/jonathanong/ee-first/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "deprecated": false,
- "description": "return the first event in a set of ee/event pairs",
- "devDependencies": {
- "istanbul": "0.3.9",
- "mocha": "2.2.5"
- },
- "files": [
- "index.js",
- "LICENSE"
- ],
- "homepage": "https://github.com/jonathanong/ee-first#readme",
- "license": "MIT",
- "name": "ee-first",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jonathanong/ee-first.git"
- },
- "scripts": {
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "1.1.1"
-}
diff --git a/Server/node_modules/ejs/LICENSE b/Server/node_modules/ejs/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/Server/node_modules/ejs/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
diff --git a/Server/node_modules/ejs/README.md b/Server/node_modules/ejs/README.md
deleted file mode 100644
index df08354..0000000
--- a/Server/node_modules/ejs/README.md
+++ /dev/null
@@ -1,341 +0,0 @@
-Embedded JavaScript templates<br/>
-[![Build Status](https://img.shields.io/travis/mde/ejs/master.svg?style=flat)](https://travis-ci.org/mde/ejs)
-[![Developing Dependencies](https://img.shields.io/david/dev/mde/ejs.svg?style=flat)](https://david-dm.org/mde/ejs?type=dev)
-[![Known Vulnerabilities](https://snyk.io/test/npm/ejs/badge.svg?style=flat)](https://snyk.io/test/npm/ejs)
-=============================
-
-## Installation
-
-```bash
-$ npm install ejs
-```
-
-## Features
-
- * Control flow with `<% %>`
- * Escaped output with `<%= %>` (escape function configurable)
- * Unescaped raw output with `<%- %>`
- * Newline-trim mode ('newline slurping') with `-%>` ending tag
- * Whitespace-trim mode (slurp all whitespace) for control flow with `<%_ _%>`
- * Custom delimiters (e.g. `[? ?]` instead of `<% %>`)
- * Includes
- * Client-side support
- * Static caching of intermediate JavaScript
- * Static caching of templates
- * Complies with the [Express](http://expressjs.com) view system
-
-## Example
-
-```ejs
-<% if (user) { %>
- <h2><%= user.name %></h2>
-<% } %>
-```
-
-Try EJS online at: https://ionicabizau.github.io/ejs-playground/.
-
-## Basic usage
-
-```javascript
-let template = ejs.compile(str, options);
-template(data);
-// => Rendered HTML string
-
-ejs.render(str, data, options);
-// => Rendered HTML string
-
-ejs.renderFile(filename, data, options, function(err, str){
- // str => Rendered HTML string
-});
-```
-
-It is also possible to use `ejs.render(dataAndOptions);` where you pass
-everything in a single object. In that case, you'll end up with local variables
-for all the passed options. However, be aware that your code could break if we
-add an option with the same name as one of your data object's properties.
-Therefore, we do not recommend using this shortcut.
-
-### Options
-
- - `cache` Compiled functions are cached, requires `filename`
- - `filename` The name of the file being rendered. Not required if you
- are using `renderFile()`. Used by `cache` to key caches, and for includes.
- - `root` Set project root for includes with an absolute path (e.g, /file.ejs).
- Can be array to try to resolve include from multiple directories.
- - `views` An array of paths to use when resolving includes with relative paths.
- - `context` Function execution context
- - `compileDebug` When `false` no debug instrumentation is compiled
- - `client` When `true`, compiles a function that can be rendered
- in the browser without needing to load the EJS Runtime
- ([ejs.min.js](https://github.com/mde/ejs/releases/latest)).
- - `delimiter` Character to use for inner delimiter, by default '%'
- - `openDelimiter` Character to use for opening delimiter, by default '<'
- - `closeDelimiter` Character to use for closing delimiter, by default '>'
- - `debug` Outputs generated function body
- - `strict` When set to `true`, generated function is in strict mode
- - `_with` Whether or not to use `with() {}` constructs. If `false`
- then the locals will be stored in the `locals` object. Set to `false` in strict mode.
- - `destructuredLocals` An array of local variables that are always destructured from
- the locals object, available even in strict mode.
- - `localsName` Name to use for the object storing local variables when not using
- `with` Defaults to `locals`
- - `rmWhitespace` Remove all safe-to-remove whitespace, including leading
- and trailing whitespace. It also enables a safer version of `-%>` line
- slurping for all scriptlet tags (it does not strip new lines of tags in
- the middle of a line).
- - `escape` The escaping function used with `<%=` construct. It is
- used in rendering and is `.toString()`ed in the generation of client functions.
- (By default escapes XML).
- - `outputFunctionName` Set to a string (e.g., 'echo' or 'print') for a function to print
- output inside scriptlet tags.
- - `async` When `true`, EJS will use an async function for rendering. (Depends
- on async/await support in the JS runtime.
- - `includer` Custom function to handle EJS includes, receives `(originalPath, parsedPath)`
- parameters, where `originalPath` is the path in include as-is and `parsedPath` is the
- previously resolved path. Should return an object `{ filename, template }`,
- you may return only one of the properties, where `filename` is the final parsed path and `template`
- is the included content.
-
-This project uses [JSDoc](http://usejsdoc.org/). For the full public API
-documentation, clone the repository and run `npm run doc`. This will run JSDoc
-with the proper options and output the documentation to `out/`. If you want
-the both the public & private API docs, run `npm run devdoc` instead.
-
-### Tags
-
- - `<%` 'Scriptlet' tag, for control-flow, no output
- - `<%_` 'Whitespace Slurping' Scriptlet tag, strips all whitespace before it
- - `<%=` Outputs the value into the template (escaped)
- - `<%-` Outputs the unescaped value into the template
- - `<%#` Comment tag, no execution, no output
- - `<%%` Outputs a literal '<%'
- - `%%>` Outputs a literal '%>'
- - `%>` Plain ending tag
- - `-%>` Trim-mode ('newline slurp') tag, trims following newline
- - `_%>` 'Whitespace Slurping' ending tag, removes all whitespace after it
-
-For the full syntax documentation, please see [docs/syntax.md](https://github.com/mde/ejs/blob/master/docs/syntax.md).
-
-### Includes
-
-Includes either have to be an absolute path, or, if not, are assumed as
-relative to the template with the `include` call. For example if you are
-including `./views/user/show.ejs` from `./views/users.ejs` you would
-use `<%- include('user/show') %>`.
-
-You must specify the `filename` option for the template with the `include`
-call unless you are using `renderFile()`.
-
-You'll likely want to use the raw output tag (`<%-`) with your include to avoid
-double-escaping the HTML output.
-
-```ejs
-<ul>
- <% users.forEach(function(user){ %>
- <%- include('user/show', {user: user}) %>
- <% }); %>
-</ul>
-```
-
-Includes are inserted at runtime, so you can use variables for the path in the
-`include` call (for example `<%- include(somePath) %>`). Variables in your
-top-level data object are available to all your includes, but local variables
-need to be passed down.
-
-NOTE: Include preprocessor directives (`<% include user/show %>`) are
-not supported in v3.0+.
-
-## Custom delimiters
-
-Custom delimiters can be applied on a per-template basis, or globally:
-
-```javascript
-let ejs = require('ejs'),
- users = ['geddy', 'neil', 'alex'];
-
-// Just one template
-ejs.render('<p>[?= users.join(" | "); ?]</p>', {users: users}, {delimiter: '?', openDelimiter: '[', closeDelimiter: ']'});
-// => '<p>geddy | neil | alex</p>'
-
-// Or globally
-ejs.delimiter = '?';
-ejs.openDelimiter = '[';
-ejs.closeDelimiter = ']';
-ejs.render('<p>[?= users.join(" | "); ?]</p>', {users: users});
-// => '<p>geddy | neil | alex</p>'
-```
-
-### Caching
-
-EJS ships with a basic in-process cache for caching the intermediate JavaScript
-functions used to render templates. It's easy to plug in LRU caching using
-Node's `lru-cache` library:
-
-```javascript
-let ejs = require('ejs'),
- LRU = require('lru-cache');
-ejs.cache = LRU(100); // LRU cache with 100-item limit
-```
-
-If you want to clear the EJS cache, call `ejs.clearCache`. If you're using the
-LRU cache and need a different limit, simple reset `ejs.cache` to a new instance
-of the LRU.
-
-### Custom file loader
-
-The default file loader is `fs.readFileSync`, if you want to customize it, you can set ejs.fileLoader.
-
-```javascript
-let ejs = require('ejs');
-let myFileLoad = function (filePath) {
- return 'myFileLoad: ' + fs.readFileSync(filePath);
-};
-
-ejs.fileLoader = myFileLoad;
-```
-
-With this feature, you can preprocess the template before reading it.
-
-### Layouts
-
-EJS does not specifically support blocks, but layouts can be implemented by
-including headers and footers, like so:
-
-
-```ejs
-<%- include('header') -%>
-<h1>
- Title
-</h1>
-<p>
- My page
-</p>
-<%- include('footer') -%>
-```
-
-## Client-side support
-
-Go to the [Latest Release](https://github.com/mde/ejs/releases/latest), download
-`./ejs.js` or `./ejs.min.js`. Alternately, you can compile it yourself by cloning
-the repository and running `jake build` (or `$(npm bin)/jake build` if jake is
-not installed globally).
-
-Include one of these files on your page, and `ejs` should be available globally.
-
-### Example
-
-```html
-<div id="output"></div>
-<script src="ejs.min.js"></script>
-<script>
- let people = ['geddy', 'neil', 'alex'],
- html = ejs.render('<%= people.join(", "); %>', {people: people});
- // With jQuery:
- $('#output').html(html);
- // Vanilla JS:
- document.getElementById('output').innerHTML = html;
-</script>
-```
-
-### Caveats
-
-Most of EJS will work as expected; however, there are a few things to note:
-
-1. Obviously, since you do not have access to the filesystem, `ejs.renderFile()` won't work.
-2. For the same reason, `include`s do not work unless you use an `include callback`. Here is an example:
- ```javascript
- let str = "Hello <%= include('file', {person: 'John'}); %>",
- fn = ejs.compile(str, {client: true});
-
- fn(data, null, function(path, d){ // include callback
- // path -> 'file'
- // d -> {person: 'John'}
- // Put your code here
- // Return the contents of file as a string
- }); // returns rendered string
- ```
-
-See the [examples folder](https://github.com/mde/ejs/tree/master/examples) for more details.
-
-## CLI
-
-EJS ships with a full-featured CLI. Available options are similar to those used in JavaScript code:
-
- - `-o / --output-file FILE` Write the rendered output to FILE rather than stdout.
- - `-f / --data-file FILE` Must be JSON-formatted. Use parsed input from FILE as data for rendering.
- - `-i / --data-input STRING` Must be JSON-formatted and URI-encoded. Use parsed input from STRING as data for rendering.
- - `-m / --delimiter CHARACTER` Use CHARACTER with angle brackets for open/close (defaults to %).
- - `-p / --open-delimiter CHARACTER` Use CHARACTER instead of left angle bracket to open.
- - `-c / --close-delimiter CHARACTER` Use CHARACTER instead of right angle bracket to close.
- - `-s / --strict` When set to `true`, generated function is in strict mode
- - `-n / --no-with` Use 'locals' object for vars rather than using `with` (implies --strict).
- - `-l / --locals-name` Name to use for the object storing local variables when not using `with`.
- - `-w / --rm-whitespace` Remove all safe-to-remove whitespace, including leading and trailing whitespace.
- - `-d / --debug` Outputs generated function body
- - `-h / --help` Display this help message.
- - `-V/v / --version` Display the EJS version.
-
-Here are some examples of usage:
-
-```shell
-$ ejs -p [ -c ] ./template_file.ejs -o ./output.html
-$ ejs ./test/fixtures/user.ejs name=Lerxst
-$ ejs -n -l _ ./some_template.ejs -f ./data_file.json
-```
-
-### Data input
-
-There is a variety of ways to pass the CLI data for rendering.
-
-Stdin:
-
-```shell
-$ ./test/fixtures/user_data.json | ./bin/cli.js ./test/fixtures/user.ejs
-$ ./bin/cli.js ./test/fixtures/user.ejs < test/fixtures/user_data.json
-```
-
-A data file:
-
-```shell
-$ ejs ./test/fixtures/user.ejs -f ./user_data.json
-```
-
-A command-line option (must be URI-encoded):
-
-```shell
-./bin/cli.js -i %7B%22name%22%3A%20%22foo%22%7D ./test/fixtures/user.ejs
-```
-
-Or, passing values directly at the end of the invocation:
-
-```shell
-./bin/cli.js -m $ ./test/fixtures/user.ejs name=foo
-```
-
-### Output
-
-The CLI by default send output to stdout, but you can use the `-o` or `--output-file`
-flag to specify a target file to send the output to.
-
-## IDE Integration with Syntax Highlighting
-
-VSCode:Javascript EJS by *DigitalBrainstem*
-
-## Related projects
-
-There are a number of implementations of EJS:
-
- * TJ's implementation, the v1 of this library: https://github.com/tj/ejs
- * EJS Embedded JavaScript Framework on Google Code: https://code.google.com/p/embeddedjavascript/
- * Sam Stephenson's Ruby implementation: https://rubygems.org/gems/ejs
- * Erubis, an ERB implementation which also runs JavaScript: http://www.kuwata-lab.com/erubis/users-guide.04.html#lang-javascript
- * DigitalBrainstem EJS Language support: https://github.com/Digitalbrainstem/ejs-grammar
-
-## License
-
-Licensed under the Apache License, Version 2.0
-(<http://www.apache.org/licenses/LICENSE-2.0>)
-
-- - -
-EJS Embedded JavaScript templates copyright 2112
-mde@fleegix.org.
diff --git a/Server/node_modules/ejs/bin/cli.js b/Server/node_modules/ejs/bin/cli.js
deleted file mode 100755
index 29408f1..0000000
--- a/Server/node_modules/ejs/bin/cli.js
+++ /dev/null
@@ -1,208 +0,0 @@
-#!/usr/bin/env node
-/*
- * EJS Embedded JavaScript templates
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-
-let program = require('jake').program;
-delete global.jake; // NO NOT WANT
-program.setTaskNames = function (n) { this.taskNames = n; };
-
-let ejs = require('../lib/ejs');
-let fs = require('fs');
-let args = process.argv.slice(2);
-let usage = fs.readFileSync(`${__dirname}/../usage.txt`).toString();
-
-const CLI_OPTS = [
- { full: 'output-file',
- abbr: 'o',
- expectValue: true,
- },
- { full: 'data-file',
- abbr: 'f',
- expectValue: true,
- },
- { full: 'data-input',
- abbr: 'i',
- expectValue: true,
- },
- { full: 'delimiter',
- abbr: 'm',
- expectValue: true,
- passThrough: true,
- },
- { full: 'open-delimiter',
- abbr: 'p',
- expectValue: true,
- passThrough: true,
- },
- { full: 'close-delimiter',
- abbr: 'c',
- expectValue: true,
- passThrough: true,
- },
- { full: 'strict',
- abbr: 's',
- expectValue: false,
- allowValue: false,
- passThrough: true,
- },
- { full: 'no-with',
- abbr: 'n',
- expectValue: false,
- allowValue: false,
- },
- { full: 'locals-name',
- abbr: 'l',
- expectValue: true,
- passThrough: true,
- },
- { full: 'rm-whitespace',
- abbr: 'w',
- expectValue: false,
- allowValue: false,
- passThrough: true,
- },
- { full: 'debug',
- abbr: 'd',
- expectValue: false,
- allowValue: false,
- passThrough: true,
- },
- { full: 'help',
- abbr: 'h',
- passThrough: true,
- },
- { full: 'version',
- abbr: 'V',
- passThrough: true,
- },
- // Alias lowercase v
- { full: 'version',
- abbr: 'v',
- passThrough: true,
- },
-];
-
-let preempts = {
- version: function () {
- program.die(ejs.VERSION);
- },
- help: function () {
- program.die(usage);
- }
-};
-
-let stdin = '';
-process.stdin.setEncoding('utf8');
-process.stdin.on('readable', () => {
- let chunk;
- while ((chunk = process.stdin.read()) !== null) {
- stdin += chunk;
- }
-});
-
-function run() {
-
- program.availableOpts = CLI_OPTS;
- program.parseArgs(args);
-
- let templatePath = program.taskNames[0];
- let pVals = program.envVars;
- let pOpts = {};
-
- for (let p in program.opts) {
- let name = p.replace(/-[a-z]/g, (match) => { return match[1].toUpperCase(); });
- pOpts[name] = program.opts[p];
- }
-
- let opts = {};
- let vals = {};
-
- // Same-named 'passthrough' opts
- CLI_OPTS.forEach((opt) => {
- let optName = opt.full;
- if (opt.passThrough && typeof pOpts[optName] != 'undefined') {
- opts[optName] = pOpts[optName];
- }
- });
-
- // Bail out for help/version
- for (let p in opts) {
- if (preempts[p]) {
- return preempts[p]();
- }
- }
-
- // Ensure there's a template to render
- if (!templatePath) {
- throw new Error('Please provide a template path. (Run ejs -h for help)');
- }
-
- if (opts.strict) {
- pOpts.noWith = true;
- }
- if (pOpts.noWith) {
- opts._with = false;
- }
-
- // Grab and parse any input data, in order of precedence:
- // 1. Stdin
- // 2. CLI arg via -i
- // 3. Data file via -f
- // Any individual vals passed at the end (e.g., foo=bar) will override
- // any vals previously set
- let input;
- let err = new Error('Please do not pass data multiple ways. Pick one of stdin, -f, or -i.');
- if (stdin) {
- input = stdin;
- }
- else if (pOpts.dataInput) {
- if (input) {
- throw err;
- }
- input = decodeURIComponent(pOpts.dataInput);
- }
- else if (pOpts.dataFile) {
- if (input) {
- throw err;
- }
- input = fs.readFileSync(pOpts.dataFile).toString();
- }
-
- if (input) {
- vals = JSON.parse(input);
- }
-
- // Override / set any individual values passed from the command line
- for (let p in pVals) {
- vals[p] = pVals[p];
- }
-
- let template = fs.readFileSync(templatePath).toString();
- let output = ejs.render(template, vals, opts);
- if (pOpts.outputFile) {
- fs.writeFileSync(pOpts.outputFile, output);
- }
- else {
- process.stdout.write(output);
- }
- process.exit();
-}
-
-// Defer execution so that stdin can be read if necessary
-setImmediate(run);
diff --git a/Server/node_modules/ejs/ejs.js b/Server/node_modules/ejs/ejs.js
deleted file mode 100644
index 4b4c359..0000000
--- a/Server/node_modules/ejs/ejs.js
+++ /dev/null
@@ -1,1650 +0,0 @@
-(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ejs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
-/*
- * EJS Embedded JavaScript templates
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-'use strict';
-
-/**
- * @file Embedded JavaScript templating engine. {@link http://ejs.co}
- * @author Matthew Eernisse <mde@fleegix.org>
- * @author Tiancheng "Timothy" Gu <timothygu99@gmail.com>
- * @project EJS
- * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
- */
-
-/**
- * EJS internal functions.
- *
- * Technically this "module" lies in the same file as {@link module:ejs}, for
- * the sake of organization all the private functions re grouped into this
- * module.
- *
- * @module ejs-internal
- * @private
- */
-
-/**
- * Embedded JavaScript templating engine.
- *
- * @module ejs
- * @public
- */
-
-var fs = require('fs');
-var path = require('path');
-var utils = require('./utils');
-
-var scopeOptionWarned = false;
-/** @type {string} */
-var _VERSION_STRING = require('../package.json').version;
-var _DEFAULT_OPEN_DELIMITER = '<';
-var _DEFAULT_CLOSE_DELIMITER = '>';
-var _DEFAULT_DELIMITER = '%';
-var _DEFAULT_LOCALS_NAME = 'locals';
-var _NAME = 'ejs';
-var _REGEX_STRING = '(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)';
-var _OPTS_PASSABLE_WITH_DATA = ['delimiter', 'scope', 'context', 'debug', 'compileDebug',
- 'client', '_with', 'rmWhitespace', 'strict', 'filename', 'async'];
-// We don't allow 'cache' option to be passed in the data obj for
-// the normal `render` call, but this is where Express 2 & 3 put it
-// so we make an exception for `renderFile`
-var _OPTS_PASSABLE_WITH_DATA_EXPRESS = _OPTS_PASSABLE_WITH_DATA.concat('cache');
-var _BOM = /^\uFEFF/;
-
-/**
- * EJS template function cache. This can be a LRU object from lru-cache NPM
- * module. By default, it is {@link module:utils.cache}, a simple in-process
- * cache that grows continuously.
- *
- * @type {Cache}
- */
-
-exports.cache = utils.cache;
-
-/**
- * Custom file loader. Useful for template preprocessing or restricting access
- * to a certain part of the filesystem.
- *
- * @type {fileLoader}
- */
-
-exports.fileLoader = fs.readFileSync;
-
-/**
- * Name of the object containing the locals.
- *
- * This variable is overridden by {@link Options}`.localsName` if it is not
- * `undefined`.
- *
- * @type {String}
- * @public
- */
-
-exports.localsName = _DEFAULT_LOCALS_NAME;
-
-/**
- * Promise implementation -- defaults to the native implementation if available
- * This is mostly just for testability
- *
- * @type {PromiseConstructorLike}
- * @public
- */
-
-exports.promiseImpl = (new Function('return this;'))().Promise;
-
-/**
- * Get the path to the included file from the parent file path and the
- * specified path.
- *
- * @param {String} name specified path
- * @param {String} filename parent file path
- * @param {Boolean} [isDir=false] whether the parent file path is a directory
- * @return {String}
- */
-exports.resolveInclude = function(name, filename, isDir) {
- var dirname = path.dirname;
- var extname = path.extname;
- var resolve = path.resolve;
- var includePath = resolve(isDir ? filename : dirname(filename), name);
- var ext = extname(name);
- if (!ext) {
- includePath += '.ejs';
- }
- return includePath;
-};
-
-/**
- * Try to resolve file path on multiple directories
- *
- * @param {String} name specified path
- * @param {Array<String>} paths list of possible parent directory paths
- * @return {String}
- */
-function resolvePaths(name, paths) {
- var filePath;
- if (paths.some(function (v) {
- filePath = exports.resolveInclude(name, v, true);
- return fs.existsSync(filePath);
- })) {
- return filePath;
- }
-}
-
-/**
- * Get the path to the included file by Options
- *
- * @param {String} path specified path
- * @param {Options} options compilation options
- * @return {String}
- */
-function getIncludePath(path, options) {
- var includePath;
- var filePath;
- var views = options.views;
- var match = /^[A-Za-z]+:\\|^\//.exec(path);
-
- // Abs path
- if (match && match.length) {
- path = path.replace(/^\/*/, '');
- if (Array.isArray(options.root)) {
- includePath = resolvePaths(path, options.root);
- } else {
- includePath = exports.resolveInclude(path, options.root || '/', true);
- }
- }
- // Relative paths
- else {
- // Look relative to a passed filename first
- if (options.filename) {
- filePath = exports.resolveInclude(path, options.filename);
- if (fs.existsSync(filePath)) {
- includePath = filePath;
- }
- }
- // Then look in any views directories
- if (!includePath && Array.isArray(views)) {
- includePath = resolvePaths(path, views);
- }
- if (!includePath && typeof options.includer !== 'function') {
- throw new Error('Could not find the include file "' +
- options.escapeFunction(path) + '"');
- }
- }
- return includePath;
-}
-
-/**
- * Get the template from a string or a file, either compiled on-the-fly or
- * read from cache (if enabled), and cache the template if needed.
- *
- * If `template` is not set, the file specified in `options.filename` will be
- * read.
- *
- * If `options.cache` is true, this function reads the file from
- * `options.filename` so it must be set prior to calling this function.
- *
- * @memberof module:ejs-internal
- * @param {Options} options compilation options
- * @param {String} [template] template source
- * @return {(TemplateFunction|ClientFunction)}
- * Depending on the value of `options.client`, either type might be returned.
- * @static
- */
-
-function handleCache(options, template) {
- var func;
- var filename = options.filename;
- var hasTemplate = arguments.length > 1;
-
- if (options.cache) {
- if (!filename) {
- throw new Error('cache option requires a filename');
- }
- func = exports.cache.get(filename);
- if (func) {
- return func;
- }
- if (!hasTemplate) {
- template = fileLoader(filename).toString().replace(_BOM, '');
- }
- }
- else if (!hasTemplate) {
- // istanbul ignore if: should not happen at all
- if (!filename) {
- throw new Error('Internal EJS error: no file name or template '
- + 'provided');
- }
- template = fileLoader(filename).toString().replace(_BOM, '');
- }
- func = exports.compile(template, options);
- if (options.cache) {
- exports.cache.set(filename, func);
- }
- return func;
-}
-
-/**
- * Try calling handleCache with the given options and data and call the
- * callback with the result. If an error occurs, call the callback with
- * the error. Used by renderFile().
- *
- * @memberof module:ejs-internal
- * @param {Options} options compilation options
- * @param {Object} data template data
- * @param {RenderFileCallback} cb callback
- * @static
- */
-
-function tryHandleCache(options, data, cb) {
- var result;
- if (!cb) {
- if (typeof exports.promiseImpl == 'function') {
- return new exports.promiseImpl(function (resolve, reject) {
- try {
- result = handleCache(options)(data);
- resolve(result);
- }
- catch (err) {
- reject(err);
- }
- });
- }
- else {
- throw new Error('Please provide a callback function');
- }
- }
- else {
- try {
- result = handleCache(options)(data);
- }
- catch (err) {
- return cb(err);
- }
-
- cb(null, result);
- }
-}
-
-/**
- * fileLoader is independent
- *
- * @param {String} filePath ejs file path.
- * @return {String} The contents of the specified file.
- * @static
- */
-
-function fileLoader(filePath){
- return exports.fileLoader(filePath);
-}
-
-/**
- * Get the template function.
- *
- * If `options.cache` is `true`, then the template is cached.
- *
- * @memberof module:ejs-internal
- * @param {String} path path for the specified file
- * @param {Options} options compilation options
- * @return {(TemplateFunction|ClientFunction)}
- * Depending on the value of `options.client`, either type might be returned
- * @static
- */
-
-function includeFile(path, options) {
- var opts = utils.shallowCopy({}, options);
- opts.filename = getIncludePath(path, opts);
- if (typeof options.includer === 'function') {
- var includerResult = options.includer(path, opts.filename);
- if (includerResult) {
- if (includerResult.filename) {
- opts.filename = includerResult.filename;
- }
- if (includerResult.template) {
- return handleCache(opts, includerResult.template);
- }
- }
- }
- return handleCache(opts);
-}
-
-/**
- * Re-throw the given `err` in context to the `str` of ejs, `filename`, and
- * `lineno`.
- *
- * @implements {RethrowCallback}
- * @memberof module:ejs-internal
- * @param {Error} err Error object
- * @param {String} str EJS source
- * @param {String} flnm file name of the EJS file
- * @param {Number} lineno line number of the error
- * @param {EscapeCallback} esc
- * @static
- */
-
-function rethrow(err, str, flnm, lineno, esc) {
- var lines = str.split('\n');
- var start = Math.max(lineno - 3, 0);
- var end = Math.min(lines.length, lineno + 3);
- var filename = esc(flnm);
- // Error context
- var context = lines.slice(start, end).map(function (line, i){
- var curr = i + start + 1;
- return (curr == lineno ? ' >> ' : ' ')
- + curr
- + '| '
- + line;
- }).join('\n');
-
- // Alter exception message
- err.path = filename;
- err.message = (filename || 'ejs') + ':'
- + lineno + '\n'
- + context + '\n\n'
- + err.message;
-
- throw err;
-}
-
-function stripSemi(str){
- return str.replace(/;(\s*$)/, '$1');
-}
-
-/**
- * Compile the given `str` of ejs into a template function.
- *
- * @param {String} template EJS template
- *
- * @param {Options} [opts] compilation options
- *
- * @return {(TemplateFunction|ClientFunction)}
- * Depending on the value of `opts.client`, either type might be returned.
- * Note that the return type of the function also depends on the value of `opts.async`.
- * @public
- */
-
-exports.compile = function compile(template, opts) {
- var templ;
-
- // v1 compat
- // 'scope' is 'context'
- // FIXME: Remove this in a future version
- if (opts && opts.scope) {
- if (!scopeOptionWarned){
- console.warn('`scope` option is deprecated and will be removed in EJS 3');
- scopeOptionWarned = true;
- }
- if (!opts.context) {
- opts.context = opts.scope;
- }
- delete opts.scope;
- }
- templ = new Template(template, opts);
- return templ.compile();
-};
-
-/**
- * Render the given `template` of ejs.
- *
- * If you would like to include options but not data, you need to explicitly
- * call this function with `data` being an empty object or `null`.
- *
- * @param {String} template EJS template
- * @param {Object} [data={}] template data
- * @param {Options} [opts={}] compilation and rendering options
- * @return {(String|Promise<String>)}
- * Return value type depends on `opts.async`.
- * @public
- */
-
-exports.render = function (template, d, o) {
- var data = d || {};
- var opts = o || {};
-
- // No options object -- if there are optiony names
- // in the data, copy them to options
- if (arguments.length == 2) {
- utils.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA);
- }
-
- return handleCache(opts, template)(data);
-};
-
-/**
- * Render an EJS file at the given `path` and callback `cb(err, str)`.
- *
- * If you would like to include options but not data, you need to explicitly
- * call this function with `data` being an empty object or `null`.
- *
- * @param {String} path path to the EJS file
- * @param {Object} [data={}] template data
- * @param {Options} [opts={}] compilation and rendering options
- * @param {RenderFileCallback} cb callback
- * @public
- */
-
-exports.renderFile = function () {
- var args = Array.prototype.slice.call(arguments);
- var filename = args.shift();
- var cb;
- var opts = {filename: filename};
- var data;
- var viewOpts;
-
- // Do we have a callback?
- if (typeof arguments[arguments.length - 1] == 'function') {
- cb = args.pop();
- }
- // Do we have data/opts?
- if (args.length) {
- // Should always have data obj
- data = args.shift();
- // Normal passed opts (data obj + opts obj)
- if (args.length) {
- // Use shallowCopy so we don't pollute passed in opts obj with new vals
- utils.shallowCopy(opts, args.pop());
- }
- // Special casing for Express (settings + opts-in-data)
- else {
- // Express 3 and 4
- if (data.settings) {
- // Pull a few things from known locations
- if (data.settings.views) {
- opts.views = data.settings.views;
- }
- if (data.settings['view cache']) {
- opts.cache = true;
- }
- // Undocumented after Express 2, but still usable, esp. for
- // items that are unsafe to be passed along with data, like `root`
- viewOpts = data.settings['view options'];
- if (viewOpts) {
- utils.shallowCopy(opts, viewOpts);
- }
- }
- // Express 2 and lower, values set in app.locals, or people who just
- // want to pass options in their data. NOTE: These values will override
- // anything previously set in settings or settings['view options']
- utils.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA_EXPRESS);
- }
- opts.filename = filename;
- }
- else {
- data = {};
- }
-
- return tryHandleCache(opts, data, cb);
-};
-
-/**
- * Clear intermediate JavaScript cache. Calls {@link Cache#reset}.
- * @public
- */
-
-/**
- * EJS template class
- * @public
- */
-exports.Template = Template;
-
-exports.clearCache = function () {
- exports.cache.reset();
-};
-
-function Template(text, opts) {
- opts = opts || {};
- var options = {};
- this.templateText = text;
- /** @type {string | null} */
- this.mode = null;
- this.truncate = false;
- this.currentLine = 1;
- this.source = '';
- options.client = opts.client || false;
- options.escapeFunction = opts.escape || opts.escapeFunction || utils.escapeXML;
- options.compileDebug = opts.compileDebug !== false;
- options.debug = !!opts.debug;
- options.filename = opts.filename;
- options.openDelimiter = opts.openDelimiter || exports.openDelimiter || _DEFAULT_OPEN_DELIMITER;
- options.closeDelimiter = opts.closeDelimiter || exports.closeDelimiter || _DEFAULT_CLOSE_DELIMITER;
- options.delimiter = opts.delimiter || exports.delimiter || _DEFAULT_DELIMITER;
- options.strict = opts.strict || false;
- options.context = opts.context;
- options.cache = opts.cache || false;
- options.rmWhitespace = opts.rmWhitespace;
- options.root = opts.root;
- options.includer = opts.includer;
- options.outputFunctionName = opts.outputFunctionName;
- options.localsName = opts.localsName || exports.localsName || _DEFAULT_LOCALS_NAME;
- options.views = opts.views;
- options.async = opts.async;
- options.destructuredLocals = opts.destructuredLocals;
- options.legacyInclude = typeof opts.legacyInclude != 'undefined' ? !!opts.legacyInclude : true;
-
- if (options.strict) {
- options._with = false;
- }
- else {
- options._with = typeof opts._with != 'undefined' ? opts._with : true;
- }
-
- this.opts = options;
-
- this.regex = this.createRegex();
-}
-
-Template.modes = {
- EVAL: 'eval',
- ESCAPED: 'escaped',
- RAW: 'raw',
- COMMENT: 'comment',
- LITERAL: 'literal'
-};
-
-Template.prototype = {
- createRegex: function () {
- var str = _REGEX_STRING;
- var delim = utils.escapeRegExpChars(this.opts.delimiter);
- var open = utils.escapeRegExpChars(this.opts.openDelimiter);
- var close = utils.escapeRegExpChars(this.opts.closeDelimiter);
- str = str.replace(/%/g, delim)
- .replace(/</g, open)
- .replace(/>/g, close);
- return new RegExp(str);
- },
-
- compile: function () {
- /** @type {string} */
- var src;
- /** @type {ClientFunction} */
- var fn;
- var opts = this.opts;
- var prepended = '';
- var appended = '';
- /** @type {EscapeCallback} */
- var escapeFn = opts.escapeFunction;
- /** @type {FunctionConstructor} */
- var ctor;
-
- if (!this.source) {
- this.generateSource();
- prepended +=
- ' var __output = "";\n' +
- ' function __append(s) { if (s !== undefined && s !== null) __output += s }\n';
- if (opts.outputFunctionName) {
- prepended += ' var ' + opts.outputFunctionName + ' = __append;' + '\n';
- }
- if (opts.destructuredLocals && opts.destructuredLocals.length) {
- var destructuring = ' var __locals = (' + opts.localsName + ' || {}),\n';
- for (var i = 0; i < opts.destructuredLocals.length; i++) {
- var name = opts.destructuredLocals[i];
- if (i > 0) {
- destructuring += ',\n ';
- }
- destructuring += name + ' = __locals.' + name;
- }
- prepended += destructuring + ';\n';
- }
- if (opts._with !== false) {
- prepended += ' with (' + opts.localsName + ' || {}) {' + '\n';
- appended += ' }' + '\n';
- }
- appended += ' return __output;' + '\n';
- this.source = prepended + this.source + appended;
- }
-
- if (opts.compileDebug) {
- src = 'var __line = 1' + '\n'
- + ' , __lines = ' + JSON.stringify(this.templateText) + '\n'
- + ' , __filename = ' + (opts.filename ?
- JSON.stringify(opts.filename) : 'undefined') + ';' + '\n'
- + 'try {' + '\n'
- + this.source
- + '} catch (e) {' + '\n'
- + ' rethrow(e, __lines, __filename, __line, escapeFn);' + '\n'
- + '}' + '\n';
- }
- else {
- src = this.source;
- }
-
- if (opts.client) {
- src = 'escapeFn = escapeFn || ' + escapeFn.toString() + ';' + '\n' + src;
- if (opts.compileDebug) {
- src = 'rethrow = rethrow || ' + rethrow.toString() + ';' + '\n' + src;
- }
- }
-
- if (opts.strict) {
- src = '"use strict";\n' + src;
- }
- if (opts.debug) {
- console.log(src);
- }
- if (opts.compileDebug && opts.filename) {
- src = src + '\n'
- + '//# sourceURL=' + opts.filename + '\n';
- }
-
- try {
- if (opts.async) {
- // Have to use generated function for this, since in envs without support,
- // it breaks in parsing
- try {
- ctor = (new Function('return (async function(){}).constructor;'))();
- }
- catch(e) {
- if (e instanceof SyntaxError) {
- throw new Error('This environment does not support async/await');
- }
- else {
- throw e;
- }
- }
- }
- else {
- ctor = Function;
- }
- fn = new ctor(opts.localsName + ', escapeFn, include, rethrow', src);
- }
- catch(e) {
- // istanbul ignore else
- if (e instanceof SyntaxError) {
- if (opts.filename) {
- e.message += ' in ' + opts.filename;
- }
- e.message += ' while compiling ejs\n\n';
- e.message += 'If the above error is not helpful, you may want to try EJS-Lint:\n';
- e.message += 'https://github.com/RyanZim/EJS-Lint';
- if (!opts.async) {
- e.message += '\n';
- e.message += 'Or, if you meant to create an async function, pass `async: true` as an option.';
- }
- }
- throw e;
- }
-
- // Return a callable function which will execute the function
- // created by the source-code, with the passed data as locals
- // Adds a local `include` function which allows full recursive include
- var returnedFn = opts.client ? fn : function anonymous(data) {
- var include = function (path, includeData) {
- var d = utils.shallowCopy({}, data);
- if (includeData) {
- d = utils.shallowCopy(d, includeData);
- }
- return includeFile(path, opts)(d);
- };
- return fn.apply(opts.context, [data || {}, escapeFn, include, rethrow]);
- };
- if (opts.filename && typeof Object.defineProperty === 'function') {
- var filename = opts.filename;
- var basename = path.basename(filename, path.extname(filename));
- try {
- Object.defineProperty(returnedFn, 'name', {
- value: basename,
- writable: false,
- enumerable: false,
- configurable: true
- });
- } catch (e) {/* ignore */}
- }
- return returnedFn;
- },
-
- generateSource: function () {
- var opts = this.opts;
-
- if (opts.rmWhitespace) {
- // Have to use two separate replace here as `^` and `$` operators don't
- // work well with `\r` and empty lines don't work well with the `m` flag.
- this.templateText =
- this.templateText.replace(/[\r\n]+/g, '\n').replace(/^\s+|\s+$/gm, '');
- }
-
- // Slurp spaces and tabs before <%_ and after _%>
- this.templateText =
- this.templateText.replace(/[ \t]*<%_/gm, '<%_').replace(/_%>[ \t]*/gm, '_%>');
-
- var self = this;
- var matches = this.parseTemplateText();
- var d = this.opts.delimiter;
- var o = this.opts.openDelimiter;
- var c = this.opts.closeDelimiter;
-
- if (matches && matches.length) {
- matches.forEach(function (line, index) {
- var closing;
- // If this is an opening tag, check for closing tags
- // FIXME: May end up with some false positives here
- // Better to store modes as k/v with openDelimiter + delimiter as key
- // Then this can simply check against the map
- if ( line.indexOf(o + d) === 0 // If it is a tag
- && line.indexOf(o + d + d) !== 0) { // and is not escaped
- closing = matches[index + 2];
- if (!(closing == d + c || closing == '-' + d + c || closing == '_' + d + c)) {
- throw new Error('Could not find matching close tag for "' + line + '".');
- }
- }
- self.scanLine(line);
- });
- }
-
- },
-
- parseTemplateText: function () {
- var str = this.templateText;
- var pat = this.regex;
- var result = pat.exec(str);
- var arr = [];
- var firstPos;
-
- while (result) {
- firstPos = result.index;
-
- if (firstPos !== 0) {
- arr.push(str.substring(0, firstPos));
- str = str.slice(firstPos);
- }
-
- arr.push(result[0]);
- str = str.slice(result[0].length);
- result = pat.exec(str);
- }
-
- if (str) {
- arr.push(str);
- }
-
- return arr;
- },
-
- _addOutput: function (line) {
- if (this.truncate) {
- // Only replace single leading linebreak in the line after
- // -%> tag -- this is the single, trailing linebreak
- // after the tag that the truncation mode replaces
- // Handle Win / Unix / old Mac linebreaks -- do the \r\n
- // combo first in the regex-or
- line = line.replace(/^(?:\r\n|\r|\n)/, '');
- this.truncate = false;
- }
- if (!line) {
- return line;
- }
-
- // Preserve literal slashes
- line = line.replace(/\\/g, '\\\\');
-
- // Convert linebreaks
- line = line.replace(/\n/g, '\\n');
- line = line.replace(/\r/g, '\\r');
-
- // Escape double-quotes
- // - this will be the delimiter during execution
- line = line.replace(/"/g, '\\"');
- this.source += ' ; __append("' + line + '")' + '\n';
- },
-
- scanLine: function (line) {
- var self = this;
- var d = this.opts.delimiter;
- var o = this.opts.openDelimiter;
- var c = this.opts.closeDelimiter;
- var newLineCount = 0;
-
- newLineCount = (line.split('\n').length - 1);
-
- switch (line) {
- case o + d:
- case o + d + '_':
- this.mode = Template.modes.EVAL;
- break;
- case o + d + '=':
- this.mode = Template.modes.ESCAPED;
- break;
- case o + d + '-':
- this.mode = Template.modes.RAW;
- break;
- case o + d + '#':
- this.mode = Template.modes.COMMENT;
- break;
- case o + d + d:
- this.mode = Template.modes.LITERAL;
- this.source += ' ; __append("' + line.replace(o + d + d, o + d) + '")' + '\n';
- break;
- case d + d + c:
- this.mode = Template.modes.LITERAL;
- this.source += ' ; __append("' + line.replace(d + d + c, d + c) + '")' + '\n';
- break;
- case d + c:
- case '-' + d + c:
- case '_' + d + c:
- if (this.mode == Template.modes.LITERAL) {
- this._addOutput(line);
- }
-
- this.mode = null;
- this.truncate = line.indexOf('-') === 0 || line.indexOf('_') === 0;
- break;
- default:
- // In script mode, depends on type of tag
- if (this.mode) {
- // If '//' is found without a line break, add a line break.
- switch (this.mode) {
- case Template.modes.EVAL:
- case Template.modes.ESCAPED:
- case Template.modes.RAW:
- if (line.lastIndexOf('//') > line.lastIndexOf('\n')) {
- line += '\n';
- }
- }
- switch (this.mode) {
- // Just executing code
- case Template.modes.EVAL:
- this.source += ' ; ' + line + '\n';
- break;
- // Exec, esc, and output
- case Template.modes.ESCAPED:
- this.source += ' ; __append(escapeFn(' + stripSemi(line) + '))' + '\n';
- break;
- // Exec and output
- case Template.modes.RAW:
- this.source += ' ; __append(' + stripSemi(line) + ')' + '\n';
- break;
- case Template.modes.COMMENT:
- // Do nothing
- break;
- // Literal <%% mode, append as raw output
- case Template.modes.LITERAL:
- this._addOutput(line);
- break;
- }
- }
- // In string mode, just add the output
- else {
- this._addOutput(line);
- }
- }
-
- if (self.opts.compileDebug && newLineCount) {
- this.currentLine += newLineCount;
- this.source += ' ; __line = ' + this.currentLine + '\n';
- }
- }
-};
-
-/**
- * Escape characters reserved in XML.
- *
- * This is simply an export of {@link module:utils.escapeXML}.
- *
- * If `markup` is `undefined` or `null`, the empty string is returned.
- *
- * @param {String} markup Input string
- * @return {String} Escaped string
- * @public
- * @func
- * */
-exports.escapeXML = utils.escapeXML;
-
-/**
- * Express.js support.
- *
- * This is an alias for {@link module:ejs.renderFile}, in order to support
- * Express.js out-of-the-box.
- *
- * @func
- */
-
-exports.__express = exports.renderFile;
-
-/**
- * Version of EJS.
- *
- * @readonly
- * @type {String}
- * @public
- */
-
-exports.VERSION = _VERSION_STRING;
-
-/**
- * Name for detection of EJS.
- *
- * @readonly
- * @type {String}
- * @public
- */
-
-exports.name = _NAME;
-
-/* istanbul ignore if */
-if (typeof window != 'undefined') {
- window.ejs = exports;
-}
-
-},{"../package.json":6,"./utils":2,"fs":3,"path":4}],2:[function(require,module,exports){
-/*
- * EJS Embedded JavaScript templates
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-/**
- * Private utility functions
- * @module utils
- * @private
- */
-
-'use strict';
-
-var regExpChars = /[|\\{}()[\]^$+*?.]/g;
-
-/**
- * Escape characters reserved in regular expressions.
- *
- * If `string` is `undefined` or `null`, the empty string is returned.
- *
- * @param {String} string Input string
- * @return {String} Escaped string
- * @static
- * @private
- */
-exports.escapeRegExpChars = function (string) {
- // istanbul ignore if
- if (!string) {
- return '';
- }
- return String(string).replace(regExpChars, '\\$&');
-};
-
-var _ENCODE_HTML_RULES = {
- '&': '&amp;',
- '<': '&lt;',
- '>': '&gt;',
- '"': '&#34;',
- "'": '&#39;'
-};
-var _MATCH_HTML = /[&<>'"]/g;
-
-function encode_char(c) {
- return _ENCODE_HTML_RULES[c] || c;
-}
-
-/**
- * Stringified version of constants used by {@link module:utils.escapeXML}.
- *
- * It is used in the process of generating {@link ClientFunction}s.
- *
- * @readonly
- * @type {String}
- */
-
-var escapeFuncStr =
- 'var _ENCODE_HTML_RULES = {\n'
-+ ' "&": "&amp;"\n'
-+ ' , "<": "&lt;"\n'
-+ ' , ">": "&gt;"\n'
-+ ' , \'"\': "&#34;"\n'
-+ ' , "\'": "&#39;"\n'
-+ ' }\n'
-+ ' , _MATCH_HTML = /[&<>\'"]/g;\n'
-+ 'function encode_char(c) {\n'
-+ ' return _ENCODE_HTML_RULES[c] || c;\n'
-+ '};\n';
-
-/**
- * Escape characters reserved in XML.
- *
- * If `markup` is `undefined` or `null`, the empty string is returned.
- *
- * @implements {EscapeCallback}
- * @param {String} markup Input string
- * @return {String} Escaped string
- * @static
- * @private
- */
-
-exports.escapeXML = function (markup) {
- return markup == undefined
- ? ''
- : String(markup)
- .replace(_MATCH_HTML, encode_char);
-};
-exports.escapeXML.toString = function () {
- return Function.prototype.toString.call(this) + ';\n' + escapeFuncStr;
-};
-
-/**
- * Naive copy of properties from one object to another.
- * Does not recurse into non-scalar properties
- * Does not check to see if the property has a value before copying
- *
- * @param {Object} to Destination object
- * @param {Object} from Source object
- * @return {Object} Destination object
- * @static
- * @private
- */
-exports.shallowCopy = function (to, from) {
- from = from || {};
- for (var p in from) {
- to[p] = from[p];
- }
- return to;
-};
-
-/**
- * Naive copy of a list of key names, from one object to another.
- * Only copies property if it is actually defined
- * Does not recurse into non-scalar properties
- *
- * @param {Object} to Destination object
- * @param {Object} from Source object
- * @param {Array} list List of properties to copy
- * @return {Object} Destination object
- * @static
- * @private
- */
-exports.shallowCopyFromList = function (to, from, list) {
- for (var i = 0; i < list.length; i++) {
- var p = list[i];
- if (typeof from[p] != 'undefined') {
- to[p] = from[p];
- }
- }
- return to;
-};
-
-/**
- * Simple in-process cache implementation. Does not implement limits of any
- * sort.
- *
- * @implements {Cache}
- * @static
- * @private
- */
-exports.cache = {
- _data: {},
- set: function (key, val) {
- this._data[key] = val;
- },
- get: function (key) {
- return this._data[key];
- },
- remove: function (key) {
- delete this._data[key];
- },
- reset: function () {
- this._data = {};
- }
-};
-
-},{}],3:[function(require,module,exports){
-
-},{}],4:[function(require,module,exports){
-(function (process){
-// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
-// backported and transplited with Babel, with backwards-compat fixes
-
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// 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.
-
-// resolves . and .. elements in a path array with directory names there
-// must be no slashes, empty elements, or device names (c:\) in the array
-// (so also no leading and trailing slashes - it does not distinguish
-// relative and absolute paths)
-function normalizeArray(parts, allowAboveRoot) {
- // if the path tries to go above the root, `up` ends up > 0
- var up = 0;
- for (var i = parts.length - 1; i >= 0; i--) {
- var last = parts[i];
- if (last === '.') {
- parts.splice(i, 1);
- } else if (last === '..') {
- parts.splice(i, 1);
- up++;
- } else if (up) {
- parts.splice(i, 1);
- up--;
- }
- }
-
- // if the path is allowed to go above the root, restore leading ..s
- if (allowAboveRoot) {
- for (; up--; up) {
- parts.unshift('..');
- }
- }
-
- return parts;
-}
-
-// path.resolve([from ...], to)
-// posix version
-exports.resolve = function() {
- var resolvedPath = '',
- resolvedAbsolute = false;
-
- for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
- var path = (i >= 0) ? arguments[i] : process.cwd();
-
- // Skip empty and invalid entries
- if (typeof path !== 'string') {
- throw new TypeError('Arguments to path.resolve must be strings');
- } else if (!path) {
- continue;
- }
-
- resolvedPath = path + '/' + resolvedPath;
- resolvedAbsolute = path.charAt(0) === '/';
- }
-
- // At this point the path should be resolved to a full absolute path, but
- // handle relative paths to be safe (might happen when process.cwd() fails)
-
- // Normalize the path
- resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
- return !!p;
- }), !resolvedAbsolute).join('/');
-
- return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
-};
-
-// path.normalize(path)
-// posix version
-exports.normalize = function(path) {
- var isAbsolute = exports.isAbsolute(path),
- trailingSlash = substr(path, -1) === '/';
-
- // Normalize the path
- path = normalizeArray(filter(path.split('/'), function(p) {
- return !!p;
- }), !isAbsolute).join('/');
-
- if (!path && !isAbsolute) {
- path = '.';
- }
- if (path && trailingSlash) {
- path += '/';
- }
-
- return (isAbsolute ? '/' : '') + path;
-};
-
-// posix version
-exports.isAbsolute = function(path) {
- return path.charAt(0) === '/';
-};
-
-// posix version
-exports.join = function() {
- var paths = Array.prototype.slice.call(arguments, 0);
- return exports.normalize(filter(paths, function(p, index) {
- if (typeof p !== 'string') {
- throw new TypeError('Arguments to path.join must be strings');
- }
- return p;
- }).join('/'));
-};
-
-
-// path.relative(from, to)
-// posix version
-exports.relative = function(from, to) {
- from = exports.resolve(from).substr(1);
- to = exports.resolve(to).substr(1);
-
- function trim(arr) {
- var start = 0;
- for (; start < arr.length; start++) {
- if (arr[start] !== '') break;
- }
-
- var end = arr.length - 1;
- for (; end >= 0; end--) {
- if (arr[end] !== '') break;
- }
-
- if (start > end) return [];
- return arr.slice(start, end - start + 1);
- }
-
- var fromParts = trim(from.split('/'));
- var toParts = trim(to.split('/'));
-
- var length = Math.min(fromParts.length, toParts.length);
- var samePartsLength = length;
- for (var i = 0; i < length; i++) {
- if (fromParts[i] !== toParts[i]) {
- samePartsLength = i;
- break;
- }
- }
-
- var outputParts = [];
- for (var i = samePartsLength; i < fromParts.length; i++) {
- outputParts.push('..');
- }
-
- outputParts = outputParts.concat(toParts.slice(samePartsLength));
-
- return outputParts.join('/');
-};
-
-exports.sep = '/';
-exports.delimiter = ':';
-
-exports.dirname = function (path) {
- if (typeof path !== 'string') path = path + '';
- if (path.length === 0) return '.';
- var code = path.charCodeAt(0);
- var hasRoot = code === 47 /*/*/;
- var end = -1;
- var matchedSlash = true;
- for (var i = path.length - 1; i >= 1; --i) {
- code = path.charCodeAt(i);
- if (code === 47 /*/*/) {
- if (!matchedSlash) {
- end = i;
- break;
- }
- } else {
- // We saw the first non-path separator
- matchedSlash = false;
- }
- }
-
- if (end === -1) return hasRoot ? '/' : '.';
- if (hasRoot && end === 1) {
- // return '//';
- // Backwards-compat fix:
- return '/';
- }
- return path.slice(0, end);
-};
-
-function basename(path) {
- if (typeof path !== 'string') path = path + '';
-
- var start = 0;
- var end = -1;
- var matchedSlash = true;
- var i;
-
- for (i = path.length - 1; i >= 0; --i) {
- if (path.charCodeAt(i) === 47 /*/*/) {
- // If we reached a path separator that was not part of a set of path
- // separators at the end of the string, stop now
- if (!matchedSlash) {
- start = i + 1;
- break;
- }
- } else if (end === -1) {
- // We saw the first non-path separator, mark this as the end of our
- // path component
- matchedSlash = false;
- end = i + 1;
- }
- }
-
- if (end === -1) return '';
- return path.slice(start, end);
-}
-
-// Uses a mixed approach for backwards-compatibility, as ext behavior changed
-// in new Node.js versions, so only basename() above is backported here
-exports.basename = function (path, ext) {
- var f = basename(path);
- if (ext && f.substr(-1 * ext.length) === ext) {
- f = f.substr(0, f.length - ext.length);
- }
- return f;
-};
-
-exports.extname = function (path) {
- if (typeof path !== 'string') path = path + '';
- var startDot = -1;
- var startPart = 0;
- var end = -1;
- var matchedSlash = true;
- // Track the state of characters (if any) we see before our first dot and
- // after any path separator we find
- var preDotState = 0;
- for (var i = path.length - 1; i >= 0; --i) {
- var code = path.charCodeAt(i);
- if (code === 47 /*/*/) {
- // If we reached a path separator that was not part of a set of path
- // separators at the end of the string, stop now
- if (!matchedSlash) {
- startPart = i + 1;
- break;
- }
- continue;
- }
- if (end === -1) {
- // We saw the first non-path separator, mark this as the end of our
- // extension
- matchedSlash = false;
- end = i + 1;
- }
- if (code === 46 /*.*/) {
- // If this is our first dot, mark it as the start of our extension
- if (startDot === -1)
- startDot = i;
- else if (preDotState !== 1)
- preDotState = 1;
- } else if (startDot !== -1) {
- // We saw a non-dot and non-path separator before our dot, so we should
- // have a good chance at having a non-empty extension
- preDotState = -1;
- }
- }
-
- if (startDot === -1 || end === -1 ||
- // We saw a non-dot character immediately before the dot
- preDotState === 0 ||
- // The (right-most) trimmed path component is exactly '..'
- preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
- return '';
- }
- return path.slice(startDot, end);
-};
-
-function filter (xs, f) {
- if (xs.filter) return xs.filter(f);
- var res = [];
- for (var i = 0; i < xs.length; i++) {
- if (f(xs[i], i, xs)) res.push(xs[i]);
- }
- return res;
-}
-
-// String.prototype.substr - negative index don't work in IE8
-var substr = 'ab'.substr(-1) === 'b'
- ? function (str, start, len) { return str.substr(start, len) }
- : function (str, start, len) {
- if (start < 0) start = str.length + start;
- return str.substr(start, len);
- }
-;
-
-}).call(this,require('_process'))
-},{"_process":5}],5:[function(require,module,exports){
-// shim for using process in browser
-var process = module.exports = {};
-
-// cached from whatever global is present so that test runners that stub it
-// don't break things. But we need to wrap it in a try catch in case it is
-// wrapped in strict mode code which doesn't define any globals. It's inside a
-// function because try/catches deoptimize in certain engines.
-
-var cachedSetTimeout;
-var cachedClearTimeout;
-
-function defaultSetTimout() {
- throw new Error('setTimeout has not been defined');
-}
-function defaultClearTimeout () {
- throw new Error('clearTimeout has not been defined');
-}
-(function () {
- try {
- if (typeof setTimeout === 'function') {
- cachedSetTimeout = setTimeout;
- } else {
- cachedSetTimeout = defaultSetTimout;
- }
- } catch (e) {
- cachedSetTimeout = defaultSetTimout;
- }
- try {
- if (typeof clearTimeout === 'function') {
- cachedClearTimeout = clearTimeout;
- } else {
- cachedClearTimeout = defaultClearTimeout;
- }
- } catch (e) {
- cachedClearTimeout = defaultClearTimeout;
- }
-} ())
-function runTimeout(fun) {
- if (cachedSetTimeout === setTimeout) {
- //normal enviroments in sane situations
- return setTimeout(fun, 0);
- }
- // if setTimeout wasn't available but was latter defined
- if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
- cachedSetTimeout = setTimeout;
- return setTimeout(fun, 0);
- }
- try {
- // when when somebody has screwed with setTimeout but no I.E. maddness
- return cachedSetTimeout(fun, 0);
- } catch(e){
- try {
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
- return cachedSetTimeout.call(null, fun, 0);
- } catch(e){
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
- return cachedSetTimeout.call(this, fun, 0);
- }
- }
-
-
-}
-function runClearTimeout(marker) {
- if (cachedClearTimeout === clearTimeout) {
- //normal enviroments in sane situations
- return clearTimeout(marker);
- }
- // if clearTimeout wasn't available but was latter defined
- if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
- cachedClearTimeout = clearTimeout;
- return clearTimeout(marker);
- }
- try {
- // when when somebody has screwed with setTimeout but no I.E. maddness
- return cachedClearTimeout(marker);
- } catch (e){
- try {
- // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
- return cachedClearTimeout.call(null, marker);
- } catch (e){
- // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
- // Some versions of I.E. have different rules for clearTimeout vs setTimeout
- return cachedClearTimeout.call(this, marker);
- }
- }
-
-
-
-}
-var queue = [];
-var draining = false;
-var currentQueue;
-var queueIndex = -1;
-
-function cleanUpNextTick() {
- if (!draining || !currentQueue) {
- return;
- }
- draining = false;
- if (currentQueue.length) {
- queue = currentQueue.concat(queue);
- } else {
- queueIndex = -1;
- }
- if (queue.length) {
- drainQueue();
- }
-}
-
-function drainQueue() {
- if (draining) {
- return;
- }
- var timeout = runTimeout(cleanUpNextTick);
- draining = true;
-
- var len = queue.length;
- while(len) {
- currentQueue = queue;
- queue = [];
- while (++queueIndex < len) {
- if (currentQueue) {
- currentQueue[queueIndex].run();
- }
- }
- queueIndex = -1;
- len = queue.length;
- }
- currentQueue = null;
- draining = false;
- runClearTimeout(timeout);
-}
-
-process.nextTick = function (fun) {
- var args = new Array(arguments.length - 1);
- if (arguments.length > 1) {
- for (var i = 1; i < arguments.length; i++) {
- args[i - 1] = arguments[i];
- }
- }
- queue.push(new Item(fun, args));
- if (queue.length === 1 && !draining) {
- runTimeout(drainQueue);
- }
-};
-
-// v8 likes predictible objects
-function Item(fun, array) {
- this.fun = fun;
- this.array = array;
-}
-Item.prototype.run = function () {
- this.fun.apply(null, this.array);
-};
-process.title = 'browser';
-process.browser = true;
-process.env = {};
-process.argv = [];
-process.version = ''; // empty string to avoid regexp issues
-process.versions = {};
-
-function noop() {}
-
-process.on = noop;
-process.addListener = noop;
-process.once = noop;
-process.off = noop;
-process.removeListener = noop;
-process.removeAllListeners = noop;
-process.emit = noop;
-process.prependListener = noop;
-process.prependOnceListener = noop;
-
-process.listeners = function (name) { return [] }
-
-process.binding = function (name) {
- throw new Error('process.binding is not supported');
-};
-
-process.cwd = function () { return '/' };
-process.chdir = function (dir) {
- throw new Error('process.chdir is not supported');
-};
-process.umask = function() { return 0; };
-
-},{}],6:[function(require,module,exports){
-module.exports={
- "name": "ejs",
- "description": "Embedded JavaScript templates",
- "keywords": [
- "template",
- "engine",
- "ejs"
- ],
- "version": "3.1.3",
- "author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",
- "license": "Apache-2.0",
- "bin": {
- "ejs": "./bin/cli.js"
- },
- "main": "./lib/ejs.js",
- "jsdelivr": "ejs.min.js",
- "unpkg": "ejs.min.js",
- "repository": {
- "type": "git",
- "url": "git://github.com/mde/ejs.git"
- },
- "bugs": "https://github.com/mde/ejs/issues",
- "homepage": "https://github.com/mde/ejs",
- "dependencies": {
- "jake": "^10.6.1"
- },
- "devDependencies": {
- "browserify": "^16.5.1",
- "eslint": "^6.8.0",
- "git-directory-deploy": "^1.5.1",
- "jsdoc": "^3.6.4",
- "lru-cache": "^4.0.1",
- "mocha": "^7.1.1",
- "uglify-js": "^3.3.16"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "scripts": {
- "test": "mocha",
- "postinstall": "node --harmony ./postinstall.js"
- }
-}
-
-},{}]},{},[1])(1)
-});
diff --git a/Server/node_modules/ejs/ejs.min.js b/Server/node_modules/ejs/ejs.min.js
deleted file mode 100644
index d35b161..0000000
--- a/Server/node_modules/ejs/ejs.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ejs=f()}})(function(){var define,module,exports;return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r}()({1:[function(require,module,exports){"use strict";var fs=require("fs");var path=require("path");var utils=require("./utils");var scopeOptionWarned=false;var _VERSION_STRING=require("../package.json").version;var _DEFAULT_OPEN_DELIMITER="<";var _DEFAULT_CLOSE_DELIMITER=">";var _DEFAULT_DELIMITER="%";var _DEFAULT_LOCALS_NAME="locals";var _NAME="ejs";var _REGEX_STRING="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)";var _OPTS_PASSABLE_WITH_DATA=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"];var _OPTS_PASSABLE_WITH_DATA_EXPRESS=_OPTS_PASSABLE_WITH_DATA.concat("cache");var _BOM=/^\uFEFF/;exports.cache=utils.cache;exports.fileLoader=fs.readFileSync;exports.localsName=_DEFAULT_LOCALS_NAME;exports.promiseImpl=new Function("return this;")().Promise;exports.resolveInclude=function(name,filename,isDir){var dirname=path.dirname;var extname=path.extname;var resolve=path.resolve;var includePath=resolve(isDir?filename:dirname(filename),name);var ext=extname(name);if(!ext){includePath+=".ejs"}return includePath};function resolvePaths(name,paths){var filePath;if(paths.some(function(v){filePath=exports.resolveInclude(name,v,true);return fs.existsSync(filePath)})){return filePath}}function getIncludePath(path,options){var includePath;var filePath;var views=options.views;var match=/^[A-Za-z]+:\\|^\//.exec(path);if(match&&match.length){path=path.replace(/^\/*/,"");if(Array.isArray(options.root)){includePath=resolvePaths(path,options.root)}else{includePath=exports.resolveInclude(path,options.root||"/",true)}}else{if(options.filename){filePath=exports.resolveInclude(path,options.filename);if(fs.existsSync(filePath)){includePath=filePath}}if(!includePath&&Array.isArray(views)){includePath=resolvePaths(path,views)}if(!includePath&&typeof options.includer!=="function"){throw new Error('Could not find the include file "'+options.escapeFunction(path)+'"')}}return includePath}function handleCache(options,template){var func;var filename=options.filename;var hasTemplate=arguments.length>1;if(options.cache){if(!filename){throw new Error("cache option requires a filename")}func=exports.cache.get(filename);if(func){return func}if(!hasTemplate){template=fileLoader(filename).toString().replace(_BOM,"")}}else if(!hasTemplate){if(!filename){throw new Error("Internal EJS error: no file name or template "+"provided")}template=fileLoader(filename).toString().replace(_BOM,"")}func=exports.compile(template,options);if(options.cache){exports.cache.set(filename,func)}return func}function tryHandleCache(options,data,cb){var result;if(!cb){if(typeof exports.promiseImpl=="function"){return new exports.promiseImpl(function(resolve,reject){try{result=handleCache(options)(data);resolve(result)}catch(err){reject(err)}})}else{throw new Error("Please provide a callback function")}}else{try{result=handleCache(options)(data)}catch(err){return cb(err)}cb(null,result)}}function fileLoader(filePath){return exports.fileLoader(filePath)}function includeFile(path,options){var opts=utils.shallowCopy({},options);opts.filename=getIncludePath(path,opts);if(typeof options.includer==="function"){var includerResult=options.includer(path,opts.filename);if(includerResult){if(includerResult.filename){opts.filename=includerResult.filename}if(includerResult.template){return handleCache(opts,includerResult.template)}}}return handleCache(opts)}function rethrow(err,str,flnm,lineno,esc){var lines=str.split("\n");var start=Math.max(lineno-3,0);var end=Math.min(lines.length,lineno+3);var filename=esc(flnm);var context=lines.slice(start,end).map(function(line,i){var curr=i+start+1;return(curr==lineno?" >> ":" ")+curr+"| "+line}).join("\n");err.path=filename;err.message=(filename||"ejs")+":"+lineno+"\n"+context+"\n\n"+err.message;throw err}function stripSemi(str){return str.replace(/;(\s*$)/,"$1")}exports.compile=function compile(template,opts){var templ;if(opts&&opts.scope){if(!scopeOptionWarned){console.warn("`scope` option is deprecated and will be removed in EJS 3");scopeOptionWarned=true}if(!opts.context){opts.context=opts.scope}delete opts.scope}templ=new Template(template,opts);return templ.compile()};exports.render=function(template,d,o){var data=d||{};var opts=o||{};if(arguments.length==2){utils.shallowCopyFromList(opts,data,_OPTS_PASSABLE_WITH_DATA)}return handleCache(opts,template)(data)};exports.renderFile=function(){var args=Array.prototype.slice.call(arguments);var filename=args.shift();var cb;var opts={filename:filename};var data;var viewOpts;if(typeof arguments[arguments.length-1]=="function"){cb=args.pop()}if(args.length){data=args.shift();if(args.length){utils.shallowCopy(opts,args.pop())}else{if(data.settings){if(data.settings.views){opts.views=data.settings.views}if(data.settings["view cache"]){opts.cache=true}viewOpts=data.settings["view options"];if(viewOpts){utils.shallowCopy(opts,viewOpts)}}utils.shallowCopyFromList(opts,data,_OPTS_PASSABLE_WITH_DATA_EXPRESS)}opts.filename=filename}else{data={}}return tryHandleCache(opts,data,cb)};exports.Template=Template;exports.clearCache=function(){exports.cache.reset()};function Template(text,opts){opts=opts||{};var options={};this.templateText=text;this.mode=null;this.truncate=false;this.currentLine=1;this.source="";options.client=opts.client||false;options.escapeFunction=opts.escape||opts.escapeFunction||utils.escapeXML;options.compileDebug=opts.compileDebug!==false;options.debug=!!opts.debug;options.filename=opts.filename;options.openDelimiter=opts.openDelimiter||exports.openDelimiter||_DEFAULT_OPEN_DELIMITER;options.closeDelimiter=opts.closeDelimiter||exports.closeDelimiter||_DEFAULT_CLOSE_DELIMITER;options.delimiter=opts.delimiter||exports.delimiter||_DEFAULT_DELIMITER;options.strict=opts.strict||false;options.context=opts.context;options.cache=opts.cache||false;options.rmWhitespace=opts.rmWhitespace;options.root=opts.root;options.includer=opts.includer;options.outputFunctionName=opts.outputFunctionName;options.localsName=opts.localsName||exports.localsName||_DEFAULT_LOCALS_NAME;options.views=opts.views;options.async=opts.async;options.destructuredLocals=opts.destructuredLocals;options.legacyInclude=typeof opts.legacyInclude!="undefined"?!!opts.legacyInclude:true;if(options.strict){options._with=false}else{options._with=typeof opts._with!="undefined"?opts._with:true}this.opts=options;this.regex=this.createRegex()}Template.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"};Template.prototype={createRegex:function(){var str=_REGEX_STRING;var delim=utils.escapeRegExpChars(this.opts.delimiter);var open=utils.escapeRegExpChars(this.opts.openDelimiter);var close=utils.escapeRegExpChars(this.opts.closeDelimiter);str=str.replace(/%/g,delim).replace(/</g,open).replace(/>/g,close);return new RegExp(str)},compile:function(){var src;var fn;var opts=this.opts;var prepended="";var appended="";var escapeFn=opts.escapeFunction;var ctor;if(!this.source){this.generateSource();prepended+=' var __output = "";\n'+" function __append(s) { if (s !== undefined && s !== null) __output += s }\n";if(opts.outputFunctionName){prepended+=" var "+opts.outputFunctionName+" = __append;"+"\n"}if(opts.destructuredLocals&&opts.destructuredLocals.length){var destructuring=" var __locals = ("+opts.localsName+" || {}),\n";for(var i=0;i<opts.destructuredLocals.length;i++){var name=opts.destructuredLocals[i];if(i>0){destructuring+=",\n "}destructuring+=name+" = __locals."+name}prepended+=destructuring+";\n"}if(opts._with!==false){prepended+=" with ("+opts.localsName+" || {}) {"+"\n";appended+=" }"+"\n"}appended+=" return __output;"+"\n";this.source=prepended+this.source+appended}if(opts.compileDebug){src="var __line = 1"+"\n"+" , __lines = "+JSON.stringify(this.templateText)+"\n"+" , __filename = "+(opts.filename?JSON.stringify(opts.filename):"undefined")+";"+"\n"+"try {"+"\n"+this.source+"} catch (e) {"+"\n"+" rethrow(e, __lines, __filename, __line, escapeFn);"+"\n"+"}"+"\n"}else{src=this.source}if(opts.client){src="escapeFn = escapeFn || "+escapeFn.toString()+";"+"\n"+src;if(opts.compileDebug){src="rethrow = rethrow || "+rethrow.toString()+";"+"\n"+src}}if(opts.strict){src='"use strict";\n'+src}if(opts.debug){console.log(src)}if(opts.compileDebug&&opts.filename){src=src+"\n"+"//# sourceURL="+opts.filename+"\n"}try{if(opts.async){try{ctor=new Function("return (async function(){}).constructor;")()}catch(e){if(e instanceof SyntaxError){throw new Error("This environment does not support async/await")}else{throw e}}}else{ctor=Function}fn=new ctor(opts.localsName+", escapeFn, include, rethrow",src)}catch(e){if(e instanceof SyntaxError){if(opts.filename){e.message+=" in "+opts.filename}e.message+=" while compiling ejs\n\n";e.message+="If the above error is not helpful, you may want to try EJS-Lint:\n";e.message+="https://github.com/RyanZim/EJS-Lint";if(!opts.async){e.message+="\n";e.message+="Or, if you meant to create an async function, pass `async: true` as an option."}}throw e}var returnedFn=opts.client?fn:function anonymous(data){var include=function(path,includeData){var d=utils.shallowCopy({},data);if(includeData){d=utils.shallowCopy(d,includeData)}return includeFile(path,opts)(d)};return fn.apply(opts.context,[data||{},escapeFn,include,rethrow])};if(opts.filename&&typeof Object.defineProperty==="function"){var filename=opts.filename;var basename=path.basename(filename,path.extname(filename));try{Object.defineProperty(returnedFn,"name",{value:basename,writable:false,enumerable:false,configurable:true})}catch(e){}}return returnedFn},generateSource:function(){var opts=this.opts;if(opts.rmWhitespace){this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")}this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var self=this;var matches=this.parseTemplateText();var d=this.opts.delimiter;var o=this.opts.openDelimiter;var c=this.opts.closeDelimiter;if(matches&&matches.length){matches.forEach(function(line,index){var closing;if(line.indexOf(o+d)===0&&line.indexOf(o+d+d)!==0){closing=matches[index+2];if(!(closing==d+c||closing=="-"+d+c||closing=="_"+d+c)){throw new Error('Could not find matching close tag for "'+line+'".')}}self.scanLine(line)})}},parseTemplateText:function(){var str=this.templateText;var pat=this.regex;var result=pat.exec(str);var arr=[];var firstPos;while(result){firstPos=result.index;if(firstPos!==0){arr.push(str.substring(0,firstPos));str=str.slice(firstPos)}arr.push(result[0]);str=str.slice(result[0].length);result=pat.exec(str)}if(str){arr.push(str)}return arr},_addOutput:function(line){if(this.truncate){line=line.replace(/^(?:\r\n|\r|\n)/,"");this.truncate=false}if(!line){return line}line=line.replace(/\\/g,"\\\\");line=line.replace(/\n/g,"\\n");line=line.replace(/\r/g,"\\r");line=line.replace(/"/g,'\\"');this.source+=' ; __append("'+line+'")'+"\n"},scanLine:function(line){var self=this;var d=this.opts.delimiter;var o=this.opts.openDelimiter;var c=this.opts.closeDelimiter;var newLineCount=0;newLineCount=line.split("\n").length-1;switch(line){case o+d:case o+d+"_":this.mode=Template.modes.EVAL;break;case o+d+"=":this.mode=Template.modes.ESCAPED;break;case o+d+"-":this.mode=Template.modes.RAW;break;case o+d+"#":this.mode=Template.modes.COMMENT;break;case o+d+d:this.mode=Template.modes.LITERAL;this.source+=' ; __append("'+line.replace(o+d+d,o+d)+'")'+"\n";break;case d+d+c:this.mode=Template.modes.LITERAL;this.source+=' ; __append("'+line.replace(d+d+c,d+c)+'")'+"\n";break;case d+c:case"-"+d+c:case"_"+d+c:if(this.mode==Template.modes.LITERAL){this._addOutput(line)}this.mode=null;this.truncate=line.indexOf("-")===0||line.indexOf("_")===0;break;default:if(this.mode){switch(this.mode){case Template.modes.EVAL:case Template.modes.ESCAPED:case Template.modes.RAW:if(line.lastIndexOf("//")>line.lastIndexOf("\n")){line+="\n"}}switch(this.mode){case Template.modes.EVAL:this.source+=" ; "+line+"\n";break;case Template.modes.ESCAPED:this.source+=" ; __append(escapeFn("+stripSemi(line)+"))"+"\n";break;case Template.modes.RAW:this.source+=" ; __append("+stripSemi(line)+")"+"\n";break;case Template.modes.COMMENT:break;case Template.modes.LITERAL:this._addOutput(line);break}}else{this._addOutput(line)}}if(self.opts.compileDebug&&newLineCount){this.currentLine+=newLineCount;this.source+=" ; __line = "+this.currentLine+"\n"}}};exports.escapeXML=utils.escapeXML;exports.__express=exports.renderFile;exports.VERSION=_VERSION_STRING;exports.name=_NAME;if(typeof window!="undefined"){window.ejs=exports}},{"../package.json":6,"./utils":2,fs:3,path:4}],2:[function(require,module,exports){"use strict";var regExpChars=/[|\\{}()[\]^$+*?.]/g;exports.escapeRegExpChars=function(string){if(!string){return""}return String(string).replace(regExpChars,"\\$&")};var _ENCODE_HTML_RULES={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&#34;","'":"&#39;"};var _MATCH_HTML=/[&<>'"]/g;function encode_char(c){return _ENCODE_HTML_RULES[c]||c}var escapeFuncStr="var _ENCODE_HTML_RULES = {\n"+' "&": "&amp;"\n'+' , "<": "&lt;"\n'+' , ">": "&gt;"\n'+' , \'"\': "&#34;"\n'+' , "\'": "&#39;"\n'+" }\n"+" , _MATCH_HTML = /[&<>'\"]/g;\n"+"function encode_char(c) {\n"+" return _ENCODE_HTML_RULES[c] || c;\n"+"};\n";exports.escapeXML=function(markup){return markup==undefined?"":String(markup).replace(_MATCH_HTML,encode_char)};exports.escapeXML.toString=function(){return Function.prototype.toString.call(this)+";\n"+escapeFuncStr};exports.shallowCopy=function(to,from){from=from||{};for(var p in from){to[p]=from[p]}return to};exports.shallowCopyFromList=function(to,from,list){for(var i=0;i<list.length;i++){var p=list[i];if(typeof from[p]!="undefined"){to[p]=from[p]}}return to};exports.cache={_data:{},set:function(key,val){this._data[key]=val},get:function(key){return this._data[key]},remove:function(key){delete this._data[key]},reset:function(){this._data={}}}},{}],3:[function(require,module,exports){},{}],4:[function(require,module,exports){(function(process){function normalizeArray(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up--;up){parts.unshift("..")}}return parts}exports.resolve=function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:process.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){continue}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=normalizeArray(filter(resolvedPath.split("/"),function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."};exports.normalize=function(path){var isAbsolute=exports.isAbsolute(path),trailingSlash=substr(path,-1)==="/";path=normalizeArray(filter(path.split("/"),function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path};exports.isAbsolute=function(path){return path.charAt(0)==="/"};exports.join=function(){var paths=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(paths,function(p,index){if(typeof p!=="string"){throw new TypeError("Arguments to path.join must be strings")}return p}).join("/"))};exports.relative=function(from,to){from=exports.resolve(from).substr(1);to=exports.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")};exports.sep="/";exports.delimiter=":";exports.dirname=function(path){if(typeof path!=="string")path=path+"";if(path.length===0)return".";var code=path.charCodeAt(0);var hasRoot=code===47;var end=-1;var matchedSlash=true;for(var i=path.length-1;i>=1;--i){code=path.charCodeAt(i);if(code===47){if(!matchedSlash){end=i;break}}else{matchedSlash=false}}if(end===-1)return hasRoot?"/":".";if(hasRoot&&end===1){return"/"}return path.slice(0,end)};function basename(path){if(typeof path!=="string")path=path+"";var start=0;var end=-1;var matchedSlash=true;var i;for(i=path.length-1;i>=0;--i){if(path.charCodeAt(i)===47){if(!matchedSlash){start=i+1;break}}else if(end===-1){matchedSlash=false;end=i+1}}if(end===-1)return"";return path.slice(start,end)}exports.basename=function(path,ext){var f=basename(path);if(ext&&f.substr(-1*ext.length)===ext){f=f.substr(0,f.length-ext.length)}return f};exports.extname=function(path){if(typeof path!=="string")path=path+"";var startDot=-1;var startPart=0;var end=-1;var matchedSlash=true;var preDotState=0;for(var i=path.length-1;i>=0;--i){var code=path.charCodeAt(i);if(code===47){if(!matchedSlash){startPart=i+1;break}continue}if(end===-1){matchedSlash=false;end=i+1}if(code===46){if(startDot===-1)startDot=i;else if(preDotState!==1)preDotState=1}else if(startDot!==-1){preDotState=-1}}if(startDot===-1||end===-1||preDotState===0||preDotState===1&&startDot===end-1&&startDot===startPart+1){return""}return path.slice(startDot,end)};function filter(xs,f){if(xs.filter)return xs.filter(f);var res=[];for(var i=0;i<xs.length;i++){if(f(xs[i],i,xs))res.push(xs[i])}return res}var substr="ab".substr(-1)==="b"?function(str,start,len){return str.substr(start,len)}:function(str,start,len){if(start<0)start=str.length+start;return str.substr(start,len)}}).call(this,require("_process"))},{_process:5}],5:[function(require,module,exports){var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[]};process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},{}],6:[function(require,module,exports){module.exports={name:"ejs",description:"Embedded JavaScript templates",keywords:["template","engine","ejs"],version:"3.1.3",author:"Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",license:"Apache-2.0",bin:{ejs:"./bin/cli.js"},main:"./lib/ejs.js",jsdelivr:"ejs.min.js",unpkg:"ejs.min.js",repository:{type:"git",url:"git://github.com/mde/ejs.git"},bugs:"https://github.com/mde/ejs/issues",homepage:"https://github.com/mde/ejs",dependencies:{jake:"^10.6.1"},devDependencies:{browserify:"^16.5.1",eslint:"^6.8.0","git-directory-deploy":"^1.5.1",jsdoc:"^3.6.4","lru-cache":"^4.0.1",mocha:"^7.1.1","uglify-js":"^3.3.16"},engines:{node:">=0.10.0"},scripts:{test:"mocha",postinstall:"node --harmony ./postinstall.js"}}},{}]},{},[1])(1)});
diff --git a/Server/node_modules/ejs/jakefile.js b/Server/node_modules/ejs/jakefile.js
deleted file mode 100644
index 0eebf2e..0000000
--- a/Server/node_modules/ejs/jakefile.js
+++ /dev/null
@@ -1,76 +0,0 @@
-var fs = require('fs');
-var execSync = require('child_process').execSync;
-var exec = function (cmd) {
- execSync(cmd, {stdio: 'inherit'});
-};
-
-/* global jake, task, desc, publishTask */
-
-task('build', ['lint', 'clean', 'browserify', 'minify'], function () {
- console.log('Build completed.');
-});
-
-desc('Cleans browerified/minified files and package files');
-task('clean', ['clobber'], function () {
- jake.rmRf('./ejs.js');
- jake.rmRf('./ejs.min.js');
- console.log('Cleaned up compiled files.');
-});
-
-desc('Lints the source code');
-task('lint', ['clean'], function () {
- exec('./node_modules/.bin/eslint "**/*.js"');
- console.log('Linting completed.');
-});
-
-task('browserify', function () {
- exec('./node_modules/browserify/bin/cmd.js --standalone ejs lib/ejs.js > ejs.js');
- console.log('Browserification completed.');
-});
-
-task('minify', function () {
- exec('./node_modules/uglify-js/bin/uglifyjs ejs.js > ejs.min.js');
- console.log('Minification completed.');
-});
-
-desc('Generates the EJS API docs');
-task('doc', function (dev) {
- jake.rmRf('out');
- var p = dev ? '-p' : '';
- exec('./node_modules/.bin/jsdoc ' + p + ' -c jsdoc.json lib/* docs/jsdoc/*');
- console.log('Documentation generated.');
-});
-
-desc('Publishes the EJS API docs');
-task('docPublish', ['doc'], function () {
- fs.writeFileSync('out/CNAME', 'api.ejs.co');
- console.log('Pushing docs to gh-pages...');
- exec('./node_modules/.bin/git-directory-deploy --directory out/');
- console.log('Docs published to gh-pages.');
-});
-
-desc('Runs the EJS test suite');
-task('test', ['lint'], function () {
- exec('./node_modules/.bin/mocha');
-});
-
-publishTask('ejs', ['build'], function () {
- this.packageFiles.include([
- 'jakefile.js',
- 'README.md',
- 'LICENSE',
- 'package.json',
- 'postinstall.js',
- 'ejs.js',
- 'ejs.min.js',
- 'lib/**',
- 'bin/**',
- 'usage.txt'
- ]);
-});
-
-jake.Task.publish.on('complete', function () {
- console.log('Updating hosted docs...');
- console.log('If this fails, run jake docPublish to re-try.');
- jake.Task.docPublish.invoke();
-});
diff --git a/Server/node_modules/ejs/lib/ejs.js b/Server/node_modules/ejs/lib/ejs.js
deleted file mode 100755
index 104aada..0000000
--- a/Server/node_modules/ejs/lib/ejs.js
+++ /dev/null
@@ -1,938 +0,0 @@
-/*
- * EJS Embedded JavaScript templates
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-'use strict';
-
-/**
- * @file Embedded JavaScript templating engine. {@link http://ejs.co}
- * @author Matthew Eernisse <mde@fleegix.org>
- * @author Tiancheng "Timothy" Gu <timothygu99@gmail.com>
- * @project EJS
- * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
- */
-
-/**
- * EJS internal functions.
- *
- * Technically this "module" lies in the same file as {@link module:ejs}, for
- * the sake of organization all the private functions re grouped into this
- * module.
- *
- * @module ejs-internal
- * @private
- */
-
-/**
- * Embedded JavaScript templating engine.
- *
- * @module ejs
- * @public
- */
-
-var fs = require('fs');
-var path = require('path');
-var utils = require('./utils');
-
-var scopeOptionWarned = false;
-/** @type {string} */
-var _VERSION_STRING = require('../package.json').version;
-var _DEFAULT_OPEN_DELIMITER = '<';
-var _DEFAULT_CLOSE_DELIMITER = '>';
-var _DEFAULT_DELIMITER = '%';
-var _DEFAULT_LOCALS_NAME = 'locals';
-var _NAME = 'ejs';
-var _REGEX_STRING = '(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)';
-var _OPTS_PASSABLE_WITH_DATA = ['delimiter', 'scope', 'context', 'debug', 'compileDebug',
- 'client', '_with', 'rmWhitespace', 'strict', 'filename', 'async'];
-// We don't allow 'cache' option to be passed in the data obj for
-// the normal `render` call, but this is where Express 2 & 3 put it
-// so we make an exception for `renderFile`
-var _OPTS_PASSABLE_WITH_DATA_EXPRESS = _OPTS_PASSABLE_WITH_DATA.concat('cache');
-var _BOM = /^\uFEFF/;
-
-/**
- * EJS template function cache. This can be a LRU object from lru-cache NPM
- * module. By default, it is {@link module:utils.cache}, a simple in-process
- * cache that grows continuously.
- *
- * @type {Cache}
- */
-
-exports.cache = utils.cache;
-
-/**
- * Custom file loader. Useful for template preprocessing or restricting access
- * to a certain part of the filesystem.
- *
- * @type {fileLoader}
- */
-
-exports.fileLoader = fs.readFileSync;
-
-/**
- * Name of the object containing the locals.
- *
- * This variable is overridden by {@link Options}`.localsName` if it is not
- * `undefined`.
- *
- * @type {String}
- * @public
- */
-
-exports.localsName = _DEFAULT_LOCALS_NAME;
-
-/**
- * Promise implementation -- defaults to the native implementation if available
- * This is mostly just for testability
- *
- * @type {PromiseConstructorLike}
- * @public
- */
-
-exports.promiseImpl = (new Function('return this;'))().Promise;
-
-/**
- * Get the path to the included file from the parent file path and the
- * specified path.
- *
- * @param {String} name specified path
- * @param {String} filename parent file path
- * @param {Boolean} [isDir=false] whether the parent file path is a directory
- * @return {String}
- */
-exports.resolveInclude = function(name, filename, isDir) {
- var dirname = path.dirname;
- var extname = path.extname;
- var resolve = path.resolve;
- var includePath = resolve(isDir ? filename : dirname(filename), name);
- var ext = extname(name);
- if (!ext) {
- includePath += '.ejs';
- }
- return includePath;
-};
-
-/**
- * Try to resolve file path on multiple directories
- *
- * @param {String} name specified path
- * @param {Array<String>} paths list of possible parent directory paths
- * @return {String}
- */
-function resolvePaths(name, paths) {
- var filePath;
- if (paths.some(function (v) {
- filePath = exports.resolveInclude(name, v, true);
- return fs.existsSync(filePath);
- })) {
- return filePath;
- }
-}
-
-/**
- * Get the path to the included file by Options
- *
- * @param {String} path specified path
- * @param {Options} options compilation options
- * @return {String}
- */
-function getIncludePath(path, options) {
- var includePath;
- var filePath;
- var views = options.views;
- var match = /^[A-Za-z]+:\\|^\//.exec(path);
-
- // Abs path
- if (match && match.length) {
- path = path.replace(/^\/*/, '');
- if (Array.isArray(options.root)) {
- includePath = resolvePaths(path, options.root);
- } else {
- includePath = exports.resolveInclude(path, options.root || '/', true);
- }
- }
- // Relative paths
- else {
- // Look relative to a passed filename first
- if (options.filename) {
- filePath = exports.resolveInclude(path, options.filename);
- if (fs.existsSync(filePath)) {
- includePath = filePath;
- }
- }
- // Then look in any views directories
- if (!includePath && Array.isArray(views)) {
- includePath = resolvePaths(path, views);
- }
- if (!includePath && typeof options.includer !== 'function') {
- throw new Error('Could not find the include file "' +
- options.escapeFunction(path) + '"');
- }
- }
- return includePath;
-}
-
-/**
- * Get the template from a string or a file, either compiled on-the-fly or
- * read from cache (if enabled), and cache the template if needed.
- *
- * If `template` is not set, the file specified in `options.filename` will be
- * read.
- *
- * If `options.cache` is true, this function reads the file from
- * `options.filename` so it must be set prior to calling this function.
- *
- * @memberof module:ejs-internal
- * @param {Options} options compilation options
- * @param {String} [template] template source
- * @return {(TemplateFunction|ClientFunction)}
- * Depending on the value of `options.client`, either type might be returned.
- * @static
- */
-
-function handleCache(options, template) {
- var func;
- var filename = options.filename;
- var hasTemplate = arguments.length > 1;
-
- if (options.cache) {
- if (!filename) {
- throw new Error('cache option requires a filename');
- }
- func = exports.cache.get(filename);
- if (func) {
- return func;
- }
- if (!hasTemplate) {
- template = fileLoader(filename).toString().replace(_BOM, '');
- }
- }
- else if (!hasTemplate) {
- // istanbul ignore if: should not happen at all
- if (!filename) {
- throw new Error('Internal EJS error: no file name or template '
- + 'provided');
- }
- template = fileLoader(filename).toString().replace(_BOM, '');
- }
- func = exports.compile(template, options);
- if (options.cache) {
- exports.cache.set(filename, func);
- }
- return func;
-}
-
-/**
- * Try calling handleCache with the given options and data and call the
- * callback with the result. If an error occurs, call the callback with
- * the error. Used by renderFile().
- *
- * @memberof module:ejs-internal
- * @param {Options} options compilation options
- * @param {Object} data template data
- * @param {RenderFileCallback} cb callback
- * @static
- */
-
-function tryHandleCache(options, data, cb) {
- var result;
- if (!cb) {
- if (typeof exports.promiseImpl == 'function') {
- return new exports.promiseImpl(function (resolve, reject) {
- try {
- result = handleCache(options)(data);
- resolve(result);
- }
- catch (err) {
- reject(err);
- }
- });
- }
- else {
- throw new Error('Please provide a callback function');
- }
- }
- else {
- try {
- result = handleCache(options)(data);
- }
- catch (err) {
- return cb(err);
- }
-
- cb(null, result);
- }
-}
-
-/**
- * fileLoader is independent
- *
- * @param {String} filePath ejs file path.
- * @return {String} The contents of the specified file.
- * @static
- */
-
-function fileLoader(filePath){
- return exports.fileLoader(filePath);
-}
-
-/**
- * Get the template function.
- *
- * If `options.cache` is `true`, then the template is cached.
- *
- * @memberof module:ejs-internal
- * @param {String} path path for the specified file
- * @param {Options} options compilation options
- * @return {(TemplateFunction|ClientFunction)}
- * Depending on the value of `options.client`, either type might be returned
- * @static
- */
-
-function includeFile(path, options) {
- var opts = utils.shallowCopy({}, options);
- opts.filename = getIncludePath(path, opts);
- if (typeof options.includer === 'function') {
- var includerResult = options.includer(path, opts.filename);
- if (includerResult) {
- if (includerResult.filename) {
- opts.filename = includerResult.filename;
- }
- if (includerResult.template) {
- return handleCache(opts, includerResult.template);
- }
- }
- }
- return handleCache(opts);
-}
-
-/**
- * Re-throw the given `err` in context to the `str` of ejs, `filename`, and
- * `lineno`.
- *
- * @implements {RethrowCallback}
- * @memberof module:ejs-internal
- * @param {Error} err Error object
- * @param {String} str EJS source
- * @param {String} flnm file name of the EJS file
- * @param {Number} lineno line number of the error
- * @param {EscapeCallback} esc
- * @static
- */
-
-function rethrow(err, str, flnm, lineno, esc) {
- var lines = str.split('\n');
- var start = Math.max(lineno - 3, 0);
- var end = Math.min(lines.length, lineno + 3);
- var filename = esc(flnm);
- // Error context
- var context = lines.slice(start, end).map(function (line, i){
- var curr = i + start + 1;
- return (curr == lineno ? ' >> ' : ' ')
- + curr
- + '| '
- + line;
- }).join('\n');
-
- // Alter exception message
- err.path = filename;
- err.message = (filename || 'ejs') + ':'
- + lineno + '\n'
- + context + '\n\n'
- + err.message;
-
- throw err;
-}
-
-function stripSemi(str){
- return str.replace(/;(\s*$)/, '$1');
-}
-
-/**
- * Compile the given `str` of ejs into a template function.
- *
- * @param {String} template EJS template
- *
- * @param {Options} [opts] compilation options
- *
- * @return {(TemplateFunction|ClientFunction)}
- * Depending on the value of `opts.client`, either type might be returned.
- * Note that the return type of the function also depends on the value of `opts.async`.
- * @public
- */
-
-exports.compile = function compile(template, opts) {
- var templ;
-
- // v1 compat
- // 'scope' is 'context'
- // FIXME: Remove this in a future version
- if (opts && opts.scope) {
- if (!scopeOptionWarned){
- console.warn('`scope` option is deprecated and will be removed in EJS 3');
- scopeOptionWarned = true;
- }
- if (!opts.context) {
- opts.context = opts.scope;
- }
- delete opts.scope;
- }
- templ = new Template(template, opts);
- return templ.compile();
-};
-
-/**
- * Render the given `template` of ejs.
- *
- * If you would like to include options but not data, you need to explicitly
- * call this function with `data` being an empty object or `null`.
- *
- * @param {String} template EJS template
- * @param {Object} [data={}] template data
- * @param {Options} [opts={}] compilation and rendering options
- * @return {(String|Promise<String>)}
- * Return value type depends on `opts.async`.
- * @public
- */
-
-exports.render = function (template, d, o) {
- var data = d || {};
- var opts = o || {};
-
- // No options object -- if there are optiony names
- // in the data, copy them to options
- if (arguments.length == 2) {
- utils.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA);
- }
-
- return handleCache(opts, template)(data);
-};
-
-/**
- * Render an EJS file at the given `path` and callback `cb(err, str)`.
- *
- * If you would like to include options but not data, you need to explicitly
- * call this function with `data` being an empty object or `null`.
- *
- * @param {String} path path to the EJS file
- * @param {Object} [data={}] template data
- * @param {Options} [opts={}] compilation and rendering options
- * @param {RenderFileCallback} cb callback
- * @public
- */
-
-exports.renderFile = function () {
- var args = Array.prototype.slice.call(arguments);
- var filename = args.shift();
- var cb;
- var opts = {filename: filename};
- var data;
- var viewOpts;
-
- // Do we have a callback?
- if (typeof arguments[arguments.length - 1] == 'function') {
- cb = args.pop();
- }
- // Do we have data/opts?
- if (args.length) {
- // Should always have data obj
- data = args.shift();
- // Normal passed opts (data obj + opts obj)
- if (args.length) {
- // Use shallowCopy so we don't pollute passed in opts obj with new vals
- utils.shallowCopy(opts, args.pop());
- }
- // Special casing for Express (settings + opts-in-data)
- else {
- // Express 3 and 4
- if (data.settings) {
- // Pull a few things from known locations
- if (data.settings.views) {
- opts.views = data.settings.views;
- }
- if (data.settings['view cache']) {
- opts.cache = true;
- }
- // Undocumented after Express 2, but still usable, esp. for
- // items that are unsafe to be passed along with data, like `root`
- viewOpts = data.settings['view options'];
- if (viewOpts) {
- utils.shallowCopy(opts, viewOpts);
- }
- }
- // Express 2 and lower, values set in app.locals, or people who just
- // want to pass options in their data. NOTE: These values will override
- // anything previously set in settings or settings['view options']
- utils.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA_EXPRESS);
- }
- opts.filename = filename;
- }
- else {
- data = {};
- }
-
- return tryHandleCache(opts, data, cb);
-};
-
-/**
- * Clear intermediate JavaScript cache. Calls {@link Cache#reset}.
- * @public
- */
-
-/**
- * EJS template class
- * @public
- */
-exports.Template = Template;
-
-exports.clearCache = function () {
- exports.cache.reset();
-};
-
-function Template(text, opts) {
- opts = opts || {};
- var options = {};
- this.templateText = text;
- /** @type {string | null} */
- this.mode = null;
- this.truncate = false;
- this.currentLine = 1;
- this.source = '';
- options.client = opts.client || false;
- options.escapeFunction = opts.escape || opts.escapeFunction || utils.escapeXML;
- options.compileDebug = opts.compileDebug !== false;
- options.debug = !!opts.debug;
- options.filename = opts.filename;
- options.openDelimiter = opts.openDelimiter || exports.openDelimiter || _DEFAULT_OPEN_DELIMITER;
- options.closeDelimiter = opts.closeDelimiter || exports.closeDelimiter || _DEFAULT_CLOSE_DELIMITER;
- options.delimiter = opts.delimiter || exports.delimiter || _DEFAULT_DELIMITER;
- options.strict = opts.strict || false;
- options.context = opts.context;
- options.cache = opts.cache || false;
- options.rmWhitespace = opts.rmWhitespace;
- options.root = opts.root;
- options.includer = opts.includer;
- options.outputFunctionName = opts.outputFunctionName;
- options.localsName = opts.localsName || exports.localsName || _DEFAULT_LOCALS_NAME;
- options.views = opts.views;
- options.async = opts.async;
- options.destructuredLocals = opts.destructuredLocals;
- options.legacyInclude = typeof opts.legacyInclude != 'undefined' ? !!opts.legacyInclude : true;
-
- if (options.strict) {
- options._with = false;
- }
- else {
- options._with = typeof opts._with != 'undefined' ? opts._with : true;
- }
-
- this.opts = options;
-
- this.regex = this.createRegex();
-}
-
-Template.modes = {
- EVAL: 'eval',
- ESCAPED: 'escaped',
- RAW: 'raw',
- COMMENT: 'comment',
- LITERAL: 'literal'
-};
-
-Template.prototype = {
- createRegex: function () {
- var str = _REGEX_STRING;
- var delim = utils.escapeRegExpChars(this.opts.delimiter);
- var open = utils.escapeRegExpChars(this.opts.openDelimiter);
- var close = utils.escapeRegExpChars(this.opts.closeDelimiter);
- str = str.replace(/%/g, delim)
- .replace(/</g, open)
- .replace(/>/g, close);
- return new RegExp(str);
- },
-
- compile: function () {
- /** @type {string} */
- var src;
- /** @type {ClientFunction} */
- var fn;
- var opts = this.opts;
- var prepended = '';
- var appended = '';
- /** @type {EscapeCallback} */
- var escapeFn = opts.escapeFunction;
- /** @type {FunctionConstructor} */
- var ctor;
-
- if (!this.source) {
- this.generateSource();
- prepended +=
- ' var __output = "";\n' +
- ' function __append(s) { if (s !== undefined && s !== null) __output += s }\n';
- if (opts.outputFunctionName) {
- prepended += ' var ' + opts.outputFunctionName + ' = __append;' + '\n';
- }
- if (opts.destructuredLocals && opts.destructuredLocals.length) {
- var destructuring = ' var __locals = (' + opts.localsName + ' || {}),\n';
- for (var i = 0; i < opts.destructuredLocals.length; i++) {
- var name = opts.destructuredLocals[i];
- if (i > 0) {
- destructuring += ',\n ';
- }
- destructuring += name + ' = __locals.' + name;
- }
- prepended += destructuring + ';\n';
- }
- if (opts._with !== false) {
- prepended += ' with (' + opts.localsName + ' || {}) {' + '\n';
- appended += ' }' + '\n';
- }
- appended += ' return __output;' + '\n';
- this.source = prepended + this.source + appended;
- }
-
- if (opts.compileDebug) {
- src = 'var __line = 1' + '\n'
- + ' , __lines = ' + JSON.stringify(this.templateText) + '\n'
- + ' , __filename = ' + (opts.filename ?
- JSON.stringify(opts.filename) : 'undefined') + ';' + '\n'
- + 'try {' + '\n'
- + this.source
- + '} catch (e) {' + '\n'
- + ' rethrow(e, __lines, __filename, __line, escapeFn);' + '\n'
- + '}' + '\n';
- }
- else {
- src = this.source;
- }
-
- if (opts.client) {
- src = 'escapeFn = escapeFn || ' + escapeFn.toString() + ';' + '\n' + src;
- if (opts.compileDebug) {
- src = 'rethrow = rethrow || ' + rethrow.toString() + ';' + '\n' + src;
- }
- }
-
- if (opts.strict) {
- src = '"use strict";\n' + src;
- }
- if (opts.debug) {
- console.log(src);
- }
- if (opts.compileDebug && opts.filename) {
- src = src + '\n'
- + '//# sourceURL=' + opts.filename + '\n';
- }
-
- try {
- if (opts.async) {
- // Have to use generated function for this, since in envs without support,
- // it breaks in parsing
- try {
- ctor = (new Function('return (async function(){}).constructor;'))();
- }
- catch(e) {
- if (e instanceof SyntaxError) {
- throw new Error('This environment does not support async/await');
- }
- else {
- throw e;
- }
- }
- }
- else {
- ctor = Function;
- }
- fn = new ctor(opts.localsName + ', escapeFn, include, rethrow', src);
- }
- catch(e) {
- // istanbul ignore else
- if (e instanceof SyntaxError) {
- if (opts.filename) {
- e.message += ' in ' + opts.filename;
- }
- e.message += ' while compiling ejs\n\n';
- e.message += 'If the above error is not helpful, you may want to try EJS-Lint:\n';
- e.message += 'https://github.com/RyanZim/EJS-Lint';
- if (!opts.async) {
- e.message += '\n';
- e.message += 'Or, if you meant to create an async function, pass `async: true` as an option.';
- }
- }
- throw e;
- }
-
- // Return a callable function which will execute the function
- // created by the source-code, with the passed data as locals
- // Adds a local `include` function which allows full recursive include
- var returnedFn = opts.client ? fn : function anonymous(data) {
- var include = function (path, includeData) {
- var d = utils.shallowCopy({}, data);
- if (includeData) {
- d = utils.shallowCopy(d, includeData);
- }
- return includeFile(path, opts)(d);
- };
- return fn.apply(opts.context, [data || {}, escapeFn, include, rethrow]);
- };
- if (opts.filename && typeof Object.defineProperty === 'function') {
- var filename = opts.filename;
- var basename = path.basename(filename, path.extname(filename));
- try {
- Object.defineProperty(returnedFn, 'name', {
- value: basename,
- writable: false,
- enumerable: false,
- configurable: true
- });
- } catch (e) {/* ignore */}
- }
- return returnedFn;
- },
-
- generateSource: function () {
- var opts = this.opts;
-
- if (opts.rmWhitespace) {
- // Have to use two separate replace here as `^` and `$` operators don't
- // work well with `\r` and empty lines don't work well with the `m` flag.
- this.templateText =
- this.templateText.replace(/[\r\n]+/g, '\n').replace(/^\s+|\s+$/gm, '');
- }
-
- // Slurp spaces and tabs before <%_ and after _%>
- this.templateText =
- this.templateText.replace(/[ \t]*<%_/gm, '<%_').replace(/_%>[ \t]*/gm, '_%>');
-
- var self = this;
- var matches = this.parseTemplateText();
- var d = this.opts.delimiter;
- var o = this.opts.openDelimiter;
- var c = this.opts.closeDelimiter;
-
- if (matches && matches.length) {
- matches.forEach(function (line, index) {
- var closing;
- // If this is an opening tag, check for closing tags
- // FIXME: May end up with some false positives here
- // Better to store modes as k/v with openDelimiter + delimiter as key
- // Then this can simply check against the map
- if ( line.indexOf(o + d) === 0 // If it is a tag
- && line.indexOf(o + d + d) !== 0) { // and is not escaped
- closing = matches[index + 2];
- if (!(closing == d + c || closing == '-' + d + c || closing == '_' + d + c)) {
- throw new Error('Could not find matching close tag for "' + line + '".');
- }
- }
- self.scanLine(line);
- });
- }
-
- },
-
- parseTemplateText: function () {
- var str = this.templateText;
- var pat = this.regex;
- var result = pat.exec(str);
- var arr = [];
- var firstPos;
-
- while (result) {
- firstPos = result.index;
-
- if (firstPos !== 0) {
- arr.push(str.substring(0, firstPos));
- str = str.slice(firstPos);
- }
-
- arr.push(result[0]);
- str = str.slice(result[0].length);
- result = pat.exec(str);
- }
-
- if (str) {
- arr.push(str);
- }
-
- return arr;
- },
-
- _addOutput: function (line) {
- if (this.truncate) {
- // Only replace single leading linebreak in the line after
- // -%> tag -- this is the single, trailing linebreak
- // after the tag that the truncation mode replaces
- // Handle Win / Unix / old Mac linebreaks -- do the \r\n
- // combo first in the regex-or
- line = line.replace(/^(?:\r\n|\r|\n)/, '');
- this.truncate = false;
- }
- if (!line) {
- return line;
- }
-
- // Preserve literal slashes
- line = line.replace(/\\/g, '\\\\');
-
- // Convert linebreaks
- line = line.replace(/\n/g, '\\n');
- line = line.replace(/\r/g, '\\r');
-
- // Escape double-quotes
- // - this will be the delimiter during execution
- line = line.replace(/"/g, '\\"');
- this.source += ' ; __append("' + line + '")' + '\n';
- },
-
- scanLine: function (line) {
- var self = this;
- var d = this.opts.delimiter;
- var o = this.opts.openDelimiter;
- var c = this.opts.closeDelimiter;
- var newLineCount = 0;
-
- newLineCount = (line.split('\n').length - 1);
-
- switch (line) {
- case o + d:
- case o + d + '_':
- this.mode = Template.modes.EVAL;
- break;
- case o + d + '=':
- this.mode = Template.modes.ESCAPED;
- break;
- case o + d + '-':
- this.mode = Template.modes.RAW;
- break;
- case o + d + '#':
- this.mode = Template.modes.COMMENT;
- break;
- case o + d + d:
- this.mode = Template.modes.LITERAL;
- this.source += ' ; __append("' + line.replace(o + d + d, o + d) + '")' + '\n';
- break;
- case d + d + c:
- this.mode = Template.modes.LITERAL;
- this.source += ' ; __append("' + line.replace(d + d + c, d + c) + '")' + '\n';
- break;
- case d + c:
- case '-' + d + c:
- case '_' + d + c:
- if (this.mode == Template.modes.LITERAL) {
- this._addOutput(line);
- }
-
- this.mode = null;
- this.truncate = line.indexOf('-') === 0 || line.indexOf('_') === 0;
- break;
- default:
- // In script mode, depends on type of tag
- if (this.mode) {
- // If '//' is found without a line break, add a line break.
- switch (this.mode) {
- case Template.modes.EVAL:
- case Template.modes.ESCAPED:
- case Template.modes.RAW:
- if (line.lastIndexOf('//') > line.lastIndexOf('\n')) {
- line += '\n';
- }
- }
- switch (this.mode) {
- // Just executing code
- case Template.modes.EVAL:
- this.source += ' ; ' + line + '\n';
- break;
- // Exec, esc, and output
- case Template.modes.ESCAPED:
- this.source += ' ; __append(escapeFn(' + stripSemi(line) + '))' + '\n';
- break;
- // Exec and output
- case Template.modes.RAW:
- this.source += ' ; __append(' + stripSemi(line) + ')' + '\n';
- break;
- case Template.modes.COMMENT:
- // Do nothing
- break;
- // Literal <%% mode, append as raw output
- case Template.modes.LITERAL:
- this._addOutput(line);
- break;
- }
- }
- // In string mode, just add the output
- else {
- this._addOutput(line);
- }
- }
-
- if (self.opts.compileDebug && newLineCount) {
- this.currentLine += newLineCount;
- this.source += ' ; __line = ' + this.currentLine + '\n';
- }
- }
-};
-
-/**
- * Escape characters reserved in XML.
- *
- * This is simply an export of {@link module:utils.escapeXML}.
- *
- * If `markup` is `undefined` or `null`, the empty string is returned.
- *
- * @param {String} markup Input string
- * @return {String} Escaped string
- * @public
- * @func
- * */
-exports.escapeXML = utils.escapeXML;
-
-/**
- * Express.js support.
- *
- * This is an alias for {@link module:ejs.renderFile}, in order to support
- * Express.js out-of-the-box.
- *
- * @func
- */
-
-exports.__express = exports.renderFile;
-
-/**
- * Version of EJS.
- *
- * @readonly
- * @type {String}
- * @public
- */
-
-exports.VERSION = _VERSION_STRING;
-
-/**
- * Name for detection of EJS.
- *
- * @readonly
- * @type {String}
- * @public
- */
-
-exports.name = _NAME;
-
-/* istanbul ignore if */
-if (typeof window != 'undefined') {
- window.ejs = exports;
-}
diff --git a/Server/node_modules/ejs/lib/utils.js b/Server/node_modules/ejs/lib/utils.js
deleted file mode 100644
index 5715c17..0000000
--- a/Server/node_modules/ejs/lib/utils.js
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * EJS Embedded JavaScript templates
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-/**
- * Private utility functions
- * @module utils
- * @private
- */
-
-'use strict';
-
-var regExpChars = /[|\\{}()[\]^$+*?.]/g;
-
-/**
- * Escape characters reserved in regular expressions.
- *
- * If `string` is `undefined` or `null`, the empty string is returned.
- *
- * @param {String} string Input string
- * @return {String} Escaped string
- * @static
- * @private
- */
-exports.escapeRegExpChars = function (string) {
- // istanbul ignore if
- if (!string) {
- return '';
- }
- return String(string).replace(regExpChars, '\\$&');
-};
-
-var _ENCODE_HTML_RULES = {
- '&': '&amp;',
- '<': '&lt;',
- '>': '&gt;',
- '"': '&#34;',
- "'": '&#39;'
-};
-var _MATCH_HTML = /[&<>'"]/g;
-
-function encode_char(c) {
- return _ENCODE_HTML_RULES[c] || c;
-}
-
-/**
- * Stringified version of constants used by {@link module:utils.escapeXML}.
- *
- * It is used in the process of generating {@link ClientFunction}s.
- *
- * @readonly
- * @type {String}
- */
-
-var escapeFuncStr =
- 'var _ENCODE_HTML_RULES = {\n'
-+ ' "&": "&amp;"\n'
-+ ' , "<": "&lt;"\n'
-+ ' , ">": "&gt;"\n'
-+ ' , \'"\': "&#34;"\n'
-+ ' , "\'": "&#39;"\n'
-+ ' }\n'
-+ ' , _MATCH_HTML = /[&<>\'"]/g;\n'
-+ 'function encode_char(c) {\n'
-+ ' return _ENCODE_HTML_RULES[c] || c;\n'
-+ '};\n';
-
-/**
- * Escape characters reserved in XML.
- *
- * If `markup` is `undefined` or `null`, the empty string is returned.
- *
- * @implements {EscapeCallback}
- * @param {String} markup Input string
- * @return {String} Escaped string
- * @static
- * @private
- */
-
-exports.escapeXML = function (markup) {
- return markup == undefined
- ? ''
- : String(markup)
- .replace(_MATCH_HTML, encode_char);
-};
-exports.escapeXML.toString = function () {
- return Function.prototype.toString.call(this) + ';\n' + escapeFuncStr;
-};
-
-/**
- * Naive copy of properties from one object to another.
- * Does not recurse into non-scalar properties
- * Does not check to see if the property has a value before copying
- *
- * @param {Object} to Destination object
- * @param {Object} from Source object
- * @return {Object} Destination object
- * @static
- * @private
- */
-exports.shallowCopy = function (to, from) {
- from = from || {};
- for (var p in from) {
- to[p] = from[p];
- }
- return to;
-};
-
-/**
- * Naive copy of a list of key names, from one object to another.
- * Only copies property if it is actually defined
- * Does not recurse into non-scalar properties
- *
- * @param {Object} to Destination object
- * @param {Object} from Source object
- * @param {Array} list List of properties to copy
- * @return {Object} Destination object
- * @static
- * @private
- */
-exports.shallowCopyFromList = function (to, from, list) {
- for (var i = 0; i < list.length; i++) {
- var p = list[i];
- if (typeof from[p] != 'undefined') {
- to[p] = from[p];
- }
- }
- return to;
-};
-
-/**
- * Simple in-process cache implementation. Does not implement limits of any
- * sort.
- *
- * @implements {Cache}
- * @static
- * @private
- */
-exports.cache = {
- _data: {},
- set: function (key, val) {
- this._data[key] = val;
- },
- get: function (key) {
- return this._data[key];
- },
- remove: function (key) {
- delete this._data[key];
- },
- reset: function () {
- this._data = {};
- }
-};
diff --git a/Server/node_modules/ejs/package.json b/Server/node_modules/ejs/package.json
deleted file mode 100644
index a2bea81..0000000
--- a/Server/node_modules/ejs/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "_from": "ejs",
- "_id": "ejs@3.1.3",
- "_inBundle": false,
- "_integrity": "sha512-wmtrUGyfSC23GC/B1SMv2ogAUgbQEtDmTIhfqielrG5ExIM9TP4UoYdi90jLF1aTcsWCJNEO0UrgKzP0y3nTSg==",
- "_location": "/ejs",
- "_phantomChildren": {},
- "_requested": {
- "type": "tag",
- "registry": true,
- "raw": "ejs",
- "name": "ejs",
- "escapedName": "ejs",
- "rawSpec": "",
- "saveSpec": null,
- "fetchSpec": "latest"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.3.tgz",
- "_shasum": "514d967a8894084d18d3d47bd169a1c0560f093d",
- "_spec": "ejs",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server",
- "author": {
- "name": "Matthew Eernisse",
- "email": "mde@fleegix.org",
- "url": "http://fleegix.org"
- },
- "bin": {
- "ejs": "bin/cli.js"
- },
- "bugs": {
- "url": "https://github.com/mde/ejs/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "jake": "^10.6.1"
- },
- "deprecated": false,
- "description": "Embedded JavaScript templates",
- "devDependencies": {
- "browserify": "^16.5.1",
- "eslint": "^6.8.0",
- "git-directory-deploy": "^1.5.1",
- "jsdoc": "^3.6.4",
- "lru-cache": "^4.0.1",
- "mocha": "^7.1.1",
- "uglify-js": "^3.3.16"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "homepage": "https://github.com/mde/ejs",
- "jsdelivr": "ejs.min.js",
- "keywords": [
- "template",
- "engine",
- "ejs"
- ],
- "license": "Apache-2.0",
- "main": "./lib/ejs.js",
- "name": "ejs",
- "repository": {
- "type": "git",
- "url": "git://github.com/mde/ejs.git"
- },
- "scripts": {
- "postinstall": "node --harmony ./postinstall.js",
- "test": "mocha"
- },
- "unpkg": "ejs.min.js",
- "version": "3.1.3"
-}
diff --git a/Server/node_modules/ejs/postinstall.js b/Server/node_modules/ejs/postinstall.js
deleted file mode 100755
index e62f3c6..0000000
--- a/Server/node_modules/ejs/postinstall.js
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env node
-
-'use strict';
-
-function isTrue(value) {
- return !!value && value !== '0' && value !== 'false';
-}
-
-let envDisable = isTrue(process.env.DISABLE_OPENCOLLECTIVE) || isTrue(process.env.CI);
-let logLevel = process.env.npm_config_loglevel;
-let logLevelDisplay = ['silent', 'error', 'warn'].indexOf(logLevel) > -1;
-
-if (!(envDisable || logLevelDisplay)) {
- console.log('Thank you for installing \u001b[35mEJS\u001b[0m: built with the \u001b[32mJake\u001b[0m JavaScript build tool (\u001b[32mhttps://jakejs.com/\u001b[0m\)\n');
-}
-
-
diff --git a/Server/node_modules/ejs/usage.txt b/Server/node_modules/ejs/usage.txt
deleted file mode 100644
index 7469f7f..0000000
--- a/Server/node_modules/ejs/usage.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-EJS Embedded JavaScript templates
-{Usage}: ejs [options ...] template-file [data variables ...]
-
-{Options}:
- -o, --output-file FILE Write the rendered output to FILE rather than stdout.
- -f, --data-file FILE Must be JSON-formatted. Use parsed input from FILE as data for rendering.
- -i, --data-input STRING Must be JSON-formatted and URI-encoded. Use parsed input from STRING as data for rendering.
- -m, --delimiter CHARACTER Use CHARACTER with angle brackets for open/close (defaults to %).
- -p, --open-delimiter CHARACTER Use CHARACTER instead of left angle bracket to open.
- -c, --close-delimiter CHARACTER Use CHARACTER instead of right angle bracket to close.
- -s, --strict When set to `true`, generated function is in strict mode
- -n --no-with Use 'locals' object for vars rather than using `with` (implies --strict).
- -l --locals-name Name to use for the object storing local variables when not using `with`.
- -w --rm-whitespace Remove all safe-to-remove whitespace, including leading and trailing whitespace.
- -d --debug Outputs generated function body
- -h, --help Display this help message.
- -V/v, --version Display the EJS version.
-
-{Examples}:
- ejs -m $ ./test/fixtures/user.ejs -f ./user_data.json
- ejs -m $ ./test/fixtures/user.ejs name=Lerxst
- ejs -p [ -c ] ./template_file.ejs -o ./output.html
- ejs -n -l _ ./some_template.ejs -f ./data_file.json
- ejs -w ./template_with_whitspace.ejs -o ./output_file.html
diff --git a/Server/node_modules/encodeurl/HISTORY.md b/Server/node_modules/encodeurl/HISTORY.md
deleted file mode 100644
index 41313b2..0000000
--- a/Server/node_modules/encodeurl/HISTORY.md
+++ /dev/null
@@ -1,14 +0,0 @@
-1.0.2 / 2018-01-21
-==================
-
- * Fix encoding `%` as last character
-
-1.0.1 / 2016-06-09
-==================
-
- * Fix encoding unpaired surrogates at start/end of string
-
-1.0.0 / 2016-06-08
-==================
-
- * Initial release
diff --git a/Server/node_modules/encodeurl/LICENSE b/Server/node_modules/encodeurl/LICENSE
deleted file mode 100644
index 8812229..0000000
--- a/Server/node_modules/encodeurl/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2016 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/encodeurl/README.md b/Server/node_modules/encodeurl/README.md
deleted file mode 100644
index 127c5a0..0000000
--- a/Server/node_modules/encodeurl/README.md
+++ /dev/null
@@ -1,128 +0,0 @@
-# encodeurl
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Encode a URL to a percent-encoded form, excluding already-encoded sequences
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install encodeurl
-```
-
-## API
-
-```js
-var encodeUrl = require('encodeurl')
-```
-
-### encodeUrl(url)
-
-Encode a URL to a percent-encoded form, excluding already-encoded sequences.
-
-This function will take an already-encoded URL and encode all the non-URL
-code points (as UTF-8 byte sequences). This function will not encode the
-"%" character unless it is not part of a valid sequence (`%20` will be
-left as-is, but `%foo` will be encoded as `%25foo`).
-
-This encode is meant to be "safe" and does not throw errors. It will try as
-hard as it can to properly encode the given URL, including replacing any raw,
-unpaired surrogate pairs with the Unicode replacement character prior to
-encoding.
-
-This function is _similar_ to the intrinsic function `encodeURI`, except it
-will not encode the `%` character if that is part of a valid sequence, will
-not encode `[` and `]` (for IPv6 hostnames) and will replace raw, unpaired
-surrogate pairs with the Unicode replacement character (instead of throwing).
-
-## Examples
-
-### Encode a URL containing user-controled data
-
-```js
-var encodeUrl = require('encodeurl')
-var escapeHtml = require('escape-html')
-
-http.createServer(function onRequest (req, res) {
- // get encoded form of inbound url
- var url = encodeUrl(req.url)
-
- // create html message
- var body = '<p>Location ' + escapeHtml(url) + ' not found</p>'
-
- // send a 404
- res.statusCode = 404
- res.setHeader('Content-Type', 'text/html; charset=UTF-8')
- res.setHeader('Content-Length', String(Buffer.byteLength(body, 'utf-8')))
- res.end(body, 'utf-8')
-})
-```
-
-### Encode a URL for use in a header field
-
-```js
-var encodeUrl = require('encodeurl')
-var escapeHtml = require('escape-html')
-var url = require('url')
-
-http.createServer(function onRequest (req, res) {
- // parse inbound url
- var href = url.parse(req)
-
- // set new host for redirect
- href.host = 'localhost'
- href.protocol = 'https:'
- href.slashes = true
-
- // create location header
- var location = encodeUrl(url.format(href))
-
- // create html message
- var body = '<p>Redirecting to new site: ' + escapeHtml(location) + '</p>'
-
- // send a 301
- res.statusCode = 301
- res.setHeader('Content-Type', 'text/html; charset=UTF-8')
- res.setHeader('Content-Length', String(Buffer.byteLength(body, 'utf-8')))
- res.setHeader('Location', location)
- res.end(body, 'utf-8')
-})
-```
-
-## Testing
-
-```sh
-$ npm test
-$ npm run lint
-```
-
-## References
-
-- [RFC 3986: Uniform Resource Identifier (URI): Generic Syntax][rfc-3986]
-- [WHATWG URL Living Standard][whatwg-url]
-
-[rfc-3986]: https://tools.ietf.org/html/rfc3986
-[whatwg-url]: https://url.spec.whatwg.org/
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/encodeurl.svg
-[npm-url]: https://npmjs.org/package/encodeurl
-[node-version-image]: https://img.shields.io/node/v/encodeurl.svg
-[node-version-url]: https://nodejs.org/en/download
-[travis-image]: https://img.shields.io/travis/pillarjs/encodeurl.svg
-[travis-url]: https://travis-ci.org/pillarjs/encodeurl
-[coveralls-image]: https://img.shields.io/coveralls/pillarjs/encodeurl.svg
-[coveralls-url]: https://coveralls.io/r/pillarjs/encodeurl?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/encodeurl.svg
-[downloads-url]: https://npmjs.org/package/encodeurl
diff --git a/Server/node_modules/encodeurl/index.js b/Server/node_modules/encodeurl/index.js
deleted file mode 100644
index fc4906c..0000000
--- a/Server/node_modules/encodeurl/index.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/*!
- * encodeurl
- * Copyright(c) 2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = encodeUrl
-
-/**
- * RegExp to match non-URL code points, *after* encoding (i.e. not including "%")
- * and including invalid escape sequences.
- * @private
- */
-
-var ENCODE_CHARS_REGEXP = /(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g
-
-/**
- * RegExp to match unmatched surrogate pair.
- * @private
- */
-
-var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g
-
-/**
- * String to replace unmatched surrogate pair with.
- * @private
- */
-
-var UNMATCHED_SURROGATE_PAIR_REPLACE = '$1\uFFFD$2'
-
-/**
- * Encode a URL to a percent-encoded form, excluding already-encoded sequences.
- *
- * This function will take an already-encoded URL and encode all the non-URL
- * code points. This function will not encode the "%" character unless it is
- * not part of a valid sequence (`%20` will be left as-is, but `%foo` will
- * be encoded as `%25foo`).
- *
- * This encode is meant to be "safe" and does not throw errors. It will try as
- * hard as it can to properly encode the given URL, including replacing any raw,
- * unpaired surrogate pairs with the Unicode replacement character prior to
- * encoding.
- *
- * @param {string} url
- * @return {string}
- * @public
- */
-
-function encodeUrl (url) {
- return String(url)
- .replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE)
- .replace(ENCODE_CHARS_REGEXP, encodeURI)
-}
diff --git a/Server/node_modules/encodeurl/package.json b/Server/node_modules/encodeurl/package.json
deleted file mode 100644
index 945837a..0000000
--- a/Server/node_modules/encodeurl/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "_from": "encodeurl@~1.0.2",
- "_id": "encodeurl@1.0.2",
- "_inBundle": false,
- "_integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=",
- "_location": "/encodeurl",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "encodeurl@~1.0.2",
- "name": "encodeurl",
- "escapedName": "encodeurl",
- "rawSpec": "~1.0.2",
- "saveSpec": null,
- "fetchSpec": "~1.0.2"
- },
- "_requiredBy": [
- "/express",
- "/finalhandler",
- "/send",
- "/serve-static"
- ],
- "_resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "_shasum": "ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59",
- "_spec": "encodeurl@~1.0.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "bugs": {
- "url": "https://github.com/pillarjs/encodeurl/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "deprecated": false,
- "description": "Encode a URL to a percent-encoded form, excluding already-encoded sequences",
- "devDependencies": {
- "eslint": "3.19.0",
- "eslint-config-standard": "10.2.1",
- "eslint-plugin-import": "2.8.0",
- "eslint-plugin-node": "5.2.1",
- "eslint-plugin-promise": "3.6.0",
- "eslint-plugin-standard": "3.0.1",
- "istanbul": "0.4.5",
- "mocha": "2.5.3"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/pillarjs/encodeurl#readme",
- "keywords": [
- "encode",
- "encodeurl",
- "url"
- ],
- "license": "MIT",
- "name": "encodeurl",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/pillarjs/encodeurl.git"
- },
- "scripts": {
- "lint": "eslint .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "1.0.2"
-}
diff --git a/Server/node_modules/escape-html/LICENSE b/Server/node_modules/escape-html/LICENSE
deleted file mode 100644
index 2e70de9..0000000
--- a/Server/node_modules/escape-html/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012-2013 TJ Holowaychuk
-Copyright (c) 2015 Andreas Lubbe
-Copyright (c) 2015 Tiancheng "Timothy" Gu
-
-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.
diff --git a/Server/node_modules/escape-html/Readme.md b/Server/node_modules/escape-html/Readme.md
deleted file mode 100644
index 653d9ea..0000000
--- a/Server/node_modules/escape-html/Readme.md
+++ /dev/null
@@ -1,43 +0,0 @@
-
-# escape-html
-
- Escape string for use in HTML
-
-## Example
-
-```js
-var escape = require('escape-html');
-var html = escape('foo & bar');
-// -> foo &amp; bar
-```
-
-## Benchmark
-
-```
-$ npm run-script bench
-
-> escape-html@1.0.3 bench nodejs-escape-html
-> node benchmark/index.js
-
-
- http_parser@1.0
- node@0.10.33
- v8@3.14.5.9
- ares@1.9.0-DEV
- uv@0.10.29
- zlib@1.2.3
- modules@11
- openssl@1.0.1j
-
- 1 test completed.
- 2 tests completed.
- 3 tests completed.
-
- no special characters x 19,435,271 ops/sec ±0.85% (187 runs sampled)
- single special character x 6,132,421 ops/sec ±0.67% (194 runs sampled)
- many special characters x 3,175,826 ops/sec ±0.65% (193 runs sampled)
-```
-
-## License
-
- MIT
\ No newline at end of file
diff --git a/Server/node_modules/escape-html/index.js b/Server/node_modules/escape-html/index.js
deleted file mode 100644
index bf9e226..0000000
--- a/Server/node_modules/escape-html/index.js
+++ /dev/null
@@ -1,78 +0,0 @@
-/*!
- * escape-html
- * Copyright(c) 2012-2013 TJ Holowaychuk
- * Copyright(c) 2015 Andreas Lubbe
- * Copyright(c) 2015 Tiancheng "Timothy" Gu
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module variables.
- * @private
- */
-
-var matchHtmlRegExp = /["'&<>]/;
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = escapeHtml;
-
-/**
- * Escape special characters in the given string of html.
- *
- * @param {string} string The string to escape for inserting into HTML
- * @return {string}
- * @public
- */
-
-function escapeHtml(string) {
- var str = '' + string;
- var match = matchHtmlRegExp.exec(str);
-
- if (!match) {
- return str;
- }
-
- var escape;
- var html = '';
- var index = 0;
- var lastIndex = 0;
-
- for (index = match.index; index < str.length; index++) {
- switch (str.charCodeAt(index)) {
- case 34: // "
- escape = '&quot;';
- break;
- case 38: // &
- escape = '&amp;';
- break;
- case 39: // '
- escape = '&#39;';
- break;
- case 60: // <
- escape = '&lt;';
- break;
- case 62: // >
- escape = '&gt;';
- break;
- default:
- continue;
- }
-
- if (lastIndex !== index) {
- html += str.substring(lastIndex, index);
- }
-
- lastIndex = index + 1;
- html += escape;
- }
-
- return lastIndex !== index
- ? html + str.substring(lastIndex, index)
- : html;
-}
diff --git a/Server/node_modules/escape-html/package.json b/Server/node_modules/escape-html/package.json
deleted file mode 100644
index 4e9a416..0000000
--- a/Server/node_modules/escape-html/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "_from": "escape-html@~1.0.3",
- "_id": "escape-html@1.0.3",
- "_inBundle": false,
- "_integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=",
- "_location": "/escape-html",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "escape-html@~1.0.3",
- "name": "escape-html",
- "escapedName": "escape-html",
- "rawSpec": "~1.0.3",
- "saveSpec": null,
- "fetchSpec": "~1.0.3"
- },
- "_requiredBy": [
- "/express",
- "/finalhandler",
- "/send",
- "/serve-static"
- ],
- "_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "_shasum": "0258eae4d3d0c0974de1c169188ef0051d1d1988",
- "_spec": "escape-html@~1.0.3",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "bugs": {
- "url": "https://github.com/component/escape-html/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Escape string for use in HTML",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "1.0.0"
- },
- "files": [
- "LICENSE",
- "Readme.md",
- "index.js"
- ],
- "homepage": "https://github.com/component/escape-html#readme",
- "keywords": [
- "escape",
- "html",
- "utility"
- ],
- "license": "MIT",
- "name": "escape-html",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/component/escape-html.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js"
- },
- "version": "1.0.3"
-}
diff --git a/Server/node_modules/escape-string-regexp/index.js b/Server/node_modules/escape-string-regexp/index.js
deleted file mode 100644
index 7834bf9..0000000
--- a/Server/node_modules/escape-string-regexp/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-'use strict';
-
-var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
-
-module.exports = function (str) {
- if (typeof str !== 'string') {
- throw new TypeError('Expected a string');
- }
-
- return str.replace(matchOperatorsRe, '\\$&');
-};
diff --git a/Server/node_modules/escape-string-regexp/license b/Server/node_modules/escape-string-regexp/license
deleted file mode 100644
index 654d0bf..0000000
--- a/Server/node_modules/escape-string-regexp/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-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.
diff --git a/Server/node_modules/escape-string-regexp/package.json b/Server/node_modules/escape-string-regexp/package.json
deleted file mode 100644
index f6899eb..0000000
--- a/Server/node_modules/escape-string-regexp/package.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "_from": "escape-string-regexp@^1.0.5",
- "_id": "escape-string-regexp@1.0.5",
- "_inBundle": false,
- "_integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
- "_location": "/escape-string-regexp",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "escape-string-regexp@^1.0.5",
- "name": "escape-string-regexp",
- "escapedName": "escape-string-regexp",
- "rawSpec": "^1.0.5",
- "saveSpec": null,
- "fetchSpec": "^1.0.5"
- },
- "_requiredBy": [
- "/chalk"
- ],
- "_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "_shasum": "1b61c0562190a8dff6ae3bb2cf0200ca130b86d4",
- "_spec": "escape-string-regexp@^1.0.5",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/chalk",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/escape-string-regexp/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Escape RegExp special characters",
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "engines": {
- "node": ">=0.8.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/escape-string-regexp#readme",
- "keywords": [
- "escape",
- "regex",
- "regexp",
- "re",
- "regular",
- "expression",
- "string",
- "str",
- "special",
- "characters"
- ],
- "license": "MIT",
- "maintainers": [
- {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- {
- "name": "Joshua Boy Nicolai Appelman",
- "email": "joshua@jbna.nl",
- "url": "jbna.nl"
- }
- ],
- "name": "escape-string-regexp",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/escape-string-regexp.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "1.0.5"
-}
diff --git a/Server/node_modules/escape-string-regexp/readme.md b/Server/node_modules/escape-string-regexp/readme.md
deleted file mode 100644
index 87ac82d..0000000
--- a/Server/node_modules/escape-string-regexp/readme.md
+++ /dev/null
@@ -1,27 +0,0 @@
-# escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp)
-
-> Escape RegExp special characters
-
-
-## Install
-
-```
-$ npm install --save escape-string-regexp
-```
-
-
-## Usage
-
-```js
-const escapeStringRegexp = require('escape-string-regexp');
-
-const escapedString = escapeStringRegexp('how much $ for a unicorn?');
-//=> 'how much \$ for a unicorn\?'
-
-new RegExp(escapedString);
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/Server/node_modules/etag/HISTORY.md b/Server/node_modules/etag/HISTORY.md
deleted file mode 100644
index 222b293..0000000
--- a/Server/node_modules/etag/HISTORY.md
+++ /dev/null
@@ -1,83 +0,0 @@
-1.8.1 / 2017-09-12
-==================
-
- * perf: replace regular expression with substring
-
-1.8.0 / 2017-02-18
-==================
-
- * Use SHA1 instead of MD5 for ETag hashing
- - Improves performance for larger entities
- - Works with FIPS 140-2 OpenSSL configuration
-
-1.7.0 / 2015-06-08
-==================
-
- * Always include entity length in ETags for hash length extensions
- * Generate non-Stats ETags using MD5 only (no longer CRC32)
- * Improve stat performance by removing hashing
- * Remove base64 padding in ETags to shorten
- * Use MD5 instead of MD4 in weak ETags over 1KB
-
-1.6.0 / 2015-05-10
-==================
-
- * Improve support for JXcore
- * Remove requirement of `atime` in the stats object
- * Support "fake" stats objects in environments without `fs`
-
-1.5.1 / 2014-11-19
-==================
-
- * deps: crc@3.2.1
- - Minor fixes
-
-1.5.0 / 2014-10-14
-==================
-
- * Improve string performance
- * Slightly improve speed for weak ETags over 1KB
-
-1.4.0 / 2014-09-21
-==================
-
- * Support "fake" stats objects
- * Support Node.js 0.6
-
-1.3.1 / 2014-09-14
-==================
-
- * Use the (new and improved) `crc` for crc32
-
-1.3.0 / 2014-08-29
-==================
-
- * Default strings to strong ETags
- * Improve speed for weak ETags over 1KB
-
-1.2.1 / 2014-08-29
-==================
-
- * Use the (much faster) `buffer-crc32` for crc32
-
-1.2.0 / 2014-08-24
-==================
-
- * Add support for file stat objects
-
-1.1.0 / 2014-08-24
-==================
-
- * Add fast-path for empty entity
- * Add weak ETag generation
- * Shrink size of generated ETags
-
-1.0.1 / 2014-08-24
-==================
-
- * Fix behavior of string containing Unicode
-
-1.0.0 / 2014-05-18
-==================
-
- * Initial release
diff --git a/Server/node_modules/etag/LICENSE b/Server/node_modules/etag/LICENSE
deleted file mode 100644
index cab251c..0000000
--- a/Server/node_modules/etag/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014-2016 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/etag/README.md b/Server/node_modules/etag/README.md
deleted file mode 100644
index 09c2169..0000000
--- a/Server/node_modules/etag/README.md
+++ /dev/null
@@ -1,159 +0,0 @@
-# etag
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Create simple HTTP ETags
-
-This module generates HTTP ETags (as defined in RFC 7232) for use in
-HTTP responses.
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install etag
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var etag = require('etag')
-```
-
-### etag(entity, [options])
-
-Generate a strong ETag for the given entity. This should be the complete
-body of the entity. Strings, `Buffer`s, and `fs.Stats` are accepted. By
-default, a strong ETag is generated except for `fs.Stats`, which will
-generate a weak ETag (this can be overwritten by `options.weak`).
-
-<!-- eslint-disable no-undef -->
-
-```js
-res.setHeader('ETag', etag(body))
-```
-
-#### Options
-
-`etag` accepts these properties in the options object.
-
-##### weak
-
-Specifies if the generated ETag will include the weak validator mark (that
-is, the leading `W/`). The actual entity tag is the same. The default value
-is `false`, unless the `entity` is `fs.Stats`, in which case it is `true`.
-
-## Testing
-
-```sh
-$ npm test
-```
-
-## Benchmark
-
-```bash
-$ npm run-script bench
-
-> etag@1.8.1 bench nodejs-etag
-> node benchmark/index.js
-
- http_parser@2.7.0
- node@6.11.1
- v8@5.1.281.103
- uv@1.11.0
- zlib@1.2.11
- ares@1.10.1-DEV
- icu@58.2
- modules@48
- openssl@1.0.2k
-
-> node benchmark/body0-100b.js
-
- 100B body
-
- 4 tests completed.
-
- buffer - strong x 258,647 ops/sec ±1.07% (180 runs sampled)
- buffer - weak x 263,812 ops/sec ±0.61% (184 runs sampled)
- string - strong x 259,955 ops/sec ±1.19% (185 runs sampled)
- string - weak x 264,356 ops/sec ±1.09% (184 runs sampled)
-
-> node benchmark/body1-1kb.js
-
- 1KB body
-
- 4 tests completed.
-
- buffer - strong x 189,018 ops/sec ±1.12% (182 runs sampled)
- buffer - weak x 190,586 ops/sec ±0.81% (186 runs sampled)
- string - strong x 144,272 ops/sec ±0.96% (188 runs sampled)
- string - weak x 145,380 ops/sec ±1.43% (187 runs sampled)
-
-> node benchmark/body2-5kb.js
-
- 5KB body
-
- 4 tests completed.
-
- buffer - strong x 92,435 ops/sec ±0.42% (188 runs sampled)
- buffer - weak x 92,373 ops/sec ±0.58% (189 runs sampled)
- string - strong x 48,850 ops/sec ±0.56% (186 runs sampled)
- string - weak x 49,380 ops/sec ±0.56% (190 runs sampled)
-
-> node benchmark/body3-10kb.js
-
- 10KB body
-
- 4 tests completed.
-
- buffer - strong x 55,989 ops/sec ±0.93% (188 runs sampled)
- buffer - weak x 56,148 ops/sec ±0.55% (190 runs sampled)
- string - strong x 27,345 ops/sec ±0.43% (188 runs sampled)
- string - weak x 27,496 ops/sec ±0.45% (190 runs sampled)
-
-> node benchmark/body4-100kb.js
-
- 100KB body
-
- 4 tests completed.
-
- buffer - strong x 7,083 ops/sec ±0.22% (190 runs sampled)
- buffer - weak x 7,115 ops/sec ±0.26% (191 runs sampled)
- string - strong x 3,068 ops/sec ±0.34% (190 runs sampled)
- string - weak x 3,096 ops/sec ±0.35% (190 runs sampled)
-
-> node benchmark/stats.js
-
- stat
-
- 4 tests completed.
-
- real - strong x 871,642 ops/sec ±0.34% (189 runs sampled)
- real - weak x 867,613 ops/sec ±0.39% (190 runs sampled)
- fake - strong x 401,051 ops/sec ±0.40% (189 runs sampled)
- fake - weak x 400,100 ops/sec ±0.47% (188 runs sampled)
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/etag.svg
-[npm-url]: https://npmjs.org/package/etag
-[node-version-image]: https://img.shields.io/node/v/etag.svg
-[node-version-url]: https://nodejs.org/en/download/
-[travis-image]: https://img.shields.io/travis/jshttp/etag/master.svg
-[travis-url]: https://travis-ci.org/jshttp/etag
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/etag/master.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/etag?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/etag.svg
-[downloads-url]: https://npmjs.org/package/etag
diff --git a/Server/node_modules/etag/index.js b/Server/node_modules/etag/index.js
deleted file mode 100644
index 2a585c9..0000000
--- a/Server/node_modules/etag/index.js
+++ /dev/null
@@ -1,131 +0,0 @@
-/*!
- * etag
- * Copyright(c) 2014-2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = etag
-
-/**
- * Module dependencies.
- * @private
- */
-
-var crypto = require('crypto')
-var Stats = require('fs').Stats
-
-/**
- * Module variables.
- * @private
- */
-
-var toString = Object.prototype.toString
-
-/**
- * Generate an entity tag.
- *
- * @param {Buffer|string} entity
- * @return {string}
- * @private
- */
-
-function entitytag (entity) {
- if (entity.length === 0) {
- // fast-path empty
- return '"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"'
- }
-
- // compute hash of entity
- var hash = crypto
- .createHash('sha1')
- .update(entity, 'utf8')
- .digest('base64')
- .substring(0, 27)
-
- // compute length of entity
- var len = typeof entity === 'string'
- ? Buffer.byteLength(entity, 'utf8')
- : entity.length
-
- return '"' + len.toString(16) + '-' + hash + '"'
-}
-
-/**
- * Create a simple ETag.
- *
- * @param {string|Buffer|Stats} entity
- * @param {object} [options]
- * @param {boolean} [options.weak]
- * @return {String}
- * @public
- */
-
-function etag (entity, options) {
- if (entity == null) {
- throw new TypeError('argument entity is required')
- }
-
- // support fs.Stats object
- var isStats = isstats(entity)
- var weak = options && typeof options.weak === 'boolean'
- ? options.weak
- : isStats
-
- // validate argument
- if (!isStats && typeof entity !== 'string' && !Buffer.isBuffer(entity)) {
- throw new TypeError('argument entity must be string, Buffer, or fs.Stats')
- }
-
- // generate entity tag
- var tag = isStats
- ? stattag(entity)
- : entitytag(entity)
-
- return weak
- ? 'W/' + tag
- : tag
-}
-
-/**
- * Determine if object is a Stats object.
- *
- * @param {object} obj
- * @return {boolean}
- * @api private
- */
-
-function isstats (obj) {
- // genuine fs.Stats
- if (typeof Stats === 'function' && obj instanceof Stats) {
- return true
- }
-
- // quack quack
- return obj && typeof obj === 'object' &&
- 'ctime' in obj && toString.call(obj.ctime) === '[object Date]' &&
- 'mtime' in obj && toString.call(obj.mtime) === '[object Date]' &&
- 'ino' in obj && typeof obj.ino === 'number' &&
- 'size' in obj && typeof obj.size === 'number'
-}
-
-/**
- * Generate a tag for a stat.
- *
- * @param {object} stat
- * @return {string}
- * @private
- */
-
-function stattag (stat) {
- var mtime = stat.mtime.getTime().toString(16)
- var size = stat.size.toString(16)
-
- return '"' + size + '-' + mtime + '"'
-}
diff --git a/Server/node_modules/etag/package.json b/Server/node_modules/etag/package.json
deleted file mode 100644
index 74bfe5d..0000000
--- a/Server/node_modules/etag/package.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "_from": "etag@~1.8.1",
- "_id": "etag@1.8.1",
- "_inBundle": false,
- "_integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",
- "_location": "/etag",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "etag@~1.8.1",
- "name": "etag",
- "escapedName": "etag",
- "rawSpec": "~1.8.1",
- "saveSpec": null,
- "fetchSpec": "~1.8.1"
- },
- "_requiredBy": [
- "/express",
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
- "_shasum": "41ae2eeb65efa62268aebfea83ac7d79299b0887",
- "_spec": "etag@~1.8.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "bugs": {
- "url": "https://github.com/jshttp/etag/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "David Björklund",
- "email": "david.bjorklund@gmail.com"
- }
- ],
- "deprecated": false,
- "description": "Create simple HTTP ETags",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "eslint": "3.19.0",
- "eslint-config-standard": "10.2.1",
- "eslint-plugin-import": "2.7.0",
- "eslint-plugin-markdown": "1.0.0-beta.6",
- "eslint-plugin-node": "5.1.1",
- "eslint-plugin-promise": "3.5.0",
- "eslint-plugin-standard": "3.0.1",
- "istanbul": "0.4.5",
- "mocha": "1.21.5",
- "safe-buffer": "5.1.1",
- "seedrandom": "2.4.3"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/etag#readme",
- "keywords": [
- "etag",
- "http",
- "res"
- ],
- "license": "MIT",
- "name": "etag",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/etag.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "1.8.1"
-}
diff --git a/Server/node_modules/express-fileupload/.eslintignore b/Server/node_modules/express-fileupload/.eslintignore
deleted file mode 100644
index 4ebc8ae..0000000
--- a/Server/node_modules/express-fileupload/.eslintignore
+++ /dev/null
@@ -1 +0,0 @@
-coverage
diff --git a/Server/node_modules/express-fileupload/.eslintrc b/Server/node_modules/express-fileupload/.eslintrc
deleted file mode 100644
index 37a6f3a..0000000
--- a/Server/node_modules/express-fileupload/.eslintrc
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "extends": [
- "eslint:recommended"
- ],
- "env": {
- "node": true,
- "mocha": true,
- "es6": true
- },
- "parserOptions": {
- "ecmaVersion": 6
- },
- "rules": {
- "comma-dangle": [2, "never"],
- "max-len": [2, {
- "code": 100,
- "tabWidth": 2
- }],
- "semi": 2,
- "keyword-spacing": 2,
- "indent": [2, 2, { "SwitchCase": 1 }]
- }
-}
\ No newline at end of file
diff --git a/Server/node_modules/express-fileupload/.prettierrc b/Server/node_modules/express-fileupload/.prettierrc
deleted file mode 100644
index af22500..0000000
--- a/Server/node_modules/express-fileupload/.prettierrc
+++ /dev/null
@@ -1 +0,0 @@
-{singleQuote: true}
\ No newline at end of file
diff --git a/Server/node_modules/express-fileupload/.travis.yml b/Server/node_modules/express-fileupload/.travis.yml
deleted file mode 100644
index d096d3b..0000000
--- a/Server/node_modules/express-fileupload/.travis.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-language: node_js
-node_js:
- - "10"
- - "11"
- - "12"
-
-env:
- - COVERALLS_REPO_TOKEN=vNV8IQ0jJAuWGikebCeIHJryRulP6aEHa
-script:
- - npm run lint
- - npm test
- - npm run coveralls
-after_success: 'npm run coveralls'
diff --git a/Server/node_modules/express-fileupload/LICENSE b/Server/node_modules/express-fileupload/LICENSE
deleted file mode 100644
index cd64be5..0000000
--- a/Server/node_modules/express-fileupload/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2015 Richard Girges
-
-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.
-
diff --git a/Server/node_modules/express-fileupload/README.md b/Server/node_modules/express-fileupload/README.md
deleted file mode 100644
index bb9d27e..0000000
--- a/Server/node_modules/express-fileupload/README.md
+++ /dev/null
@@ -1,121 +0,0 @@
-# express-fileupload
-Simple express middleware for uploading files.
-
-[![npm](https://img.shields.io/npm/v/express-fileupload.svg)](https://www.npmjs.org/package/express-fileupload)
-[![Build Status](https://travis-ci.com/richardgirges/express-fileupload.svg?branch=master)](https://travis-ci.com/richardgirges/express-fileupload)
-[![downloads per month](http://img.shields.io/npm/dm/express-fileupload.svg)](https://www.npmjs.org/package/express-fileupload)
-[![Coverage Status](https://img.shields.io/coveralls/richardgirges/express-fileupload.svg)](https://coveralls.io/r/richardgirges/express-fileupload)
-
-# Install
-```bash
-# With NPM
-npm i express-fileupload
-
-# With Yarn
-yarn add express-fileupload
-```
-
-# Usage
-When you upload a file, the file will be accessible from `req.files`.
-
-Example:
-* You're uploading a file called **car.jpg**
-* Your input's name field is **foo**: `<input name="foo" type="file" />`
-* In your express server request, you can access your uploaded file from `req.files.foo`:
-```javascript
-app.post('/upload', function(req, res) {
- console.log(req.files.foo); // the uploaded file object
-});
-```
-
-The **req.files.foo** object will contain the following:
-* `req.files.foo.name`: "car.jpg"
-* `req.files.foo.mv`: A function to move the file elsewhere on your server. Can take a callback or return a promise.
-* `req.files.foo.mimetype`: The mimetype of your file
-* `req.files.foo.data`: A buffer representation of your file, returns empty buffer in case useTempFiles option was set to true.
-* `req.files.foo.tempFilePath`: A path to the temporary file in case useTempFiles option was set to true.
-* `req.files.foo.truncated`: A boolean that represents if the file is over the size limit
-* `req.files.foo.size`: Uploaded size in bytes
-* `req.files.foo.md5`: MD5 checksum of the uploaded file
-
-**Notes about breaking changes with MD5 handling:**
-
-* Before 1.0.0, `md5` is an MD5 checksum of the uploaded file.
-* From 1.0.0 until 1.1.1, `md5` is a function to compute an MD5 hash ([Read about it here.](https://github.com/richardgirges/express-fileupload/releases/tag/v1.0.0-alpha.1)).
-* From 1.1.1 onward, `md5` is reverted back to MD5 checksum value and also added full MD5 support in case you are using temporary files.
-
-
-### Examples
-* [Example Project](https://github.com/richardgirges/express-fileupload/tree/master/example)
-* [Basic File Upload](https://github.com/richardgirges/express-fileupload/tree/master/example#basic-file-upload)
-* [Multi-File Upload](https://github.com/richardgirges/express-fileupload/tree/master/example#multi-file-upload)
-
-### Using Busboy Options
-Pass in Busboy options directly to the express-fileupload middleware. [Check out the Busboy documentation here](https://github.com/mscdex/busboy#api).
-
-```javascript
-app.use(fileUpload({
- limits: { fileSize: 50 * 1024 * 1024 },
-}));
-```
-
-### Using useTempFile Options
-Use temp files instead of memory for managing the upload process.
-
-```javascript
-// Note that this option available for versions 1.0.0 and newer.
-app.use(fileUpload({
- useTempFiles : true,
- tempFileDir : '/tmp/'
-}));
-```
-
-### Using debug option
-
-You can set `debug` option to `true` to see some logging about upload process.
-In this case middleware uses `console.log` and adds `Express-file-upload` prefix for outputs.
-
-It will show you whether the request is invalid and also common events triggered during upload.
-That can be really usfull for troubleshhoting and ***we recommend to attach debug output to each issue on Github***.
-
-***Output example:***
-
-```
-Express-file-upload: Temporary file path is /node/express-fileupload/test/temp/tmp-16-1570084843942
-Express-file-upload: New upload started testFile->car.png, bytes:0
-Express-file-upload: Uploading testFile->car.png, bytes:21232...
-Express-file-upload: Uploading testFile->car.png, bytes:86768...
-Express-file-upload: Upload timeout testFile->car.png, bytes:86768
-Express-file-upload: Cleaning up temporary file /node/express-fileupload/test/temp/tmp-16-1570084843942...
-```
-
-***Description:***
-
-* `Temporary file path is...` says that `useTempfiles` was set to true and also shows you temp file name and path.
-* `New upload started testFile->car.png` says that new upload started with field `testFile` and file name `car.png`.
-* `Uploading testFile->car.png, bytes:21232...` shows current progress for each new data chunk.
-* `Upload timeout` means that no data came during `uploadTimeout`.
-* `Cleaning up temporary file` Here finaly we see cleaning up of the temporary file because of upload timeout reached.
-
-### Available Options
-Pass in non-Busboy options directly to the middleware. These are express-fileupload specific options.
-
-Option | Acceptable&nbsp;Values | Details
---- | --- | ---
-createParentPath | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>true</code></ul> | Automatically creates the directory path specified in `.mv(filePathName)`
-uriDecodeFileNames | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>true</code></ul> | Applies uri decoding to file names if set true.
-safeFileNames | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>true</code></li><li>regex</li></ul> | Strips characters from the upload's filename. You can use custom regex to determine what to strip. If set to `true`, non-alphanumeric characters _except_ dashes and underscores will be stripped. This option is off by default.<br /><br />**Example #1 (strip slashes from file names):** `app.use(fileUpload({ safeFileNames: /\\/g }))`<br />**Example #2:** `app.use(fileUpload({ safeFileNames: true }))`
-preserveExtension | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>true</code></li><li><code>*Number*</code></li></ul> | Preserves filename extension when using <code>safeFileNames</code> option. If set to <code>true</code>, will default to an extension length of 3. If set to <code>*Number*</code>, this will be the max allowable extension length. If an extension is smaller than the extension length, it remains untouched. If the extension is longer, it is shifted.<br /><br />**Example #1 (true):**<br /><code>app.use(fileUpload({ safeFileNames: true, preserveExtension: true }));</code><br />*myFileName.ext* --> *myFileName.ext*<br /><br />**Example #2 (max extension length 2, extension shifted):**<br /><code>app.use(fileUpload({ safeFileNames: true, preserveExtension: 2 }));</code><br />*myFileName.ext* --> *myFileNamee.xt*
-abortOnLimit | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>true</code></ul> | Returns a HTTP 413 when the file is bigger than the size limit if true. Otherwise, it will add a <code>truncated = true</code> to the resulting file structure.
-responseOnLimit | <ul><li><code>'File size limit has been reached'</code>&nbsp;**(default)**</li><li><code>*String*</code></ul> | Response which will be send to client if file size limit exceeded when abortOnLimit set to true.
-limitHandler | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>function(req, res, next)</code></li></ul> | User defined limit handler which will be invoked if the file is bigger than configured limits.
-useTempFiles | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>true</code></ul> | By default this module uploads files into RAM. Setting this option to True turns on using temporary files instead of utilising RAM. This avoids memory overflow issues when uploading large files or in case of uploading lots of files at same time.
-tempFileDir | <ul><li><code>String</code>&nbsp;**(path)**</li></ul> | Path to store temporary files.<br />Used along with the <code>useTempFiles</code> option. By default this module uses 'tmp' folder in the current working directory.<br />You can use trailing slash, but it is not necessary.
-parseNested | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>true</code></li></ul> | By default, req.body and req.files are flattened like this: <code>{'name': 'John', 'hobbies[0]': 'Cinema', 'hobbies[1]': 'Bike'}</code><br /><br/>When this option is enabled they are parsed in order to be nested like this: <code>{'name': 'John', 'hobbies': ['Cinema', 'Bike']}</code>
-debug | <ul><li><code>false</code>&nbsp;**(default)**</li><li><code>true</code></ul> | Turn on/off upload process logging. Can be usefull for troubleshooting.
-
-# Help Wanted
-Looking for additional maintainers. Please contact `richardgirges [ at ] gmail.com` if you're interested. Pull Requests are welcomed!
-
-# Thanks & Credit
-[Brian White](https://github.com/mscdex) for his stellar work on the [Busboy Package](https://github.com/mscdex/busboy) and the [connect-busboy Package](https://github.com/mscdex/connect-busboy)
diff --git a/Server/node_modules/express-fileupload/example/README.md b/Server/node_modules/express-fileupload/example/README.md
deleted file mode 100644
index 13d6f92..0000000
--- a/Server/node_modules/express-fileupload/example/README.md
+++ /dev/null
@@ -1,66 +0,0 @@
-# express-fileupload Examples
-
-## Basic File Upload
-**Your node.js code:**
-```javascript
-const express = require('express');
-const fileUpload = require('express-fileupload');
-const app = express();
-
-// default options
-app.use(fileUpload());
-
-app.post('/upload', function(req, res) {
- if (!req.files || Object.keys(req.files).length === 0) {
- return res.status(400).send('No files were uploaded.');
- }
-
- // The name of the input field (i.e. "sampleFile") is used to retrieve the uploaded file
- let sampleFile = req.files.sampleFile;
-
- // Use the mv() method to place the file somewhere on your server
- sampleFile.mv('/somewhere/on/your/server/filename.jpg', function(err) {
- if (err)
- return res.status(500).send(err);
-
- res.send('File uploaded!');
- });
-});
-```
-
-**Your HTML file upload form:**
-```html
-<html>
- <body>
- <form ref='uploadForm'
- id='uploadForm'
- action='http://localhost:8000/upload'
- method='post'
- encType="multipart/form-data">
- <input type="file" name="sampleFile" />
- <input type='submit' value='Upload!' />
- </form>
- </body>
-</html>
-```
-
-## Multi-File Upload
-express-fileupload supports multiple file uploads at the same time.
-
-Let's say you have three files in your form, each of the inputs with the name `my_profile_pic`, `my_pet`, and `my_cover_photo`:
-```html
-<input type="file" name="my_profile_pic" />
-<input type="file" name="my_pet" />
-<input type="file" name="my_cover_photo" />
-```
-
-These uploaded files would be accessible like so:
-```javascript
-app.post('/upload', function(req, res) {
- // Uploaded files:
- console.log(req.files.my_profile_pic.name);
- console.log(req.files.my_pet.name);
- console.log(req.files.my_cover_photo.name);
-});
-```
-
diff --git a/Server/node_modules/express-fileupload/example/index.html b/Server/node_modules/express-fileupload/example/index.html
deleted file mode 100644
index 26630f6..0000000
--- a/Server/node_modules/express-fileupload/example/index.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<html>
- <body>
- <form ref='uploadForm'
- id='uploadForm'
- action='/upload'
- method='post'
- encType="multipart/form-data">
- <input type="file" name="sampleFile" />
- <input type='submit' value='Upload!' />
- </form>
- </body>
-</html>
diff --git a/Server/node_modules/express-fileupload/example/server.js b/Server/node_modules/express-fileupload/example/server.js
deleted file mode 100644
index e8c736c..0000000
--- a/Server/node_modules/express-fileupload/example/server.js
+++ /dev/null
@@ -1,41 +0,0 @@
-const express = require('express');
-const fileUpload = require('../lib/index');
-const app = express();
-
-const PORT = 8000;
-app.use('/form', express.static(__dirname + '/index.html'));
-
-// default options
-app.use(fileUpload());
-
-app.get('/ping', function(req, res) {
- res.send('pong');
-});
-
-app.post('/upload', function(req, res) {
- let sampleFile;
- let uploadPath;
-
- if (!req.files || Object.keys(req.files).length === 0) {
- res.status(400).send('No files were uploaded.');
- return;
- }
-
- console.log('req.files >>>', req.files); // eslint-disable-line
-
- sampleFile = req.files.sampleFile;
-
- uploadPath = __dirname + '/uploads/' + sampleFile.name;
-
- sampleFile.mv(uploadPath, function(err) {
- if (err) {
- return res.status(500).send(err);
- }
-
- res.send('File uploaded to ' + uploadPath);
- });
-});
-
-app.listen(PORT, function() {
- console.log('Express server listening on port ', PORT); // eslint-disable-line
-});
diff --git a/Server/node_modules/express-fileupload/example/uploads/placeholder.txt b/Server/node_modules/express-fileupload/example/uploads/placeholder.txt
deleted file mode 100644
index 32172e2..0000000
--- a/Server/node_modules/express-fileupload/example/uploads/placeholder.txt
+++ /dev/null
@@ -1 +0,0 @@
-files are placed here when uploaded using the upload.test.js express server
\ No newline at end of file
diff --git a/Server/node_modules/express-fileupload/lib/fileFactory.js b/Server/node_modules/express-fileupload/lib/fileFactory.js
deleted file mode 100644
index a84924f..0000000
--- a/Server/node_modules/express-fileupload/lib/fileFactory.js
+++ /dev/null
@@ -1,65 +0,0 @@
-'use strict';
-
-const {
- isFunc,
- debugLog,
- moveFile,
- promiseCallback,
- checkAndMakeDir,
- saveBufferToFile
-} = require('./utilities');
-
-/**
- * Returns Local function that moves the file to a different location on the filesystem
- * which takes two function arguments to make it compatible w/ Promise or Callback APIs
- * @param {String} filePath - destination file path.
- * @param {Object} options - file factory options.
- * @param {Object} fileUploadOptions - middleware options.
- * @returns {Function}
- */
-const moveFromTemp = (filePath, options, fileUploadOptions) => (resolve, reject) => {
- debugLog(fileUploadOptions, `Moving temporary file ${options.tempFilePath} to ${filePath}`);
- moveFile(options.tempFilePath, filePath, promiseCallback(resolve, reject));
-};
-
-/**
- * Returns Local function that moves the file from buffer to a different location on the filesystem
- * which takes two function arguments to make it compatible w/ Promise or Callback APIs
- * @param {String} filePath - destination file path.
- * @param {Object} options - file factory options.
- * @param {Object} fileUploadOptions - middleware options.
- * @returns {Function}
- */
-const moveFromBuffer = (filePath, options, fileUploadOptions) => (resolve, reject) => {
- debugLog(fileUploadOptions, `Moving uploaded buffer to ${filePath}`);
- saveBufferToFile(options.buffer, filePath, promiseCallback(resolve, reject));
-};
-
-module.exports = (options, fileUploadOptions = {}) => {
- // see: https://github.com/richardgirges/express-fileupload/issues/14
- // firefox uploads empty file in case of cache miss when f5ing page.
- // resulting in unexpected behavior. if there is no file data, the file is invalid.
- if (!fileUploadOptions.useTempFiles && !options.buffer.length) return;
-
- // Create and return file object.
- return {
- name: options.name,
- data: options.buffer,
- size: options.size,
- encoding: options.encoding,
- tempFilePath: options.tempFilePath,
- truncated: options.truncated,
- mimetype: options.mimetype,
- md5: options.hash,
- mv: (filePath, callback) => {
- // Define a propper move function.
- const moveFunc = fileUploadOptions.useTempFiles
- ? moveFromTemp(filePath, options, fileUploadOptions)
- : moveFromBuffer(filePath, options, fileUploadOptions);
- // Create a folder for a file.
- checkAndMakeDir(fileUploadOptions, filePath);
- // If callback is passed in, use the callback API, otherwise return a promise.
- return isFunc(callback) ? moveFunc(callback) : new Promise(moveFunc);
- }
- };
-};
diff --git a/Server/node_modules/express-fileupload/lib/index.js b/Server/node_modules/express-fileupload/lib/index.js
deleted file mode 100644
index 41437a6..0000000
--- a/Server/node_modules/express-fileupload/lib/index.js
+++ /dev/null
@@ -1,38 +0,0 @@
-'use strict';
-
-const path = require('path');
-const processMultipart = require('./processMultipart');
-const isEligibleRequest = require('./isEligibleRequest');
-const { buildOptions, debugLog } = require('./utilities');
-
-const DEFAULT_OPTIONS = {
- debug: false,
- uploadTimeout: 60000,
- fileHandler: false,
- uriDecodeFileNames: false,
- safeFileNames: false,
- preserveExtension: false,
- abortOnLimit: false,
- responseOnLimit: 'File size limit has been reached',
- limitHandler: false,
- createParentPath: false,
- parseNested: false,
- useTempFiles: false,
- tempFileDir: path.join(process.cwd(), 'tmp')
-};
-
-/**
- * Expose the file upload middleware
- * @param {Object} options - Middleware options.
- * @returns {Function} - express-fileupload middleware.
- */
-module.exports = (options) => {
- const uploadOptions = buildOptions(DEFAULT_OPTIONS, options);
- return (req, res, next) => {
- if (!isEligibleRequest(req)) {
- debugLog(uploadOptions, 'Request is not eligible for file upload!');
- return next();
- }
- processMultipart(uploadOptions, req, res, next);
- };
-};
diff --git a/Server/node_modules/express-fileupload/lib/isEligibleRequest.js b/Server/node_modules/express-fileupload/lib/isEligibleRequest.js
deleted file mode 100644
index 0c25283..0000000
--- a/Server/node_modules/express-fileupload/lib/isEligibleRequest.js
+++ /dev/null
@@ -1,34 +0,0 @@
-const ACCEPTABLE_CONTENT_TYPE = /^(multipart\/.+);(.*)$/i;
-const UNACCEPTABLE_METHODS = ['GET', 'HEAD'];
-
-/**
- * Ensures the request contains a content body
- * @param {Object} req Express req object
- * @returns {Boolean}
- */
-const hasBody = (req) => {
- return ('transfer-encoding' in req.headers) ||
- ('content-length' in req.headers && req.headers['content-length'] !== '0');
-};
-
-/**
- * Ensures the request is not using a non-compliant multipart method
- * such as GET or HEAD
- * @param {Object} req Express req object
- * @returns {Boolean}
- */
-const hasAcceptableMethod = req => !UNACCEPTABLE_METHODS.includes(req.method);
-
-/**
- * Ensures that only multipart requests are processed by express-fileupload
- * @param {Object} req Express req object
- * @returns {Boolean}
- */
-const hasAcceptableContentType = req => ACCEPTABLE_CONTENT_TYPE.test(req.headers['content-type']);
-
-/**
- * Ensures that the request in question is eligible for file uploads
- * @param {Object} req Express req object
- * @returns {Boolean}
- */
-module.exports = req => hasBody(req) && hasAcceptableMethod(req) && hasAcceptableContentType(req);
diff --git a/Server/node_modules/express-fileupload/lib/memHandler.js b/Server/node_modules/express-fileupload/lib/memHandler.js
deleted file mode 100644
index 09accfe..0000000
--- a/Server/node_modules/express-fileupload/lib/memHandler.js
+++ /dev/null
@@ -1,42 +0,0 @@
-const crypto = require('crypto');
-const { debugLog } = require('./utilities');
-
-/**
- * memHandler - In memory upload handler
- * @param {Object} options
- * @param {String} fieldname
- * @param {String} filename
- * @returns {Object}
- */
-module.exports = (options, fieldname, filename) => {
- const buffers = [];
- const hash = crypto.createHash('md5');
- let fileSize = 0;
- let completed = false;
-
- const getBuffer = () => Buffer.concat(buffers, fileSize);
-
- return {
- dataHandler: (data) => {
- if (completed === true) {
- debugLog(options, `Error: got ${fieldname}->${filename} data chunk for completed upload!`);
- return;
- }
- buffers.push(data);
- hash.update(data);
- fileSize += data.length;
- debugLog(options, `Uploading ${fieldname}->${filename}, bytes:${fileSize}...`);
- },
- getBuffer: getBuffer,
- getFilePath: () => '',
- getFileSize: () => fileSize,
- getHash: () => hash.digest('hex'),
- complete: () => {
- debugLog(options, `Upload ${fieldname}->${filename} completed, bytes:${fileSize}.`);
- completed = true;
- return getBuffer();
- },
- cleanup: () => { completed = true; },
- getWritePromise: () => Promise.resolve()
- };
-};
diff --git a/Server/node_modules/express-fileupload/lib/processMultipart.js b/Server/node_modules/express-fileupload/lib/processMultipart.js
deleted file mode 100644
index e8a815b..0000000
--- a/Server/node_modules/express-fileupload/lib/processMultipart.js
+++ /dev/null
@@ -1,145 +0,0 @@
-const Busboy = require('busboy');
-const UploadTimer = require('./uploadtimer');
-const fileFactory = require('./fileFactory');
-const memHandler = require('./memHandler');
-const tempFileHandler = require('./tempFileHandler');
-const processNested = require('./processNested');
-const {
- isFunc,
- debugLog,
- buildFields,
- buildOptions,
- parseFileName
-} = require('./utilities');
-
-const waitFlushProperty = Symbol('wait flush property symbol');
-
-/**
- * Processes multipart request
- * Builds a req.body object for fields
- * Builds a req.files object for files
- * @param {Object} options expressFileupload and Busboy options
- * @param {Object} req Express request object
- * @param {Object} res Express response object
- * @param {Function} next Express next method
- * @return {void}
- */
-module.exports = (options, req, res, next) => {
- req.files = null;
-
- // Build busboy options and init busboy instance.
- const busboyOptions = buildOptions(options, { headers: req.headers });
- const busboy = new Busboy(busboyOptions);
-
- // Close connection with specified reason and http code, default: 400 Bad Request.
- const closeConnection = (code, reason) => {
- req.unpipe(busboy);
- res.writeHead(code || 400, { Connection: 'close' });
- res.end(reason || 'Bad Request');
- };
-
- // Build multipart req.body fields
- busboy.on('field', (field, val) => req.body = buildFields(req.body, field, val));
-
- // Build req.files fields
- busboy.on('file', (field, file, name, encoding, mime) => {
- // Parse file name(cutting huge names, decoding, etc..).
- const filename = parseFileName(options, name);
- // Define methods and handlers for upload process.
- const {
- dataHandler,
- getFilePath,
- getFileSize,
- getHash,
- complete,
- cleanup,
- getWritePromise
- } = options.useTempFiles
- ? tempFileHandler(options, field, filename) // Upload into temporary file.
- : memHandler(options, field, filename); // Upload into RAM.
- // Define upload timer.
- const uploadTimer = new UploadTimer(options.uploadTimeout, () => {
- // After destroy an error event will be emitted and file clean up will be done.
- file.destroy(new Error(`Upload timeout ${field}->${filename}, bytes:${getFileSize()}`));
- });
-
- file.on('limit', () => {
- debugLog(options, `Size limit reached for ${field}->${filename}, bytes:${getFileSize()}`);
- // Reset upload timer in case of file limit reached.
- uploadTimer.clear();
- // Run a user defined limit handler if it has been set.
- if (isFunc(options.limitHandler)) return options.limitHandler(req, res, next);
- // Close connection with 413 code and do cleanup if abortOnLimit set(default: false).
- if (options.abortOnLimit) {
- debugLog(options, `Aborting upload because of size limit ${field}->${filename}.`);
- closeConnection(413, options.responseOnLimit);
- cleanup();
- }
- });
-
- file.on('data', (data) => {
- uploadTimer.set(); // Refresh upload timer each time new data chunk came.
- dataHandler(data); // Handle new piece of data.
- });
-
- file.on('end', () => {
- const size = getFileSize();
- // Debug logging for file upload ending.
- debugLog(options, `Upload finished ${field}->${filename}, bytes:${size}`);
- // Reset upload timer in case of end event.
- uploadTimer.clear();
- // Do not add file instance to the req.files if original name and size are empty.
- // Empty name and zero size indicates empty file field in the posted form.
- if (!name && size === 0) return;
- req.files = buildFields(req.files, field, fileFactory({
- buffer: complete(),
- name: filename,
- tempFilePath: getFilePath(),
- hash: getHash(),
- size,
- encoding,
- truncated: file.truncated,
- mimetype: mime
- }, options));
-
- if (!req[waitFlushProperty]) {
- req[waitFlushProperty] = [];
- }
- req[waitFlushProperty].push(getWritePromise());
- });
-
- file.on('error', (err) => {
- uploadTimer.clear(); // Reset upload timer in case of errors.
- debugLog(options, err);
- cleanup();
- next();
- });
-
- // Debug logging for a new file upload.
- debugLog(options, `New upload started ${field}->${filename}, bytes:${getFileSize()}`);
- // Set new upload timeout for a new file.
- uploadTimer.set();
- });
-
- busboy.on('finish', () => {
- if (options.parseNested) {
- req.body = processNested(req.body);
- req.files = processNested(req.files);
- }
-
- if (!req[waitFlushProperty]) return next();
- Promise.all(req[waitFlushProperty])
- .then(() => {
- delete req[waitFlushProperty];
- next();
- }).catch(err => {
- delete req[waitFlushProperty];
- debugLog(options, `Error while waiting files flush: ${err}`);
- next(err);
- });
- });
-
- busboy.on('error', next);
-
- req.pipe(busboy);
-};
diff --git a/Server/node_modules/express-fileupload/lib/processNested.js b/Server/node_modules/express-fileupload/lib/processNested.js
deleted file mode 100644
index 83ef371..0000000
--- a/Server/node_modules/express-fileupload/lib/processNested.js
+++ /dev/null
@@ -1,28 +0,0 @@
-module.exports = function(data){
- if (!data || data.length < 1) return {};
-
- let d = {},
- keys = Object.keys(data);
-
- for (let i = 0; i < keys.length; i++) {
- let key = keys[i],
- value = data[key],
- current = d,
- keyParts = key
- .replace(new RegExp(/\[/g), '.')
- .replace(new RegExp(/\]/g), '')
- .split('.');
-
- for (let index = 0; index < keyParts.length; index++){
- let k = keyParts[index];
- if (index >= keyParts.length - 1){
- current[k] = value;
- } else {
- if (!current[k]) current[k] = !isNaN(keyParts[index + 1]) ? [] : {};
- current = current[k];
- }
- }
- }
-
- return d;
-};
\ No newline at end of file
diff --git a/Server/node_modules/express-fileupload/lib/tempFileHandler.js b/Server/node_modules/express-fileupload/lib/tempFileHandler.js
deleted file mode 100644
index 2eea3b8..0000000
--- a/Server/node_modules/express-fileupload/lib/tempFileHandler.js
+++ /dev/null
@@ -1,74 +0,0 @@
-const fs = require('fs');
-const path = require('path');
-const crypto = require('crypto');
-const {
- debugLog,
- checkAndMakeDir,
- getTempFilename,
- deleteFile
-} = require('./utilities');
-
-module.exports = (options, fieldname, filename) => {
- const dir = path.normalize(options.tempFileDir);
- const tempFilePath = path.join(dir, getTempFilename());
- checkAndMakeDir({ createParentPath: true }, tempFilePath);
-
- debugLog(options, `Temporary file path is ${tempFilePath}`);
-
- const hash = crypto.createHash('md5');
- let fileSize = 0;
- let completed = false;
-
- let writeStream = false;
- let writePromise = Promise.resolve();
-
- const createWriteStream = () => {
- debugLog(options, `Opening write stream for ${fieldname}->${filename}...`);
- writeStream = fs.createWriteStream(tempFilePath);
- writePromise = new Promise((resolve, reject) => {
- writeStream.on('finish', () => {
- resolve();
- });
- writeStream.on('error', (err) => {
- debugLog(options, `Error write temp file: ${err}`);
- reject(err);
- });
- });
- };
-
- return {
- dataHandler: (data) => {
- if (completed === true) {
- debugLog(options, `Error: got ${fieldname}->${filename} data chunk for completed upload!`);
- return;
- }
- if (writeStream === false) createWriteStream();
- writeStream.write(data);
- hash.update(data);
- fileSize += data.length;
- debugLog(options, `Uploading ${fieldname}->${filename}, bytes:${fileSize}...`);
- },
- getFilePath: () => tempFilePath,
- getFileSize: () => fileSize,
- getHash: () => hash.digest('hex'),
- complete: () => {
- completed = true;
- debugLog(options, `Upload ${fieldname}->${filename} completed, bytes:${fileSize}.`);
- if (writeStream !== false) writeStream.end();
- // Return empty buff since data was uploaded into a temp file.
- return Buffer.concat([]);
- },
- cleanup: () => {
- completed = true;
- if (writeStream !== false) {
- debugLog(options, `Cleaning up temporary file ${tempFilePath}...`);
- writeStream.end();
- deleteFile(tempFilePath, err => (err
- ? debugLog(options, `Cleaning up temporary file ${tempFilePath} failed: ${err}`)
- : debugLog(options, `Cleaning up temporary file ${tempFilePath} done.`)
- ));
- }
- },
- getWritePromise: () => writePromise
- };
-};
diff --git a/Server/node_modules/express-fileupload/lib/uploadtimer.js b/Server/node_modules/express-fileupload/lib/uploadtimer.js
deleted file mode 100644
index d29ab46..0000000
--- a/Server/node_modules/express-fileupload/lib/uploadtimer.js
+++ /dev/null
@@ -1,26 +0,0 @@
-class UploadTimer {
- /**
- * @constructor
- * @param {number} timeout - timer timeout in msecs.
- * @param {Function} callback - callback to run when timeout reached.
- */
- constructor(timeout = 0, callback = () => {}) {
- this.timeout = timeout;
- this.callback = callback;
- this.timer = null;
- }
-
- clear() {
- clearTimeout(this.timer);
- }
-
- set() {
- // Do not start a timer if zero timeout or it hasn't been set.
- if (!this.timeout) return false;
- this.clear();
- this.timer = setTimeout(this.callback, this.timeout);
- return true;
- }
-}
-
-module.exports = UploadTimer;
diff --git a/Server/node_modules/express-fileupload/lib/utilities.js b/Server/node_modules/express-fileupload/lib/utilities.js
deleted file mode 100644
index ced0863..0000000
--- a/Server/node_modules/express-fileupload/lib/utilities.js
+++ /dev/null
@@ -1,269 +0,0 @@
-'use strict';
-
-const fs = require('fs');
-const path = require('path');
-const Readable = require('stream').Readable;
-
-// Parameters for safe file name parsing.
-const SAFE_FILE_NAME_REGEX = /[^\w-]/g;
-const MAX_EXTENSION_LENGTH = 3;
-
-// Parameters to generate unique temporary file names:
-const TEMP_COUNTER_MAX = 65536;
-const TEMP_PREFIX = 'tmp';
-let tempCounter = 0;
-
-/**
- * Logs message to console if debug option set to true.
- * @param {Object} options - options object.
- * @param {string} msg - message to log.
- * @returns {boolean} - false if debug is off.
- */
-const debugLog = (options, msg) => {
- const opts = options || {};
- if (!opts.debug) return false;
- console.log(`Express-file-upload: ${msg}`); // eslint-disable-line
- return true;
-};
-
-/**
- * Generates unique temporary file name like: tmp-5000-156788789789.
- * @param {string} prefix - a prefix for generated unique file name.
- * @returns {string}
- */
-const getTempFilename = (prefix) => {
- tempCounter = tempCounter >= TEMP_COUNTER_MAX ? 1 : tempCounter + 1;
- return `${prefix || TEMP_PREFIX}-${tempCounter}-${Date.now()}`;
-};
-
-/**
- * isFunc- check if argument is a function.
- * @returns {boolean} - Returns true if argument is a function.
- */
-const isFunc = func => func && func.constructor && func.call && func.apply ? true: false;
-
-/**
- * Set errorFunc to the same value as successFunc for callback mode.
- * @returns {Function}
- */
-const errorFunc = (resolve, reject) => isFunc(reject) ? reject : resolve;
-
-/**
- * Return a callback function for promise resole/reject args.
- * @returns {Function}
- */
-const promiseCallback = (resolve, reject) => {
- return err => err ? errorFunc(resolve, reject)(err) : resolve();
-};
-
-/**
- * Builds instance options from arguments objects(can't be arrow function).
- * @returns {Object} - result options.
- */
-const buildOptions = function(){
- const result = {};
- [...arguments].forEach(options => {
- if (!options || typeof options !== 'object') return;
- Object.keys(options).forEach(i => result[i] = options[i]);
- });
- return result;
-};
-
-/**
- * Builds request fields (using to build req.body and req.files)
- * @param {Object} instance - request object.
- * @param {string} field - field name.
- * @param {any} value - field value.
- * @returns {Object}
- */
-const buildFields = (instance, field, value) => {
- // Do nothing if value is not set.
- if (value === null || value === undefined) return instance;
- instance = instance || {};
- // Non-array fields
- if (!instance[field]) {
- instance[field] = value;
- return instance;
- }
- // Array fields
- if (instance[field] instanceof Array) {
- instance[field].push(value);
- } else {
- instance[field] = [instance[field], value];
- }
- return instance;
-};
-
-/**
- * Creates a folder for file specified in the path variable
- * @param {Object} fileUploadOptions
- * @param {string} filePath
- * @returns {boolean}
- */
-const checkAndMakeDir = (fileUploadOptions, filePath) => {
- // Check upload options were set.
- if (!fileUploadOptions) return false;
- if (!fileUploadOptions.createParentPath) return false;
- // Check whether folder for the file exists.
- if (!filePath) return false;
- const parentPath = path.dirname(filePath);
- // Create folder if it is not exists.
- if (!fs.existsSync(parentPath)) fs.mkdirSync(parentPath, { recursive: true });
- // Checks folder again and return a results.
- return fs.existsSync(parentPath);
-};
-
-/**
- * Delete file.
- * @param {string} file - Path to the file to delete.
- */
-const deleteFile = (file, callback) => fs.unlink(file, err => err ? callback(err) : callback());
-
-/**
- * Copy file via streams
- * @param {string} src - Path to the source file
- * @param {string} dst - Path to the destination file.
- */
-const copyFile = (src, dst, callback) => {
- // cbCalled flag and runCb helps to run cb only once.
- let cbCalled = false;
- let runCb = (err) => {
- if (cbCalled) return;
- cbCalled = true;
- callback(err);
- };
- // Create read stream
- let readable = fs.createReadStream(src);
- readable.on('error', runCb);
- // Create write stream
- let writable = fs.createWriteStream(dst);
- writable.on('error', (err)=>{
- readable.destroy();
- runCb(err);
- });
- writable.on('close', () => runCb());
- // Copy file via piping streams.
- readable.pipe(writable);
-};
-
-/**
- * moveFile - moves the file from src to dst.
- * Firstly trying to rename the file if no luck copying it to dst and then deleteing src.
- * @param {string} src - Path to the source file
- * @param {string} dst - Path to the destination file.
- * @param {Function} callback - A callback function.
- */
-const moveFile = (src, dst, callback) => fs.rename(src, dst, err => (!err
- ? callback()
- : copyFile(src, dst, err => err ? callback(err) : deleteFile(src, callback))
-));
-
-/**
- * Save buffer data to a file.
- * @param {Buffer} buffer - buffer to save to a file.
- * @param {string} filePath - path to a file.
- */
-const saveBufferToFile = (buffer, filePath, callback) => {
- if (!Buffer.isBuffer(buffer)) {
- return callback(new Error('buffer variable should be type of Buffer!'));
- }
- // Setup readable stream from buffer.
- let streamData = buffer;
- let readStream = Readable();
- readStream._read = () => {
- readStream.push(streamData);
- streamData = null;
- };
- // Setup file system writable stream.
- let fstream = fs.createWriteStream(filePath);
- fstream.on('error', error => callback(error));
- fstream.on('close', () => callback());
- // Copy file via piping streams.
- readStream.pipe(fstream);
-};
-
-/**
- * Decodes uriEncoded file names.
- * @param fileName {String} - file name to decode.
- * @returns {String}
- */
-const uriDecodeFileName = (opts, fileName) => {
- return opts.uriDecodeFileNames ? decodeURIComponent(fileName) : fileName;
-};
-
-/**
- * Parses filename and extension and returns object {name, extension}.
- * @param {boolean|integer} preserveExtension - true/false or number of characters for extension.
- * @param {string} fileName - file name to parse.
- * @returns {Object} - { name, extension }.
- */
-const parseFileNameExtension = (preserveExtension, fileName) => {
- const preserveExtensionLengh = parseInt(preserveExtension);
- const result = {name: fileName, extension: ''};
- if (!preserveExtension && preserveExtensionLengh !== 0) return result;
- // Define maximum extension length
- const maxExtLength = isNaN(preserveExtensionLengh)
- ? MAX_EXTENSION_LENGTH
- : Math.abs(preserveExtensionLengh);
-
- const nameParts = fileName.split('.');
- if (nameParts.length < 2) return result;
-
- let extension = nameParts.pop();
- if (
- extension.length > maxExtLength &&
- maxExtLength > 0
- ) {
- nameParts[nameParts.length - 1] +=
- '.' +
- extension.substr(0, extension.length - maxExtLength);
- extension = extension.substr(-maxExtLength);
- }
-
- result.extension = maxExtLength ? extension : '';
- result.name = nameParts.join('.');
- return result;
-};
-
-/**
- * Parse file name and extension.
- * @param {Object} opts - middleware options.
- * @param {string} fileName - Uploaded file name.
- * @returns {string}
- */
-const parseFileName = (opts, fileName) => {
- // Check fileName argument
- if (!fileName || typeof fileName !== 'string') return getTempFilename();
- // Cut off file name if it's lenght more then 255.
- let parsedName = fileName.length <= 255 ? fileName : fileName.substr(0, 255);
- // Decode file name if uriDecodeFileNames option set true.
- parsedName = uriDecodeFileName(opts, parsedName);
- // Stop parsing file name if safeFileNames options hasn't been set.
- if (!opts.safeFileNames) return parsedName;
- // Set regular expression for the file name.
- const nameRegex = typeof opts.safeFileNames === 'object' && opts.safeFileNames instanceof RegExp
- ? opts.safeFileNames
- : SAFE_FILE_NAME_REGEX;
- // Parse file name extension.
- let {name, extension} = parseFileNameExtension(opts.preserveExtension, parsedName);
- if (extension.length) extension = '.' + extension.replace(nameRegex, '');
-
- return name.replace(nameRegex, '').concat(extension);
-};
-
-module.exports = {
- debugLog,
- isFunc,
- errorFunc,
- promiseCallback,
- buildOptions,
- buildFields,
- checkAndMakeDir,
- deleteFile, // For testing purpose.
- copyFile, // For testing purpose.
- moveFile,
- saveBufferToFile,
- parseFileName,
- getTempFilename,
- uriDecodeFileName
-};
diff --git a/Server/node_modules/express-fileupload/package.json b/Server/node_modules/express-fileupload/package.json
deleted file mode 100644
index d49ee41..0000000
--- a/Server/node_modules/express-fileupload/package.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "_from": "express-fileupload",
- "_id": "express-fileupload@1.1.7-alpha.3",
- "_inBundle": false,
- "_integrity": "sha512-2YRJQqjgfFcYiMr8inico+UQ0UsxuOUyO9wkWkx+vjsEcUI7c1ae38Nv5NKdGjHqL5+J01P6StT9mjZTI7Qzjg==",
- "_location": "/express-fileupload",
- "_phantomChildren": {},
- "_requested": {
- "type": "tag",
- "registry": true,
- "raw": "express-fileupload",
- "name": "express-fileupload",
- "escapedName": "express-fileupload",
- "rawSpec": "",
- "saveSpec": null,
- "fetchSpec": "latest"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.1.7-alpha.3.tgz",
- "_shasum": "7c09f42aeacb835a50979f241d7b2850d54ed92d",
- "_spec": "express-fileupload",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server",
- "author": {
- "name": "Richard Girges",
- "email": "richardgirges@gmail.com"
- },
- "bugs": {
- "url": "https://github.com/richardgirges/express-fileupload/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "busboy": "^0.3.1"
- },
- "deprecated": false,
- "description": "Simple express file upload middleware that wraps around Busboy",
- "devDependencies": {
- "body-parser": "^1.19.0",
- "coveralls": "^3.0.11",
- "eslint": "^6.8.0",
- "express": "^4.17.1",
- "istanbul": "^0.4.5",
- "md5": "^2.2.1",
- "mocha": "^7.1.1",
- "rimraf": "^3.0.2",
- "supertest": "^4.0.2"
- },
- "engines": {
- "node": ">=8.0.0"
- },
- "homepage": "https://github.com/richardgirges/express-fileupload#readme",
- "keywords": [
- "express",
- "file-upload",
- "upload",
- "forms",
- "multipart",
- "files",
- "busboy",
- "middleware"
- ],
- "license": "MIT",
- "main": "./lib/index",
- "name": "express-fileupload",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/richardgirges/express-fileupload.git"
- },
- "scripts": {
- "coveralls": "cat ./coverage/lcov.info | coveralls",
- "lint": "eslint ./",
- "test": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec"
- },
- "version": "1.1.7-alpha.3"
-}
diff --git a/Server/node_modules/express-fileupload/test/fileFactory.spec.js b/Server/node_modules/express-fileupload/test/fileFactory.spec.js
deleted file mode 100644
index 5e357ee..0000000
--- a/Server/node_modules/express-fileupload/test/fileFactory.spec.js
+++ /dev/null
@@ -1,86 +0,0 @@
-'use strict';
-
-const fs = require('fs');
-const md5 = require('md5');
-const path = require('path');
-const assert = require('assert');
-const server = require('./server');
-const {isFunc} = require('../lib/utilities');
-const fileFactory = require('../lib/fileFactory');
-
-const mockFileName = 'basketball.png';
-const mockFile = path.join(server.fileDir, mockFileName);
-const mockBuffer = fs.readFileSync(mockFile);
-const mockMd5 = md5(mockBuffer);
-
-const mockFileOpts = {
- name: mockFileName,
- buffer: mockBuffer,
- encoding: 'utf-8',
- mimetype: 'image/png',
- hash: mockMd5,
- tempFilePath: mockFile
-};
-
-describe('Test of the fileFactory factory', function() {
- beforeEach(() => server.clearUploadsDir());
-
- it('return a file object', () => assert.ok(fileFactory(mockFileOpts)));
- it('return void if buffer is empty and useTempFiles is false.', () => {
- assert.equal(fileFactory({
- name: mockFileName,
- buffer: Buffer.concat([])
- }, {
- useTempFiles: false
- }), null);
- });
-
- describe('Properties', function() {
- it('contains the name property', () => {
- assert.equal(fileFactory(mockFileOpts).name, mockFileName);
- });
- it('contains the data property', () => assert.ok(fileFactory(mockFileOpts).data));
- it('contains the encoding property', () => {
- assert.equal(fileFactory(mockFileOpts).encoding, 'utf-8');
- });
- it('contains the mimetype property', () => {
- assert.equal(fileFactory(mockFileOpts).mimetype, 'image/png');
- });
- it('contains the md5 property', () => assert.equal(fileFactory(mockFileOpts).md5, mockMd5));
- it('contains the mv method', () => assert.equal(isFunc(fileFactory(mockFileOpts).mv), true));
- });
-
- describe('File object behavior for in memory upload', function() {
- const file = fileFactory(mockFileOpts);
- it('move the file to the specified folder', (done) => {
- file.mv(path.join(server.uploadDir, mockFileName), (err) => {
- assert.ifError(err);
- done();
- });
- });
- it('reject the mv if the destination does not exists', (done) => {
- file.mv(path.join(server.uploadDir, 'unknown', mockFileName), (err) => {
- assert.ok(err);
- done();
- });
- });
- });
-
- describe('File object behavior for upload into temporary file', function() {
- const file = fileFactory(mockFileOpts, { useTempFiles: true });
- it('move the file to the specified folder', (done) => {
- file.mv(path.join(server.uploadDir, mockFileName), (err) => {
- assert.ifError(err);
- // Place back moved file.
- fs.renameSync(path.join(server.uploadDir, mockFileName), mockFile);
- done();
- });
- });
- it('reject the mv if the destination does not exists', (done) => {
- file.mv(path.join(server.uploadDir, 'unknown', mockFileName), (err) => {
- assert.ok(err);
- done();
- });
- });
- });
-});
diff --git a/Server/node_modules/express-fileupload/test/fileLimitUploads.spec.js b/Server/node_modules/express-fileupload/test/fileLimitUploads.spec.js
deleted file mode 100644
index 5c799ea..0000000
--- a/Server/node_modules/express-fileupload/test/fileLimitUploads.spec.js
+++ /dev/null
@@ -1,95 +0,0 @@
-'use strict';
-
-const path = require('path');
-const request = require('supertest');
-const assert = require('assert');
-const server = require('./server');
-const clearUploadsDir = server.clearUploadsDir;
-const fileDir = server.fileDir;
-
-describe('Test Single File Upload With File Size Limit', function() {
- let app, limitHandlerRun;
-
- beforeEach(function() {
- clearUploadsDir();
- });
-
- describe('abort connection on limit reached', function() {
- before(function() {
- app = server.setup({
- limits: {fileSize: 200 * 1024}, // set 200kb upload limit
- abortOnLimit: true
- });
- });
-
- it(`upload 'basketball.png' (~154kb) with 200kb size limit`, function(done) {
- let filePath = path.join(fileDir, 'basketball.png');
-
- request(app)
- .post('/upload/single/truncated')
- .attach('testFile', filePath)
- .expect(200)
- .end(done);
- });
-
- it(`fail when uploading 'car.png' (~269kb) with 200kb size limit`, function(done) {
- let filePath = path.join(fileDir, 'car.png');
-
- request(app)
- .post('/upload/single/truncated')
- .attach('testFile', filePath)
- .expect(413)
- .end(done);
- });
- });
-
- describe('Run limitHandler on limit reached.', function(){
- before(function() {
- app = server.setup({
- limits: {fileSize: 200 * 1024}, // set 200kb upload limit
- limitHandler: (req, res) => { // set limit handler
- res.writeHead(500, { Connection: 'close', 'Content-Type': 'application/json'});
- res.end(JSON.stringify({response: 'Limit reached!'}));
- limitHandlerRun = true;
- }
- });
- });
-
- it(`Run limit handler when uploading 'car.png' (~269kb) with 200kb size limit`, function(done) {
- let filePath = path.join(fileDir, 'car.png');
- limitHandlerRun = false;
-
- request(app)
- .post('/upload/single/truncated')
- .attach('testFile', filePath)
- .expect(500, {response: 'Limit reached!'})
- .end(function(err){
- if (err) return done(err);
- if (!limitHandlerRun) return done('handler did not run');
- done();
- });
- });
-
- });
-
- describe('pass truncated file to the next handler', function() {
- before(function() {
- app = server.setup({
- limits: {fileSize: 200 * 1024} // set 200kb upload limit
- });
- });
-
- it(`fail when uploading 'car.png' (~269kb) with 200kb size limit`, function(done) {
- let filePath = path.join(fileDir, 'car.png');
-
- request(app)
- .post('/upload/single/truncated')
- .attach('testFile', filePath)
- .expect(400)
- .end(function(err, res) {
- assert.ok(res.error.text === 'File too big');
- done();
- });
- });
- });
-});
diff --git a/Server/node_modules/express-fileupload/test/files/basket.ball.bp b/Server/node_modules/express-fileupload/test/files/basket.ball.bp
deleted file mode 100644
index a2a1571..0000000
Binary files a/Server/node_modules/express-fileupload/test/files/basket.ball.bp and /dev/null differ
diff --git a/Server/node_modules/express-fileupload/test/files/basketball.png b/Server/node_modules/express-fileupload/test/files/basketball.png
deleted file mode 100644
index a2a1571..0000000
Binary files a/Server/node_modules/express-fileupload/test/files/basketball.png and /dev/null differ
diff --git a/Server/node_modules/express-fileupload/test/files/car.png b/Server/node_modules/express-fileupload/test/files/car.png
deleted file mode 100644
index 510b859..0000000
Binary files a/Server/node_modules/express-fileupload/test/files/car.png and /dev/null differ
diff --git a/Server/node_modules/express-fileupload/test/files/my$Invalid#fileName.png123 b/Server/node_modules/express-fileupload/test/files/my$Invalid#fileName.png123
deleted file mode 100644
index 510b859..0000000
Binary files a/Server/node_modules/express-fileupload/test/files/my$Invalid#fileName.png123 and /dev/null differ
diff --git a/Server/node_modules/express-fileupload/test/files/tree.png b/Server/node_modules/express-fileupload/test/files/tree.png
deleted file mode 100644
index e6ecd17..0000000
Binary files a/Server/node_modules/express-fileupload/test/files/tree.png and /dev/null differ
diff --git a/Server/node_modules/express-fileupload/test/multipartFields.spec.js b/Server/node_modules/express-fileupload/test/multipartFields.spec.js
deleted file mode 100644
index 18bdae4..0000000
--- a/Server/node_modules/express-fileupload/test/multipartFields.spec.js
+++ /dev/null
@@ -1,85 +0,0 @@
-'use strict';
-
-const request = require('supertest');
-const server = require('./server');
-const app = server.setup();
-
-let mockUser = {
- firstName: 'Joe',
- lastName: 'Schmo',
- email: 'joe@mailinator.com'
-};
-
-let mockCars = [
- 'rsx',
- 'tsx',
- 'civic',
- 'integra'
-];
-
-describe('Test Multipart Form Single Field Submissions', function() {
- it('submit multipart user data with POST', function(done) {
- request(app)
- .post('/fields/user')
- .field('firstName', mockUser.firstName)
- .field('lastName', mockUser.lastName)
- .field('email', mockUser.email)
- .expect('Content-Type', /json/)
- .expect(200, {
- firstName: mockUser.firstName,
- lastName: mockUser.lastName,
- email: mockUser.email
- }, done);
- });
-
- it('submit multipart user data with PUT', function(done) {
- request(app)
- .post('/fields/user')
- .field('firstName', mockUser.firstName)
- .field('lastName', mockUser.lastName)
- .field('email', mockUser.email)
- .expect('Content-Type', /json/)
- .expect(200, {
- firstName: mockUser.firstName,
- lastName: mockUser.lastName,
- email: mockUser.email
- }, done);
- });
-
- it('fail when user data submitted without multipart', function(done) {
- request(app)
- .post('/fields/user')
- .send(mockUser)
- .expect(400)
- .end(done);
- });
-
- it('fail when user data not submitted', function(done) {
- request(app)
- .post('/fields/user')
- .expect(400)
- .end(done);
- });
-});
-
-describe('Test Multipart Form Array Field Submissions', function() {
- it('submit array of data with POST', function(done) {
- let req = request(app).post('/fields/array');
-
- for (let i = 0; i < mockCars.length; i++) {
- req.field('testField', mockCars[i]);
- }
-
- req
- .expect(200)
- .end(function(err, res) {
- if (err) {
- return done(err);
- }
-
- let responseMatchesRequest = res.body.join(',') === mockCars.join(',');
-
- done(responseMatchesRequest ? null : 'Data was returned as expected.');
- });
- });
-});
diff --git a/Server/node_modules/express-fileupload/test/multipartUploads.spec.js b/Server/node_modules/express-fileupload/test/multipartUploads.spec.js
deleted file mode 100644
index e2a0806..0000000
--- a/Server/node_modules/express-fileupload/test/multipartUploads.spec.js
+++ /dev/null
@@ -1,451 +0,0 @@
-'use strict';
-
-const fs = require('fs');
-const md5 = require('md5');
-const path = require('path');
-const request = require('supertest');
-const server = require('./server');
-
-const fileDir = server.fileDir;
-const tempDir = server.tempDir;
-const uploadDir = server.uploadDir;
-const clearTempDir = server.clearTempDir;
-const clearUploadsDir = server.clearUploadsDir;
-
-const mockFiles = ['car.png', 'tree.png', 'basketball.png'];
-
-const mockUser = {
- firstName: 'Joe',
- lastName: 'Schmo',
- email: 'joe@mailinator.com'
-};
-
-// Reset response body.uploadDir/uploadPath for testing.
-const resetBodyUploadData = (res) => {
- res.body.uploadDir = '';
- res.body.uploadPath = '';
-};
-
-const genUploadResult = (fileName, filePath) => {
- const fileStat = fs.statSync(filePath);
- const fileBuffer = fs.readFileSync(filePath);
- return {
- name: fileName,
- md5: md5(fileBuffer),
- size: fileStat.size,
- uploadDir: '',
- uploadPath: ''
- };
-};
-
-describe('Test Directory Cleaning Method', function() {
- it('emptied "uploads" directory', function(done) {
- clearUploadsDir();
- const filesFound = fs.readdirSync(uploadDir).length;
- done(filesFound ? `Directory not empty. Found ${filesFound} files.` : null);
- });
-});
-
-describe('Test Single File Upload', function() {
- const app = server.setup();
-
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
- const uploadedFilePath = path.join(uploadDir, fileName);
- const result = genUploadResult(fileName, filePath);
-
- it(`upload ${fileName} with POST`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
-
- it(`upload ${fileName} with PUT`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
- });
-
- it('fail when no files were attached', function(done) {
- request(app)
- .post('/upload/single')
- .expect(400)
- .end(done);
- });
-
- it('fail when using GET', function(done) {
- request(app)
- .get('/upload/single')
- .attach('testFile', path.join(fileDir, mockFiles[0]))
- .expect(400)
- .end(done);
- });
-
- it('fail when using HEAD', function(done) {
- request(app)
- .head('/upload/single')
- .attach('testFile', path.join(fileDir, mockFiles[0]))
- .expect(400)
- .end(done);
- });
-});
-
-describe('Test Single File Upload w/ .mv()', function() {
- const app = server.setup();
-
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
- const uploadedFilePath = path.join(uploadDir, fileName);
- const result = genUploadResult(fileName, filePath);
-
- it(`upload ${fileName} with POST w/ .mv()`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
-
- it(`upload ${fileName} with PUT w/ .mv()`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
- });
-});
-
-describe('Test Single File Upload with useTempFiles option.', function() {
- const app = server.setup({ useTempFiles: true, tempFileDir: tempDir });
-
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
- const uploadedFilePath = path.join(uploadDir, fileName);
- const result = genUploadResult(fileName, filePath);
-
- it(`upload ${fileName} with POST`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
-
- it(`upload ${fileName} with PUT`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
- });
-
- it('fail when no files were attached', function(done) {
- request(app)
- .post('/upload/single')
- .expect(400)
- .end(done);
- });
-
- it('fail when using GET', function(done) {
- request(app)
- .get('/upload/single')
- .attach('testFile', path.join(fileDir, mockFiles[0]))
- .expect(400)
- .end(done);
- });
-
- it('fail when using HEAD', function(done) {
- request(app)
- .head('/upload/single')
- .attach('testFile', path.join(fileDir, mockFiles[0]))
- .expect(400)
- .end(done);
- });
-});
-
-describe('Test Single File Upload with useTempFiles option and empty tempFileDir.', function() {
- const app = server.setup({ useTempFiles: true, tempFileDir: '' });
-
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
- const uploadedFilePath = path.join(uploadDir, fileName);
- const result = genUploadResult(fileName, filePath);
-
- it(`upload ${fileName} with POST`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
- });
-});
-
-describe('Test Single File Upload w/ .mv() Promise', function() {
- const app = server.setup();
-
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
- const uploadedFilePath = path.join(uploadDir, fileName);
- const result = genUploadResult(fileName, filePath);
-
- it(`upload ${fileName} with POST w/ .mv() Promise`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single/promise')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
-
- it(`upload ${fileName} with PUT w/ .mv() Promise`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single/promise')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
- });
-
- it('fail when no files were attached', function(done) {
- request(app)
- .post('/upload/single')
- .expect(400)
- .end(done);
- });
-
- it('fail when using GET', function(done) {
- request(app)
- .get('/upload/single')
- .attach('testFile', path.join(fileDir, mockFiles[0]))
- .expect(400)
- .end(done);
- });
-
- it('fail when using HEAD', function(done) {
- request(app)
- .head('/upload/single')
- .attach('testFile', path.join(fileDir, mockFiles[0]))
- .expect(400)
- .end(done);
- });
-});
-
-describe('Test Single File Upload w/ .mv() Promise and useTempFiles set to true', function() {
- const app = server.setup({ useTempFiles: true, tempFileDir: tempDir });
-
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
- const uploadedFilePath = path.join(uploadDir, fileName);
- const result = genUploadResult(fileName, filePath);
-
- it(`upload ${fileName} with POST w/ .mv() Promise`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single/promise')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
-
- it(`upload ${fileName} with PUT w/ .mv() Promise`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single/promise')
- .attach('testFile', filePath)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
- });
-
- it('fail when no files were attached', (done) => {
- request(app)
- .post('/upload/single')
- .expect(400)
- .end(done);
- });
-
- it('fail when using GET', (done) => {
- request(app)
- .get('/upload/single')
- .attach('testFile', path.join(fileDir, mockFiles[0]))
- .expect(400)
- .end(done);
- });
-
- it('fail when using HEAD', (done) => {
- request(app)
- .head('/upload/single')
- .attach('testFile', path.join(fileDir, mockFiles[0]))
- .expect(400)
- .end(done);
- });
-});
-
-describe('Test Multi-File Upload', function() {
- const app = server.setup();
-
- it('upload multiple files with POST', (done) => {
- clearUploadsDir();
- const req = request(app).post('/upload/multiple');
- const expectedResult = [];
- const expectedResultSorted = [];
- const uploadedFilesPath = [];
- mockFiles.forEach((fileName, index) => {
- const filePath = path.join(fileDir, fileName);
- req.attach(`testFile${index + 1}`, filePath);
- uploadedFilesPath.push(path.join(uploadDir, fileName));
- expectedResult.push(genUploadResult(fileName, filePath));
- });
-
- req
- .expect((res) => {
- res.body.forEach((fileInfo) => {
- fileInfo.uploadDir = '';
- fileInfo.uploadPath = '';
- const index = mockFiles.indexOf(fileInfo.name);
- expectedResultSorted.push(expectedResult[index]);
- });
- })
- .expect(200, expectedResultSorted)
- .end((err) => {
- if (err) return done(err);
- fs.stat(uploadedFilesPath[0], (err) => {
- if (err) return done(err);
- fs.stat(uploadedFilesPath[1], (err) => {
- if (err) return done(err);
- fs.stat(uploadedFilesPath[2], done);
- });
- });
- });
- });
-});
-
-describe('Test File Array Upload', function() {
- const app = server.setup();
-
- it('upload array of files with POST', (done) => {
- clearUploadsDir();
- const req = request(app).post('/upload/array');
- const expectedResult = [];
- const expectedResultSorted = [];
- const uploadedFilesPath = [];
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
- uploadedFilesPath.push(path.join(uploadDir, fileName));
- expectedResult.push(genUploadResult(fileName, filePath));
- req.attach('testFiles', filePath);
- });
-
- req
- .expect((res)=>{
- res.body.forEach((fileInfo) => {
- fileInfo.uploadDir = '';
- fileInfo.uploadPath = '';
- const index = mockFiles.indexOf(fileInfo.name);
- expectedResultSorted.push(expectedResult[index]);
- });
- })
- .expect(200, expectedResultSorted)
- .end((err) => {
- if (err) return done(err);
- uploadedFilesPath.forEach((uploadedFilePath) => {
- fs.statSync(uploadedFilePath);
- });
- done();
- });
- });
-});
-
-describe('Test Upload With Fields', function() {
- const app = server.setup();
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
- const uploadedFilePath = path.join(uploadDir, fileName);
- // Expected results
- const result = genUploadResult(fileName, filePath);
- result.firstName = mockUser.firstName;
- result.lastName = mockUser.lastName;
- result.email = mockUser.email;
-
- it(`upload ${fileName} and submit fields at the same time with POST`, function(done) {
- clearUploadsDir();
- request(app)
- .post('/upload/single/withfields')
- .attach('testFile', filePath)
- .field('firstName', mockUser.firstName)
- .field('lastName', mockUser.lastName)
- .field('email', mockUser.email)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
-
- it(`upload ${fileName} and submit fields at the same time with PUT`, function(done) {
- clearUploadsDir();
- request(app)
- .put('/upload/single/withfields')
- .attach('testFile', filePath)
- .field('firstName', mockUser.firstName)
- .field('lastName', mockUser.lastName)
- .field('email', mockUser.email)
- .expect(resetBodyUploadData)
- .expect(200, result, err => (err ? done(err) : fs.stat(uploadedFilePath, done)));
- });
- });
-});
-
-describe('Test Aborting/Canceling during upload', function() {
- this.timeout(4000); // Set timeout for async tests.
- const uploadTimeout = 1000;
-
- const app = server.setup({
- useTempFiles: true,
- tempFileDir: tempDir,
- debug: true,
- uploadTimeout
- });
-
- clearTempDir();
- clearUploadsDir();
- mockFiles.forEach((fileName) => {
- const filePath = path.join(fileDir, fileName);
-
- it(`Delete temp file if ${fileName} upload was aborted`, (done) => {
- const req = request(app)
- .post('/upload/single')
- .attach('testFile', filePath)
- .on('progress', (e) => {
- const progress = (e.loaded * 100) / e.total;
- // Aborting request, use req.req since it is original superagent request.
- if (progress > 50) req.req.abort();
- })
- .end((err) => {
- if (!err) return done(`Connection hasn't been aborted!`);
- if (err.code !== 'ECONNRESET') return done(err);
- // err.code === 'ECONNRESET' that means upload has been aborted.
- // Checking temp directory after upload timeout.
- setTimeout(() => {
- fs.readdir(tempDir, (err, files) => {
- if (err) return done(err);
- return files.length ? done(`Temporary directory contains files!`) : done();
- });
- }, uploadTimeout * 2);
- });
- });
- });
-});
diff --git a/Server/node_modules/express-fileupload/test/options.spec.js b/Server/node_modules/express-fileupload/test/options.spec.js
deleted file mode 100644
index 03dd39d..0000000
--- a/Server/node_modules/express-fileupload/test/options.spec.js
+++ /dev/null
@@ -1,219 +0,0 @@
-const fs = require('fs');
-const path = require('path');
-const request = require('supertest');
-const server = require('./server');
-const clearUploadsDir = server.clearUploadsDir;
-const fileDir = server.fileDir;
-const uploadDir = server.uploadDir;
-
-describe('File Upload Options Tests', function() {
- afterEach(function(done) {
- clearUploadsDir();
- done();
- });
-
- /**
- * Upload the file for testing and verify the expected filename.
- * @param {object} options The expressFileUpload options.
- * @param {string} actualFileNameToUpload The name of the file to upload.
- * @param {string} expectedFileNameOnFileSystem The name of the file after upload.
- * @param {function} done The mocha continuation function.
- */
- function executeFileUploadTestWalk(options,
- actualFileNameToUpload,
- expectedFileNameOnFileSystem,
- done) {
- request(server.setup(options))
- .post('/upload/single')
- .attach('testFile', path.join(fileDir, actualFileNameToUpload))
- .expect(200)
- .end(function(err) {
- if (err) {
- return done(err);
- }
-
- const uploadedFilePath = path.join(uploadDir, expectedFileNameOnFileSystem);
-
- fs.stat(uploadedFilePath, done);
- });
- }
-
- describe('Testing [safeFileNames] option to ensure:', function() {
- it('Does nothing to your filename when disabled.',
- function(done) {
- const fileUploadOptions = {safeFileNames: false};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'my$Invalid#fileName.png123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Is disabled by default.',
- function(done) {
- const fileUploadOptions = null;
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'my$Invalid#fileName.png123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Strips away all non-alphanumeric characters (excluding hyphens/underscores) when enabled.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepng123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Accepts a regex for stripping (decidedly) "invalid" characters from filename.',
- function(done) {
- const fileUploadOptions = {safeFileNames: /[$#]/g};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileName.png123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
- });
-
- describe('Testing [preserveExtension] option to ensure:', function() {
- it('Does not preserve the extension of your filename when disabled.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: false};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepng123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Is disabled by default.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepng123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Shortens your extension to the default(3) when enabled, if the extension found is larger.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: true};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepng.123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Leaves your extension alone when enabled, if the extension found is <= default(3) length',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: true};
- const actualFileName = 'car.png';
- const expectedFileName = 'car.png';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Can be configured for an extension length > default(3).',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: 7};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileName.png123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Can be configured for an extension length < default(3).',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: 2};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepng1.23';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Will use the absolute value of your extension length when negative.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: -5};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamep.ng123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Will leave no extension when the extension length == 0.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: 0};
- const actualFileName = 'car.png';
- const expectedFileName = 'car';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Will accept numbers as strings, if they can be resolved with parseInt.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: '3'};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepng.123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Will be evaluated for truthy-ness if it cannot be parsed as an int.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: 'not-a-#-but-truthy'};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepng.123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Will ignore any decimal amount when evaluating for extension length.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: 4.98};
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepn.g123';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
-
- it('Only considers the last dotted part as the extension.',
- function(done) {
- const fileUploadOptions = {safeFileNames: true, preserveExtension: true};
- const actualFileName = 'basket.ball.bp';
- const expectedFileName = 'basketball.bp';
-
- executeFileUploadTestWalk(fileUploadOptions, actualFileName, expectedFileName, done);
- });
- });
-
- describe('Testing [parseNested] option to ensure:', function() {
- it('When [parseNested] is enabled result are nested', function(done){
- const app = server.setup({parseNested: true});
- request(app)
- .post('/fields/nested')
- .field('name', 'John')
- .field('hobbies[0]', 'Cinema')
- .field('hobbies[1]', 'Bike')
- .expect('Content-Type', /json/)
- .expect(200, {
- name: 'John',
- hobbies: ['Cinema', 'Bike']
- }, done);
- });
-
- it('When [parseNested] is disabled are flattened', function(done){
- const app = server.setup({parseNested: false});
- request(app)
- .post('/fields/flattened')
- .field('name', 'John')
- .field('hobbies[0]', 'Cinema')
- .field('hobbies[1]', 'Bike')
- .expect('Content-Type', /json/)
- .expect(200, {
- name: 'John',
- 'hobbies[0]': 'Cinema',
- 'hobbies[1]': 'Bike'
- }, done);
- });
- });
-});
diff --git a/Server/node_modules/express-fileupload/test/processNested.spec.js b/Server/node_modules/express-fileupload/test/processNested.spec.js
deleted file mode 100644
index b9b636d..0000000
--- a/Server/node_modules/express-fileupload/test/processNested.spec.js
+++ /dev/null
@@ -1,48 +0,0 @@
-'use strict';
-
-const assert = require('assert');
-const processNested = require('../lib/processNested');
-
-describe('Test Convert Flatten object to Nested object', function() {
- it('With no nested data', () => {
- const data = {
- 'firstname': 'John',
- 'lastname': 'Doe',
- 'age': 22
- },
- excerpt = { firstname: 'John', lastname: 'Doe', age: 22 },
- processed = processNested(data);
-
- assert.deepEqual(processed, excerpt);
- });
-
- it('With nested data', () => {
- const data = {
- 'firstname': 'John',
- 'lastname': 'Doe',
- 'age': 22,
- 'hobbies[0]': 'Cinema',
- 'hobbies[1]': 'Bike',
- 'address[line]': '78 Lynch Street',
- 'address[city]': 'Milwaukee',
- 'friends[0][name]': 'Jane',
- 'friends[0][lastname]': 'Doe',
- 'friends[1][name]': 'Joe',
- 'friends[1][lastname]': 'Doe'
- },
- excerpt = {
- firstname: 'John',
- lastname: 'Doe',
- age: 22,
- hobbies: [ 'Cinema', 'Bike' ],
- address: { line: '78 Lynch Street', city: 'Milwaukee' },
- friends: [
- { name: 'Jane', lastname: 'Doe' },
- { name: 'Joe', lastname: 'Doe' }
- ]
- },
- processed = processNested(data);
-
- assert.deepEqual(processed, excerpt);
- });
-});
diff --git a/Server/node_modules/express-fileupload/test/server.js b/Server/node_modules/express-fileupload/test/server.js
deleted file mode 100644
index c384dfa..0000000
--- a/Server/node_modules/express-fileupload/test/server.js
+++ /dev/null
@@ -1,271 +0,0 @@
-'use strict';
-
-const fs = require('fs');
-const path = require('path');
-const rimraf = require('rimraf');
-
-const fileDir = path.join(__dirname, 'files');
-const tempDir = path.join(__dirname, 'temp');
-const uploadDir = path.join(__dirname, 'uploads');
-
-const clearDir = (dir) => {
- if (fs.existsSync(dir)) rimraf.sync(dir);
- fs.mkdirSync(dir, { recursive: true });
-};
-
-const clearUploadsDir = () => clearDir(uploadDir);
-const clearTempDir = () => clearDir(tempDir);
-
-const getUploadedFileData = (file) => ({
- md5: file.md5,
- name: file.name,
- size: file.size,
- uploadPath: path.join(uploadDir, file.name),
- uploadDir: uploadDir
-});
-
-const setup = (fileUploadOptions) => {
- const express = require('express');
- const expressFileupload = require('../lib/index');
-
- const app = express();
-
- app.use(expressFileupload(fileUploadOptions || {}));
-
- app.all('/upload/single', (req, res) => {
- if (!req.files) {
- return res.status(400).send('No files were uploaded.');
- }
-
- const testFile = req.files.testFile;
- const fileData = getUploadedFileData(testFile);
-
- testFile.mv(fileData.uploadPath, function(err) {
- if (err) {
- console.log('ERR', err); // eslint-disable-line
- return res.status(500).send(err);
- }
- res.json(fileData);
- });
- });
-
- app.all('/upload/single/promise', (req, res) => {
- if (!req.files) {
- return res.status(400).send('No files were uploaded.');
- }
-
- const testFile = req.files.testFile;
- const fileData = getUploadedFileData(testFile);
-
- testFile
- .mv(fileData.uploadPath)
- .then(() => {
- res.json(fileData);
- })
- .catch(err => {
- res.status(500).send(err);
- });
- });
-
- app.all('/upload/single/withfields', (req, res) => {
- if (!req.files) {
- return res.status(400).send('No files were uploaded.');
- }
-
- if (!req.body) {
- return res.status(400).send('No request body found');
- }
-
- const fields = ['firstName', 'lastName', 'email'];
- for (let i = 0; i < fields.length; i += 1) {
- if (!req.body[fields[i]] || !req.body[fields[i]].trim()) {
- return res.status(400).send(`Invalid field: ${fields[i]}`);
- }
- }
-
- const testFile = req.files.testFile;
- const fileData = getUploadedFileData(testFile);
- fields.forEach((field) => { fileData[field] = req.body[field]; });
-
- testFile.mv(fileData.uploadPath, (err) => {
- if (err) {
- return res.status(500).send(err);
- }
- res.json(fileData);
- });
- });
-
- app.all('/upload/single/truncated', (req, res) => {
- if (!req.files) {
- return res.status(400).send('No files were uploaded.');
- }
-
- // status 400 to differentiate from ending the request in the on limit
- return req.files.testFile.truncated
- ? res.status(400).send(`File too big`)
- : res.status(200).send('Upload succeed');
- });
-
- app.all('/upload/multiple', function(req, res) {
- if (!req.files) {
- return res.status(400).send('No files were uploaded.');
- }
-
- const fileNames = ['testFile1', 'testFile2', 'testFile3'];
-
- const testFiles = fileNames.map(file => req.files[file]);
- for (let i = 0; i < testFiles.length; i += 1) {
- if (!testFiles[i]) {
- return res.status(400).send(`${fileNames[i]} was not uploaded!`);
- }
- }
-
- const filesData = testFiles.map(file => getUploadedFileData(file));
-
- testFiles[0].mv(filesData[0].uploadPath, (err) => {
- if (err) {
- return res.status(500).send(err);
- }
-
- testFiles[1].mv(filesData[1].uploadPath, (err) => {
- if (err) {
- return res.status(500).send(err);
- }
-
- testFiles[2].mv(filesData[2].uploadPath, (err) => {
- if (err) {
- return res.status(500).send(err);
- }
-
- res.json(filesData);
- });
- });
- });
- });
-
- app.all('/upload/array', function(req, res) {
- if (!req.files) {
- return res.status(400).send('No files were uploaded.');
- }
-
- const testFiles = req.files.testFiles;
-
- if (!testFiles) {
- return res.status(400).send('No files were uploaded');
- }
-
- if (!Array.isArray(testFiles)) {
- return res.status(400).send('Files were not uploaded as an array');
- }
-
- if (!testFiles.length) {
- return res.status(400).send('Files array is empty');
- }
-
- const filesData = testFiles.map(file => getUploadedFileData(file));
-
- let uploadCount = 0;
- for (let i = 0; i < testFiles.length; i += 1) {
-
- testFiles[i].mv(filesData[i].uploadPath, (err) => {
- if (err) {
- return res.status(500).send(err);
- }
-
- uploadCount += 1;
- if (uploadCount === testFiles.length) {
- res.json(filesData);
- }
- });
- }
- });
-
- app.all('/fields/user', function(req, res) {
- if (!req.body) {
- return res.status(400).send('No request body found');
- }
-
- const fields = ['firstName', 'lastName', 'email'];
- for (let i = 0; i < fields.length; i += 1) {
- if (!req.body[fields[i]] || !req.body[fields[i]].trim()) {
- return res.status(400).send(`Invalid field: ${fields[i]}`);
- }
- }
-
- res.json({
- firstName: req.body.firstName,
- lastName: req.body.lastName,
- email: req.body.email
- });
- });
-
- app.all('/fields/nested', function(req, res) {
- if (!req.body) {
- return res.status(400).send('No request body found');
- }
-
- if (!req.body.name || !req.body.name.trim()) {
- return res.status(400).send('Invalid name');
- }
-
- if (!req.body.hobbies || !req.body.hobbies.length == 2) {
- return res.status(400).send('Invalid hobbies');
- }
-
- res.json({
- name: req.body.name,
- hobbies: req.body.hobbies
- });
- });
-
- app.all('/fields/flattened', function(req, res) {
- if (!req.body) {
- return res.status(400).send('No request body found');
- }
-
- if (!req.body.name || !req.body.name.trim()) {
- return res.status(400).send('Invalid name');
- }
-
- if (!req.body['hobbies[0]'] || !req.body['hobbies[0]'].trim()) {
- return res.status(400).send('Invalid hobbies[0]');
- }
-
- if (!req.body['hobbies[1]'] || !req.body['hobbies[1]'].trim()) {
- return res.status(400).send('Invalid hobbies[1]');
- }
-
- res.json({
- name: req.body.name,
- 'hobbies[0]': req.body['hobbies[0]'],
- 'hobbies[1]': req.body['hobbies[1]']
- });
- });
-
- app.all('/fields/array', function(req, res) {
- if (!req.body) {
- return res.status(400).send('No request body found');
- }
-
- if (!req.body.testField) {
- return res.status(400).send('Invalid field');
- }
-
- if (!Array.isArray(req.body.testField)) {
- return res.status(400).send('Field is not an array');
- }
-
- res.json(req.body.testField);
- });
-
- return app;
-};
-
-module.exports = {
- setup,
- fileDir,
- tempDir,
- uploadDir,
- clearTempDir,
- clearUploadsDir
-};
diff --git a/Server/node_modules/express-fileupload/test/tempFile.spec.js b/Server/node_modules/express-fileupload/test/tempFile.spec.js
deleted file mode 100644
index a55931a..0000000
--- a/Server/node_modules/express-fileupload/test/tempFile.spec.js
+++ /dev/null
@@ -1,132 +0,0 @@
-const fs = require('fs');
-const md5 = require('md5');
-const path = require('path');
-const request = require('supertest');
-const server = require('./server');
-const clearUploadsDir =
- server.clearUploadsDir;
-const fileDir =
- server.fileDir;
-const uploadDir =
- server.uploadDir;
-describe('File Upload Options Tests', function() {
- afterEach(function(done) {
- clearUploadsDir();
- done();
- });
- /**
- * Upload the file for testing and verify the expected filename.
- * @param {object} options The expressFileUpload options.
- * @param {string} actualFileNameToUpload The name of the file to upload.
- * @param {string} expectedFileNameOnFileSystem The name of the file after upload.
- * @param {function} done The mocha continuation function.
- */
- function executeFileUploadTestWalk(
- options,
- actualFileNameToUpload,
- expectedFileNameOnFileSystem,
- done
- ) {
-
- let filePath = path.join(fileDir, actualFileNameToUpload);
- let fileBuffer = fs.readFileSync(filePath);
- let fileHash = md5(fileBuffer);
- let fileStat = fs.statSync(filePath);
- let uploadedFilePath = path.join(uploadDir, expectedFileNameOnFileSystem);
-
- request(
- server.setup(options)
- )
- .post('/upload/single')
- .attach('testFile', filePath)
- .expect((res)=>{
- res.body.uploadDir = '';
- res.body.uploadPath = '';
- })
- .expect(200, {
- name: expectedFileNameOnFileSystem,
- md5: fileHash,
- size: fileStat.size,
- uploadDir: '',
- uploadPath: ''
- })
- .end(function(err) {
- if (err) {
- return done(err);
- }
-
- fs.stat(uploadedFilePath, done);
- });
- }
- describe('Testing [safeFileNames with useTempFiles] option to ensure:', function() {
- it('Does nothing to your filename when disabled.', function(done) {
- const fileUploadOptions = {
- safeFileNames: false,
- useTempFiles: true,
- tempFileDir: '/tmp/'
- };
- const actualFileName =
- 'my$Invalid#fileName.png123';
- const expectedFileName =
- 'my$Invalid#fileName.png123';
- executeFileUploadTestWalk(
- fileUploadOptions,
- actualFileName,
- expectedFileName,
- done
- );
- });
- it('Is disabled by default.', function(done) {
- const fileUploadOptions = {
- useTempFiles: true,
- tempFileDir: '/tmp/'
- };
- const actualFileName =
- 'my$Invalid#fileName.png123';
- const expectedFileName =
- 'my$Invalid#fileName.png123';
- executeFileUploadTestWalk(
- fileUploadOptions,
- actualFileName,
- expectedFileName,
- done
- );
- });
-
- it(
- 'Strips away all non-alphanumeric characters (excluding hyphens/underscores) when enabled.',
- function(done) {
- const fileUploadOptions = {
- safeFileNames: true,
- useTempFiles: true,
- tempFileDir: '/tmp/'
- };
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileNamepng123';
- executeFileUploadTestWalk(
- fileUploadOptions,
- actualFileName,
- expectedFileName,
- done
- );
- });
-
- it(
- 'Accepts a regex for stripping (decidedly) "invalid" characters from filename.',
- function(done) {
- const fileUploadOptions = {
- safeFileNames: /[$#]/g,
- useTempFiles: true,
- tempFileDir: '/tmp/'
- };
- const actualFileName = 'my$Invalid#fileName.png123';
- const expectedFileName = 'myInvalidfileName.png123';
- executeFileUploadTestWalk(
- fileUploadOptions,
- actualFileName,
- expectedFileName,
- done
- );
- });
- });
-});
diff --git a/Server/node_modules/express-fileupload/test/uploadtimer.spec.js b/Server/node_modules/express-fileupload/test/uploadtimer.spec.js
deleted file mode 100644
index 85c5844..0000000
--- a/Server/node_modules/express-fileupload/test/uploadtimer.spec.js
+++ /dev/null
@@ -1,28 +0,0 @@
-'use strict';
-
-const assert = require('assert');
-const UploadTimer = require('../lib/uploadtimer');
-
-describe('Test UploadTimer class', () => {
-
- it('It runs a callback function after specified timeout.', (done) => {
- const uploadTimer = new UploadTimer(1000, done);
- uploadTimer.set();
- });
-
- it('set method returns true if timeout specified.', () => {
- const uploadTimer = new UploadTimer(1000);
- assert.equal(uploadTimer.set(), true);
- });
-
- it('set method returns false if timeout has not specified.', () => {
- const uploadTimer = new UploadTimer();
- assert.equal(uploadTimer.set(), false);
- });
-
- it('set method returns false if zero timeout has specified.', () => {
- const uploadTimer = new UploadTimer(0);
- assert.equal(uploadTimer.set(), false);
- });
-
-});
diff --git a/Server/node_modules/express-fileupload/test/utilities.spec.js b/Server/node_modules/express-fileupload/test/utilities.spec.js
deleted file mode 100644
index 338b782..0000000
--- a/Server/node_modules/express-fileupload/test/utilities.spec.js
+++ /dev/null
@@ -1,403 +0,0 @@
-'use strict';
-
-const assert = require('assert');
-const path = require('path');
-const fs = require('fs');
-const md5 = require('md5');
-const server = require('./server');
-const fileDir = server.fileDir;
-const uploadDir = server.uploadDir;
-const {
- debugLog,
- isFunc,
- errorFunc,
- getTempFilename,
- buildOptions,
- buildFields,
- checkAndMakeDir,
- deleteFile,
- copyFile,
- saveBufferToFile,
- parseFileName,
- uriDecodeFileName
-} = require('../lib/utilities');
-
-const mockFile = 'basketball.png';
-const mockBuffer = fs.readFileSync(path.join(fileDir, mockFile));
-const mockHash = md5(mockBuffer);
-
-
-describe('Test of the utilities functions', function() {
- beforeEach(function() {
- server.clearUploadsDir();
- });
- //debugLog tests
- describe('Test debugLog function', () => {
-
- let testMessage = 'Test message';
-
- it('debugLog returns false if no options passed', () => {
- assert.equal(debugLog(null, testMessage), false);
- });
-
- it('debugLog returns false if option debug is false', () => {
- assert.equal(debugLog({debug: false}, testMessage), false);
- });
-
- it('debugLog returns true if option debug is true', () => {
- assert.equal(debugLog({debug: true}, testMessage), true);
- });
-
- });
- //isFunc tests
- describe('Test isFunc function', () => {
-
- it('isFunc returns true if function passed', () => assert.equal(isFunc(()=>{}), true));
-
- it('isFunc returns false if null passed', function() {
- assert.equal(isFunc(null), false);
- });
-
- it('isFunc returns false if undefined passed', function() {
- assert.equal(isFunc(undefined), false);
- });
-
- it('isFunc returns false if object passed', function() {
- assert.equal(isFunc({}), false);
- });
-
- it('isFunc returns false if array passed', function() {
- assert.equal(isFunc([]), false);
- });
- });
- //errorFunc tests
- describe('Test errorFunc function', () => {
-
- const resolve = () => 'success';
- const reject = () => 'error';
-
- it('errorFunc returns resolve if reject function has not been passed', () => {
- let result = errorFunc(resolve);
- assert.equal(result(), 'success');
- });
-
- it('errorFunc returns reject if reject function has been passed', () => {
- let result = errorFunc(resolve, reject);
- assert.equal(result(), 'error');
- });
-
- });
- //getTempFilename tests
- describe('Test getTempFilename function', () => {
-
- const nameRegexp = /tmp-\d{1,5}-\d{1,}/;
-
- it('getTempFilename result matches regexp /tmp-d{1,5}-d{1,}/', () => {
-
- let errCounter = 0;
- let tempName = '';
- for (var i = 0; i < 65537; i++) {
- tempName = getTempFilename();
- if (!nameRegexp.test(tempName)) errCounter ++;
- }
-
- assert.equal(errCounter, 0);
- });
-
- it('getTempFilename current and previous results are not equal', () => {
-
- let errCounter = 0;
- let tempName = '';
- let previousName = '';
- for (var i = 0; i < 65537; i++) {
- previousName = tempName;
- tempName = getTempFilename();
- if (previousName === tempName) errCounter ++;
- }
-
- assert.equal(errCounter, 0);
- });
-
- });
- //parseFileName
- describe('Test parseFileName function', () => {
-
- it('Does nothing to your filename when disabled.', () => {
- const opts = {safeFileNames: false};
- const name = 'my$Invalid#fileName.png123';
- const expected = 'my$Invalid#fileName.png123';
- let result = parseFileName(opts, name);
- assert.equal(result, expected);
- });
-
- it('Cuts of file name length if it more then 255 chars.', () => {
- const name = 'a'.repeat(300);
- const result = parseFileName({}, name);
- assert.equal(result.length, 255);
- });
-
- it(
- 'Strips away all non-alphanumeric characters (excluding hyphens/underscores) when enabled.',
- () => {
- const opts = {safeFileNames: true};
- const name = 'my$Invalid#fileName.png123';
- const expected = 'myInvalidfileNamepng123';
- let result = parseFileName(opts, name);
- assert.equal(result, expected);
- });
-
- it(
- 'Strips away all non-alphanumeric chars when preserveExtension: true for a name without dots',
- () => {
- const opts = {safeFileNames: true, preserveExtension: true};
- const name = 'my$Invalid#fileName';
- const expected = 'myInvalidfileName';
- let result = parseFileName(opts, name);
- assert.equal(result, expected);
- });
-
- it('Accepts a regex for stripping (decidedly) "invalid" characters from filename.', () => {
- const opts = {safeFileNames: /[$#]/g};
- const name = 'my$Invalid#fileName.png123';
- const expected = 'myInvalidfileName.png123';
- let result = parseFileName(opts, name);
- assert.equal(result, expected);
- });
-
- it(
- 'Returns correct filename if name contains dots characters and preserveExtension: true.',
- () => {
- const opts = {safeFileNames: true, preserveExtension: true};
- const name = 'basket.ball.png';
- const expected = 'basketball.png';
- let result = parseFileName(opts, name);
- assert.equal(result, expected);
- });
-
- it('Returns a temporary file name if name argument is empty.', () => {
- const opts = {safeFileNames: false};
- const result = parseFileName(opts);
- assert.equal(typeof result, 'string');
- });
-
- });
- //buildOptions tests
- describe('Test buildOptions function', () => {
-
- const source = { option1: '1', option2: '2' };
- const sourceAddon = { option3: '3'};
- const expected = { option1: '1', option2: '2' };
- const expectedAddon = { option1: '1', option2: '2', option3: '3'};
-
- it('buildOptions returns and equal object to the object which was paased', () => {
- let result = buildOptions(source);
- assert.deepStrictEqual(result, source);
- });
-
- it('buildOptions doesnt add non object or null arguments to the result', () => {
- let result = buildOptions(source, 2, '3', null);
- assert.deepStrictEqual(result, expected);
- });
-
- it('buildOptions adds value to the result from the several source argumets', () => {
- let result = buildOptions(source, sourceAddon);
- assert.deepStrictEqual(result, expectedAddon);
- });
-
- });
- //buildFields tests
- describe('Test buildOptions function', () => {
-
- it('buildFields does nothing if null value has been passed', () => {
- let fields = null;
- fields = buildFields(fields, 'test', null);
- assert.equal(fields, null);
- });
-
- });
- //checkAndMakeDir tests
- describe('Test checkAndMakeDir function', () => {
- //
- it('checkAndMakeDir returns false if upload options object was not set', () => {
- assert.equal(checkAndMakeDir(), false);
- });
- //
- it('checkAndMakeDir returns false if upload option createParentPath was not set', () => {
- assert.equal(checkAndMakeDir({}), false);
- });
- //
- it('checkAndMakeDir returns false if filePath was not set', () => {
- assert.equal(checkAndMakeDir({createParentPath: true}), false);
- });
- //
- it('checkAndMakeDir return true if path to the file already exists', ()=>{
- let dir = path.join(uploadDir, 'testfile');
- assert.equal(checkAndMakeDir({createParentPath: true}, dir), true);
- });
- //
- it('checkAndMakeDir creates a dir if path to the file not exists', ()=>{
- let dir = path.join(uploadDir, 'testfolder', 'testfile');
- assert.equal(checkAndMakeDir({createParentPath: true}, dir), true);
- });
- //
- it('checkAndMakeDir creates a dir recursively if path to the file not exists', ()=>{
- let dir = path.join(uploadDir, 'testfolder', 'testsubfolder', 'testfile');
- assert.equal(checkAndMakeDir({createParentPath: true}, dir), true);
- });
- });
- //saveBufferToFile tests
- describe('Test saveBufferToFile function', function(){
- beforeEach(function() {
- server.clearUploadsDir();
- });
-
- it('Save buffer to a file', function(done) {
- let filePath = path.join(uploadDir, mockFile);
- saveBufferToFile(mockBuffer, filePath, function(err){
- if (err) {
- return done(err);
- }
- fs.stat(filePath, done);
- });
- });
-
- it('Failed if not a buffer passed', function(done) {
- let filePath = path.join(uploadDir, mockFile);
- saveBufferToFile(undefined, filePath, function(err){
- if (err) {
- return done();
- }
- });
- });
-
- it('Failed if wrong path passed', function(done) {
- let filePath = '';
- saveBufferToFile(mockFile, filePath, function(err){
- if (err) {
- return done();
- }
- });
- });
- });
-
- describe('Test deleteFile function', function(){
- beforeEach(function() {
- server.clearUploadsDir();
- });
-
- it('Failed if nonexistent file passed', function(done){
- let filePath = path.join(uploadDir, getTempFilename());
-
- deleteFile(filePath, function(err){
- if (err) {
- return done();
- }
- });
- });
-
- it('Delete a file', function(done){
- let srcPath = path.join(fileDir, mockFile);
- let dstPath = path.join(uploadDir, getTempFilename());
-
- //copy a file
- copyFile(srcPath, dstPath, function(err){
- if (err) {
- return done(err);
- }
- fs.stat(dstPath, (err)=>{
- if (err){
- return done(err);
- }
- // delete a file
- deleteFile(dstPath, function(err){
- if (err) {
- return done(err);
- }
-
- fs.stat(dstPath, (err)=>{
- if (err){
- return done();
- }
-
- //error if a file still exist
- done(err);
- });
- });
- });
- });
- });
-
- });
-
- describe('Test copyFile function', function(){
- beforeEach(function() {
- server.clearUploadsDir();
- });
-
- it('Copy a file and check a hash', function(done) {
- let srcPath = path.join(fileDir, mockFile);
- let dstPath = path.join(uploadDir, mockFile);
-
- copyFile(srcPath, dstPath, function(err){
- if (err) {
- return done(err);
- }
- fs.stat(dstPath, (err)=>{
- if (err){
- return done(err);
- }
- //Match source and destination files hash.
- let fileBuffer = fs.readFileSync(dstPath);
- let fileHash = md5(fileBuffer);
- return (fileHash === mockHash) ? done() : done(err);
- });
- });
- });
-
- it('Failed if wrong source file path passed', function(done){
- let srcPath = path.join(fileDir, 'unknown');
- let dstPath = path.join(uploadDir, mockFile);
-
- copyFile(srcPath, dstPath, function(err){
- if (err) {
- return done();
- }
- });
- });
-
- it('Failed if wrong destination file path passed', function(done){
- let srcPath = path.join(fileDir, 'unknown');
- let dstPath = path.join('unknown', 'unknown');
-
- copyFile(srcPath, dstPath, function(err){
- if (err) {
- return done();
- }
- });
- });
- });
-
- describe('Test uriDecodeFileName function', function() {
- const testData = [
- { enc: 'test%22filename', dec: 'test"filename' },
- { enc: 'test%60filename', dec: 'test`filename' },
- { enc: '%3Fx%3Dtest%22filename', dec: '?x=test"filename'}
- ];
-
- // Test decoding if uriDecodeFileNames: true.
- testData.forEach((testName) => {
- const opts = { uriDecodeFileNames: true };
- it(`Return ${testName.dec} for input ${testName.enc} if uriDecodeFileNames: true`, () => {
- assert.equal(uriDecodeFileName(opts, testName.enc), testName.dec);
- });
- });
-
- // Test decoding if uriDecodeFileNames: false.
- testData.forEach((testName) => {
- const opts = { uriDecodeFileNames: false };
- it(`Return ${testName.enc} for input ${testName.enc} if uriDecodeFileNames: false`, () => {
- assert.equal(uriDecodeFileName(opts, testName.enc), testName.enc);
- });
- });
- });
-});
diff --git a/Server/node_modules/express/History.md b/Server/node_modules/express/History.md
deleted file mode 100644
index 6e62a6d..0000000
--- a/Server/node_modules/express/History.md
+++ /dev/null
@@ -1,3477 +0,0 @@
-4.17.1 / 2019-05-25
-===================
-
- * Revert "Improve error message for `null`/`undefined` to `res.status`"
-
-4.17.0 / 2019-05-16
-===================
-
- * Add `express.raw` to parse bodies into `Buffer`
- * Add `express.text` to parse bodies into string
- * Improve error message for non-strings to `res.sendFile`
- * Improve error message for `null`/`undefined` to `res.status`
- * Support multiple hosts in `X-Forwarded-Host`
- * deps: accepts@~1.3.7
- * deps: body-parser@1.19.0
- - Add encoding MIK
- - Add petabyte (`pb`) support
- - Fix parsing array brackets after index
- - deps: bytes@3.1.0
- - deps: http-errors@1.7.2
- - deps: iconv-lite@0.4.24
- - deps: qs@6.7.0
- - deps: raw-body@2.4.0
- - deps: type-is@~1.6.17
- * deps: content-disposition@0.5.3
- * deps: cookie@0.4.0
- - Add `SameSite=None` support
- * deps: finalhandler@~1.1.2
- - Set stricter `Content-Security-Policy` header
- - deps: parseurl@~1.3.3
- - deps: statuses@~1.5.0
- * deps: parseurl@~1.3.3
- * deps: proxy-addr@~2.0.5
- - deps: ipaddr.js@1.9.0
- * deps: qs@6.7.0
- - Fix parsing array brackets after index
- * deps: range-parser@~1.2.1
- * deps: send@0.17.1
- - Set stricter CSP header in redirect & error responses
- - deps: http-errors@~1.7.2
- - deps: mime@1.6.0
- - deps: ms@2.1.1
- - deps: range-parser@~1.2.1
- - deps: statuses@~1.5.0
- - perf: remove redundant `path.normalize` call
- * deps: serve-static@1.14.1
- - Set stricter CSP header in redirect response
- - deps: parseurl@~1.3.3
- - deps: send@0.17.1
- * deps: setprototypeof@1.1.1
- * deps: statuses@~1.5.0
- - Add `103 Early Hints`
- * deps: type-is@~1.6.18
- - deps: mime-types@~2.1.24
- - perf: prevent internal `throw` on invalid type
-
-4.16.4 / 2018-10-10
-===================
-
- * Fix issue where `"Request aborted"` may be logged in `res.sendfile`
- * Fix JSDoc for `Router` constructor
- * deps: body-parser@1.18.3
- - Fix deprecation warnings on Node.js 10+
- - Fix stack trace for strict json parse error
- - deps: depd@~1.1.2
- - deps: http-errors@~1.6.3
- - deps: iconv-lite@0.4.23
- - deps: qs@6.5.2
- - deps: raw-body@2.3.3
- - deps: type-is@~1.6.16
- * deps: proxy-addr@~2.0.4
- - deps: ipaddr.js@1.8.0
- * deps: qs@6.5.2
- * deps: safe-buffer@5.1.2
-
-4.16.3 / 2018-03-12
-===================
-
- * deps: accepts@~1.3.5
- - deps: mime-types@~2.1.18
- * deps: depd@~1.1.2
- - perf: remove argument reassignment
- * deps: encodeurl@~1.0.2
- - Fix encoding `%` as last character
- * deps: finalhandler@1.1.1
- - Fix 404 output for bad / missing pathnames
- - deps: encodeurl@~1.0.2
- - deps: statuses@~1.4.0
- * deps: proxy-addr@~2.0.3
- - deps: ipaddr.js@1.6.0
- * deps: send@0.16.2
- - Fix incorrect end tag in default error & redirects
- - deps: depd@~1.1.2
- - deps: encodeurl@~1.0.2
- - deps: statuses@~1.4.0
- * deps: serve-static@1.13.2
- - Fix incorrect end tag in redirects
- - deps: encodeurl@~1.0.2
- - deps: send@0.16.2
- * deps: statuses@~1.4.0
- * deps: type-is@~1.6.16
- - deps: mime-types@~2.1.18
-
-4.16.2 / 2017-10-09
-===================
-
- * Fix `TypeError` in `res.send` when given `Buffer` and `ETag` header set
- * perf: skip parsing of entire `X-Forwarded-Proto` header
-
-4.16.1 / 2017-09-29
-===================
-
- * deps: send@0.16.1
- * deps: serve-static@1.13.1
- - Fix regression when `root` is incorrectly set to a file
- - deps: send@0.16.1
-
-4.16.0 / 2017-09-28
-===================
-
- * Add `"json escape"` setting for `res.json` and `res.jsonp`
- * Add `express.json` and `express.urlencoded` to parse bodies
- * Add `options` argument to `res.download`
- * Improve error message when autoloading invalid view engine
- * Improve error messages when non-function provided as middleware
- * Skip `Buffer` encoding when not generating ETag for small response
- * Use `safe-buffer` for improved Buffer API
- * deps: accepts@~1.3.4
- - deps: mime-types@~2.1.16
- * deps: content-type@~1.0.4
- - perf: remove argument reassignment
- - perf: skip parameter parsing when no parameters
- * deps: etag@~1.8.1
- - perf: replace regular expression with substring
- * deps: finalhandler@1.1.0
- - Use `res.headersSent` when available
- * deps: parseurl@~1.3.2
- - perf: reduce overhead for full URLs
- - perf: unroll the "fast-path" `RegExp`
- * deps: proxy-addr@~2.0.2
- - Fix trimming leading / trailing OWS in `X-Forwarded-For`
- - deps: forwarded@~0.1.2
- - deps: ipaddr.js@1.5.2
- - perf: reduce overhead when no `X-Forwarded-For` header
- * deps: qs@6.5.1
- - Fix parsing & compacting very deep objects
- * deps: send@0.16.0
- - Add 70 new types for file extensions
- - Add `immutable` option
- - Fix missing `</html>` in default error & redirects
- - Set charset as "UTF-8" for .js and .json
- - Use instance methods on steam to check for listeners
- - deps: mime@1.4.1
- - perf: improve path validation speed
- * deps: serve-static@1.13.0
- - Add 70 new types for file extensions
- - Add `immutable` option
- - Set charset as "UTF-8" for .js and .json
- - deps: send@0.16.0
- * deps: setprototypeof@1.1.0
- * deps: utils-merge@1.0.1
- * deps: vary@~1.1.2
- - perf: improve header token parsing speed
- * perf: re-use options object when generating ETags
- * perf: remove dead `.charset` set in `res.jsonp`
-
-4.15.5 / 2017-09-24
-===================
-
- * deps: debug@2.6.9
- * deps: finalhandler@~1.0.6
- - deps: debug@2.6.9
- - deps: parseurl@~1.3.2
- * deps: fresh@0.5.2
- - Fix handling of modified headers with invalid dates
- - perf: improve ETag match loop
- - perf: improve `If-None-Match` token parsing
- * deps: send@0.15.6
- - Fix handling of modified headers with invalid dates
- - deps: debug@2.6.9
- - deps: etag@~1.8.1
- - deps: fresh@0.5.2
- - perf: improve `If-Match` token parsing
- * deps: serve-static@1.12.6
- - deps: parseurl@~1.3.2
- - deps: send@0.15.6
- - perf: improve slash collapsing
-
-4.15.4 / 2017-08-06
-===================
-
- * deps: debug@2.6.8
- * deps: depd@~1.1.1
- - Remove unnecessary `Buffer` loading
- * deps: finalhandler@~1.0.4
- - deps: debug@2.6.8
- * deps: proxy-addr@~1.1.5
- - Fix array argument being altered
- - deps: ipaddr.js@1.4.0
- * deps: qs@6.5.0
- * deps: send@0.15.4
- - deps: debug@2.6.8
- - deps: depd@~1.1.1
- - deps: http-errors@~1.6.2
- * deps: serve-static@1.12.4
- - deps: send@0.15.4
-
-4.15.3 / 2017-05-16
-===================
-
- * Fix error when `res.set` cannot add charset to `Content-Type`
- * deps: debug@2.6.7
- - Fix `DEBUG_MAX_ARRAY_LENGTH`
- - deps: ms@2.0.0
- * deps: finalhandler@~1.0.3
- - Fix missing `</html>` in HTML document
- - deps: debug@2.6.7
- * deps: proxy-addr@~1.1.4
- - deps: ipaddr.js@1.3.0
- * deps: send@0.15.3
- - deps: debug@2.6.7
- - deps: ms@2.0.0
- * deps: serve-static@1.12.3
- - deps: send@0.15.3
- * deps: type-is@~1.6.15
- - deps: mime-types@~2.1.15
- * deps: vary@~1.1.1
- - perf: hoist regular expression
-
-4.15.2 / 2017-03-06
-===================
-
- * deps: qs@6.4.0
- - Fix regression parsing keys starting with `[`
-
-4.15.1 / 2017-03-05
-===================
-
- * deps: send@0.15.1
- - Fix issue when `Date.parse` does not return `NaN` on invalid date
- - Fix strict violation in broken environments
- * deps: serve-static@1.12.1
- - Fix issue when `Date.parse` does not return `NaN` on invalid date
- - deps: send@0.15.1
-
-4.15.0 / 2017-03-01
-===================
-
- * Add debug message when loading view engine
- * Add `next("router")` to exit from router
- * Fix case where `router.use` skipped requests routes did not
- * Remove usage of `res._headers` private field
- - Improves compatibility with Node.js 8 nightly
- * Skip routing when `req.url` is not set
- * Use `%o` in path debug to tell types apart
- * Use `Object.create` to setup request & response prototypes
- * Use `setprototypeof` module to replace `__proto__` setting
- * Use `statuses` instead of `http` module for status messages
- * deps: debug@2.6.1
- - Allow colors in workers
- - Deprecated `DEBUG_FD` environment variable set to `3` or higher
- - Fix error when running under React Native
- - Use same color for same namespace
- - deps: ms@0.7.2
- * deps: etag@~1.8.0
- - Use SHA1 instead of MD5 for ETag hashing
- - Works with FIPS 140-2 OpenSSL configuration
- * deps: finalhandler@~1.0.0
- - Fix exception when `err` cannot be converted to a string
- - Fully URL-encode the pathname in the 404
- - Only include the pathname in the 404 message
- - Send complete HTML document
- - Set `Content-Security-Policy: default-src 'self'` header
- - deps: debug@2.6.1
- * deps: fresh@0.5.0
- - Fix false detection of `no-cache` request directive
- - Fix incorrect result when `If-None-Match` has both `*` and ETags
- - Fix weak `ETag` matching to match spec
- - perf: delay reading header values until needed
- - perf: enable strict mode
- - perf: hoist regular expressions
- - perf: remove duplicate conditional
- - perf: remove unnecessary boolean coercions
- - perf: skip checking modified time if ETag check failed
- - perf: skip parsing `If-None-Match` when no `ETag` header
- - perf: use `Date.parse` instead of `new Date`
- * deps: qs@6.3.1
- - Fix array parsing from skipping empty values
- - Fix compacting nested arrays
- * deps: send@0.15.0
- - Fix false detection of `no-cache` request directive
- - Fix incorrect result when `If-None-Match` has both `*` and ETags
- - Fix weak `ETag` matching to match spec
- - Remove usage of `res._headers` private field
- - Support `If-Match` and `If-Unmodified-Since` headers
- - Use `res.getHeaderNames()` when available
- - Use `res.headersSent` when available
- - deps: debug@2.6.1
- - deps: etag@~1.8.0
- - deps: fresh@0.5.0
- - deps: http-errors@~1.6.1
- * deps: serve-static@1.12.0
- - Fix false detection of `no-cache` request directive
- - Fix incorrect result when `If-None-Match` has both `*` and ETags
- - Fix weak `ETag` matching to match spec
- - Remove usage of `res._headers` private field
- - Send complete HTML document in redirect response
- - Set default CSP header in redirect response
- - Support `If-Match` and `If-Unmodified-Since` headers
- - Use `res.getHeaderNames()` when available
- - Use `res.headersSent` when available
- - deps: send@0.15.0
- * perf: add fast match path for `*` route
- * perf: improve `req.ips` performance
-
-4.14.1 / 2017-01-28
-===================
-
- * deps: content-disposition@0.5.2
- * deps: finalhandler@0.5.1
- - Fix exception when `err.headers` is not an object
- - deps: statuses@~1.3.1
- - perf: hoist regular expressions
- - perf: remove duplicate validation path
- * deps: proxy-addr@~1.1.3
- - deps: ipaddr.js@1.2.0
- * deps: send@0.14.2
- - deps: http-errors@~1.5.1
- - deps: ms@0.7.2
- - deps: statuses@~1.3.1
- * deps: serve-static@~1.11.2
- - deps: send@0.14.2
- * deps: type-is@~1.6.14
- - deps: mime-types@~2.1.13
-
-4.14.0 / 2016-06-16
-===================
-
- * Add `acceptRanges` option to `res.sendFile`/`res.sendfile`
- * Add `cacheControl` option to `res.sendFile`/`res.sendfile`
- * Add `options` argument to `req.range`
- - Includes the `combine` option
- * Encode URL in `res.location`/`res.redirect` if not already encoded
- * Fix some redirect handling in `res.sendFile`/`res.sendfile`
- * Fix Windows absolute path check using forward slashes
- * Improve error with invalid arguments to `req.get()`
- * Improve performance for `res.json`/`res.jsonp` in most cases
- * Improve `Range` header handling in `res.sendFile`/`res.sendfile`
- * deps: accepts@~1.3.3
- - Fix including type extensions in parameters in `Accept` parsing
- - Fix parsing `Accept` parameters with quoted equals
- - Fix parsing `Accept` parameters with quoted semicolons
- - Many performance improvements
- - deps: mime-types@~2.1.11
- - deps: negotiator@0.6.1
- * deps: content-type@~1.0.2
- - perf: enable strict mode
- * deps: cookie@0.3.1
- - Add `sameSite` option
- - Fix cookie `Max-Age` to never be a floating point number
- - Improve error message when `encode` is not a function
- - Improve error message when `expires` is not a `Date`
- - Throw better error for invalid argument to parse
- - Throw on invalid values provided to `serialize`
- - perf: enable strict mode
- - perf: hoist regular expression
- - perf: use for loop in parse
- - perf: use string concatenation for serialization
- * deps: finalhandler@0.5.0
- - Change invalid or non-numeric status code to 500
- - Overwrite status message to match set status code
- - Prefer `err.statusCode` if `err.status` is invalid
- - Set response headers from `err.headers` object
- - Use `statuses` instead of `http` module for status messages
- * deps: proxy-addr@~1.1.2
- - Fix accepting various invalid netmasks
- - Fix IPv6-mapped IPv4 validation edge cases
- - IPv4 netmasks must be contiguous
- - IPv6 addresses cannot be used as a netmask
- - deps: ipaddr.js@1.1.1
- * deps: qs@6.2.0
- - Add `decoder` option in `parse` function
- * deps: range-parser@~1.2.0
- - Add `combine` option to combine overlapping ranges
- - Fix incorrectly returning -1 when there is at least one valid range
- - perf: remove internal function
- * deps: send@0.14.1
- - Add `acceptRanges` option
- - Add `cacheControl` option
- - Attempt to combine multiple ranges into single range
- - Correctly inherit from `Stream` class
- - Fix `Content-Range` header in 416 responses when using `start`/`end` options
- - Fix `Content-Range` header missing from default 416 responses
- - Fix redirect error when `path` contains raw non-URL characters
- - Fix redirect when `path` starts with multiple forward slashes
- - Ignore non-byte `Range` headers
- - deps: http-errors@~1.5.0
- - deps: range-parser@~1.2.0
- - deps: statuses@~1.3.0
- - perf: remove argument reassignment
- * deps: serve-static@~1.11.1
- - Add `acceptRanges` option
- - Add `cacheControl` option
- - Attempt to combine multiple ranges into single range
- - Fix redirect error when `req.url` contains raw non-URL characters
- - Ignore non-byte `Range` headers
- - Use status code 301 for redirects
- - deps: send@0.14.1
- * deps: type-is@~1.6.13
- - Fix type error when given invalid type to match against
- - deps: mime-types@~2.1.11
- * deps: vary@~1.1.0
- - Only accept valid field names in the `field` argument
- * perf: use strict equality when possible
-
-4.13.4 / 2016-01-21
-===================
-
- * deps: content-disposition@0.5.1
- - perf: enable strict mode
- * deps: cookie@0.1.5
- - Throw on invalid values provided to `serialize`
- * deps: depd@~1.1.0
- - Support web browser loading
- - perf: enable strict mode
- * deps: escape-html@~1.0.3
- - perf: enable strict mode
- - perf: optimize string replacement
- - perf: use faster string coercion
- * deps: finalhandler@0.4.1
- - deps: escape-html@~1.0.3
- * deps: merge-descriptors@1.0.1
- - perf: enable strict mode
- * deps: methods@~1.1.2
- - perf: enable strict mode
- * deps: parseurl@~1.3.1
- - perf: enable strict mode
- * deps: proxy-addr@~1.0.10
- - deps: ipaddr.js@1.0.5
- - perf: enable strict mode
- * deps: range-parser@~1.0.3
- - perf: enable strict mode
- * deps: send@0.13.1
- - deps: depd@~1.1.0
- - deps: destroy@~1.0.4
- - deps: escape-html@~1.0.3
- - deps: range-parser@~1.0.3
- * deps: serve-static@~1.10.2
- - deps: escape-html@~1.0.3
- - deps: parseurl@~1.3.0
- - deps: send@0.13.1
-
-4.13.3 / 2015-08-02
-===================
-
- * Fix infinite loop condition using `mergeParams: true`
- * Fix inner numeric indices incorrectly altering parent `req.params`
-
-4.13.2 / 2015-07-31
-===================
-
- * deps: accepts@~1.2.12
- - deps: mime-types@~2.1.4
- * deps: array-flatten@1.1.1
- - perf: enable strict mode
- * deps: path-to-regexp@0.1.7
- - Fix regression with escaped round brackets and matching groups
- * deps: type-is@~1.6.6
- - deps: mime-types@~2.1.4
-
-4.13.1 / 2015-07-05
-===================
-
- * deps: accepts@~1.2.10
- - deps: mime-types@~2.1.2
- * deps: qs@4.0.0
- - Fix dropping parameters like `hasOwnProperty`
- - Fix various parsing edge cases
- * deps: type-is@~1.6.4
- - deps: mime-types@~2.1.2
- - perf: enable strict mode
- - perf: remove argument reassignment
-
-4.13.0 / 2015-06-20
-===================
-
- * Add settings to debug output
- * Fix `res.format` error when only `default` provided
- * Fix issue where `next('route')` in `app.param` would incorrectly skip values
- * Fix hiding platform issues with `decodeURIComponent`
- - Only `URIError`s are a 400
- * Fix using `*` before params in routes
- * Fix using capture groups before params in routes
- * Simplify `res.cookie` to call `res.append`
- * Use `array-flatten` module for flattening arrays
- * deps: accepts@~1.2.9
- - deps: mime-types@~2.1.1
- - perf: avoid argument reassignment & argument slice
- - perf: avoid negotiator recursive construction
- - perf: enable strict mode
- - perf: remove unnecessary bitwise operator
- * deps: cookie@0.1.3
- - perf: deduce the scope of try-catch deopt
- - perf: remove argument reassignments
- * deps: escape-html@1.0.2
- * deps: etag@~1.7.0
- - Always include entity length in ETags for hash length extensions
- - Generate non-Stats ETags using MD5 only (no longer CRC32)
- - Improve stat performance by removing hashing
- - Improve support for JXcore
- - Remove base64 padding in ETags to shorten
- - Support "fake" stats objects in environments without fs
- - Use MD5 instead of MD4 in weak ETags over 1KB
- * deps: finalhandler@0.4.0
- - Fix a false-positive when unpiping in Node.js 0.8
- - Support `statusCode` property on `Error` objects
- - Use `unpipe` module for unpiping requests
- - deps: escape-html@1.0.2
- - deps: on-finished@~2.3.0
- - perf: enable strict mode
- - perf: remove argument reassignment
- * deps: fresh@0.3.0
- - Add weak `ETag` matching support
- * deps: on-finished@~2.3.0
- - Add defined behavior for HTTP `CONNECT` requests
- - Add defined behavior for HTTP `Upgrade` requests
- - deps: ee-first@1.1.1
- * deps: path-to-regexp@0.1.6
- * deps: send@0.13.0
- - Allow Node.js HTTP server to set `Date` response header
- - Fix incorrectly removing `Content-Location` on 304 response
- - Improve the default redirect response headers
- - Send appropriate headers on default error response
- - Use `http-errors` for standard emitted errors
- - Use `statuses` instead of `http` module for status messages
- - deps: escape-html@1.0.2
- - deps: etag@~1.7.0
- - deps: fresh@0.3.0
- - deps: on-finished@~2.3.0
- - perf: enable strict mode
- - perf: remove unnecessary array allocations
- * deps: serve-static@~1.10.0
- - Add `fallthrough` option
- - Fix reading options from options prototype
- - Improve the default redirect response headers
- - Malformed URLs now `next()` instead of 400
- - deps: escape-html@1.0.2
- - deps: send@0.13.0
- - perf: enable strict mode
- - perf: remove argument reassignment
- * deps: type-is@~1.6.3
- - deps: mime-types@~2.1.1
- - perf: reduce try block size
- - perf: remove bitwise operations
- * perf: enable strict mode
- * perf: isolate `app.render` try block
- * perf: remove argument reassignments in application
- * perf: remove argument reassignments in request prototype
- * perf: remove argument reassignments in response prototype
- * perf: remove argument reassignments in routing
- * perf: remove argument reassignments in `View`
- * perf: skip attempting to decode zero length string
- * perf: use saved reference to `http.STATUS_CODES`
-
-4.12.4 / 2015-05-17
-===================
-
- * deps: accepts@~1.2.7
- - deps: mime-types@~2.0.11
- - deps: negotiator@0.5.3
- * deps: debug@~2.2.0
- - deps: ms@0.7.1
- * deps: depd@~1.0.1
- * deps: etag@~1.6.0
- - Improve support for JXcore
- - Support "fake" stats objects in environments without `fs`
- * deps: finalhandler@0.3.6
- - deps: debug@~2.2.0
- - deps: on-finished@~2.2.1
- * deps: on-finished@~2.2.1
- - Fix `isFinished(req)` when data buffered
- * deps: proxy-addr@~1.0.8
- - deps: ipaddr.js@1.0.1
- * deps: qs@2.4.2
- - Fix allowing parameters like `constructor`
- * deps: send@0.12.3
- - deps: debug@~2.2.0
- - deps: depd@~1.0.1
- - deps: etag@~1.6.0
- - deps: ms@0.7.1
- - deps: on-finished@~2.2.1
- * deps: serve-static@~1.9.3
- - deps: send@0.12.3
- * deps: type-is@~1.6.2
- - deps: mime-types@~2.0.11
-
-4.12.3 / 2015-03-17
-===================
-
- * deps: accepts@~1.2.5
- - deps: mime-types@~2.0.10
- * deps: debug@~2.1.3
- - Fix high intensity foreground color for bold
- - deps: ms@0.7.0
- * deps: finalhandler@0.3.4
- - deps: debug@~2.1.3
- * deps: proxy-addr@~1.0.7
- - deps: ipaddr.js@0.1.9
- * deps: qs@2.4.1
- - Fix error when parameter `hasOwnProperty` is present
- * deps: send@0.12.2
- - Throw errors early for invalid `extensions` or `index` options
- - deps: debug@~2.1.3
- * deps: serve-static@~1.9.2
- - deps: send@0.12.2
- * deps: type-is@~1.6.1
- - deps: mime-types@~2.0.10
-
-4.12.2 / 2015-03-02
-===================
-
- * Fix regression where `"Request aborted"` is logged using `res.sendFile`
-
-4.12.1 / 2015-03-01
-===================
-
- * Fix constructing application with non-configurable prototype properties
- * Fix `ECONNRESET` errors from `res.sendFile` usage
- * Fix `req.host` when using "trust proxy" hops count
- * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
- * Fix wrong `code` on aborted connections from `res.sendFile`
- * deps: merge-descriptors@1.0.0
-
-4.12.0 / 2015-02-23
-===================
-
- * Fix `"trust proxy"` setting to inherit when app is mounted
- * Generate `ETag`s for all request responses
- - No longer restricted to only responses for `GET` and `HEAD` requests
- * Use `content-type` to parse `Content-Type` headers
- * deps: accepts@~1.2.4
- - Fix preference sorting to be stable for long acceptable lists
- - deps: mime-types@~2.0.9
- - deps: negotiator@0.5.1
- * deps: cookie-signature@1.0.6
- * deps: send@0.12.1
- - Always read the stat size from the file
- - Fix mutating passed-in `options`
- - deps: mime@1.3.4
- * deps: serve-static@~1.9.1
- - deps: send@0.12.1
- * deps: type-is@~1.6.0
- - fix argument reassignment
- - fix false-positives in `hasBody` `Transfer-Encoding` check
- - support wildcard for both type and subtype (`*/*`)
- - deps: mime-types@~2.0.9
-
-4.11.2 / 2015-02-01
-===================
-
- * Fix `res.redirect` double-calling `res.end` for `HEAD` requests
- * deps: accepts@~1.2.3
- - deps: mime-types@~2.0.8
- * deps: proxy-addr@~1.0.6
- - deps: ipaddr.js@0.1.8
- * deps: type-is@~1.5.6
- - deps: mime-types@~2.0.8
-
-4.11.1 / 2015-01-20
-===================
-
- * deps: send@0.11.1
- - Fix root path disclosure
- * deps: serve-static@~1.8.1
- - Fix redirect loop in Node.js 0.11.14
- - Fix root path disclosure
- - deps: send@0.11.1
-
-4.11.0 / 2015-01-13
-===================
-
- * Add `res.append(field, val)` to append headers
- * Deprecate leading `:` in `name` for `app.param(name, fn)`
- * Deprecate `req.param()` -- use `req.params`, `req.body`, or `req.query` instead
- * Deprecate `app.param(fn)`
- * Fix `OPTIONS` responses to include the `HEAD` method properly
- * Fix `res.sendFile` not always detecting aborted connection
- * Match routes iteratively to prevent stack overflows
- * deps: accepts@~1.2.2
- - deps: mime-types@~2.0.7
- - deps: negotiator@0.5.0
- * deps: send@0.11.0
- - deps: debug@~2.1.1
- - deps: etag@~1.5.1
- - deps: ms@0.7.0
- - deps: on-finished@~2.2.0
- * deps: serve-static@~1.8.0
- - deps: send@0.11.0
-
-4.10.8 / 2015-01-13
-===================
-
- * Fix crash from error within `OPTIONS` response handler
- * deps: proxy-addr@~1.0.5
- - deps: ipaddr.js@0.1.6
-
-4.10.7 / 2015-01-04
-===================
-
- * Fix `Allow` header for `OPTIONS` to not contain duplicate methods
- * Fix incorrect "Request aborted" for `res.sendFile` when `HEAD` or 304
- * deps: debug@~2.1.1
- * deps: finalhandler@0.3.3
- - deps: debug@~2.1.1
- - deps: on-finished@~2.2.0
- * deps: methods@~1.1.1
- * deps: on-finished@~2.2.0
- * deps: serve-static@~1.7.2
- - Fix potential open redirect when mounted at root
- * deps: type-is@~1.5.5
- - deps: mime-types@~2.0.7
-
-4.10.6 / 2014-12-12
-===================
-
- * Fix exception in `req.fresh`/`req.stale` without response headers
-
-4.10.5 / 2014-12-10
-===================
-
- * Fix `res.send` double-calling `res.end` for `HEAD` requests
- * deps: accepts@~1.1.4
- - deps: mime-types@~2.0.4
- * deps: type-is@~1.5.4
- - deps: mime-types@~2.0.4
-
-4.10.4 / 2014-11-24
-===================
-
- * Fix `res.sendfile` logging standard write errors
-
-4.10.3 / 2014-11-23
-===================
-
- * Fix `res.sendFile` logging standard write errors
- * deps: etag@~1.5.1
- * deps: proxy-addr@~1.0.4
- - deps: ipaddr.js@0.1.5
- * deps: qs@2.3.3
- - Fix `arrayLimit` behavior
-
-4.10.2 / 2014-11-09
-===================
-
- * Correctly invoke async router callback asynchronously
- * deps: accepts@~1.1.3
- - deps: mime-types@~2.0.3
- * deps: type-is@~1.5.3
- - deps: mime-types@~2.0.3
-
-4.10.1 / 2014-10-28
-===================
-
- * Fix handling of URLs containing `://` in the path
- * deps: qs@2.3.2
- - Fix parsing of mixed objects and values
-
-4.10.0 / 2014-10-23
-===================
-
- * Add support for `app.set('views', array)`
- - Views are looked up in sequence in array of directories
- * Fix `res.send(status)` to mention `res.sendStatus(status)`
- * Fix handling of invalid empty URLs
- * Use `content-disposition` module for `res.attachment`/`res.download`
- - Sends standards-compliant `Content-Disposition` header
- - Full Unicode support
- * Use `path.resolve` in view lookup
- * deps: debug@~2.1.0
- - Implement `DEBUG_FD` env variable support
- * deps: depd@~1.0.0
- * deps: etag@~1.5.0
- - Improve string performance
- - Slightly improve speed for weak ETags over 1KB
- * deps: finalhandler@0.3.2
- - Terminate in progress response only on error
- - Use `on-finished` to determine request status
- - deps: debug@~2.1.0
- - deps: on-finished@~2.1.1
- * deps: on-finished@~2.1.1
- - Fix handling of pipelined requests
- * deps: qs@2.3.0
- - Fix parsing of mixed implicit and explicit arrays
- * deps: send@0.10.1
- - deps: debug@~2.1.0
- - deps: depd@~1.0.0
- - deps: etag@~1.5.0
- - deps: on-finished@~2.1.1
- * deps: serve-static@~1.7.1
- - deps: send@0.10.1
-
-4.9.8 / 2014-10-17
-==================
-
- * Fix `res.redirect` body when redirect status specified
- * deps: accepts@~1.1.2
- - Fix error when media type has invalid parameter
- - deps: negotiator@0.4.9
-
-4.9.7 / 2014-10-10
-==================
-
- * Fix using same param name in array of paths
-
-4.9.6 / 2014-10-08
-==================
-
- * deps: accepts@~1.1.1
- - deps: mime-types@~2.0.2
- - deps: negotiator@0.4.8
- * deps: serve-static@~1.6.4
- - Fix redirect loop when index file serving disabled
- * deps: type-is@~1.5.2
- - deps: mime-types@~2.0.2
-
-4.9.5 / 2014-09-24
-==================
-
- * deps: etag@~1.4.0
- * deps: proxy-addr@~1.0.3
- - Use `forwarded` npm module
- * deps: send@0.9.3
- - deps: etag@~1.4.0
- * deps: serve-static@~1.6.3
- - deps: send@0.9.3
-
-4.9.4 / 2014-09-19
-==================
-
- * deps: qs@2.2.4
- - Fix issue with object keys starting with numbers truncated
-
-4.9.3 / 2014-09-18
-==================
-
- * deps: proxy-addr@~1.0.2
- - Fix a global leak when multiple subnets are trusted
- - deps: ipaddr.js@0.1.3
-
-4.9.2 / 2014-09-17
-==================
-
- * Fix regression for empty string `path` in `app.use`
- * Fix `router.use` to accept array of middleware without path
- * Improve error message for bad `app.use` arguments
-
-4.9.1 / 2014-09-16
-==================
-
- * Fix `app.use` to accept array of middleware without path
- * deps: depd@0.4.5
- * deps: etag@~1.3.1
- * deps: send@0.9.2
- - deps: depd@0.4.5
- - deps: etag@~1.3.1
- - deps: range-parser@~1.0.2
- * deps: serve-static@~1.6.2
- - deps: send@0.9.2
-
-4.9.0 / 2014-09-08
-==================
-
- * Add `res.sendStatus`
- * Invoke callback for sendfile when client aborts
- - Applies to `res.sendFile`, `res.sendfile`, and `res.download`
- - `err` will be populated with request aborted error
- * Support IP address host in `req.subdomains`
- * Use `etag` to generate `ETag` headers
- * deps: accepts@~1.1.0
- - update `mime-types`
- * deps: cookie-signature@1.0.5
- * deps: debug@~2.0.0
- * deps: finalhandler@0.2.0
- - Set `X-Content-Type-Options: nosniff` header
- - deps: debug@~2.0.0
- * deps: fresh@0.2.4
- * deps: media-typer@0.3.0
- - Throw error when parameter format invalid on parse
- * deps: qs@2.2.3
- - Fix issue where first empty value in array is discarded
- * deps: range-parser@~1.0.2
- * deps: send@0.9.1
- - Add `lastModified` option
- - Use `etag` to generate `ETag` header
- - deps: debug@~2.0.0
- - deps: fresh@0.2.4
- * deps: serve-static@~1.6.1
- - Add `lastModified` option
- - deps: send@0.9.1
- * deps: type-is@~1.5.1
- - fix `hasbody` to be true for `content-length: 0`
- - deps: media-typer@0.3.0
- - deps: mime-types@~2.0.1
- * deps: vary@~1.0.0
- - Accept valid `Vary` header string as `field`
-
-4.8.8 / 2014-09-04
-==================
-
- * deps: send@0.8.5
- - Fix a path traversal issue when using `root`
- - Fix malicious path detection for empty string path
- * deps: serve-static@~1.5.4
- - deps: send@0.8.5
-
-4.8.7 / 2014-08-29
-==================
-
- * deps: qs@2.2.2
- - Remove unnecessary cloning
-
-4.8.6 / 2014-08-27
-==================
-
- * deps: qs@2.2.0
- - Array parsing fix
- - Performance improvements
-
-4.8.5 / 2014-08-18
-==================
-
- * deps: send@0.8.3
- - deps: destroy@1.0.3
- - deps: on-finished@2.1.0
- * deps: serve-static@~1.5.3
- - deps: send@0.8.3
-
-4.8.4 / 2014-08-14
-==================
-
- * deps: qs@1.2.2
- * deps: send@0.8.2
- - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
- * deps: serve-static@~1.5.2
- - deps: send@0.8.2
-
-4.8.3 / 2014-08-10
-==================
-
- * deps: parseurl@~1.3.0
- * deps: qs@1.2.1
- * deps: serve-static@~1.5.1
- - Fix parsing of weird `req.originalUrl` values
- - deps: parseurl@~1.3.0
- - deps: utils-merge@1.0.0
-
-4.8.2 / 2014-08-07
-==================
-
- * deps: qs@1.2.0
- - Fix parsing array of objects
-
-4.8.1 / 2014-08-06
-==================
-
- * fix incorrect deprecation warnings on `res.download`
- * deps: qs@1.1.0
- - Accept urlencoded square brackets
- - Accept empty values in implicit array notation
-
-4.8.0 / 2014-08-05
-==================
-
- * add `res.sendFile`
- - accepts a file system path instead of a URL
- - requires an absolute path or `root` option specified
- * deprecate `res.sendfile` -- use `res.sendFile` instead
- * support mounted app as any argument to `app.use()`
- * deps: qs@1.0.2
- - Complete rewrite
- - Limits array length to 20
- - Limits object depth to 5
- - Limits parameters to 1,000
- * deps: send@0.8.1
- - Add `extensions` option
- * deps: serve-static@~1.5.0
- - Add `extensions` option
- - deps: send@0.8.1
-
-4.7.4 / 2014-08-04
-==================
-
- * fix `res.sendfile` regression for serving directory index files
- * deps: send@0.7.4
- - Fix incorrect 403 on Windows and Node.js 0.11
- - Fix serving index files without root dir
- * deps: serve-static@~1.4.4
- - deps: send@0.7.4
-
-4.7.3 / 2014-08-04
-==================
-
- * deps: send@0.7.3
- - Fix incorrect 403 on Windows and Node.js 0.11
- * deps: serve-static@~1.4.3
- - Fix incorrect 403 on Windows and Node.js 0.11
- - deps: send@0.7.3
-
-4.7.2 / 2014-07-27
-==================
-
- * deps: depd@0.4.4
- - Work-around v8 generating empty stack traces
- * deps: send@0.7.2
- - deps: depd@0.4.4
- * deps: serve-static@~1.4.2
-
-4.7.1 / 2014-07-26
-==================
-
- * deps: depd@0.4.3
- - Fix exception when global `Error.stackTraceLimit` is too low
- * deps: send@0.7.1
- - deps: depd@0.4.3
- * deps: serve-static@~1.4.1
-
-4.7.0 / 2014-07-25
-==================
-
- * fix `req.protocol` for proxy-direct connections
- * configurable query parser with `app.set('query parser', parser)`
- - `app.set('query parser', 'extended')` parse with "qs" module
- - `app.set('query parser', 'simple')` parse with "querystring" core module
- - `app.set('query parser', false)` disable query string parsing
- - `app.set('query parser', true)` enable simple parsing
- * deprecate `res.json(status, obj)` -- use `res.status(status).json(obj)` instead
- * deprecate `res.jsonp(status, obj)` -- use `res.status(status).jsonp(obj)` instead
- * deprecate `res.send(status, body)` -- use `res.status(status).send(body)` instead
- * deps: debug@1.0.4
- * deps: depd@0.4.2
- - Add `TRACE_DEPRECATION` environment variable
- - Remove non-standard grey color from color output
- - Support `--no-deprecation` argument
- - Support `--trace-deprecation` argument
- * deps: finalhandler@0.1.0
- - Respond after request fully read
- - deps: debug@1.0.4
- * deps: parseurl@~1.2.0
- - Cache URLs based on original value
- - Remove no-longer-needed URL mis-parse work-around
- - Simplify the "fast-path" `RegExp`
- * deps: send@0.7.0
- - Add `dotfiles` option
- - Cap `maxAge` value to 1 year
- - deps: debug@1.0.4
- - deps: depd@0.4.2
- * deps: serve-static@~1.4.0
- - deps: parseurl@~1.2.0
- - deps: send@0.7.0
- * perf: prevent multiple `Buffer` creation in `res.send`
-
-4.6.1 / 2014-07-12
-==================
-
- * fix `subapp.mountpath` regression for `app.use(subapp)`
-
-4.6.0 / 2014-07-11
-==================
-
- * accept multiple callbacks to `app.use()`
- * add explicit "Rosetta Flash JSONP abuse" protection
- - previous versions are not vulnerable; this is just explicit protection
- * catch errors in multiple `req.param(name, fn)` handlers
- * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
- * fix `res.send(status, num)` to send `num` as json (not error)
- * remove unnecessary escaping when `res.jsonp` returns JSON response
- * support non-string `path` in `app.use(path, fn)`
- - supports array of paths
- - supports `RegExp`
- * router: fix optimization on router exit
- * router: refactor location of `try` blocks
- * router: speed up standard `app.use(fn)`
- * deps: debug@1.0.3
- - Add support for multiple wildcards in namespaces
- * deps: finalhandler@0.0.3
- - deps: debug@1.0.3
- * deps: methods@1.1.0
- - add `CONNECT`
- * deps: parseurl@~1.1.3
- - faster parsing of href-only URLs
- * deps: path-to-regexp@0.1.3
- * deps: send@0.6.0
- - deps: debug@1.0.3
- * deps: serve-static@~1.3.2
- - deps: parseurl@~1.1.3
- - deps: send@0.6.0
- * perf: fix arguments reassign deopt in some `res` methods
-
-4.5.1 / 2014-07-06
-==================
-
- * fix routing regression when altering `req.method`
-
-4.5.0 / 2014-07-04
-==================
-
- * add deprecation message to non-plural `req.accepts*`
- * add deprecation message to `res.send(body, status)`
- * add deprecation message to `res.vary()`
- * add `headers` option to `res.sendfile`
- - use to set headers on successful file transfer
- * add `mergeParams` option to `Router`
- - merges `req.params` from parent routes
- * add `req.hostname` -- correct name for what `req.host` returns
- * deprecate things with `depd` module
- * deprecate `req.host` -- use `req.hostname` instead
- * fix behavior when handling request without routes
- * fix handling when `route.all` is only route
- * invoke `router.param()` only when route matches
- * restore `req.params` after invoking router
- * use `finalhandler` for final response handling
- * use `media-typer` to alter content-type charset
- * deps: accepts@~1.0.7
- * deps: send@0.5.0
- - Accept string for `maxage` (converted by `ms`)
- - Include link in default redirect response
- * deps: serve-static@~1.3.0
- - Accept string for `maxAge` (converted by `ms`)
- - Add `setHeaders` option
- - Include HTML link in redirect response
- - deps: send@0.5.0
- * deps: type-is@~1.3.2
-
-4.4.5 / 2014-06-26
-==================
-
- * deps: cookie-signature@1.0.4
- - fix for timing attacks
-
-4.4.4 / 2014-06-20
-==================
-
- * fix `res.attachment` Unicode filenames in Safari
- * fix "trim prefix" debug message in `express:router`
- * deps: accepts@~1.0.5
- * deps: buffer-crc32@0.2.3
-
-4.4.3 / 2014-06-11
-==================
-
- * fix persistence of modified `req.params[name]` from `app.param()`
- * deps: accepts@1.0.3
- - deps: negotiator@0.4.6
- * deps: debug@1.0.2
- * deps: send@0.4.3
- - Do not throw uncatchable error on file open race condition
- - Use `escape-html` for HTML escaping
- - deps: debug@1.0.2
- - deps: finished@1.2.2
- - deps: fresh@0.2.2
- * deps: serve-static@1.2.3
- - Do not throw uncatchable error on file open race condition
- - deps: send@0.4.3
-
-4.4.2 / 2014-06-09
-==================
-
- * fix catching errors from top-level handlers
- * use `vary` module for `res.vary`
- * deps: debug@1.0.1
- * deps: proxy-addr@1.0.1
- * deps: send@0.4.2
- - fix "event emitter leak" warnings
- - deps: debug@1.0.1
- - deps: finished@1.2.1
- * deps: serve-static@1.2.2
- - fix "event emitter leak" warnings
- - deps: send@0.4.2
- * deps: type-is@1.2.1
-
-4.4.1 / 2014-06-02
-==================
-
- * deps: methods@1.0.1
- * deps: send@0.4.1
- - Send `max-age` in `Cache-Control` in correct format
- * deps: serve-static@1.2.1
- - use `escape-html` for escaping
- - deps: send@0.4.1
-
-4.4.0 / 2014-05-30
-==================
-
- * custom etag control with `app.set('etag', val)`
- - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
- - `app.set('etag', 'weak')` weak tag
- - `app.set('etag', 'strong')` strong etag
- - `app.set('etag', false)` turn off
- - `app.set('etag', true)` standard etag
- * mark `res.send` ETag as weak and reduce collisions
- * update accepts to 1.0.2
- - Fix interpretation when header not in request
- * update send to 0.4.0
- - Calculate ETag with md5 for reduced collisions
- - Ignore stream errors after request ends
- - deps: debug@0.8.1
- * update serve-static to 1.2.0
- - Calculate ETag with md5 for reduced collisions
- - Ignore stream errors after request ends
- - deps: send@0.4.0
-
-4.3.2 / 2014-05-28
-==================
-
- * fix handling of errors from `router.param()` callbacks
-
-4.3.1 / 2014-05-23
-==================
-
- * revert "fix behavior of multiple `app.VERB` for the same path"
- - this caused a regression in the order of route execution
-
-4.3.0 / 2014-05-21
-==================
-
- * add `req.baseUrl` to access the path stripped from `req.url` in routes
- * fix behavior of multiple `app.VERB` for the same path
- * fix issue routing requests among sub routers
- * invoke `router.param()` only when necessary instead of every match
- * proper proxy trust with `app.set('trust proxy', trust)`
- - `app.set('trust proxy', 1)` trust first hop
- - `app.set('trust proxy', 'loopback')` trust loopback addresses
- - `app.set('trust proxy', '10.0.0.1')` trust single IP
- - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
- - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
- - `app.set('trust proxy', false)` turn off
- - `app.set('trust proxy', true)` trust everything
- * set proper `charset` in `Content-Type` for `res.send`
- * update type-is to 1.2.0
- - support suffix matching
-
-4.2.0 / 2014-05-11
-==================
-
- * deprecate `app.del()` -- use `app.delete()` instead
- * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
- - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
- * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
- - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
- * fix `req.next` when inside router instance
- * include `ETag` header in `HEAD` requests
- * keep previous `Content-Type` for `res.jsonp`
- * support PURGE method
- - add `app.purge`
- - add `router.purge`
- - include PURGE in `app.all`
- * update debug to 0.8.0
- - add `enable()` method
- - change from stderr to stdout
- * update methods to 1.0.0
- - add PURGE
-
-4.1.2 / 2014-05-08
-==================
-
- * fix `req.host` for IPv6 literals
- * fix `res.jsonp` error if callback param is object
-
-4.1.1 / 2014-04-27
-==================
-
- * fix package.json to reflect supported node version
-
-4.1.0 / 2014-04-24
-==================
-
- * pass options from `res.sendfile` to `send`
- * preserve casing of headers in `res.header` and `res.set`
- * support unicode file names in `res.attachment` and `res.download`
- * update accepts to 1.0.1
- - deps: negotiator@0.4.0
- * update cookie to 0.1.2
- - Fix for maxAge == 0
- - made compat with expires field
- * update send to 0.3.0
- - Accept API options in options object
- - Coerce option types
- - Control whether to generate etags
- - Default directory access to 403 when index disabled
- - Fix sending files with dots without root set
- - Include file path in etag
- - Make "Can't set headers after they are sent." catchable
- - Send full entity-body for multi range requests
- - Set etags to "weak"
- - Support "If-Range" header
- - Support multiple index paths
- - deps: mime@1.2.11
- * update serve-static to 1.1.0
- - Accept options directly to `send` module
- - Resolve relative paths at middleware setup
- - Use parseurl to parse the URL from request
- - deps: send@0.3.0
- * update type-is to 1.1.0
- - add non-array values support
- - add `multipart` as a shorthand
-
-4.0.0 / 2014-04-09
-==================
-
- * remove:
- - node 0.8 support
- - connect and connect's patches except for charset handling
- - express(1) - moved to [express-generator](https://github.com/expressjs/generator)
- - `express.createServer()` - it has been deprecated for a long time. Use `express()`
- - `app.configure` - use logic in your own app code
- - `app.router` - is removed
- - `req.auth` - use `basic-auth` instead
- - `req.accepted*` - use `req.accepts*()` instead
- - `res.location` - relative URL resolution is removed
- - `res.charset` - include the charset in the content type when using `res.set()`
- - all bundled middleware except `static`
- * change:
- - `app.route` -> `app.mountpath` when mounting an express app in another express app
- - `json spaces` no longer enabled by default in development
- - `req.accepts*` -> `req.accepts*s` - i.e. `req.acceptsEncoding` -> `req.acceptsEncodings`
- - `req.params` is now an object instead of an array
- - `res.locals` is no longer a function. It is a plain js object. Treat it as such.
- - `res.headerSent` -> `res.headersSent` to match node.js ServerResponse object
- * refactor:
- - `req.accepts*` with [accepts](https://github.com/expressjs/accepts)
- - `req.is` with [type-is](https://github.com/expressjs/type-is)
- - [path-to-regexp](https://github.com/component/path-to-regexp)
- * add:
- - `app.router()` - returns the app Router instance
- - `app.route()` - Proxy to the app's `Router#route()` method to create a new route
- - Router & Route - public API
-
-3.21.2 / 2015-07-31
-===================
-
- * deps: connect@2.30.2
- - deps: body-parser@~1.13.3
- - deps: compression@~1.5.2
- - deps: errorhandler@~1.4.2
- - deps: method-override@~2.3.5
- - deps: serve-index@~1.7.2
- - deps: type-is@~1.6.6
- - deps: vhost@~3.0.1
- * deps: vary@~1.0.1
- - Fix setting empty header from empty `field`
- - perf: enable strict mode
- - perf: remove argument reassignments
-
-3.21.1 / 2015-07-05
-===================
-
- * deps: basic-auth@~1.0.3
- * deps: connect@2.30.1
- - deps: body-parser@~1.13.2
- - deps: compression@~1.5.1
- - deps: errorhandler@~1.4.1
- - deps: morgan@~1.6.1
- - deps: pause@0.1.0
- - deps: qs@4.0.0
- - deps: serve-index@~1.7.1
- - deps: type-is@~1.6.4
-
-3.21.0 / 2015-06-18
-===================
-
- * deps: basic-auth@1.0.2
- - perf: enable strict mode
- - perf: hoist regular expression
- - perf: parse with regular expressions
- - perf: remove argument reassignment
- * deps: connect@2.30.0
- - deps: body-parser@~1.13.1
- - deps: bytes@2.1.0
- - deps: compression@~1.5.0
- - deps: cookie@0.1.3
- - deps: cookie-parser@~1.3.5
- - deps: csurf@~1.8.3
- - deps: errorhandler@~1.4.0
- - deps: express-session@~1.11.3
- - deps: finalhandler@0.4.0
- - deps: fresh@0.3.0
- - deps: morgan@~1.6.0
- - deps: serve-favicon@~2.3.0
- - deps: serve-index@~1.7.0
- - deps: serve-static@~1.10.0
- - deps: type-is@~1.6.3
- * deps: cookie@0.1.3
- - perf: deduce the scope of try-catch deopt
- - perf: remove argument reassignments
- * deps: escape-html@1.0.2
- * deps: etag@~1.7.0
- - Always include entity length in ETags for hash length extensions
- - Generate non-Stats ETags using MD5 only (no longer CRC32)
- - Improve stat performance by removing hashing
- - Improve support for JXcore
- - Remove base64 padding in ETags to shorten
- - Support "fake" stats objects in environments without fs
- - Use MD5 instead of MD4 in weak ETags over 1KB
- * deps: fresh@0.3.0
- - Add weak `ETag` matching support
- * deps: mkdirp@0.5.1
- - Work in global strict mode
- * deps: send@0.13.0
- - Allow Node.js HTTP server to set `Date` response header
- - Fix incorrectly removing `Content-Location` on 304 response
- - Improve the default redirect response headers
- - Send appropriate headers on default error response
- - Use `http-errors` for standard emitted errors
- - Use `statuses` instead of `http` module for status messages
- - deps: escape-html@1.0.2
- - deps: etag@~1.7.0
- - deps: fresh@0.3.0
- - deps: on-finished@~2.3.0
- - perf: enable strict mode
- - perf: remove unnecessary array allocations
-
-3.20.3 / 2015-05-17
-===================
-
- * deps: connect@2.29.2
- - deps: body-parser@~1.12.4
- - deps: compression@~1.4.4
- - deps: connect-timeout@~1.6.2
- - deps: debug@~2.2.0
- - deps: depd@~1.0.1
- - deps: errorhandler@~1.3.6
- - deps: finalhandler@0.3.6
- - deps: method-override@~2.3.3
- - deps: morgan@~1.5.3
- - deps: qs@2.4.2
- - deps: response-time@~2.3.1
- - deps: serve-favicon@~2.2.1
- - deps: serve-index@~1.6.4
- - deps: serve-static@~1.9.3
- - deps: type-is@~1.6.2
- * deps: debug@~2.2.0
- - deps: ms@0.7.1
- * deps: depd@~1.0.1
- * deps: proxy-addr@~1.0.8
- - deps: ipaddr.js@1.0.1
- * deps: send@0.12.3
- - deps: debug@~2.2.0
- - deps: depd@~1.0.1
- - deps: etag@~1.6.0
- - deps: ms@0.7.1
- - deps: on-finished@~2.2.1
-
-3.20.2 / 2015-03-16
-===================
-
- * deps: connect@2.29.1
- - deps: body-parser@~1.12.2
- - deps: compression@~1.4.3
- - deps: connect-timeout@~1.6.1
- - deps: debug@~2.1.3
- - deps: errorhandler@~1.3.5
- - deps: express-session@~1.10.4
- - deps: finalhandler@0.3.4
- - deps: method-override@~2.3.2
- - deps: morgan@~1.5.2
- - deps: qs@2.4.1
- - deps: serve-index@~1.6.3
- - deps: serve-static@~1.9.2
- - deps: type-is@~1.6.1
- * deps: debug@~2.1.3
- - Fix high intensity foreground color for bold
- - deps: ms@0.7.0
- * deps: merge-descriptors@1.0.0
- * deps: proxy-addr@~1.0.7
- - deps: ipaddr.js@0.1.9
- * deps: send@0.12.2
- - Throw errors early for invalid `extensions` or `index` options
- - deps: debug@~2.1.3
-
-3.20.1 / 2015-02-28
-===================
-
- * Fix `req.host` when using "trust proxy" hops count
- * Fix `req.protocol`/`req.secure` when using "trust proxy" hops count
-
-3.20.0 / 2015-02-18
-===================
-
- * Fix `"trust proxy"` setting to inherit when app is mounted
- * Generate `ETag`s for all request responses
- - No longer restricted to only responses for `GET` and `HEAD` requests
- * Use `content-type` to parse `Content-Type` headers
- * deps: connect@2.29.0
- - Use `content-type` to parse `Content-Type` headers
- - deps: body-parser@~1.12.0
- - deps: compression@~1.4.1
- - deps: connect-timeout@~1.6.0
- - deps: cookie-parser@~1.3.4
- - deps: cookie-signature@1.0.6
- - deps: csurf@~1.7.0
- - deps: errorhandler@~1.3.4
- - deps: express-session@~1.10.3
- - deps: http-errors@~1.3.1
- - deps: response-time@~2.3.0
- - deps: serve-index@~1.6.2
- - deps: serve-static@~1.9.1
- - deps: type-is@~1.6.0
- * deps: cookie-signature@1.0.6
- * deps: send@0.12.1
- - Always read the stat size from the file
- - Fix mutating passed-in `options`
- - deps: mime@1.3.4
-
-3.19.2 / 2015-02-01
-===================
-
- * deps: connect@2.28.3
- - deps: compression@~1.3.1
- - deps: csurf@~1.6.6
- - deps: errorhandler@~1.3.3
- - deps: express-session@~1.10.2
- - deps: serve-index@~1.6.1
- - deps: type-is@~1.5.6
- * deps: proxy-addr@~1.0.6
- - deps: ipaddr.js@0.1.8
-
-3.19.1 / 2015-01-20
-===================
-
- * deps: connect@2.28.2
- - deps: body-parser@~1.10.2
- - deps: serve-static@~1.8.1
- * deps: send@0.11.1
- - Fix root path disclosure
-
-3.19.0 / 2015-01-09
-===================
-
- * Fix `OPTIONS` responses to include the `HEAD` method property
- * Use `readline` for prompt in `express(1)`
- * deps: commander@2.6.0
- * deps: connect@2.28.1
- - deps: body-parser@~1.10.1
- - deps: compression@~1.3.0
- - deps: connect-timeout@~1.5.0
- - deps: csurf@~1.6.4
- - deps: debug@~2.1.1
- - deps: errorhandler@~1.3.2
- - deps: express-session@~1.10.1
- - deps: finalhandler@0.3.3
- - deps: method-override@~2.3.1
- - deps: morgan@~1.5.1
- - deps: serve-favicon@~2.2.0
- - deps: serve-index@~1.6.0
- - deps: serve-static@~1.8.0
- - deps: type-is@~1.5.5
- * deps: debug@~2.1.1
- * deps: methods@~1.1.1
- * deps: proxy-addr@~1.0.5
- - deps: ipaddr.js@0.1.6
- * deps: send@0.11.0
- - deps: debug@~2.1.1
- - deps: etag@~1.5.1
- - deps: ms@0.7.0
- - deps: on-finished@~2.2.0
-
-3.18.6 / 2014-12-12
-===================
-
- * Fix exception in `req.fresh`/`req.stale` without response headers
-
-3.18.5 / 2014-12-11
-===================
-
- * deps: connect@2.27.6
- - deps: compression@~1.2.2
- - deps: express-session@~1.9.3
- - deps: http-errors@~1.2.8
- - deps: serve-index@~1.5.3
- - deps: type-is@~1.5.4
-
-3.18.4 / 2014-11-23
-===================
-
- * deps: connect@2.27.4
- - deps: body-parser@~1.9.3
- - deps: compression@~1.2.1
- - deps: errorhandler@~1.2.3
- - deps: express-session@~1.9.2
- - deps: qs@2.3.3
- - deps: serve-favicon@~2.1.7
- - deps: serve-static@~1.5.1
- - deps: type-is@~1.5.3
- * deps: etag@~1.5.1
- * deps: proxy-addr@~1.0.4
- - deps: ipaddr.js@0.1.5
-
-3.18.3 / 2014-11-09
-===================
-
- * deps: connect@2.27.3
- - Correctly invoke async callback asynchronously
- - deps: csurf@~1.6.3
-
-3.18.2 / 2014-10-28
-===================
-
- * deps: connect@2.27.2
- - Fix handling of URLs containing `://` in the path
- - deps: body-parser@~1.9.2
- - deps: qs@2.3.2
-
-3.18.1 / 2014-10-22
-===================
-
- * Fix internal `utils.merge` deprecation warnings
- * deps: connect@2.27.1
- - deps: body-parser@~1.9.1
- - deps: express-session@~1.9.1
- - deps: finalhandler@0.3.2
- - deps: morgan@~1.4.1
- - deps: qs@2.3.0
- - deps: serve-static@~1.7.1
- * deps: send@0.10.1
- - deps: on-finished@~2.1.1
-
-3.18.0 / 2014-10-17
-===================
-
- * Use `content-disposition` module for `res.attachment`/`res.download`
- - Sends standards-compliant `Content-Disposition` header
- - Full Unicode support
- * Use `etag` module to generate `ETag` headers
- * deps: connect@2.27.0
- - Use `http-errors` module for creating errors
- - Use `utils-merge` module for merging objects
- - deps: body-parser@~1.9.0
- - deps: compression@~1.2.0
- - deps: connect-timeout@~1.4.0
- - deps: debug@~2.1.0
- - deps: depd@~1.0.0
- - deps: express-session@~1.9.0
- - deps: finalhandler@0.3.1
- - deps: method-override@~2.3.0
- - deps: morgan@~1.4.0
- - deps: response-time@~2.2.0
- - deps: serve-favicon@~2.1.6
- - deps: serve-index@~1.5.0
- - deps: serve-static@~1.7.0
- * deps: debug@~2.1.0
- - Implement `DEBUG_FD` env variable support
- * deps: depd@~1.0.0
- * deps: send@0.10.0
- - deps: debug@~2.1.0
- - deps: depd@~1.0.0
- - deps: etag@~1.5.0
-
-3.17.8 / 2014-10-15
-===================
-
- * deps: connect@2.26.6
- - deps: compression@~1.1.2
- - deps: csurf@~1.6.2
- - deps: errorhandler@~1.2.2
-
-3.17.7 / 2014-10-08
-===================
-
- * deps: connect@2.26.5
- - Fix accepting non-object arguments to `logger`
- - deps: serve-static@~1.6.4
-
-3.17.6 / 2014-10-02
-===================
-
- * deps: connect@2.26.4
- - deps: morgan@~1.3.2
- - deps: type-is@~1.5.2
-
-3.17.5 / 2014-09-24
-===================
-
- * deps: connect@2.26.3
- - deps: body-parser@~1.8.4
- - deps: serve-favicon@~2.1.5
- - deps: serve-static@~1.6.3
- * deps: proxy-addr@~1.0.3
- - Use `forwarded` npm module
- * deps: send@0.9.3
- - deps: etag@~1.4.0
-
-3.17.4 / 2014-09-19
-===================
-
- * deps: connect@2.26.2
- - deps: body-parser@~1.8.3
- - deps: qs@2.2.4
-
-3.17.3 / 2014-09-18
-===================
-
- * deps: proxy-addr@~1.0.2
- - Fix a global leak when multiple subnets are trusted
- - deps: ipaddr.js@0.1.3
-
-3.17.2 / 2014-09-15
-===================
-
- * Use `crc` instead of `buffer-crc32` for speed
- * deps: connect@2.26.1
- - deps: body-parser@~1.8.2
- - deps: depd@0.4.5
- - deps: express-session@~1.8.2
- - deps: morgan@~1.3.1
- - deps: serve-favicon@~2.1.3
- - deps: serve-static@~1.6.2
- * deps: depd@0.4.5
- * deps: send@0.9.2
- - deps: depd@0.4.5
- - deps: etag@~1.3.1
- - deps: range-parser@~1.0.2
-
-3.17.1 / 2014-09-08
-===================
-
- * Fix error in `req.subdomains` on empty host
-
-3.17.0 / 2014-09-08
-===================
-
- * Support `X-Forwarded-Host` in `req.subdomains`
- * Support IP address host in `req.subdomains`
- * deps: connect@2.26.0
- - deps: body-parser@~1.8.1
- - deps: compression@~1.1.0
- - deps: connect-timeout@~1.3.0
- - deps: cookie-parser@~1.3.3
- - deps: cookie-signature@1.0.5
- - deps: csurf@~1.6.1
- - deps: debug@~2.0.0
- - deps: errorhandler@~1.2.0
- - deps: express-session@~1.8.1
- - deps: finalhandler@0.2.0
- - deps: fresh@0.2.4
- - deps: media-typer@0.3.0
- - deps: method-override@~2.2.0
- - deps: morgan@~1.3.0
- - deps: qs@2.2.3
- - deps: serve-favicon@~2.1.3
- - deps: serve-index@~1.2.1
- - deps: serve-static@~1.6.1
- - deps: type-is@~1.5.1
- - deps: vhost@~3.0.0
- * deps: cookie-signature@1.0.5
- * deps: debug@~2.0.0
- * deps: fresh@0.2.4
- * deps: media-typer@0.3.0
- - Throw error when parameter format invalid on parse
- * deps: range-parser@~1.0.2
- * deps: send@0.9.1
- - Add `lastModified` option
- - Use `etag` to generate `ETag` header
- - deps: debug@~2.0.0
- - deps: fresh@0.2.4
- * deps: vary@~1.0.0
- - Accept valid `Vary` header string as `field`
-
-3.16.10 / 2014-09-04
-====================
-
- * deps: connect@2.25.10
- - deps: serve-static@~1.5.4
- * deps: send@0.8.5
- - Fix a path traversal issue when using `root`
- - Fix malicious path detection for empty string path
-
-3.16.9 / 2014-08-29
-===================
-
- * deps: connect@2.25.9
- - deps: body-parser@~1.6.7
- - deps: qs@2.2.2
-
-3.16.8 / 2014-08-27
-===================
-
- * deps: connect@2.25.8
- - deps: body-parser@~1.6.6
- - deps: csurf@~1.4.1
- - deps: qs@2.2.0
-
-3.16.7 / 2014-08-18
-===================
-
- * deps: connect@2.25.7
- - deps: body-parser@~1.6.5
- - deps: express-session@~1.7.6
- - deps: morgan@~1.2.3
- - deps: serve-static@~1.5.3
- * deps: send@0.8.3
- - deps: destroy@1.0.3
- - deps: on-finished@2.1.0
-
-3.16.6 / 2014-08-14
-===================
-
- * deps: connect@2.25.6
- - deps: body-parser@~1.6.4
- - deps: qs@1.2.2
- - deps: serve-static@~1.5.2
- * deps: send@0.8.2
- - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
-
-3.16.5 / 2014-08-11
-===================
-
- * deps: connect@2.25.5
- - Fix backwards compatibility in `logger`
-
-3.16.4 / 2014-08-10
-===================
-
- * Fix original URL parsing in `res.location`
- * deps: connect@2.25.4
- - Fix `query` middleware breaking with argument
- - deps: body-parser@~1.6.3
- - deps: compression@~1.0.11
- - deps: connect-timeout@~1.2.2
- - deps: express-session@~1.7.5
- - deps: method-override@~2.1.3
- - deps: on-headers@~1.0.0
- - deps: parseurl@~1.3.0
- - deps: qs@1.2.1
- - deps: response-time@~2.0.1
- - deps: serve-index@~1.1.6
- - deps: serve-static@~1.5.1
- * deps: parseurl@~1.3.0
-
-3.16.3 / 2014-08-07
-===================
-
- * deps: connect@2.25.3
- - deps: multiparty@3.3.2
-
-3.16.2 / 2014-08-07
-===================
-
- * deps: connect@2.25.2
- - deps: body-parser@~1.6.2
- - deps: qs@1.2.0
-
-3.16.1 / 2014-08-06
-===================
-
- * deps: connect@2.25.1
- - deps: body-parser@~1.6.1
- - deps: qs@1.1.0
-
-3.16.0 / 2014-08-05
-===================
-
- * deps: connect@2.25.0
- - deps: body-parser@~1.6.0
- - deps: compression@~1.0.10
- - deps: csurf@~1.4.0
- - deps: express-session@~1.7.4
- - deps: qs@1.0.2
- - deps: serve-static@~1.5.0
- * deps: send@0.8.1
- - Add `extensions` option
-
-3.15.3 / 2014-08-04
-===================
-
- * fix `res.sendfile` regression for serving directory index files
- * deps: connect@2.24.3
- - deps: serve-index@~1.1.5
- - deps: serve-static@~1.4.4
- * deps: send@0.7.4
- - Fix incorrect 403 on Windows and Node.js 0.11
- - Fix serving index files without root dir
-
-3.15.2 / 2014-07-27
-===================
-
- * deps: connect@2.24.2
- - deps: body-parser@~1.5.2
- - deps: depd@0.4.4
- - deps: express-session@~1.7.2
- - deps: morgan@~1.2.2
- - deps: serve-static@~1.4.2
- * deps: depd@0.4.4
- - Work-around v8 generating empty stack traces
- * deps: send@0.7.2
- - deps: depd@0.4.4
-
-3.15.1 / 2014-07-26
-===================
-
- * deps: connect@2.24.1
- - deps: body-parser@~1.5.1
- - deps: depd@0.4.3
- - deps: express-session@~1.7.1
- - deps: morgan@~1.2.1
- - deps: serve-index@~1.1.4
- - deps: serve-static@~1.4.1
- * deps: depd@0.4.3
- - Fix exception when global `Error.stackTraceLimit` is too low
- * deps: send@0.7.1
- - deps: depd@0.4.3
-
-3.15.0 / 2014-07-22
-===================
-
- * Fix `req.protocol` for proxy-direct connections
- * Pass options from `res.sendfile` to `send`
- * deps: connect@2.24.0
- - deps: body-parser@~1.5.0
- - deps: compression@~1.0.9
- - deps: connect-timeout@~1.2.1
- - deps: debug@1.0.4
- - deps: depd@0.4.2
- - deps: express-session@~1.7.0
- - deps: finalhandler@0.1.0
- - deps: method-override@~2.1.2
- - deps: morgan@~1.2.0
- - deps: multiparty@3.3.1
- - deps: parseurl@~1.2.0
- - deps: serve-static@~1.4.0
- * deps: debug@1.0.4
- * deps: depd@0.4.2
- - Add `TRACE_DEPRECATION` environment variable
- - Remove non-standard grey color from color output
- - Support `--no-deprecation` argument
- - Support `--trace-deprecation` argument
- * deps: parseurl@~1.2.0
- - Cache URLs based on original value
- - Remove no-longer-needed URL mis-parse work-around
- - Simplify the "fast-path" `RegExp`
- * deps: send@0.7.0
- - Add `dotfiles` option
- - Cap `maxAge` value to 1 year
- - deps: debug@1.0.4
- - deps: depd@0.4.2
-
-3.14.0 / 2014-07-11
-===================
-
- * add explicit "Rosetta Flash JSONP abuse" protection
- - previous versions are not vulnerable; this is just explicit protection
- * deprecate `res.redirect(url, status)` -- use `res.redirect(status, url)` instead
- * fix `res.send(status, num)` to send `num` as json (not error)
- * remove unnecessary escaping when `res.jsonp` returns JSON response
- * deps: basic-auth@1.0.0
- - support empty password
- - support empty username
- * deps: connect@2.23.0
- - deps: debug@1.0.3
- - deps: express-session@~1.6.4
- - deps: method-override@~2.1.0
- - deps: parseurl@~1.1.3
- - deps: serve-static@~1.3.1
- * deps: debug@1.0.3
- - Add support for multiple wildcards in namespaces
- * deps: methods@1.1.0
- - add `CONNECT`
- * deps: parseurl@~1.1.3
- - faster parsing of href-only URLs
-
-3.13.0 / 2014-07-03
-===================
-
- * add deprecation message to `app.configure`
- * add deprecation message to `req.auth`
- * use `basic-auth` to parse `Authorization` header
- * deps: connect@2.22.0
- - deps: csurf@~1.3.0
- - deps: express-session@~1.6.1
- - deps: multiparty@3.3.0
- - deps: serve-static@~1.3.0
- * deps: send@0.5.0
- - Accept string for `maxage` (converted by `ms`)
- - Include link in default redirect response
-
-3.12.1 / 2014-06-26
-===================
-
- * deps: connect@2.21.1
- - deps: cookie-parser@1.3.2
- - deps: cookie-signature@1.0.4
- - deps: express-session@~1.5.2
- - deps: type-is@~1.3.2
- * deps: cookie-signature@1.0.4
- - fix for timing attacks
-
-3.12.0 / 2014-06-21
-===================
-
- * use `media-typer` to alter content-type charset
- * deps: connect@2.21.0
- - deprecate `connect(middleware)` -- use `app.use(middleware)` instead
- - deprecate `connect.createServer()` -- use `connect()` instead
- - fix `res.setHeader()` patch to work with with get -> append -> set pattern
- - deps: compression@~1.0.8
- - deps: errorhandler@~1.1.1
- - deps: express-session@~1.5.0
- - deps: serve-index@~1.1.3
-
-3.11.0 / 2014-06-19
-===================
-
- * deprecate things with `depd` module
- * deps: buffer-crc32@0.2.3
- * deps: connect@2.20.2
- - deprecate `verify` option to `json` -- use `body-parser` npm module instead
- - deprecate `verify` option to `urlencoded` -- use `body-parser` npm module instead
- - deprecate things with `depd` module
- - use `finalhandler` for final response handling
- - use `media-typer` to parse `content-type` for charset
- - deps: body-parser@1.4.3
- - deps: connect-timeout@1.1.1
- - deps: cookie-parser@1.3.1
- - deps: csurf@1.2.2
- - deps: errorhandler@1.1.0
- - deps: express-session@1.4.0
- - deps: multiparty@3.2.9
- - deps: serve-index@1.1.2
- - deps: type-is@1.3.1
- - deps: vhost@2.0.0
-
-3.10.5 / 2014-06-11
-===================
-
- * deps: connect@2.19.6
- - deps: body-parser@1.3.1
- - deps: compression@1.0.7
- - deps: debug@1.0.2
- - deps: serve-index@1.1.1
- - deps: serve-static@1.2.3
- * deps: debug@1.0.2
- * deps: send@0.4.3
- - Do not throw uncatchable error on file open race condition
- - Use `escape-html` for HTML escaping
- - deps: debug@1.0.2
- - deps: finished@1.2.2
- - deps: fresh@0.2.2
-
-3.10.4 / 2014-06-09
-===================
-
- * deps: connect@2.19.5
- - fix "event emitter leak" warnings
- - deps: csurf@1.2.1
- - deps: debug@1.0.1
- - deps: serve-static@1.2.2
- - deps: type-is@1.2.1
- * deps: debug@1.0.1
- * deps: send@0.4.2
- - fix "event emitter leak" warnings
- - deps: finished@1.2.1
- - deps: debug@1.0.1
-
-3.10.3 / 2014-06-05
-===================
-
- * use `vary` module for `res.vary`
- * deps: connect@2.19.4
- - deps: errorhandler@1.0.2
- - deps: method-override@2.0.2
- - deps: serve-favicon@2.0.1
- * deps: debug@1.0.0
-
-3.10.2 / 2014-06-03
-===================
-
- * deps: connect@2.19.3
- - deps: compression@1.0.6
-
-3.10.1 / 2014-06-03
-===================
-
- * deps: connect@2.19.2
- - deps: compression@1.0.4
- * deps: proxy-addr@1.0.1
-
-3.10.0 / 2014-06-02
-===================
-
- * deps: connect@2.19.1
- - deprecate `methodOverride()` -- use `method-override` npm module instead
- - deps: body-parser@1.3.0
- - deps: method-override@2.0.1
- - deps: multiparty@3.2.8
- - deps: response-time@2.0.0
- - deps: serve-static@1.2.1
- * deps: methods@1.0.1
- * deps: send@0.4.1
- - Send `max-age` in `Cache-Control` in correct format
-
-3.9.0 / 2014-05-30
-==================
-
- * custom etag control with `app.set('etag', val)`
- - `app.set('etag', function(body, encoding){ return '"etag"' })` custom etag generation
- - `app.set('etag', 'weak')` weak tag
- - `app.set('etag', 'strong')` strong etag
- - `app.set('etag', false)` turn off
- - `app.set('etag', true)` standard etag
- * Include ETag in HEAD requests
- * mark `res.send` ETag as weak and reduce collisions
- * update connect to 2.18.0
- - deps: compression@1.0.3
- - deps: serve-index@1.1.0
- - deps: serve-static@1.2.0
- * update send to 0.4.0
- - Calculate ETag with md5 for reduced collisions
- - Ignore stream errors after request ends
- - deps: debug@0.8.1
-
-3.8.1 / 2014-05-27
-==================
-
- * update connect to 2.17.3
- - deps: body-parser@1.2.2
- - deps: express-session@1.2.1
- - deps: method-override@1.0.2
-
-3.8.0 / 2014-05-21
-==================
-
- * keep previous `Content-Type` for `res.jsonp`
- * set proper `charset` in `Content-Type` for `res.send`
- * update connect to 2.17.1
- - fix `res.charset` appending charset when `content-type` has one
- - deps: express-session@1.2.0
- - deps: morgan@1.1.1
- - deps: serve-index@1.0.3
-
-3.7.0 / 2014-05-18
-==================
-
- * proper proxy trust with `app.set('trust proxy', trust)`
- - `app.set('trust proxy', 1)` trust first hop
- - `app.set('trust proxy', 'loopback')` trust loopback addresses
- - `app.set('trust proxy', '10.0.0.1')` trust single IP
- - `app.set('trust proxy', '10.0.0.1/16')` trust subnet
- - `app.set('trust proxy', '10.0.0.1, 10.0.0.2')` trust list
- - `app.set('trust proxy', false)` turn off
- - `app.set('trust proxy', true)` trust everything
- * update connect to 2.16.2
- - deprecate `res.headerSent` -- use `res.headersSent`
- - deprecate `res.on("header")` -- use on-headers module instead
- - fix edge-case in `res.appendHeader` that would append in wrong order
- - json: use body-parser
- - urlencoded: use body-parser
- - dep: bytes@1.0.0
- - dep: cookie-parser@1.1.0
- - dep: csurf@1.2.0
- - dep: express-session@1.1.0
- - dep: method-override@1.0.1
-
-3.6.0 / 2014-05-09
-==================
-
- * deprecate `app.del()` -- use `app.delete()` instead
- * deprecate `res.json(obj, status)` -- use `res.json(status, obj)` instead
- - the edge-case `res.json(status, num)` requires `res.status(status).json(num)`
- * deprecate `res.jsonp(obj, status)` -- use `res.jsonp(status, obj)` instead
- - the edge-case `res.jsonp(status, num)` requires `res.status(status).jsonp(num)`
- * support PURGE method
- - add `app.purge`
- - add `router.purge`
- - include PURGE in `app.all`
- * update connect to 2.15.0
- * Add `res.appendHeader`
- * Call error stack even when response has been sent
- * Patch `res.headerSent` to return Boolean
- * Patch `res.headersSent` for node.js 0.8
- * Prevent default 404 handler after response sent
- * dep: compression@1.0.2
- * dep: connect-timeout@1.1.0
- * dep: debug@^0.8.0
- * dep: errorhandler@1.0.1
- * dep: express-session@1.0.4
- * dep: morgan@1.0.1
- * dep: serve-favicon@2.0.0
- * dep: serve-index@1.0.2
- * update debug to 0.8.0
- * add `enable()` method
- * change from stderr to stdout
- * update methods to 1.0.0
- - add PURGE
- * update mkdirp to 0.5.0
-
-3.5.3 / 2014-05-08
-==================
-
- * fix `req.host` for IPv6 literals
- * fix `res.jsonp` error if callback param is object
-
-3.5.2 / 2014-04-24
-==================
-
- * update connect to 2.14.5
- * update cookie to 0.1.2
- * update mkdirp to 0.4.0
- * update send to 0.3.0
-
-3.5.1 / 2014-03-25
-==================
-
- * pin less-middleware in generated app
-
-3.5.0 / 2014-03-06
-==================
-
- * bump deps
-
-3.4.8 / 2014-01-13
-==================
-
- * prevent incorrect automatic OPTIONS responses #1868 @dpatti
- * update binary and examples for jade 1.0 #1876 @yossi, #1877 @reqshark, #1892 @matheusazzi
- * throw 400 in case of malformed paths @rlidwka
-
-3.4.7 / 2013-12-10
-==================
-
- * update connect
-
-3.4.6 / 2013-12-01
-==================
-
- * update connect (raw-body)
-
-3.4.5 / 2013-11-27
-==================
-
- * update connect
- * res.location: remove leading ./ #1802 @kapouer
- * res.redirect: fix `res.redirect('toString') #1829 @michaelficarra
- * res.send: always send ETag when content-length > 0
- * router: add Router.all() method
-
-3.4.4 / 2013-10-29
-==================
-
- * update connect
- * update supertest
- * update methods
- * express(1): replace bodyParser() with urlencoded() and json() #1795 @chirag04
-
-3.4.3 / 2013-10-23
-==================
-
- * update connect
-
-3.4.2 / 2013-10-18
-==================
-
- * update connect
- * downgrade commander
-
-3.4.1 / 2013-10-15
-==================
-
- * update connect
- * update commander
- * jsonp: check if callback is a function
- * router: wrap encodeURIComponent in a try/catch #1735 (@lxe)
- * res.format: now includes charset @1747 (@sorribas)
- * res.links: allow multiple calls @1746 (@sorribas)
-
-3.4.0 / 2013-09-07
-==================
-
- * add res.vary(). Closes #1682
- * update connect
-
-3.3.8 / 2013-09-02
-==================
-
- * update connect
-
-3.3.7 / 2013-08-28
-==================
-
- * update connect
-
-3.3.6 / 2013-08-27
-==================
-
- * Revert "remove charset from json responses. Closes #1631" (causes issues in some clients)
- * add: req.accepts take an argument list
-
-3.3.4 / 2013-07-08
-==================
-
- * update send and connect
-
-3.3.3 / 2013-07-04
-==================
-
- * update connect
-
-3.3.2 / 2013-07-03
-==================
-
- * update connect
- * update send
- * remove .version export
-
-3.3.1 / 2013-06-27
-==================
-
- * update connect
-
-3.3.0 / 2013-06-26
-==================
-
- * update connect
- * add support for multiple X-Forwarded-Proto values. Closes #1646
- * change: remove charset from json responses. Closes #1631
- * change: return actual booleans from req.accept* functions
- * fix jsonp callback array throw
-
-3.2.6 / 2013-06-02
-==================
-
- * update connect
-
-3.2.5 / 2013-05-21
-==================
-
- * update connect
- * update node-cookie
- * add: throw a meaningful error when there is no default engine
- * change generation of ETags with res.send() to GET requests only. Closes #1619
-
-3.2.4 / 2013-05-09
-==================
-
- * fix `req.subdomains` when no Host is present
- * fix `req.host` when no Host is present, return undefined
-
-3.2.3 / 2013-05-07
-==================
-
- * update connect / qs
-
-3.2.2 / 2013-05-03
-==================
-
- * update qs
-
-3.2.1 / 2013-04-29
-==================
-
- * add app.VERB() paths array deprecation warning
- * update connect
- * update qs and remove all ~ semver crap
- * fix: accept number as value of Signed Cookie
-
-3.2.0 / 2013-04-15
-==================
-
- * add "view" constructor setting to override view behaviour
- * add req.acceptsEncoding(name)
- * add req.acceptedEncodings
- * revert cookie signature change causing session race conditions
- * fix sorting of Accept values of the same quality
-
-3.1.2 / 2013-04-12
-==================
-
- * add support for custom Accept parameters
- * update cookie-signature
-
-3.1.1 / 2013-04-01
-==================
-
- * add X-Forwarded-Host support to `req.host`
- * fix relative redirects
- * update mkdirp
- * update buffer-crc32
- * remove legacy app.configure() method from app template.
-
-3.1.0 / 2013-01-25
-==================
-
- * add support for leading "." in "view engine" setting
- * add array support to `res.set()`
- * add node 0.8.x to travis.yml
- * add "subdomain offset" setting for tweaking `req.subdomains`
- * add `res.location(url)` implementing `res.redirect()`-like setting of Location
- * use app.get() for x-powered-by setting for inheritance
- * fix colons in passwords for `req.auth`
-
-3.0.6 / 2013-01-04
-==================
-
- * add http verb methods to Router
- * update connect
- * fix mangling of the `res.cookie()` options object
- * fix jsonp whitespace escape. Closes #1132
-
-3.0.5 / 2012-12-19
-==================
-
- * add throwing when a non-function is passed to a route
- * fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
- * revert "add 'etag' option"
-
-3.0.4 / 2012-12-05
-==================
-
- * add 'etag' option to disable `res.send()` Etags
- * add escaping of urls in text/plain in `res.redirect()`
- for old browsers interpreting as html
- * change crc32 module for a more liberal license
- * update connect
-
-3.0.3 / 2012-11-13
-==================
-
- * update connect
- * update cookie module
- * fix cookie max-age
-
-3.0.2 / 2012-11-08
-==================
-
- * add OPTIONS to cors example. Closes #1398
- * fix route chaining regression. Closes #1397
-
-3.0.1 / 2012-11-01
-==================
-
- * update connect
-
-3.0.0 / 2012-10-23
-==================
-
- * add `make clean`
- * add "Basic" check to req.auth
- * add `req.auth` test coverage
- * add cb && cb(payload) to `res.jsonp()`. Closes #1374
- * add backwards compat for `res.redirect()` status. Closes #1336
- * add support for `res.json()` to retain previously defined Content-Types. Closes #1349
- * update connect
- * change `res.redirect()` to utilize a pathname-relative Location again. Closes #1382
- * remove non-primitive string support for `res.send()`
- * fix view-locals example. Closes #1370
- * fix route-separation example
-
-3.0.0rc5 / 2012-09-18
-==================
-
- * update connect
- * add redis search example
- * add static-files example
- * add "x-powered-by" setting (`app.disable('x-powered-by')`)
- * add "application/octet-stream" redirect Accept test case. Closes #1317
-
-3.0.0rc4 / 2012-08-30
-==================
-
- * add `res.jsonp()`. Closes #1307
- * add "verbose errors" option to error-pages example
- * add another route example to express(1) so people are not so confused
- * add redis online user activity tracking example
- * update connect dep
- * fix etag quoting. Closes #1310
- * fix error-pages 404 status
- * fix jsonp callback char restrictions
- * remove old OPTIONS default response
-
-3.0.0rc3 / 2012-08-13
-==================
-
- * update connect dep
- * fix signed cookies to work with `connect.cookieParser()` ("s:" prefix was missing) [tnydwrds]
- * fix `res.render()` clobbering of "locals"
-
-3.0.0rc2 / 2012-08-03
-==================
-
- * add CORS example
- * update connect dep
- * deprecate `.createServer()` & remove old stale examples
- * fix: escape `res.redirect()` link
- * fix vhost example
-
-3.0.0rc1 / 2012-07-24
-==================
-
- * add more examples to view-locals
- * add scheme-relative redirects (`res.redirect("//foo.com")`) support
- * update cookie dep
- * update connect dep
- * update send dep
- * fix `express(1)` -h flag, use -H for hogan. Closes #1245
- * fix `res.sendfile()` socket error handling regression
-
-3.0.0beta7 / 2012-07-16
-==================
-
- * update connect dep for `send()` root normalization regression
-
-3.0.0beta6 / 2012-07-13
-==================
-
- * add `err.view` property for view errors. Closes #1226
- * add "jsonp callback name" setting
- * add support for "/foo/:bar*" non-greedy matches
- * change `res.sendfile()` to use `send()` module
- * change `res.send` to use "response-send" module
- * remove `app.locals.use` and `res.locals.use`, use regular middleware
-
-3.0.0beta5 / 2012-07-03
-==================
-
- * add "make check" support
- * add route-map example
- * add `res.json(obj, status)` support back for BC
- * add "methods" dep, remove internal methods module
- * update connect dep
- * update auth example to utilize cores pbkdf2
- * updated tests to use "supertest"
-
-3.0.0beta4 / 2012-06-25
-==================
-
- * Added `req.auth`
- * Added `req.range(size)`
- * Added `res.links(obj)`
- * Added `res.send(body, status)` support back for backwards compat
- * Added `.default()` support to `res.format()`
- * Added 2xx / 304 check to `req.fresh`
- * Revert "Added + support to the router"
- * Fixed `res.send()` freshness check, respect res.statusCode
-
-3.0.0beta3 / 2012-06-15
-==================
-
- * Added hogan `--hjs` to express(1) [nullfirm]
- * Added another example to content-negotiation
- * Added `fresh` dep
- * Changed: `res.send()` always checks freshness
- * Fixed: expose connects mime module. Closes #1165
-
-3.0.0beta2 / 2012-06-06
-==================
-
- * Added `+` support to the router
- * Added `req.host`
- * Changed `req.param()` to check route first
- * Update connect dep
-
-3.0.0beta1 / 2012-06-01
-==================
-
- * Added `res.format()` callback to override default 406 behaviour
- * Fixed `res.redirect()` 406. Closes #1154
-
-3.0.0alpha5 / 2012-05-30
-==================
-
- * Added `req.ip`
- * Added `{ signed: true }` option to `res.cookie()`
- * Removed `res.signedCookie()`
- * Changed: dont reverse `req.ips`
- * Fixed "trust proxy" setting check for `req.ips`
-
-3.0.0alpha4 / 2012-05-09
-==================
-
- * Added: allow `[]` in jsonp callback. Closes #1128
- * Added `PORT` env var support in generated template. Closes #1118 [benatkin]
- * Updated: connect 2.2.2
-
-3.0.0alpha3 / 2012-05-04
-==================
-
- * Added public `app.routes`. Closes #887
- * Added _view-locals_ example
- * Added _mvc_ example
- * Added `res.locals.use()`. Closes #1120
- * Added conditional-GET support to `res.send()`
- * Added: coerce `res.set()` values to strings
- * Changed: moved `static()` in generated apps below router
- * Changed: `res.send()` only set ETag when not previously set
- * Changed connect 2.2.1 dep
- * Changed: `make test` now runs unit / acceptance tests
- * Fixed req/res proto inheritance
-
-3.0.0alpha2 / 2012-04-26
-==================
-
- * Added `make benchmark` back
- * Added `res.send()` support for `String` objects
- * Added client-side data exposing example
- * Added `res.header()` and `req.header()` aliases for BC
- * Added `express.createServer()` for BC
- * Perf: memoize parsed urls
- * Perf: connect 2.2.0 dep
- * Changed: make `expressInit()` middleware self-aware
- * Fixed: use app.get() for all core settings
- * Fixed redis session example
- * Fixed session example. Closes #1105
- * Fixed generated express dep. Closes #1078
-
-3.0.0alpha1 / 2012-04-15
-==================
-
- * Added `app.locals.use(callback)`
- * Added `app.locals` object
- * Added `app.locals(obj)`
- * Added `res.locals` object
- * Added `res.locals(obj)`
- * Added `res.format()` for content-negotiation
- * Added `app.engine()`
- * Added `res.cookie()` JSON cookie support
- * Added "trust proxy" setting
- * Added `req.subdomains`
- * Added `req.protocol`
- * Added `req.secure`
- * Added `req.path`
- * Added `req.ips`
- * Added `req.fresh`
- * Added `req.stale`
- * Added comma-delimited / array support for `req.accepts()`
- * Added debug instrumentation
- * Added `res.set(obj)`
- * Added `res.set(field, value)`
- * Added `res.get(field)`
- * Added `app.get(setting)`. Closes #842
- * Added `req.acceptsLanguage()`
- * Added `req.acceptsCharset()`
- * Added `req.accepted`
- * Added `req.acceptedLanguages`
- * Added `req.acceptedCharsets`
- * Added "json replacer" setting
- * Added "json spaces" setting
- * Added X-Forwarded-Proto support to `res.redirect()`. Closes #92
- * Added `--less` support to express(1)
- * Added `express.response` prototype
- * Added `express.request` prototype
- * Added `express.application` prototype
- * Added `app.path()`
- * Added `app.render()`
- * Added `res.type()` to replace `res.contentType()`
- * Changed: `res.redirect()` to add relative support
- * Changed: enable "jsonp callback" by default
- * Changed: renamed "case sensitive routes" to "case sensitive routing"
- * Rewrite of all tests with mocha
- * Removed "root" setting
- * Removed `res.redirect('home')` support
- * Removed `req.notify()`
- * Removed `app.register()`
- * Removed `app.redirect()`
- * Removed `app.is()`
- * Removed `app.helpers()`
- * Removed `app.dynamicHelpers()`
- * Fixed `res.sendfile()` with non-GET. Closes #723
- * Fixed express(1) public dir for windows. Closes #866
-
-2.5.9/ 2012-04-02
-==================
-
- * Added support for PURGE request method [pbuyle]
- * Fixed `express(1)` generated app `app.address()` before `listening` [mmalecki]
-
-2.5.8 / 2012-02-08
-==================
-
- * Update mkdirp dep. Closes #991
-
-2.5.7 / 2012-02-06
-==================
-
- * Fixed `app.all` duplicate DELETE requests [mscdex]
-
-2.5.6 / 2012-01-13
-==================
-
- * Updated hamljs dev dep. Closes #953
-
-2.5.5 / 2012-01-08
-==================
-
- * Fixed: set `filename` on cached templates [matthewleon]
-
-2.5.4 / 2012-01-02
-==================
-
- * Fixed `express(1)` eol on 0.4.x. Closes #947
-
-2.5.3 / 2011-12-30
-==================
-
- * Fixed `req.is()` when a charset is present
-
-2.5.2 / 2011-12-10
-==================
-
- * Fixed: express(1) LF -> CRLF for windows
-
-2.5.1 / 2011-11-17
-==================
-
- * Changed: updated connect to 1.8.x
- * Removed sass.js support from express(1)
-
-2.5.0 / 2011-10-24
-==================
-
- * Added ./routes dir for generated app by default
- * Added npm install reminder to express(1) app gen
- * Added 0.5.x support
- * Removed `make test-cov` since it wont work with node 0.5.x
- * Fixed express(1) public dir for windows. Closes #866
-
-2.4.7 / 2011-10-05
-==================
-
- * Added mkdirp to express(1). Closes #795
- * Added simple _json-config_ example
- * Added shorthand for the parsed request's pathname via `req.path`
- * Changed connect dep to 1.7.x to fix npm issue...
- * Fixed `res.redirect()` __HEAD__ support. [reported by xerox]
- * Fixed `req.flash()`, only escape args
- * Fixed absolute path checking on windows. Closes #829 [reported by andrewpmckenzie]
-
-2.4.6 / 2011-08-22
-==================
-
- * Fixed multiple param callback regression. Closes #824 [reported by TroyGoode]
-
-2.4.5 / 2011-08-19
-==================
-
- * Added support for routes to handle errors. Closes #809
- * Added `app.routes.all()`. Closes #803
- * Added "basepath" setting to work in conjunction with reverse proxies etc.
- * Refactored `Route` to use a single array of callbacks
- * Added support for multiple callbacks for `app.param()`. Closes #801
-Closes #805
- * Changed: removed .call(self) for route callbacks
- * Dependency: `qs >= 0.3.1`
- * Fixed `res.redirect()` on windows due to `join()` usage. Closes #808
-
-2.4.4 / 2011-08-05
-==================
-
- * Fixed `res.header()` intention of a set, even when `undefined`
- * Fixed `*`, value no longer required
- * Fixed `res.send(204)` support. Closes #771
-
-2.4.3 / 2011-07-14
-==================
-
- * Added docs for `status` option special-case. Closes #739
- * Fixed `options.filename`, exposing the view path to template engines
-
-2.4.2. / 2011-07-06
-==================
-
- * Revert "removed jsonp stripping" for XSS
-
-2.4.1 / 2011-07-06
-==================
-
- * Added `res.json()` JSONP support. Closes #737
- * Added _extending-templates_ example. Closes #730
- * Added "strict routing" setting for trailing slashes
- * Added support for multiple envs in `app.configure()` calls. Closes #735
- * Changed: `res.send()` using `res.json()`
- * Changed: when cookie `path === null` don't default it
- * Changed; default cookie path to "home" setting. Closes #731
- * Removed _pids/logs_ creation from express(1)
-
-2.4.0 / 2011-06-28
-==================
-
- * Added chainable `res.status(code)`
- * Added `res.json()`, an explicit version of `res.send(obj)`
- * Added simple web-service example
-
-2.3.12 / 2011-06-22
-==================
-
- * \#express is now on freenode! come join!
- * Added `req.get(field, param)`
- * Added links to Japanese documentation, thanks @hideyukisaito!
- * Added; the `express(1)` generated app outputs the env
- * Added `content-negotiation` example
- * Dependency: connect >= 1.5.1 < 2.0.0
- * Fixed view layout bug. Closes #720
- * Fixed; ignore body on 304. Closes #701
-
-2.3.11 / 2011-06-04
-==================
-
- * Added `npm test`
- * Removed generation of dummy test file from `express(1)`
- * Fixed; `express(1)` adds express as a dep
- * Fixed; prune on `prepublish`
-
-2.3.10 / 2011-05-27
-==================
-
- * Added `req.route`, exposing the current route
- * Added _package.json_ generation support to `express(1)`
- * Fixed call to `app.param()` function for optional params. Closes #682
-
-2.3.9 / 2011-05-25
-==================
-
- * Fixed bug-ish with `../' in `res.partial()` calls
-
-2.3.8 / 2011-05-24
-==================
-
- * Fixed `app.options()`
-
-2.3.7 / 2011-05-23
-==================
-
- * Added route `Collection`, ex: `app.get('/user/:id').remove();`
- * Added support for `app.param(fn)` to define param logic
- * Removed `app.param()` support for callback with return value
- * Removed module.parent check from express(1) generated app. Closes #670
- * Refactored router. Closes #639
-
-2.3.6 / 2011-05-20
-==================
-
- * Changed; using devDependencies instead of git submodules
- * Fixed redis session example
- * Fixed markdown example
- * Fixed view caching, should not be enabled in development
-
-2.3.5 / 2011-05-20
-==================
-
- * Added export `.view` as alias for `.View`
-
-2.3.4 / 2011-05-08
-==================
-
- * Added `./examples/say`
- * Fixed `res.sendfile()` bug preventing the transfer of files with spaces
-
-2.3.3 / 2011-05-03
-==================
-
- * Added "case sensitive routes" option.
- * Changed; split methods supported per rfc [slaskis]
- * Fixed route-specific middleware when using the same callback function several times
-
-2.3.2 / 2011-04-27
-==================
-
- * Fixed view hints
-
-2.3.1 / 2011-04-26
-==================
-
- * Added `app.match()` as `app.match.all()`
- * Added `app.lookup()` as `app.lookup.all()`
- * Added `app.remove()` for `app.remove.all()`
- * Added `app.remove.VERB()`
- * Fixed template caching collision issue. Closes #644
- * Moved router over from connect and started refactor
-
-2.3.0 / 2011-04-25
-==================
-
- * Added options support to `res.clearCookie()`
- * Added `res.helpers()` as alias of `res.locals()`
- * Added; json defaults to UTF-8 with `res.send()`. Closes #632. [Daniel * Dependency `connect >= 1.4.0`
- * Changed; auto set Content-Type in res.attachement [Aaron Heckmann]
- * Renamed "cache views" to "view cache". Closes #628
- * Fixed caching of views when using several apps. Closes #637
- * Fixed gotcha invoking `app.param()` callbacks once per route middleware.
-Closes #638
- * Fixed partial lookup precedence. Closes #631
-Shaw]
-
-2.2.2 / 2011-04-12
-==================
-
- * Added second callback support for `res.download()` connection errors
- * Fixed `filename` option passing to template engine
-
-2.2.1 / 2011-04-04
-==================
-
- * Added `layout(path)` helper to change the layout within a view. Closes #610
- * Fixed `partial()` collection object support.
- Previously only anything with `.length` would work.
- When `.length` is present one must still be aware of holes,
- however now `{ collection: {foo: 'bar'}}` is valid, exposes
- `keyInCollection` and `keysInCollection`.
-
- * Performance improved with better view caching
- * Removed `request` and `response` locals
- * Changed; errorHandler page title is now `Express` instead of `Connect`
-
-2.2.0 / 2011-03-30
-==================
-
- * Added `app.lookup.VERB()`, ex `app.lookup.put('/user/:id')`. Closes #606
- * Added `app.match.VERB()`, ex `app.match.put('/user/12')`. Closes #606
- * Added `app.VERB(path)` as alias of `app.lookup.VERB()`.
- * Dependency `connect >= 1.2.0`
-
-2.1.1 / 2011-03-29
-==================
-
- * Added; expose `err.view` object when failing to locate a view
- * Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
- * Fixed; `res.send(undefined)` responds with 204 [aheckmann]
-
-2.1.0 / 2011-03-24
-==================
-
- * Added `<root>/_?<name>` partial lookup support. Closes #447
- * Added `request`, `response`, and `app` local variables
- * Added `settings` local variable, containing the app's settings
- * Added `req.flash()` exception if `req.session` is not available
- * Added `res.send(bool)` support (json response)
- * Fixed stylus example for latest version
- * Fixed; wrap try/catch around `res.render()`
-
-2.0.0 / 2011-03-17
-==================
-
- * Fixed up index view path alternative.
- * Changed; `res.locals()` without object returns the locals
-
-2.0.0rc3 / 2011-03-17
-==================
-
- * Added `res.locals(obj)` to compliment `res.local(key, val)`
- * Added `res.partial()` callback support
- * Fixed recursive error reporting issue in `res.render()`
-
-2.0.0rc2 / 2011-03-17
-==================
-
- * Changed; `partial()` "locals" are now optional
- * Fixed `SlowBuffer` support. Closes #584 [reported by tyrda01]
- * Fixed .filename view engine option [reported by drudge]
- * Fixed blog example
- * Fixed `{req,res}.app` reference when mounting [Ben Weaver]
-
-2.0.0rc / 2011-03-14
-==================
-
- * Fixed; expose `HTTPSServer` constructor
- * Fixed express(1) default test charset. Closes #579 [reported by secoif]
- * Fixed; default charset to utf-8 instead of utf8 for lame IE [reported by NickP]
-
-2.0.0beta3 / 2011-03-09
-==================
-
- * Added support for `res.contentType()` literal
- The original `res.contentType('.json')`,
- `res.contentType('application/json')`, and `res.contentType('json')`
- will work now.
- * Added `res.render()` status option support back
- * Added charset option for `res.render()`
- * Added `.charset` support (via connect 1.0.4)
- * Added view resolution hints when in development and a lookup fails
- * Added layout lookup support relative to the page view.
- For example while rendering `./views/user/index.jade` if you create
- `./views/user/layout.jade` it will be used in favour of the root layout.
- * Fixed `res.redirect()`. RFC states absolute url [reported by unlink]
- * Fixed; default `res.send()` string charset to utf8
- * Removed `Partial` constructor (not currently used)
-
-2.0.0beta2 / 2011-03-07
-==================
-
- * Added res.render() `.locals` support back to aid in migration process
- * Fixed flash example
-
-2.0.0beta / 2011-03-03
-==================
-
- * Added HTTPS support
- * Added `res.cookie()` maxAge support
- * Added `req.header()` _Referrer_ / _Referer_ special-case, either works
- * Added mount support for `res.redirect()`, now respects the mount-point
- * Added `union()` util, taking place of `merge(clone())` combo
- * Added stylus support to express(1) generated app
- * Added secret to session middleware used in examples and generated app
- * Added `res.local(name, val)` for progressive view locals
- * Added default param support to `req.param(name, default)`
- * Added `app.disabled()` and `app.enabled()`
- * Added `app.register()` support for omitting leading ".", either works
- * Added `res.partial()`, using the same interface as `partial()` within a view. Closes #539
- * Added `app.param()` to map route params to async/sync logic
- * Added; aliased `app.helpers()` as `app.locals()`. Closes #481
- * Added extname with no leading "." support to `res.contentType()`
- * Added `cache views` setting, defaulting to enabled in "production" env
- * Added index file partial resolution, eg: partial('user') may try _views/user/index.jade_.
- * Added `req.accepts()` support for extensions
- * Changed; `res.download()` and `res.sendfile()` now utilize Connect's
- static file server `connect.static.send()`.
- * Changed; replaced `connect.utils.mime()` with npm _mime_ module
- * Changed; allow `req.query` to be pre-defined (via middleware or other parent
- * Changed view partial resolution, now relative to parent view
- * Changed view engine signature. no longer `engine.render(str, options, callback)`, now `engine.compile(str, options) -> Function`, the returned function accepts `fn(locals)`.
- * Fixed `req.param()` bug returning Array.prototype methods. Closes #552
- * Fixed; using `Stream#pipe()` instead of `sys.pump()` in `res.sendfile()`
- * Fixed; using _qs_ module instead of _querystring_
- * Fixed; strip unsafe chars from jsonp callbacks
- * Removed "stream threshold" setting
-
-1.0.8 / 2011-03-01
-==================
-
- * Allow `req.query` to be pre-defined (via middleware or other parent app)
- * "connect": ">= 0.5.0 < 1.0.0". Closes #547
- * Removed the long deprecated __EXPRESS_ENV__ support
-
-1.0.7 / 2011-02-07
-==================
-
- * Fixed `render()` setting inheritance.
- Mounted apps would not inherit "view engine"
-
-1.0.6 / 2011-02-07
-==================
-
- * Fixed `view engine` setting bug when period is in dirname
-
-1.0.5 / 2011-02-05
-==================
-
- * Added secret to generated app `session()` call
-
-1.0.4 / 2011-02-05
-==================
-
- * Added `qs` dependency to _package.json_
- * Fixed namespaced `require()`s for latest connect support
-
-1.0.3 / 2011-01-13
-==================
-
- * Remove unsafe characters from JSONP callback names [Ryan Grove]
-
-1.0.2 / 2011-01-10
-==================
-
- * Removed nested require, using `connect.router`
-
-1.0.1 / 2010-12-29
-==================
-
- * Fixed for middleware stacked via `createServer()`
- previously the `foo` middleware passed to `createServer(foo)`
- would not have access to Express methods such as `res.send()`
- or props like `req.query` etc.
-
-1.0.0 / 2010-11-16
-==================
-
- * Added; deduce partial object names from the last segment.
- For example by default `partial('forum/post', postObject)` will
- give you the _post_ object, providing a meaningful default.
- * Added http status code string representation to `res.redirect()` body
- * Added; `res.redirect()` supporting _text/plain_ and _text/html_ via __Accept__.
- * Added `req.is()` to aid in content negotiation
- * Added partial local inheritance [suggested by masylum]. Closes #102
- providing access to parent template locals.
- * Added _-s, --session[s]_ flag to express(1) to add session related middleware
- * Added _--template_ flag to express(1) to specify the
- template engine to use.
- * Added _--css_ flag to express(1) to specify the
- stylesheet engine to use (or just plain css by default).
- * Added `app.all()` support [thanks aheckmann]
- * Added partial direct object support.
- You may now `partial('user', user)` providing the "user" local,
- vs previously `partial('user', { object: user })`.
- * Added _route-separation_ example since many people question ways
- to do this with CommonJS modules. Also view the _blog_ example for
- an alternative.
- * Performance; caching view path derived partial object names
- * Fixed partial local inheritance precedence. [reported by Nick Poulden] Closes #454
- * Fixed jsonp support; _text/javascript_ as per mailinglist discussion
-
-1.0.0rc4 / 2010-10-14
-==================
-
- * Added _NODE_ENV_ support, _EXPRESS_ENV_ is deprecated and will be removed in 1.0.0
- * Added route-middleware support (very helpful, see the [docs](http://expressjs.com/guide.html#Route-Middleware))
- * Added _jsonp callback_ setting to enable/disable jsonp autowrapping [Dav Glass]
- * Added callback query check on response.send to autowrap JSON objects for simple webservice implementations [Dav Glass]
- * Added `partial()` support for array-like collections. Closes #434
- * Added support for swappable querystring parsers
- * Added session usage docs. Closes #443
- * Added dynamic helper caching. Closes #439 [suggested by maritz]
- * Added authentication example
- * Added basic Range support to `res.sendfile()` (and `res.download()` etc)
- * Changed; `express(1)` generated app using 2 spaces instead of 4
- * Default env to "development" again [aheckmann]
- * Removed _context_ option is no more, use "scope"
- * Fixed; exposing _./support_ libs to examples so they can run without installs
- * Fixed mvc example
-
-1.0.0rc3 / 2010-09-20
-==================
-
- * Added confirmation for `express(1)` app generation. Closes #391
- * Added extending of flash formatters via `app.flashFormatters`
- * Added flash formatter support. Closes #411
- * Added streaming support to `res.sendfile()` using `sys.pump()` when >= "stream threshold"
- * Added _stream threshold_ setting for `res.sendfile()`
- * Added `res.send()` __HEAD__ support
- * Added `res.clearCookie()`
- * Added `res.cookie()`
- * Added `res.render()` headers option
- * Added `res.redirect()` response bodies
- * Added `res.render()` status option support. Closes #425 [thanks aheckmann]
- * Fixed `res.sendfile()` responding with 403 on malicious path
- * Fixed `res.download()` bug; when an error occurs remove _Content-Disposition_
- * Fixed; mounted apps settings now inherit from parent app [aheckmann]
- * Fixed; stripping Content-Length / Content-Type when 204
- * Fixed `res.send()` 204. Closes #419
- * Fixed multiple _Set-Cookie_ headers via `res.header()`. Closes #402
- * Fixed bug messing with error handlers when `listenFD()` is called instead of `listen()`. [thanks guillermo]
-
-
-1.0.0rc2 / 2010-08-17
-==================
-
- * Added `app.register()` for template engine mapping. Closes #390
- * Added `res.render()` callback support as second argument (no options)
- * Added callback support to `res.download()`
- * Added callback support for `res.sendfile()`
- * Added support for middleware access via `express.middlewareName()` vs `connect.middlewareName()`
- * Added "partials" setting to docs
- * Added default expresso tests to `express(1)` generated app. Closes #384
- * Fixed `res.sendfile()` error handling, defer via `next()`
- * Fixed `res.render()` callback when a layout is used [thanks guillermo]
- * Fixed; `make install` creating ~/.node_libraries when not present
- * Fixed issue preventing error handlers from being defined anywhere. Closes #387
-
-1.0.0rc / 2010-07-28
-==================
-
- * Added mounted hook. Closes #369
- * Added connect dependency to _package.json_
-
- * Removed "reload views" setting and support code
- development env never caches, production always caches.
-
- * Removed _param_ in route callbacks, signature is now
- simply (req, res, next), previously (req, res, params, next).
- Use _req.params_ for path captures, _req.query_ for GET params.
-
- * Fixed "home" setting
- * Fixed middleware/router precedence issue. Closes #366
- * Fixed; _configure()_ callbacks called immediately. Closes #368
-
-1.0.0beta2 / 2010-07-23
-==================
-
- * Added more examples
- * Added; exporting `Server` constructor
- * Added `Server#helpers()` for view locals
- * Added `Server#dynamicHelpers()` for dynamic view locals. Closes #349
- * Added support for absolute view paths
- * Added; _home_ setting defaults to `Server#route` for mounted apps. Closes #363
- * Added Guillermo Rauch to the contributor list
- * Added support for "as" for non-collection partials. Closes #341
- * Fixed _install.sh_, ensuring _~/.node_libraries_ exists. Closes #362 [thanks jf]
- * Fixed `res.render()` exceptions, now passed to `next()` when no callback is given [thanks guillermo]
- * Fixed instanceof `Array` checks, now `Array.isArray()`
- * Fixed express(1) expansion of public dirs. Closes #348
- * Fixed middleware precedence. Closes #345
- * Fixed view watcher, now async [thanks aheckmann]
-
-1.0.0beta / 2010-07-15
-==================
-
- * Re-write
- - much faster
- - much lighter
- - Check [ExpressJS.com](http://expressjs.com) for migration guide and updated docs
-
-0.14.0 / 2010-06-15
-==================
-
- * Utilize relative requires
- * Added Static bufferSize option [aheckmann]
- * Fixed caching of view and partial subdirectories [aheckmann]
- * Fixed mime.type() comments now that ".ext" is not supported
- * Updated haml submodule
- * Updated class submodule
- * Removed bin/express
-
-0.13.0 / 2010-06-01
-==================
-
- * Added node v0.1.97 compatibility
- * Added support for deleting cookies via Request#cookie('key', null)
- * Updated haml submodule
- * Fixed not-found page, now using using charset utf-8
- * Fixed show-exceptions page, now using using charset utf-8
- * Fixed view support due to fs.readFile Buffers
- * Changed; mime.type() no longer accepts ".type" due to node extname() changes
-
-0.12.0 / 2010-05-22
-==================
-
- * Added node v0.1.96 compatibility
- * Added view `helpers` export which act as additional local variables
- * Updated haml submodule
- * Changed ETag; removed inode, modified time only
- * Fixed LF to CRLF for setting multiple cookies
- * Fixed cookie compilation; values are now urlencoded
- * Fixed cookies parsing; accepts quoted values and url escaped cookies
-
-0.11.0 / 2010-05-06
-==================
-
- * Added support for layouts using different engines
- - this.render('page.html.haml', { layout: 'super-cool-layout.html.ejs' })
- - this.render('page.html.haml', { layout: 'foo' }) // assumes 'foo.html.haml'
- - this.render('page.html.haml', { layout: false }) // no layout
- * Updated ext submodule
- * Updated haml submodule
- * Fixed EJS partial support by passing along the context. Issue #307
-
-0.10.1 / 2010-05-03
-==================
-
- * Fixed binary uploads.
-
-0.10.0 / 2010-04-30
-==================
-
- * Added charset support via Request#charset (automatically assigned to 'UTF-8' when respond()'s
- encoding is set to 'utf8' or 'utf-8'.
- * Added "encoding" option to Request#render(). Closes #299
- * Added "dump exceptions" setting, which is enabled by default.
- * Added simple ejs template engine support
- * Added error response support for text/plain, application/json. Closes #297
- * Added callback function param to Request#error()
- * Added Request#sendHead()
- * Added Request#stream()
- * Added support for Request#respond(304, null) for empty response bodies
- * Added ETag support to Request#sendfile()
- * Added options to Request#sendfile(), passed to fs.createReadStream()
- * Added filename arg to Request#download()
- * Performance enhanced due to pre-reversing plugins so that plugins.reverse() is not called on each request
- * Performance enhanced by preventing several calls to toLowerCase() in Router#match()
- * Changed; Request#sendfile() now streams
- * Changed; Renamed Request#halt() to Request#respond(). Closes #289
- * Changed; Using sys.inspect() instead of JSON.encode() for error output
- * Changed; run() returns the http.Server instance. Closes #298
- * Changed; Defaulting Server#host to null (INADDR_ANY)
- * Changed; Logger "common" format scale of 0.4f
- * Removed Logger "request" format
- * Fixed; Catching ENOENT in view caching, preventing error when "views/partials" is not found
- * Fixed several issues with http client
- * Fixed Logger Content-Length output
- * Fixed bug preventing Opera from retaining the generated session id. Closes #292
-
-0.9.0 / 2010-04-14
-==================
-
- * Added DSL level error() route support
- * Added DSL level notFound() route support
- * Added Request#error()
- * Added Request#notFound()
- * Added Request#render() callback function. Closes #258
- * Added "max upload size" setting
- * Added "magic" variables to collection partials (\_\_index\_\_, \_\_length\_\_, \_\_isFirst\_\_, \_\_isLast\_\_). Closes #254
- * Added [haml.js](http://github.com/visionmedia/haml.js) submodule; removed haml-js
- * Added callback function support to Request#halt() as 3rd/4th arg
- * Added preprocessing of route param wildcards using param(). Closes #251
- * Added view partial support (with collections etc)
- * Fixed bug preventing falsey params (such as ?page=0). Closes #286
- * Fixed setting of multiple cookies. Closes #199
- * Changed; view naming convention is now NAME.TYPE.ENGINE (for example page.html.haml)
- * Changed; session cookie is now httpOnly
- * Changed; Request is no longer global
- * Changed; Event is no longer global
- * Changed; "sys" module is no longer global
- * Changed; moved Request#download to Static plugin where it belongs
- * Changed; Request instance created before body parsing. Closes #262
- * Changed; Pre-caching views in memory when "cache view contents" is enabled. Closes #253
- * Changed; Pre-caching view partials in memory when "cache view partials" is enabled
- * Updated support to node --version 0.1.90
- * Updated dependencies
- * Removed set("session cookie") in favour of use(Session, { cookie: { ... }})
- * Removed utils.mixin(); use Object#mergeDeep()
-
-0.8.0 / 2010-03-19
-==================
-
- * Added coffeescript example app. Closes #242
- * Changed; cache api now async friendly. Closes #240
- * Removed deprecated 'express/static' support. Use 'express/plugins/static'
-
-0.7.6 / 2010-03-19
-==================
-
- * Added Request#isXHR. Closes #229
- * Added `make install` (for the executable)
- * Added `express` executable for setting up simple app templates
- * Added "GET /public/*" to Static plugin, defaulting to <root>/public
- * Added Static plugin
- * Fixed; Request#render() only calls cache.get() once
- * Fixed; Namespacing View caches with "view:"
- * Fixed; Namespacing Static caches with "static:"
- * Fixed; Both example apps now use the Static plugin
- * Fixed set("views"). Closes #239
- * Fixed missing space for combined log format
- * Deprecated Request#sendfile() and 'express/static'
- * Removed Server#running
-
-0.7.5 / 2010-03-16
-==================
-
- * Added Request#flash() support without args, now returns all flashes
- * Updated ext submodule
-
-0.7.4 / 2010-03-16
-==================
-
- * Fixed session reaper
- * Changed; class.js replacing js-oo Class implementation (quite a bit faster, no browser cruft)
-
-0.7.3 / 2010-03-16
-==================
-
- * Added package.json
- * Fixed requiring of haml / sass due to kiwi removal
-
-0.7.2 / 2010-03-16
-==================
-
- * Fixed GIT submodules (HAH!)
-
-0.7.1 / 2010-03-16
-==================
-
- * Changed; Express now using submodules again until a PM is adopted
- * Changed; chat example using millisecond conversions from ext
-
-0.7.0 / 2010-03-15
-==================
-
- * Added Request#pass() support (finds the next matching route, or the given path)
- * Added Logger plugin (default "common" format replaces CommonLogger)
- * Removed Profiler plugin
- * Removed CommonLogger plugin
-
-0.6.0 / 2010-03-11
-==================
-
- * Added seed.yml for kiwi package management support
- * Added HTTP client query string support when method is GET. Closes #205
-
- * Added support for arbitrary view engines.
- For example "foo.engine.html" will now require('engine'),
- the exports from this module are cached after the first require().
-
- * Added async plugin support
-
- * Removed usage of RESTful route funcs as http client
- get() etc, use http.get() and friends
-
- * Removed custom exceptions
-
-0.5.0 / 2010-03-10
-==================
-
- * Added ext dependency (library of js extensions)
- * Removed extname() / basename() utils. Use path module
- * Removed toArray() util. Use arguments.values
- * Removed escapeRegexp() util. Use RegExp.escape()
- * Removed process.mixin() dependency. Use utils.mixin()
- * Removed Collection
- * Removed ElementCollection
- * Shameless self promotion of ebook "Advanced JavaScript" (http://dev-mag.com) ;)
-
-0.4.0 / 2010-02-11
-==================
-
- * Added flash() example to sample upload app
- * Added high level restful http client module (express/http)
- * Changed; RESTful route functions double as HTTP clients. Closes #69
- * Changed; throwing error when routes are added at runtime
- * Changed; defaulting render() context to the current Request. Closes #197
- * Updated haml submodule
-
-0.3.0 / 2010-02-11
-==================
-
- * Updated haml / sass submodules. Closes #200
- * Added flash message support. Closes #64
- * Added accepts() now allows multiple args. fixes #117
- * Added support for plugins to halt. Closes #189
- * Added alternate layout support. Closes #119
- * Removed Route#run(). Closes #188
- * Fixed broken specs due to use(Cookie) missing
-
-0.2.1 / 2010-02-05
-==================
-
- * Added "plot" format option for Profiler (for gnuplot processing)
- * Added request number to Profiler plugin
- * Fixed binary encoding for multipart file uploads, was previously defaulting to UTF8
- * Fixed issue with routes not firing when not files are present. Closes #184
- * Fixed process.Promise -> events.Promise
-
-0.2.0 / 2010-02-03
-==================
-
- * Added parseParam() support for name[] etc. (allows for file inputs with "multiple" attr) Closes #180
- * Added Both Cache and Session option "reapInterval" may be "reapEvery". Closes #174
- * Added expiration support to cache api with reaper. Closes #133
- * Added cache Store.Memory#reap()
- * Added Cache; cache api now uses first class Cache instances
- * Added abstract session Store. Closes #172
- * Changed; cache Memory.Store#get() utilizing Collection
- * Renamed MemoryStore -> Store.Memory
- * Fixed use() of the same plugin several time will always use latest options. Closes #176
-
-0.1.0 / 2010-02-03
-==================
-
- * Changed; Hooks (before / after) pass request as arg as well as evaluated in their context
- * Updated node support to 0.1.27 Closes #169
- * Updated dirname(__filename) -> __dirname
- * Updated libxmljs support to v0.2.0
- * Added session support with memory store / reaping
- * Added quick uid() helper
- * Added multi-part upload support
- * Added Sass.js support / submodule
- * Added production env caching view contents and static files
- * Added static file caching. Closes #136
- * Added cache plugin with memory stores
- * Added support to StaticFile so that it works with non-textual files.
- * Removed dirname() helper
- * Removed several globals (now their modules must be required)
-
-0.0.2 / 2010-01-10
-==================
-
- * Added view benchmarks; currently haml vs ejs
- * Added Request#attachment() specs. Closes #116
- * Added use of node's parseQuery() util. Closes #123
- * Added `make init` for submodules
- * Updated Haml
- * Updated sample chat app to show messages on load
- * Updated libxmljs parseString -> parseHtmlString
- * Fixed `make init` to work with older versions of git
- * Fixed specs can now run independent specs for those who can't build deps. Closes #127
- * Fixed issues introduced by the node url module changes. Closes 126.
- * Fixed two assertions failing due to Collection#keys() returning strings
- * Fixed faulty Collection#toArray() spec due to keys() returning strings
- * Fixed `make test` now builds libxmljs.node before testing
-
-0.0.1 / 2010-01-03
-==================
-
- * Initial release
diff --git a/Server/node_modules/express/LICENSE b/Server/node_modules/express/LICENSE
deleted file mode 100644
index aa927e4..0000000
--- a/Server/node_modules/express/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2009-2014 TJ Holowaychuk <tj@vision-media.ca>
-Copyright (c) 2013-2014 Roman Shtylman <shtylman+expressjs@gmail.com>
-Copyright (c) 2014-2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/express/Readme.md b/Server/node_modules/express/Readme.md
deleted file mode 100644
index 1f91297..0000000
--- a/Server/node_modules/express/Readme.md
+++ /dev/null
@@ -1,155 +0,0 @@
-[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)
-
- Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).
-
- [![NPM Version][npm-image]][npm-url]
- [![NPM Downloads][downloads-image]][downloads-url]
- [![Linux Build][travis-image]][travis-url]
- [![Windows Build][appveyor-image]][appveyor-url]
- [![Test Coverage][coveralls-image]][coveralls-url]
-
-```js
-const express = require('express')
-const app = express()
-
-app.get('/', function (req, res) {
- res.send('Hello World')
-})
-
-app.listen(3000)
-```
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/).
-
-Before installing, [download and install Node.js](https://nodejs.org/en/download/).
-Node.js 0.10 or higher is required.
-
-Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```bash
-$ npm install express
-```
-
-Follow [our installing guide](http://expressjs.com/en/starter/installing.html)
-for more information.
-
-## Features
-
- * Robust routing
- * Focus on high performance
- * Super-high test coverage
- * HTTP helpers (redirection, caching, etc)
- * View system supporting 14+ template engines
- * Content negotiation
- * Executable for generating applications quickly
-
-## Docs & Community
-
- * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]
- * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC
- * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modules
- * Visit the [Wiki](https://github.com/expressjs/express/wiki)
- * [Google Group](https://groups.google.com/group/express-js) for discussion
- * [Gitter](https://gitter.im/expressjs/express) for support and discussion
-
-**PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/expressjs/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/expressjs/express/wiki/New-features-in-4.x).
-
-### Security Issues
-
-If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).
-
-## Quick Start
-
- The quickest way to get started with express is to utilize the executable [`express(1)`](https://github.com/expressjs/generator) to generate an application as shown below:
-
- Install the executable. The executable's major version will match Express's:
-
-```bash
-$ npm install -g express-generator@4
-```
-
- Create the app:
-
-```bash
-$ express /tmp/foo && cd /tmp/foo
-```
-
- Install dependencies:
-
-```bash
-$ npm install
-```
-
- Start the server:
-
-```bash
-$ npm start
-```
-
- View the website at: http://localhost:3000
-
-## Philosophy
-
- The Express philosophy is to provide small, robust tooling for HTTP servers, making
- it a great solution for single page applications, web sites, hybrids, or public
- HTTP APIs.
-
- Express does not force you to use any specific ORM or template engine. With support for over
- 14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),
- you can quickly craft your perfect framework.
-
-## Examples
-
- To view the examples, clone the Express repo and install the dependencies:
-
-```bash
-$ git clone git://github.com/expressjs/express.git --depth 1
-$ cd express
-$ npm install
-```
-
- Then run whichever example you want:
-
-```bash
-$ node examples/content-negotiation
-```
-
-## Tests
-
- To run the test suite, first install the dependencies, then run `npm test`:
-
-```bash
-$ npm install
-$ npm test
-```
-
-## Contributing
-
-[Contributing Guide](Contributing.md)
-
-## People
-
-The original author of Express is [TJ Holowaychuk](https://github.com/tj)
-
-The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson)
-
-[List of all contributors](https://github.com/expressjs/express/graphs/contributors)
-
-## License
-
- [MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/express.svg
-[npm-url]: https://npmjs.org/package/express
-[downloads-image]: https://img.shields.io/npm/dm/express.svg
-[downloads-url]: https://npmjs.org/package/express
-[travis-image]: https://img.shields.io/travis/expressjs/express/master.svg?label=linux
-[travis-url]: https://travis-ci.org/expressjs/express
-[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows
-[appveyor-url]: https://ci.appveyor.com/project/dougwilson/express
-[coveralls-image]: https://img.shields.io/coveralls/expressjs/express/master.svg
-[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master
diff --git a/Server/node_modules/express/index.js b/Server/node_modules/express/index.js
deleted file mode 100644
index d219b0c..0000000
--- a/Server/node_modules/express/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-module.exports = require('./lib/express');
diff --git a/Server/node_modules/express/lib/application.js b/Server/node_modules/express/lib/application.js
deleted file mode 100644
index 91f77d2..0000000
--- a/Server/node_modules/express/lib/application.js
+++ /dev/null
@@ -1,644 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var finalhandler = require('finalhandler');
-var Router = require('./router');
-var methods = require('methods');
-var middleware = require('./middleware/init');
-var query = require('./middleware/query');
-var debug = require('debug')('express:application');
-var View = require('./view');
-var http = require('http');
-var compileETag = require('./utils').compileETag;
-var compileQueryParser = require('./utils').compileQueryParser;
-var compileTrust = require('./utils').compileTrust;
-var deprecate = require('depd')('express');
-var flatten = require('array-flatten');
-var merge = require('utils-merge');
-var resolve = require('path').resolve;
-var setPrototypeOf = require('setprototypeof')
-var slice = Array.prototype.slice;
-
-/**
- * Application prototype.
- */
-
-var app = exports = module.exports = {};
-
-/**
- * Variable for trust proxy inheritance back-compat
- * @private
- */
-
-var trustProxyDefaultSymbol = '@@symbol:trust_proxy_default';
-
-/**
- * Initialize the server.
- *
- * - setup default configuration
- * - setup default middleware
- * - setup route reflection methods
- *
- * @private
- */
-
-app.init = function init() {
- this.cache = {};
- this.engines = {};
- this.settings = {};
-
- this.defaultConfiguration();
-};
-
-/**
- * Initialize application configuration.
- * @private
- */
-
-app.defaultConfiguration = function defaultConfiguration() {
- var env = process.env.NODE_ENV || 'development';
-
- // default settings
- this.enable('x-powered-by');
- this.set('etag', 'weak');
- this.set('env', env);
- this.set('query parser', 'extended');
- this.set('subdomain offset', 2);
- this.set('trust proxy', false);
-
- // trust proxy inherit back-compat
- Object.defineProperty(this.settings, trustProxyDefaultSymbol, {
- configurable: true,
- value: true
- });
-
- debug('booting in %s mode', env);
-
- this.on('mount', function onmount(parent) {
- // inherit trust proxy
- if (this.settings[trustProxyDefaultSymbol] === true
- && typeof parent.settings['trust proxy fn'] === 'function') {
- delete this.settings['trust proxy'];
- delete this.settings['trust proxy fn'];
- }
-
- // inherit protos
- setPrototypeOf(this.request, parent.request)
- setPrototypeOf(this.response, parent.response)
- setPrototypeOf(this.engines, parent.engines)
- setPrototypeOf(this.settings, parent.settings)
- });
-
- // setup locals
- this.locals = Object.create(null);
-
- // top-most app is mounted at /
- this.mountpath = '/';
-
- // default locals
- this.locals.settings = this.settings;
-
- // default configuration
- this.set('view', View);
- this.set('views', resolve('views'));
- this.set('jsonp callback name', 'callback');
-
- if (env === 'production') {
- this.enable('view cache');
- }
-
- Object.defineProperty(this, 'router', {
- get: function() {
- throw new Error('\'app.router\' is deprecated!\nPlease see the 3.x to 4.x migration guide for details on how to update your app.');
- }
- });
-};
-
-/**
- * lazily adds the base router if it has not yet been added.
- *
- * We cannot add the base router in the defaultConfiguration because
- * it reads app settings which might be set after that has run.
- *
- * @private
- */
-app.lazyrouter = function lazyrouter() {
- if (!this._router) {
- this._router = new Router({
- caseSensitive: this.enabled('case sensitive routing'),
- strict: this.enabled('strict routing')
- });
-
- this._router.use(query(this.get('query parser fn')));
- this._router.use(middleware.init(this));
- }
-};
-
-/**
- * Dispatch a req, res pair into the application. Starts pipeline processing.
- *
- * If no callback is provided, then default error handlers will respond
- * in the event of an error bubbling through the stack.
- *
- * @private
- */
-
-app.handle = function handle(req, res, callback) {
- var router = this._router;
-
- // final handler
- var done = callback || finalhandler(req, res, {
- env: this.get('env'),
- onerror: logerror.bind(this)
- });
-
- // no routes
- if (!router) {
- debug('no routes defined on app');
- done();
- return;
- }
-
- router.handle(req, res, done);
-};
-
-/**
- * Proxy `Router#use()` to add middleware to the app router.
- * See Router#use() documentation for details.
- *
- * If the _fn_ parameter is an express app, then it will be
- * mounted at the _route_ specified.
- *
- * @public
- */
-
-app.use = function use(fn) {
- var offset = 0;
- var path = '/';
-
- // default path to '/'
- // disambiguate app.use([fn])
- if (typeof fn !== 'function') {
- var arg = fn;
-
- while (Array.isArray(arg) && arg.length !== 0) {
- arg = arg[0];
- }
-
- // first arg is the path
- if (typeof arg !== 'function') {
- offset = 1;
- path = fn;
- }
- }
-
- var fns = flatten(slice.call(arguments, offset));
-
- if (fns.length === 0) {
- throw new TypeError('app.use() requires a middleware function')
- }
-
- // setup router
- this.lazyrouter();
- var router = this._router;
-
- fns.forEach(function (fn) {
- // non-express app
- if (!fn || !fn.handle || !fn.set) {
- return router.use(path, fn);
- }
-
- debug('.use app under %s', path);
- fn.mountpath = path;
- fn.parent = this;
-
- // restore .app property on req and res
- router.use(path, function mounted_app(req, res, next) {
- var orig = req.app;
- fn.handle(req, res, function (err) {
- setPrototypeOf(req, orig.request)
- setPrototypeOf(res, orig.response)
- next(err);
- });
- });
-
- // mounted an app
- fn.emit('mount', this);
- }, this);
-
- return this;
-};
-
-/**
- * Proxy to the app `Router#route()`
- * Returns a new `Route` instance for the _path_.
- *
- * Routes are isolated middleware stacks for specific paths.
- * See the Route api docs for details.
- *
- * @public
- */
-
-app.route = function route(path) {
- this.lazyrouter();
- return this._router.route(path);
-};
-
-/**
- * Register the given template engine callback `fn`
- * as `ext`.
- *
- * By default will `require()` the engine based on the
- * file extension. For example if you try to render
- * a "foo.ejs" file Express will invoke the following internally:
- *
- * app.engine('ejs', require('ejs').__express);
- *
- * For engines that do not provide `.__express` out of the box,
- * or if you wish to "map" a different extension to the template engine
- * you may use this method. For example mapping the EJS template engine to
- * ".html" files:
- *
- * app.engine('html', require('ejs').renderFile);
- *
- * In this case EJS provides a `.renderFile()` method with
- * the same signature that Express expects: `(path, options, callback)`,
- * though note that it aliases this method as `ejs.__express` internally
- * so if you're using ".ejs" extensions you dont need to do anything.
- *
- * Some template engines do not follow this convention, the
- * [Consolidate.js](https://github.com/tj/consolidate.js)
- * library was created to map all of node's popular template
- * engines to follow this convention, thus allowing them to
- * work seamlessly within Express.
- *
- * @param {String} ext
- * @param {Function} fn
- * @return {app} for chaining
- * @public
- */
-
-app.engine = function engine(ext, fn) {
- if (typeof fn !== 'function') {
- throw new Error('callback function required');
- }
-
- // get file extension
- var extension = ext[0] !== '.'
- ? '.' + ext
- : ext;
-
- // store engine
- this.engines[extension] = fn;
-
- return this;
-};
-
-/**
- * Proxy to `Router#param()` with one added api feature. The _name_ parameter
- * can be an array of names.
- *
- * See the Router#param() docs for more details.
- *
- * @param {String|Array} name
- * @param {Function} fn
- * @return {app} for chaining
- * @public
- */
-
-app.param = function param(name, fn) {
- this.lazyrouter();
-
- if (Array.isArray(name)) {
- for (var i = 0; i < name.length; i++) {
- this.param(name[i], fn);
- }
-
- return this;
- }
-
- this._router.param(name, fn);
-
- return this;
-};
-
-/**
- * Assign `setting` to `val`, or return `setting`'s value.
- *
- * app.set('foo', 'bar');
- * app.set('foo');
- * // => "bar"
- *
- * Mounted servers inherit their parent server's settings.
- *
- * @param {String} setting
- * @param {*} [val]
- * @return {Server} for chaining
- * @public
- */
-
-app.set = function set(setting, val) {
- if (arguments.length === 1) {
- // app.get(setting)
- return this.settings[setting];
- }
-
- debug('set "%s" to %o', setting, val);
-
- // set value
- this.settings[setting] = val;
-
- // trigger matched settings
- switch (setting) {
- case 'etag':
- this.set('etag fn', compileETag(val));
- break;
- case 'query parser':
- this.set('query parser fn', compileQueryParser(val));
- break;
- case 'trust proxy':
- this.set('trust proxy fn', compileTrust(val));
-
- // trust proxy inherit back-compat
- Object.defineProperty(this.settings, trustProxyDefaultSymbol, {
- configurable: true,
- value: false
- });
-
- break;
- }
-
- return this;
-};
-
-/**
- * Return the app's absolute pathname
- * based on the parent(s) that have
- * mounted it.
- *
- * For example if the application was
- * mounted as "/admin", which itself
- * was mounted as "/blog" then the
- * return value would be "/blog/admin".
- *
- * @return {String}
- * @private
- */
-
-app.path = function path() {
- return this.parent
- ? this.parent.path() + this.mountpath
- : '';
-};
-
-/**
- * Check if `setting` is enabled (truthy).
- *
- * app.enabled('foo')
- * // => false
- *
- * app.enable('foo')
- * app.enabled('foo')
- * // => true
- *
- * @param {String} setting
- * @return {Boolean}
- * @public
- */
-
-app.enabled = function enabled(setting) {
- return Boolean(this.set(setting));
-};
-
-/**
- * Check if `setting` is disabled.
- *
- * app.disabled('foo')
- * // => true
- *
- * app.enable('foo')
- * app.disabled('foo')
- * // => false
- *
- * @param {String} setting
- * @return {Boolean}
- * @public
- */
-
-app.disabled = function disabled(setting) {
- return !this.set(setting);
-};
-
-/**
- * Enable `setting`.
- *
- * @param {String} setting
- * @return {app} for chaining
- * @public
- */
-
-app.enable = function enable(setting) {
- return this.set(setting, true);
-};
-
-/**
- * Disable `setting`.
- *
- * @param {String} setting
- * @return {app} for chaining
- * @public
- */
-
-app.disable = function disable(setting) {
- return this.set(setting, false);
-};
-
-/**
- * Delegate `.VERB(...)` calls to `router.VERB(...)`.
- */
-
-methods.forEach(function(method){
- app[method] = function(path){
- if (method === 'get' && arguments.length === 1) {
- // app.get(setting)
- return this.set(path);
- }
-
- this.lazyrouter();
-
- var route = this._router.route(path);
- route[method].apply(route, slice.call(arguments, 1));
- return this;
- };
-});
-
-/**
- * Special-cased "all" method, applying the given route `path`,
- * middleware, and callback to _every_ HTTP method.
- *
- * @param {String} path
- * @param {Function} ...
- * @return {app} for chaining
- * @public
- */
-
-app.all = function all(path) {
- this.lazyrouter();
-
- var route = this._router.route(path);
- var args = slice.call(arguments, 1);
-
- for (var i = 0; i < methods.length; i++) {
- route[methods[i]].apply(route, args);
- }
-
- return this;
-};
-
-// del -> delete alias
-
-app.del = deprecate.function(app.delete, 'app.del: Use app.delete instead');
-
-/**
- * Render the given view `name` name with `options`
- * and a callback accepting an error and the
- * rendered template string.
- *
- * Example:
- *
- * app.render('email', { name: 'Tobi' }, function(err, html){
- * // ...
- * })
- *
- * @param {String} name
- * @param {Object|Function} options or fn
- * @param {Function} callback
- * @public
- */
-
-app.render = function render(name, options, callback) {
- var cache = this.cache;
- var done = callback;
- var engines = this.engines;
- var opts = options;
- var renderOptions = {};
- var view;
-
- // support callback function as second arg
- if (typeof options === 'function') {
- done = options;
- opts = {};
- }
-
- // merge app.locals
- merge(renderOptions, this.locals);
-
- // merge options._locals
- if (opts._locals) {
- merge(renderOptions, opts._locals);
- }
-
- // merge options
- merge(renderOptions, opts);
-
- // set .cache unless explicitly provided
- if (renderOptions.cache == null) {
- renderOptions.cache = this.enabled('view cache');
- }
-
- // primed cache
- if (renderOptions.cache) {
- view = cache[name];
- }
-
- // view
- if (!view) {
- var View = this.get('view');
-
- view = new View(name, {
- defaultEngine: this.get('view engine'),
- root: this.get('views'),
- engines: engines
- });
-
- if (!view.path) {
- var dirs = Array.isArray(view.root) && view.root.length > 1
- ? 'directories "' + view.root.slice(0, -1).join('", "') + '" or "' + view.root[view.root.length - 1] + '"'
- : 'directory "' + view.root + '"'
- var err = new Error('Failed to lookup view "' + name + '" in views ' + dirs);
- err.view = view;
- return done(err);
- }
-
- // prime the cache
- if (renderOptions.cache) {
- cache[name] = view;
- }
- }
-
- // render
- tryRender(view, renderOptions, done);
-};
-
-/**
- * Listen for connections.
- *
- * A node `http.Server` is returned, with this
- * application (which is a `Function`) as its
- * callback. If you wish to create both an HTTP
- * and HTTPS server you may do so with the "http"
- * and "https" modules as shown here:
- *
- * var http = require('http')
- * , https = require('https')
- * , express = require('express')
- * , app = express();
- *
- * http.createServer(app).listen(80);
- * https.createServer({ ... }, app).listen(443);
- *
- * @return {http.Server}
- * @public
- */
-
-app.listen = function listen() {
- var server = http.createServer(this);
- return server.listen.apply(server, arguments);
-};
-
-/**
- * Log error using console.error.
- *
- * @param {Error} err
- * @private
- */
-
-function logerror(err) {
- /* istanbul ignore next */
- if (this.get('env') !== 'test') console.error(err.stack || err.toString());
-}
-
-/**
- * Try rendering a view.
- * @private
- */
-
-function tryRender(view, options, callback) {
- try {
- view.render(options, callback);
- } catch (err) {
- callback(err);
- }
-}
diff --git a/Server/node_modules/express/lib/express.js b/Server/node_modules/express/lib/express.js
deleted file mode 100644
index d188a16..0000000
--- a/Server/node_modules/express/lib/express.js
+++ /dev/null
@@ -1,116 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- */
-
-var bodyParser = require('body-parser')
-var EventEmitter = require('events').EventEmitter;
-var mixin = require('merge-descriptors');
-var proto = require('./application');
-var Route = require('./router/route');
-var Router = require('./router');
-var req = require('./request');
-var res = require('./response');
-
-/**
- * Expose `createApplication()`.
- */
-
-exports = module.exports = createApplication;
-
-/**
- * Create an express application.
- *
- * @return {Function}
- * @api public
- */
-
-function createApplication() {
- var app = function(req, res, next) {
- app.handle(req, res, next);
- };
-
- mixin(app, EventEmitter.prototype, false);
- mixin(app, proto, false);
-
- // expose the prototype that will get set on requests
- app.request = Object.create(req, {
- app: { configurable: true, enumerable: true, writable: true, value: app }
- })
-
- // expose the prototype that will get set on responses
- app.response = Object.create(res, {
- app: { configurable: true, enumerable: true, writable: true, value: app }
- })
-
- app.init();
- return app;
-}
-
-/**
- * Expose the prototypes.
- */
-
-exports.application = proto;
-exports.request = req;
-exports.response = res;
-
-/**
- * Expose constructors.
- */
-
-exports.Route = Route;
-exports.Router = Router;
-
-/**
- * Expose middleware
- */
-
-exports.json = bodyParser.json
-exports.query = require('./middleware/query');
-exports.raw = bodyParser.raw
-exports.static = require('serve-static');
-exports.text = bodyParser.text
-exports.urlencoded = bodyParser.urlencoded
-
-/**
- * Replace removed middleware with an appropriate error message.
- */
-
-var removedMiddlewares = [
- 'bodyParser',
- 'compress',
- 'cookieSession',
- 'session',
- 'logger',
- 'cookieParser',
- 'favicon',
- 'responseTime',
- 'errorHandler',
- 'timeout',
- 'methodOverride',
- 'vhost',
- 'csrf',
- 'directory',
- 'limit',
- 'multipart',
- 'staticCache'
-]
-
-removedMiddlewares.forEach(function (name) {
- Object.defineProperty(exports, name, {
- get: function () {
- throw new Error('Most middleware (like ' + name + ') is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.');
- },
- configurable: true
- });
-});
diff --git a/Server/node_modules/express/lib/middleware/init.js b/Server/node_modules/express/lib/middleware/init.js
deleted file mode 100644
index dfd0427..0000000
--- a/Server/node_modules/express/lib/middleware/init.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var setPrototypeOf = require('setprototypeof')
-
-/**
- * Initialization middleware, exposing the
- * request and response to each other, as well
- * as defaulting the X-Powered-By header field.
- *
- * @param {Function} app
- * @return {Function}
- * @api private
- */
-
-exports.init = function(app){
- return function expressInit(req, res, next){
- if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express');
- req.res = res;
- res.req = req;
- req.next = next;
-
- setPrototypeOf(req, app.request)
- setPrototypeOf(res, app.response)
-
- res.locals = res.locals || Object.create(null);
-
- next();
- };
-};
-
diff --git a/Server/node_modules/express/lib/middleware/query.js b/Server/node_modules/express/lib/middleware/query.js
deleted file mode 100644
index 7e91669..0000000
--- a/Server/node_modules/express/lib/middleware/query.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- */
-
-var merge = require('utils-merge')
-var parseUrl = require('parseurl');
-var qs = require('qs');
-
-/**
- * @param {Object} options
- * @return {Function}
- * @api public
- */
-
-module.exports = function query(options) {
- var opts = merge({}, options)
- var queryparse = qs.parse;
-
- if (typeof options === 'function') {
- queryparse = options;
- opts = undefined;
- }
-
- if (opts !== undefined && opts.allowPrototypes === undefined) {
- // back-compat for qs module
- opts.allowPrototypes = true;
- }
-
- return function query(req, res, next){
- if (!req.query) {
- var val = parseUrl(req).query;
- req.query = queryparse(val, opts);
- }
-
- next();
- };
-};
diff --git a/Server/node_modules/express/lib/request.js b/Server/node_modules/express/lib/request.js
deleted file mode 100644
index a9400ef..0000000
--- a/Server/node_modules/express/lib/request.js
+++ /dev/null
@@ -1,525 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var accepts = require('accepts');
-var deprecate = require('depd')('express');
-var isIP = require('net').isIP;
-var typeis = require('type-is');
-var http = require('http');
-var fresh = require('fresh');
-var parseRange = require('range-parser');
-var parse = require('parseurl');
-var proxyaddr = require('proxy-addr');
-
-/**
- * Request prototype.
- * @public
- */
-
-var req = Object.create(http.IncomingMessage.prototype)
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = req
-
-/**
- * Return request header.
- *
- * The `Referrer` header field is special-cased,
- * both `Referrer` and `Referer` are interchangeable.
- *
- * Examples:
- *
- * req.get('Content-Type');
- * // => "text/plain"
- *
- * req.get('content-type');
- * // => "text/plain"
- *
- * req.get('Something');
- * // => undefined
- *
- * Aliased as `req.header()`.
- *
- * @param {String} name
- * @return {String}
- * @public
- */
-
-req.get =
-req.header = function header(name) {
- if (!name) {
- throw new TypeError('name argument is required to req.get');
- }
-
- if (typeof name !== 'string') {
- throw new TypeError('name must be a string to req.get');
- }
-
- var lc = name.toLowerCase();
-
- switch (lc) {
- case 'referer':
- case 'referrer':
- return this.headers.referrer
- || this.headers.referer;
- default:
- return this.headers[lc];
- }
-};
-
-/**
- * To do: update docs.
- *
- * Check if the given `type(s)` is acceptable, returning
- * the best match when true, otherwise `undefined`, in which
- * case you should respond with 406 "Not Acceptable".
- *
- * The `type` value may be a single MIME type string
- * such as "application/json", an extension name
- * such as "json", a comma-delimited list such as "json, html, text/plain",
- * an argument list such as `"json", "html", "text/plain"`,
- * or an array `["json", "html", "text/plain"]`. When a list
- * or array is given, the _best_ match, if any is returned.
- *
- * Examples:
- *
- * // Accept: text/html
- * req.accepts('html');
- * // => "html"
- *
- * // Accept: text/*, application/json
- * req.accepts('html');
- * // => "html"
- * req.accepts('text/html');
- * // => "text/html"
- * req.accepts('json, text');
- * // => "json"
- * req.accepts('application/json');
- * // => "application/json"
- *
- * // Accept: text/*, application/json
- * req.accepts('image/png');
- * req.accepts('png');
- * // => undefined
- *
- * // Accept: text/*;q=.5, application/json
- * req.accepts(['html', 'json']);
- * req.accepts('html', 'json');
- * req.accepts('html, json');
- * // => "json"
- *
- * @param {String|Array} type(s)
- * @return {String|Array|Boolean}
- * @public
- */
-
-req.accepts = function(){
- var accept = accepts(this);
- return accept.types.apply(accept, arguments);
-};
-
-/**
- * Check if the given `encoding`s are accepted.
- *
- * @param {String} ...encoding
- * @return {String|Array}
- * @public
- */
-
-req.acceptsEncodings = function(){
- var accept = accepts(this);
- return accept.encodings.apply(accept, arguments);
-};
-
-req.acceptsEncoding = deprecate.function(req.acceptsEncodings,
- 'req.acceptsEncoding: Use acceptsEncodings instead');
-
-/**
- * Check if the given `charset`s are acceptable,
- * otherwise you should respond with 406 "Not Acceptable".
- *
- * @param {String} ...charset
- * @return {String|Array}
- * @public
- */
-
-req.acceptsCharsets = function(){
- var accept = accepts(this);
- return accept.charsets.apply(accept, arguments);
-};
-
-req.acceptsCharset = deprecate.function(req.acceptsCharsets,
- 'req.acceptsCharset: Use acceptsCharsets instead');
-
-/**
- * Check if the given `lang`s are acceptable,
- * otherwise you should respond with 406 "Not Acceptable".
- *
- * @param {String} ...lang
- * @return {String|Array}
- * @public
- */
-
-req.acceptsLanguages = function(){
- var accept = accepts(this);
- return accept.languages.apply(accept, arguments);
-};
-
-req.acceptsLanguage = deprecate.function(req.acceptsLanguages,
- 'req.acceptsLanguage: Use acceptsLanguages instead');
-
-/**
- * Parse Range header field, capping to the given `size`.
- *
- * Unspecified ranges such as "0-" require knowledge of your resource length. In
- * the case of a byte range this is of course the total number of bytes. If the
- * Range header field is not given `undefined` is returned, `-1` when unsatisfiable,
- * and `-2` when syntactically invalid.
- *
- * When ranges are returned, the array has a "type" property which is the type of
- * range that is required (most commonly, "bytes"). Each array element is an object
- * with a "start" and "end" property for the portion of the range.
- *
- * The "combine" option can be set to `true` and overlapping & adjacent ranges
- * will be combined into a single range.
- *
- * NOTE: remember that ranges are inclusive, so for example "Range: users=0-3"
- * should respond with 4 users when available, not 3.
- *
- * @param {number} size
- * @param {object} [options]
- * @param {boolean} [options.combine=false]
- * @return {number|array}
- * @public
- */
-
-req.range = function range(size, options) {
- var range = this.get('Range');
- if (!range) return;
- return parseRange(size, range, options);
-};
-
-/**
- * Return the value of param `name` when present or `defaultValue`.
- *
- * - Checks route placeholders, ex: _/user/:id_
- * - Checks body params, ex: id=12, {"id":12}
- * - Checks query string params, ex: ?id=12
- *
- * To utilize request bodies, `req.body`
- * should be an object. This can be done by using
- * the `bodyParser()` middleware.
- *
- * @param {String} name
- * @param {Mixed} [defaultValue]
- * @return {String}
- * @public
- */
-
-req.param = function param(name, defaultValue) {
- var params = this.params || {};
- var body = this.body || {};
- var query = this.query || {};
-
- var args = arguments.length === 1
- ? 'name'
- : 'name, default';
- deprecate('req.param(' + args + '): Use req.params, req.body, or req.query instead');
-
- if (null != params[name] && params.hasOwnProperty(name)) return params[name];
- if (null != body[name]) return body[name];
- if (null != query[name]) return query[name];
-
- return defaultValue;
-};
-
-/**
- * Check if the incoming request contains the "Content-Type"
- * header field, and it contains the give mime `type`.
- *
- * Examples:
- *
- * // With Content-Type: text/html; charset=utf-8
- * req.is('html');
- * req.is('text/html');
- * req.is('text/*');
- * // => true
- *
- * // When Content-Type is application/json
- * req.is('json');
- * req.is('application/json');
- * req.is('application/*');
- * // => true
- *
- * req.is('html');
- * // => false
- *
- * @param {String|Array} types...
- * @return {String|false|null}
- * @public
- */
-
-req.is = function is(types) {
- var arr = types;
-
- // support flattened arguments
- if (!Array.isArray(types)) {
- arr = new Array(arguments.length);
- for (var i = 0; i < arr.length; i++) {
- arr[i] = arguments[i];
- }
- }
-
- return typeis(this, arr);
-};
-
-/**
- * Return the protocol string "http" or "https"
- * when requested with TLS. When the "trust proxy"
- * setting trusts the socket address, the
- * "X-Forwarded-Proto" header field will be trusted
- * and used if present.
- *
- * If you're running behind a reverse proxy that
- * supplies https for you this may be enabled.
- *
- * @return {String}
- * @public
- */
-
-defineGetter(req, 'protocol', function protocol(){
- var proto = this.connection.encrypted
- ? 'https'
- : 'http';
- var trust = this.app.get('trust proxy fn');
-
- if (!trust(this.connection.remoteAddress, 0)) {
- return proto;
- }
-
- // Note: X-Forwarded-Proto is normally only ever a
- // single value, but this is to be safe.
- var header = this.get('X-Forwarded-Proto') || proto
- var index = header.indexOf(',')
-
- return index !== -1
- ? header.substring(0, index).trim()
- : header.trim()
-});
-
-/**
- * Short-hand for:
- *
- * req.protocol === 'https'
- *
- * @return {Boolean}
- * @public
- */
-
-defineGetter(req, 'secure', function secure(){
- return this.protocol === 'https';
-});
-
-/**
- * Return the remote address from the trusted proxy.
- *
- * The is the remote address on the socket unless
- * "trust proxy" is set.
- *
- * @return {String}
- * @public
- */
-
-defineGetter(req, 'ip', function ip(){
- var trust = this.app.get('trust proxy fn');
- return proxyaddr(this, trust);
-});
-
-/**
- * When "trust proxy" is set, trusted proxy addresses + client.
- *
- * For example if the value were "client, proxy1, proxy2"
- * you would receive the array `["client", "proxy1", "proxy2"]`
- * where "proxy2" is the furthest down-stream and "proxy1" and
- * "proxy2" were trusted.
- *
- * @return {Array}
- * @public
- */
-
-defineGetter(req, 'ips', function ips() {
- var trust = this.app.get('trust proxy fn');
- var addrs = proxyaddr.all(this, trust);
-
- // reverse the order (to farthest -> closest)
- // and remove socket address
- addrs.reverse().pop()
-
- return addrs
-});
-
-/**
- * Return subdomains as an array.
- *
- * Subdomains are the dot-separated parts of the host before the main domain of
- * the app. By default, the domain of the app is assumed to be the last two
- * parts of the host. This can be changed by setting "subdomain offset".
- *
- * For example, if the domain is "tobi.ferrets.example.com":
- * If "subdomain offset" is not set, req.subdomains is `["ferrets", "tobi"]`.
- * If "subdomain offset" is 3, req.subdomains is `["tobi"]`.
- *
- * @return {Array}
- * @public
- */
-
-defineGetter(req, 'subdomains', function subdomains() {
- var hostname = this.hostname;
-
- if (!hostname) return [];
-
- var offset = this.app.get('subdomain offset');
- var subdomains = !isIP(hostname)
- ? hostname.split('.').reverse()
- : [hostname];
-
- return subdomains.slice(offset);
-});
-
-/**
- * Short-hand for `url.parse(req.url).pathname`.
- *
- * @return {String}
- * @public
- */
-
-defineGetter(req, 'path', function path() {
- return parse(this).pathname;
-});
-
-/**
- * Parse the "Host" header field to a hostname.
- *
- * When the "trust proxy" setting trusts the socket
- * address, the "X-Forwarded-Host" header field will
- * be trusted.
- *
- * @return {String}
- * @public
- */
-
-defineGetter(req, 'hostname', function hostname(){
- var trust = this.app.get('trust proxy fn');
- var host = this.get('X-Forwarded-Host');
-
- if (!host || !trust(this.connection.remoteAddress, 0)) {
- host = this.get('Host');
- } else if (host.indexOf(',') !== -1) {
- // Note: X-Forwarded-Host is normally only ever a
- // single value, but this is to be safe.
- host = host.substring(0, host.indexOf(',')).trimRight()
- }
-
- if (!host) return;
-
- // IPv6 literal support
- var offset = host[0] === '['
- ? host.indexOf(']') + 1
- : 0;
- var index = host.indexOf(':', offset);
-
- return index !== -1
- ? host.substring(0, index)
- : host;
-});
-
-// TODO: change req.host to return host in next major
-
-defineGetter(req, 'host', deprecate.function(function host(){
- return this.hostname;
-}, 'req.host: Use req.hostname instead'));
-
-/**
- * Check if the request is fresh, aka
- * Last-Modified and/or the ETag
- * still match.
- *
- * @return {Boolean}
- * @public
- */
-
-defineGetter(req, 'fresh', function(){
- var method = this.method;
- var res = this.res
- var status = res.statusCode
-
- // GET or HEAD for weak freshness validation only
- if ('GET' !== method && 'HEAD' !== method) return false;
-
- // 2xx or 304 as per rfc2616 14.26
- if ((status >= 200 && status < 300) || 304 === status) {
- return fresh(this.headers, {
- 'etag': res.get('ETag'),
- 'last-modified': res.get('Last-Modified')
- })
- }
-
- return false;
-});
-
-/**
- * Check if the request is stale, aka
- * "Last-Modified" and / or the "ETag" for the
- * resource has changed.
- *
- * @return {Boolean}
- * @public
- */
-
-defineGetter(req, 'stale', function stale(){
- return !this.fresh;
-});
-
-/**
- * Check if the request was an _XMLHttpRequest_.
- *
- * @return {Boolean}
- * @public
- */
-
-defineGetter(req, 'xhr', function xhr(){
- var val = this.get('X-Requested-With') || '';
- return val.toLowerCase() === 'xmlhttprequest';
-});
-
-/**
- * Helper function for creating a getter on an object.
- *
- * @param {Object} obj
- * @param {String} name
- * @param {Function} getter
- * @private
- */
-function defineGetter(obj, name, getter) {
- Object.defineProperty(obj, name, {
- configurable: true,
- enumerable: true,
- get: getter
- });
-}
diff --git a/Server/node_modules/express/lib/response.js b/Server/node_modules/express/lib/response.js
deleted file mode 100644
index c9f08cd..0000000
--- a/Server/node_modules/express/lib/response.js
+++ /dev/null
@@ -1,1142 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var Buffer = require('safe-buffer').Buffer
-var contentDisposition = require('content-disposition');
-var deprecate = require('depd')('express');
-var encodeUrl = require('encodeurl');
-var escapeHtml = require('escape-html');
-var http = require('http');
-var isAbsolute = require('./utils').isAbsolute;
-var onFinished = require('on-finished');
-var path = require('path');
-var statuses = require('statuses')
-var merge = require('utils-merge');
-var sign = require('cookie-signature').sign;
-var normalizeType = require('./utils').normalizeType;
-var normalizeTypes = require('./utils').normalizeTypes;
-var setCharset = require('./utils').setCharset;
-var cookie = require('cookie');
-var send = require('send');
-var extname = path.extname;
-var mime = send.mime;
-var resolve = path.resolve;
-var vary = require('vary');
-
-/**
- * Response prototype.
- * @public
- */
-
-var res = Object.create(http.ServerResponse.prototype)
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = res
-
-/**
- * Module variables.
- * @private
- */
-
-var charsetRegExp = /;\s*charset\s*=/;
-
-/**
- * Set status `code`.
- *
- * @param {Number} code
- * @return {ServerResponse}
- * @public
- */
-
-res.status = function status(code) {
- this.statusCode = code;
- return this;
-};
-
-/**
- * Set Link header field with the given `links`.
- *
- * Examples:
- *
- * res.links({
- * next: 'http://api.example.com/users?page=2',
- * last: 'http://api.example.com/users?page=5'
- * });
- *
- * @param {Object} links
- * @return {ServerResponse}
- * @public
- */
-
-res.links = function(links){
- var link = this.get('Link') || '';
- if (link) link += ', ';
- return this.set('Link', link + Object.keys(links).map(function(rel){
- return '<' + links[rel] + '>; rel="' + rel + '"';
- }).join(', '));
-};
-
-/**
- * Send a response.
- *
- * Examples:
- *
- * res.send(Buffer.from('wahoo'));
- * res.send({ some: 'json' });
- * res.send('<p>some html</p>');
- *
- * @param {string|number|boolean|object|Buffer} body
- * @public
- */
-
-res.send = function send(body) {
- var chunk = body;
- var encoding;
- var req = this.req;
- var type;
-
- // settings
- var app = this.app;
-
- // allow status / body
- if (arguments.length === 2) {
- // res.send(body, status) backwards compat
- if (typeof arguments[0] !== 'number' && typeof arguments[1] === 'number') {
- deprecate('res.send(body, status): Use res.status(status).send(body) instead');
- this.statusCode = arguments[1];
- } else {
- deprecate('res.send(status, body): Use res.status(status).send(body) instead');
- this.statusCode = arguments[0];
- chunk = arguments[1];
- }
- }
-
- // disambiguate res.send(status) and res.send(status, num)
- if (typeof chunk === 'number' && arguments.length === 1) {
- // res.send(status) will set status message as text string
- if (!this.get('Content-Type')) {
- this.type('txt');
- }
-
- deprecate('res.send(status): Use res.sendStatus(status) instead');
- this.statusCode = chunk;
- chunk = statuses[chunk]
- }
-
- switch (typeof chunk) {
- // string defaulting to html
- case 'string':
- if (!this.get('Content-Type')) {
- this.type('html');
- }
- break;
- case 'boolean':
- case 'number':
- case 'object':
- if (chunk === null) {
- chunk = '';
- } else if (Buffer.isBuffer(chunk)) {
- if (!this.get('Content-Type')) {
- this.type('bin');
- }
- } else {
- return this.json(chunk);
- }
- break;
- }
-
- // write strings in utf-8
- if (typeof chunk === 'string') {
- encoding = 'utf8';
- type = this.get('Content-Type');
-
- // reflect this in content-type
- if (typeof type === 'string') {
- this.set('Content-Type', setCharset(type, 'utf-8'));
- }
- }
-
- // determine if ETag should be generated
- var etagFn = app.get('etag fn')
- var generateETag = !this.get('ETag') && typeof etagFn === 'function'
-
- // populate Content-Length
- var len
- if (chunk !== undefined) {
- if (Buffer.isBuffer(chunk)) {
- // get length of Buffer
- len = chunk.length
- } else if (!generateETag && chunk.length < 1000) {
- // just calculate length when no ETag + small chunk
- len = Buffer.byteLength(chunk, encoding)
- } else {
- // convert chunk to Buffer and calculate
- chunk = Buffer.from(chunk, encoding)
- encoding = undefined;
- len = chunk.length
- }
-
- this.set('Content-Length', len);
- }
-
- // populate ETag
- var etag;
- if (generateETag && len !== undefined) {
- if ((etag = etagFn(chunk, encoding))) {
- this.set('ETag', etag);
- }
- }
-
- // freshness
- if (req.fresh) this.statusCode = 304;
-
- // strip irrelevant headers
- if (204 === this.statusCode || 304 === this.statusCode) {
- this.removeHeader('Content-Type');
- this.removeHeader('Content-Length');
- this.removeHeader('Transfer-Encoding');
- chunk = '';
- }
-
- if (req.method === 'HEAD') {
- // skip body for HEAD
- this.end();
- } else {
- // respond
- this.end(chunk, encoding);
- }
-
- return this;
-};
-
-/**
- * Send JSON response.
- *
- * Examples:
- *
- * res.json(null);
- * res.json({ user: 'tj' });
- *
- * @param {string|number|boolean|object} obj
- * @public
- */
-
-res.json = function json(obj) {
- var val = obj;
-
- // allow status / body
- if (arguments.length === 2) {
- // res.json(body, status) backwards compat
- if (typeof arguments[1] === 'number') {
- deprecate('res.json(obj, status): Use res.status(status).json(obj) instead');
- this.statusCode = arguments[1];
- } else {
- deprecate('res.json(status, obj): Use res.status(status).json(obj) instead');
- this.statusCode = arguments[0];
- val = arguments[1];
- }
- }
-
- // settings
- var app = this.app;
- var escape = app.get('json escape')
- var replacer = app.get('json replacer');
- var spaces = app.get('json spaces');
- var body = stringify(val, replacer, spaces, escape)
-
- // content-type
- if (!this.get('Content-Type')) {
- this.set('Content-Type', 'application/json');
- }
-
- return this.send(body);
-};
-
-/**
- * Send JSON response with JSONP callback support.
- *
- * Examples:
- *
- * res.jsonp(null);
- * res.jsonp({ user: 'tj' });
- *
- * @param {string|number|boolean|object} obj
- * @public
- */
-
-res.jsonp = function jsonp(obj) {
- var val = obj;
-
- // allow status / body
- if (arguments.length === 2) {
- // res.json(body, status) backwards compat
- if (typeof arguments[1] === 'number') {
- deprecate('res.jsonp(obj, status): Use res.status(status).json(obj) instead');
- this.statusCode = arguments[1];
- } else {
- deprecate('res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead');
- this.statusCode = arguments[0];
- val = arguments[1];
- }
- }
-
- // settings
- var app = this.app;
- var escape = app.get('json escape')
- var replacer = app.get('json replacer');
- var spaces = app.get('json spaces');
- var body = stringify(val, replacer, spaces, escape)
- var callback = this.req.query[app.get('jsonp callback name')];
-
- // content-type
- if (!this.get('Content-Type')) {
- this.set('X-Content-Type-Options', 'nosniff');
- this.set('Content-Type', 'application/json');
- }
-
- // fixup callback
- if (Array.isArray(callback)) {
- callback = callback[0];
- }
-
- // jsonp
- if (typeof callback === 'string' && callback.length !== 0) {
- this.set('X-Content-Type-Options', 'nosniff');
- this.set('Content-Type', 'text/javascript');
-
- // restrict callback charset
- callback = callback.replace(/[^\[\]\w$.]/g, '');
-
- // replace chars not allowed in JavaScript that are in JSON
- body = body
- .replace(/\u2028/g, '\\u2028')
- .replace(/\u2029/g, '\\u2029');
-
- // the /**/ is a specific security mitigation for "Rosetta Flash JSONP abuse"
- // the typeof check is just to reduce client error noise
- body = '/**/ typeof ' + callback + ' === \'function\' && ' + callback + '(' + body + ');';
- }
-
- return this.send(body);
-};
-
-/**
- * Send given HTTP status code.
- *
- * Sets the response status to `statusCode` and the body of the
- * response to the standard description from node's http.STATUS_CODES
- * or the statusCode number if no description.
- *
- * Examples:
- *
- * res.sendStatus(200);
- *
- * @param {number} statusCode
- * @public
- */
-
-res.sendStatus = function sendStatus(statusCode) {
- var body = statuses[statusCode] || String(statusCode)
-
- this.statusCode = statusCode;
- this.type('txt');
-
- return this.send(body);
-};
-
-/**
- * Transfer the file at the given `path`.
- *
- * Automatically sets the _Content-Type_ response header field.
- * The callback `callback(err)` is invoked when the transfer is complete
- * or when an error occurs. Be sure to check `res.sentHeader`
- * if you wish to attempt responding, as the header and some data
- * may have already been transferred.
- *
- * Options:
- *
- * - `maxAge` defaulting to 0 (can be string converted by `ms`)
- * - `root` root directory for relative filenames
- * - `headers` object of headers to serve with file
- * - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them
- *
- * Other options are passed along to `send`.
- *
- * Examples:
- *
- * The following example illustrates how `res.sendFile()` may
- * be used as an alternative for the `static()` middleware for
- * dynamic situations. The code backing `res.sendFile()` is actually
- * the same code, so HTTP cache support etc is identical.
- *
- * app.get('/user/:uid/photos/:file', function(req, res){
- * var uid = req.params.uid
- * , file = req.params.file;
- *
- * req.user.mayViewFilesFrom(uid, function(yes){
- * if (yes) {
- * res.sendFile('/uploads/' + uid + '/' + file);
- * } else {
- * res.send(403, 'Sorry! you cant see that.');
- * }
- * });
- * });
- *
- * @public
- */
-
-res.sendFile = function sendFile(path, options, callback) {
- var done = callback;
- var req = this.req;
- var res = this;
- var next = req.next;
- var opts = options || {};
-
- if (!path) {
- throw new TypeError('path argument is required to res.sendFile');
- }
-
- if (typeof path !== 'string') {
- throw new TypeError('path must be a string to res.sendFile')
- }
-
- // support function as second arg
- if (typeof options === 'function') {
- done = options;
- opts = {};
- }
-
- if (!opts.root && !isAbsolute(path)) {
- throw new TypeError('path must be absolute or specify root to res.sendFile');
- }
-
- // create file stream
- var pathname = encodeURI(path);
- var file = send(req, pathname, opts);
-
- // transfer
- sendfile(res, file, opts, function (err) {
- if (done) return done(err);
- if (err && err.code === 'EISDIR') return next();
-
- // next() all but write errors
- if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') {
- next(err);
- }
- });
-};
-
-/**
- * Transfer the file at the given `path`.
- *
- * Automatically sets the _Content-Type_ response header field.
- * The callback `callback(err)` is invoked when the transfer is complete
- * or when an error occurs. Be sure to check `res.sentHeader`
- * if you wish to attempt responding, as the header and some data
- * may have already been transferred.
- *
- * Options:
- *
- * - `maxAge` defaulting to 0 (can be string converted by `ms`)
- * - `root` root directory for relative filenames
- * - `headers` object of headers to serve with file
- * - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them
- *
- * Other options are passed along to `send`.
- *
- * Examples:
- *
- * The following example illustrates how `res.sendfile()` may
- * be used as an alternative for the `static()` middleware for
- * dynamic situations. The code backing `res.sendfile()` is actually
- * the same code, so HTTP cache support etc is identical.
- *
- * app.get('/user/:uid/photos/:file', function(req, res){
- * var uid = req.params.uid
- * , file = req.params.file;
- *
- * req.user.mayViewFilesFrom(uid, function(yes){
- * if (yes) {
- * res.sendfile('/uploads/' + uid + '/' + file);
- * } else {
- * res.send(403, 'Sorry! you cant see that.');
- * }
- * });
- * });
- *
- * @public
- */
-
-res.sendfile = function (path, options, callback) {
- var done = callback;
- var req = this.req;
- var res = this;
- var next = req.next;
- var opts = options || {};
-
- // support function as second arg
- if (typeof options === 'function') {
- done = options;
- opts = {};
- }
-
- // create file stream
- var file = send(req, path, opts);
-
- // transfer
- sendfile(res, file, opts, function (err) {
- if (done) return done(err);
- if (err && err.code === 'EISDIR') return next();
-
- // next() all but write errors
- if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') {
- next(err);
- }
- });
-};
-
-res.sendfile = deprecate.function(res.sendfile,
- 'res.sendfile: Use res.sendFile instead');
-
-/**
- * Transfer the file at the given `path` as an attachment.
- *
- * Optionally providing an alternate attachment `filename`,
- * and optional callback `callback(err)`. The callback is invoked
- * when the data transfer is complete, or when an error has
- * ocurred. Be sure to check `res.headersSent` if you plan to respond.
- *
- * Optionally providing an `options` object to use with `res.sendFile()`.
- * This function will set the `Content-Disposition` header, overriding
- * any `Content-Disposition` header passed as header options in order
- * to set the attachment and filename.
- *
- * This method uses `res.sendFile()`.
- *
- * @public
- */
-
-res.download = function download (path, filename, options, callback) {
- var done = callback;
- var name = filename;
- var opts = options || null
-
- // support function as second or third arg
- if (typeof filename === 'function') {
- done = filename;
- name = null;
- opts = null
- } else if (typeof options === 'function') {
- done = options
- opts = null
- }
-
- // set Content-Disposition when file is sent
- var headers = {
- 'Content-Disposition': contentDisposition(name || path)
- };
-
- // merge user-provided headers
- if (opts && opts.headers) {
- var keys = Object.keys(opts.headers)
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i]
- if (key.toLowerCase() !== 'content-disposition') {
- headers[key] = opts.headers[key]
- }
- }
- }
-
- // merge user-provided options
- opts = Object.create(opts)
- opts.headers = headers
-
- // Resolve the full path for sendFile
- var fullPath = resolve(path);
-
- // send file
- return this.sendFile(fullPath, opts, done)
-};
-
-/**
- * Set _Content-Type_ response header with `type` through `mime.lookup()`
- * when it does not contain "/", or set the Content-Type to `type` otherwise.
- *
- * Examples:
- *
- * res.type('.html');
- * res.type('html');
- * res.type('json');
- * res.type('application/json');
- * res.type('png');
- *
- * @param {String} type
- * @return {ServerResponse} for chaining
- * @public
- */
-
-res.contentType =
-res.type = function contentType(type) {
- var ct = type.indexOf('/') === -1
- ? mime.lookup(type)
- : type;
-
- return this.set('Content-Type', ct);
-};
-
-/**
- * Respond to the Acceptable formats using an `obj`
- * of mime-type callbacks.
- *
- * This method uses `req.accepted`, an array of
- * acceptable types ordered by their quality values.
- * When "Accept" is not present the _first_ callback
- * is invoked, otherwise the first match is used. When
- * no match is performed the server responds with
- * 406 "Not Acceptable".
- *
- * Content-Type is set for you, however if you choose
- * you may alter this within the callback using `res.type()`
- * or `res.set('Content-Type', ...)`.
- *
- * res.format({
- * 'text/plain': function(){
- * res.send('hey');
- * },
- *
- * 'text/html': function(){
- * res.send('<p>hey</p>');
- * },
- *
- * 'appliation/json': function(){
- * res.send({ message: 'hey' });
- * }
- * });
- *
- * In addition to canonicalized MIME types you may
- * also use extnames mapped to these types:
- *
- * res.format({
- * text: function(){
- * res.send('hey');
- * },
- *
- * html: function(){
- * res.send('<p>hey</p>');
- * },
- *
- * json: function(){
- * res.send({ message: 'hey' });
- * }
- * });
- *
- * By default Express passes an `Error`
- * with a `.status` of 406 to `next(err)`
- * if a match is not made. If you provide
- * a `.default` callback it will be invoked
- * instead.
- *
- * @param {Object} obj
- * @return {ServerResponse} for chaining
- * @public
- */
-
-res.format = function(obj){
- var req = this.req;
- var next = req.next;
-
- var fn = obj.default;
- if (fn) delete obj.default;
- var keys = Object.keys(obj);
-
- var key = keys.length > 0
- ? req.accepts(keys)
- : false;
-
- this.vary("Accept");
-
- if (key) {
- this.set('Content-Type', normalizeType(key).value);
- obj[key](req, this, next);
- } else if (fn) {
- fn();
- } else {
- var err = new Error('Not Acceptable');
- err.status = err.statusCode = 406;
- err.types = normalizeTypes(keys).map(function(o){ return o.value });
- next(err);
- }
-
- return this;
-};
-
-/**
- * Set _Content-Disposition_ header to _attachment_ with optional `filename`.
- *
- * @param {String} filename
- * @return {ServerResponse}
- * @public
- */
-
-res.attachment = function attachment(filename) {
- if (filename) {
- this.type(extname(filename));
- }
-
- this.set('Content-Disposition', contentDisposition(filename));
-
- return this;
-};
-
-/**
- * Append additional header `field` with value `val`.
- *
- * Example:
- *
- * res.append('Link', ['<http://localhost/>', '<http://localhost:3000/>']);
- * res.append('Set-Cookie', 'foo=bar; Path=/; HttpOnly');
- * res.append('Warning', '199 Miscellaneous warning');
- *
- * @param {String} field
- * @param {String|Array} val
- * @return {ServerResponse} for chaining
- * @public
- */
-
-res.append = function append(field, val) {
- var prev = this.get(field);
- var value = val;
-
- if (prev) {
- // concat the new and prev vals
- value = Array.isArray(prev) ? prev.concat(val)
- : Array.isArray(val) ? [prev].concat(val)
- : [prev, val];
- }
-
- return this.set(field, value);
-};
-
-/**
- * Set header `field` to `val`, or pass
- * an object of header fields.
- *
- * Examples:
- *
- * res.set('Foo', ['bar', 'baz']);
- * res.set('Accept', 'application/json');
- * res.set({ Accept: 'text/plain', 'X-API-Key': 'tobi' });
- *
- * Aliased as `res.header()`.
- *
- * @param {String|Object} field
- * @param {String|Array} val
- * @return {ServerResponse} for chaining
- * @public
- */
-
-res.set =
-res.header = function header(field, val) {
- if (arguments.length === 2) {
- var value = Array.isArray(val)
- ? val.map(String)
- : String(val);
-
- // add charset to content-type
- if (field.toLowerCase() === 'content-type') {
- if (Array.isArray(value)) {
- throw new TypeError('Content-Type cannot be set to an Array');
- }
- if (!charsetRegExp.test(value)) {
- var charset = mime.charsets.lookup(value.split(';')[0]);
- if (charset) value += '; charset=' + charset.toLowerCase();
- }
- }
-
- this.setHeader(field, value);
- } else {
- for (var key in field) {
- this.set(key, field[key]);
- }
- }
- return this;
-};
-
-/**
- * Get value for header `field`.
- *
- * @param {String} field
- * @return {String}
- * @public
- */
-
-res.get = function(field){
- return this.getHeader(field);
-};
-
-/**
- * Clear cookie `name`.
- *
- * @param {String} name
- * @param {Object} [options]
- * @return {ServerResponse} for chaining
- * @public
- */
-
-res.clearCookie = function clearCookie(name, options) {
- var opts = merge({ expires: new Date(1), path: '/' }, options);
-
- return this.cookie(name, '', opts);
-};
-
-/**
- * Set cookie `name` to `value`, with the given `options`.
- *
- * Options:
- *
- * - `maxAge` max-age in milliseconds, converted to `expires`
- * - `signed` sign the cookie
- * - `path` defaults to "/"
- *
- * Examples:
- *
- * // "Remember Me" for 15 minutes
- * res.cookie('rememberme', '1', { expires: new Date(Date.now() + 900000), httpOnly: true });
- *
- * // same as above
- * res.cookie('rememberme', '1', { maxAge: 900000, httpOnly: true })
- *
- * @param {String} name
- * @param {String|Object} value
- * @param {Object} [options]
- * @return {ServerResponse} for chaining
- * @public
- */
-
-res.cookie = function (name, value, options) {
- var opts = merge({}, options);
- var secret = this.req.secret;
- var signed = opts.signed;
-
- if (signed && !secret) {
- throw new Error('cookieParser("secret") required for signed cookies');
- }
-
- var val = typeof value === 'object'
- ? 'j:' + JSON.stringify(value)
- : String(value);
-
- if (signed) {
- val = 's:' + sign(val, secret);
- }
-
- if ('maxAge' in opts) {
- opts.expires = new Date(Date.now() + opts.maxAge);
- opts.maxAge /= 1000;
- }
-
- if (opts.path == null) {
- opts.path = '/';
- }
-
- this.append('Set-Cookie', cookie.serialize(name, String(val), opts));
-
- return this;
-};
-
-/**
- * Set the location header to `url`.
- *
- * The given `url` can also be "back", which redirects
- * to the _Referrer_ or _Referer_ headers or "/".
- *
- * Examples:
- *
- * res.location('/foo/bar').;
- * res.location('http://example.com');
- * res.location('../login');
- *
- * @param {String} url
- * @return {ServerResponse} for chaining
- * @public
- */
-
-res.location = function location(url) {
- var loc = url;
-
- // "back" is an alias for the referrer
- if (url === 'back') {
- loc = this.req.get('Referrer') || '/';
- }
-
- // set location
- return this.set('Location', encodeUrl(loc));
-};
-
-/**
- * Redirect to the given `url` with optional response `status`
- * defaulting to 302.
- *
- * The resulting `url` is determined by `res.location()`, so
- * it will play nicely with mounted apps, relative paths,
- * `"back"` etc.
- *
- * Examples:
- *
- * res.redirect('/foo/bar');
- * res.redirect('http://example.com');
- * res.redirect(301, 'http://example.com');
- * res.redirect('../login'); // /blog/post/1 -> /blog/login
- *
- * @public
- */
-
-res.redirect = function redirect(url) {
- var address = url;
- var body;
- var status = 302;
-
- // allow status / url
- if (arguments.length === 2) {
- if (typeof arguments[0] === 'number') {
- status = arguments[0];
- address = arguments[1];
- } else {
- deprecate('res.redirect(url, status): Use res.redirect(status, url) instead');
- status = arguments[1];
- }
- }
-
- // Set location header
- address = this.location(address).get('Location');
-
- // Support text/{plain,html} by default
- this.format({
- text: function(){
- body = statuses[status] + '. Redirecting to ' + address
- },
-
- html: function(){
- var u = escapeHtml(address);
- body = '<p>' + statuses[status] + '. Redirecting to <a href="' + u + '">' + u + '</a></p>'
- },
-
- default: function(){
- body = '';
- }
- });
-
- // Respond
- this.statusCode = status;
- this.set('Content-Length', Buffer.byteLength(body));
-
- if (this.req.method === 'HEAD') {
- this.end();
- } else {
- this.end(body);
- }
-};
-
-/**
- * Add `field` to Vary. If already present in the Vary set, then
- * this call is simply ignored.
- *
- * @param {Array|String} field
- * @return {ServerResponse} for chaining
- * @public
- */
-
-res.vary = function(field){
- // checks for back-compat
- if (!field || (Array.isArray(field) && !field.length)) {
- deprecate('res.vary(): Provide a field name');
- return this;
- }
-
- vary(this, field);
-
- return this;
-};
-
-/**
- * Render `view` with the given `options` and optional callback `fn`.
- * When a callback function is given a response will _not_ be made
- * automatically, otherwise a response of _200_ and _text/html_ is given.
- *
- * Options:
- *
- * - `cache` boolean hinting to the engine it should cache
- * - `filename` filename of the view being rendered
- *
- * @public
- */
-
-res.render = function render(view, options, callback) {
- var app = this.req.app;
- var done = callback;
- var opts = options || {};
- var req = this.req;
- var self = this;
-
- // support callback function as second arg
- if (typeof options === 'function') {
- done = options;
- opts = {};
- }
-
- // merge res.locals
- opts._locals = self.locals;
-
- // default callback to respond
- done = done || function (err, str) {
- if (err) return req.next(err);
- self.send(str);
- };
-
- // render
- app.render(view, opts, done);
-};
-
-// pipe the send file stream
-function sendfile(res, file, options, callback) {
- var done = false;
- var streaming;
-
- // request aborted
- function onaborted() {
- if (done) return;
- done = true;
-
- var err = new Error('Request aborted');
- err.code = 'ECONNABORTED';
- callback(err);
- }
-
- // directory
- function ondirectory() {
- if (done) return;
- done = true;
-
- var err = new Error('EISDIR, read');
- err.code = 'EISDIR';
- callback(err);
- }
-
- // errors
- function onerror(err) {
- if (done) return;
- done = true;
- callback(err);
- }
-
- // ended
- function onend() {
- if (done) return;
- done = true;
- callback();
- }
-
- // file
- function onfile() {
- streaming = false;
- }
-
- // finished
- function onfinish(err) {
- if (err && err.code === 'ECONNRESET') return onaborted();
- if (err) return onerror(err);
- if (done) return;
-
- setImmediate(function () {
- if (streaming !== false && !done) {
- onaborted();
- return;
- }
-
- if (done) return;
- done = true;
- callback();
- });
- }
-
- // streaming
- function onstream() {
- streaming = true;
- }
-
- file.on('directory', ondirectory);
- file.on('end', onend);
- file.on('error', onerror);
- file.on('file', onfile);
- file.on('stream', onstream);
- onFinished(res, onfinish);
-
- if (options.headers) {
- // set headers on successful transfer
- file.on('headers', function headers(res) {
- var obj = options.headers;
- var keys = Object.keys(obj);
-
- for (var i = 0; i < keys.length; i++) {
- var k = keys[i];
- res.setHeader(k, obj[k]);
- }
- });
- }
-
- // pipe
- file.pipe(res);
-}
-
-/**
- * Stringify JSON, like JSON.stringify, but v8 optimized, with the
- * ability to escape characters that can trigger HTML sniffing.
- *
- * @param {*} value
- * @param {function} replaces
- * @param {number} spaces
- * @param {boolean} escape
- * @returns {string}
- * @private
- */
-
-function stringify (value, replacer, spaces, escape) {
- // v8 checks arguments.length for optimizing simple call
- // https://bugs.chromium.org/p/v8/issues/detail?id=4730
- var json = replacer || spaces
- ? JSON.stringify(value, replacer, spaces)
- : JSON.stringify(value);
-
- if (escape) {
- json = json.replace(/[<>&]/g, function (c) {
- switch (c.charCodeAt(0)) {
- case 0x3c:
- return '\\u003c'
- case 0x3e:
- return '\\u003e'
- case 0x26:
- return '\\u0026'
- /* istanbul ignore next: unreachable default */
- default:
- return c
- }
- })
- }
-
- return json
-}
diff --git a/Server/node_modules/express/lib/router/index.js b/Server/node_modules/express/lib/router/index.js
deleted file mode 100644
index 69e6d38..0000000
--- a/Server/node_modules/express/lib/router/index.js
+++ /dev/null
@@ -1,662 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var Route = require('./route');
-var Layer = require('./layer');
-var methods = require('methods');
-var mixin = require('utils-merge');
-var debug = require('debug')('express:router');
-var deprecate = require('depd')('express');
-var flatten = require('array-flatten');
-var parseUrl = require('parseurl');
-var setPrototypeOf = require('setprototypeof')
-
-/**
- * Module variables.
- * @private
- */
-
-var objectRegExp = /^\[object (\S+)\]$/;
-var slice = Array.prototype.slice;
-var toString = Object.prototype.toString;
-
-/**
- * Initialize a new `Router` with the given `options`.
- *
- * @param {Object} [options]
- * @return {Router} which is an callable function
- * @public
- */
-
-var proto = module.exports = function(options) {
- var opts = options || {};
-
- function router(req, res, next) {
- router.handle(req, res, next);
- }
-
- // mixin Router class functions
- setPrototypeOf(router, proto)
-
- router.params = {};
- router._params = [];
- router.caseSensitive = opts.caseSensitive;
- router.mergeParams = opts.mergeParams;
- router.strict = opts.strict;
- router.stack = [];
-
- return router;
-};
-
-/**
- * Map the given param placeholder `name`(s) to the given callback.
- *
- * Parameter mapping is used to provide pre-conditions to routes
- * which use normalized placeholders. For example a _:user_id_ parameter
- * could automatically load a user's information from the database without
- * any additional code,
- *
- * The callback uses the same signature as middleware, the only difference
- * being that the value of the placeholder is passed, in this case the _id_
- * of the user. Once the `next()` function is invoked, just like middleware
- * it will continue on to execute the route, or subsequent parameter functions.
- *
- * Just like in middleware, you must either respond to the request or call next
- * to avoid stalling the request.
- *
- * app.param('user_id', function(req, res, next, id){
- * User.find(id, function(err, user){
- * if (err) {
- * return next(err);
- * } else if (!user) {
- * return next(new Error('failed to load user'));
- * }
- * req.user = user;
- * next();
- * });
- * });
- *
- * @param {String} name
- * @param {Function} fn
- * @return {app} for chaining
- * @public
- */
-
-proto.param = function param(name, fn) {
- // param logic
- if (typeof name === 'function') {
- deprecate('router.param(fn): Refactor to use path params');
- this._params.push(name);
- return;
- }
-
- // apply param functions
- var params = this._params;
- var len = params.length;
- var ret;
-
- if (name[0] === ':') {
- deprecate('router.param(' + JSON.stringify(name) + ', fn): Use router.param(' + JSON.stringify(name.substr(1)) + ', fn) instead');
- name = name.substr(1);
- }
-
- for (var i = 0; i < len; ++i) {
- if (ret = params[i](name, fn)) {
- fn = ret;
- }
- }
-
- // ensure we end up with a
- // middleware function
- if ('function' !== typeof fn) {
- throw new Error('invalid param() call for ' + name + ', got ' + fn);
- }
-
- (this.params[name] = this.params[name] || []).push(fn);
- return this;
-};
-
-/**
- * Dispatch a req, res into the router.
- * @private
- */
-
-proto.handle = function handle(req, res, out) {
- var self = this;
-
- debug('dispatching %s %s', req.method, req.url);
-
- var idx = 0;
- var protohost = getProtohost(req.url) || ''
- var removed = '';
- var slashAdded = false;
- var paramcalled = {};
-
- // store options for OPTIONS request
- // only used if OPTIONS request
- var options = [];
-
- // middleware and routes
- var stack = self.stack;
-
- // manage inter-router variables
- var parentParams = req.params;
- var parentUrl = req.baseUrl || '';
- var done = restore(out, req, 'baseUrl', 'next', 'params');
-
- // setup next layer
- req.next = next;
-
- // for options requests, respond with a default if nothing else responds
- if (req.method === 'OPTIONS') {
- done = wrap(done, function(old, err) {
- if (err || options.length === 0) return old(err);
- sendOptionsResponse(res, options, old);
- });
- }
-
- // setup basic req values
- req.baseUrl = parentUrl;
- req.originalUrl = req.originalUrl || req.url;
-
- next();
-
- function next(err) {
- var layerError = err === 'route'
- ? null
- : err;
-
- // remove added slash
- if (slashAdded) {
- req.url = req.url.substr(1);
- slashAdded = false;
- }
-
- // restore altered req.url
- if (removed.length !== 0) {
- req.baseUrl = parentUrl;
- req.url = protohost + removed + req.url.substr(protohost.length);
- removed = '';
- }
-
- // signal to exit router
- if (layerError === 'router') {
- setImmediate(done, null)
- return
- }
-
- // no more matching layers
- if (idx >= stack.length) {
- setImmediate(done, layerError);
- return;
- }
-
- // get pathname of request
- var path = getPathname(req);
-
- if (path == null) {
- return done(layerError);
- }
-
- // find next matching layer
- var layer;
- var match;
- var route;
-
- while (match !== true && idx < stack.length) {
- layer = stack[idx++];
- match = matchLayer(layer, path);
- route = layer.route;
-
- if (typeof match !== 'boolean') {
- // hold on to layerError
- layerError = layerError || match;
- }
-
- if (match !== true) {
- continue;
- }
-
- if (!route) {
- // process non-route handlers normally
- continue;
- }
-
- if (layerError) {
- // routes do not match with a pending error
- match = false;
- continue;
- }
-
- var method = req.method;
- var has_method = route._handles_method(method);
-
- // build up automatic options response
- if (!has_method && method === 'OPTIONS') {
- appendMethods(options, route._options());
- }
-
- // don't even bother matching route
- if (!has_method && method !== 'HEAD') {
- match = false;
- continue;
- }
- }
-
- // no match
- if (match !== true) {
- return done(layerError);
- }
-
- // store route for dispatch on change
- if (route) {
- req.route = route;
- }
-
- // Capture one-time layer values
- req.params = self.mergeParams
- ? mergeParams(layer.params, parentParams)
- : layer.params;
- var layerPath = layer.path;
-
- // this should be done for the layer
- self.process_params(layer, paramcalled, req, res, function (err) {
- if (err) {
- return next(layerError || err);
- }
-
- if (route) {
- return layer.handle_request(req, res, next);
- }
-
- trim_prefix(layer, layerError, layerPath, path);
- });
- }
-
- function trim_prefix(layer, layerError, layerPath, path) {
- if (layerPath.length !== 0) {
- // Validate path breaks on a path separator
- var c = path[layerPath.length]
- if (c && c !== '/' && c !== '.') return next(layerError)
-
- // Trim off the part of the url that matches the route
- // middleware (.use stuff) needs to have the path stripped
- debug('trim prefix (%s) from url %s', layerPath, req.url);
- removed = layerPath;
- req.url = protohost + req.url.substr(protohost.length + removed.length);
-
- // Ensure leading slash
- if (!protohost && req.url[0] !== '/') {
- req.url = '/' + req.url;
- slashAdded = true;
- }
-
- // Setup base URL (no trailing slash)
- req.baseUrl = parentUrl + (removed[removed.length - 1] === '/'
- ? removed.substring(0, removed.length - 1)
- : removed);
- }
-
- debug('%s %s : %s', layer.name, layerPath, req.originalUrl);
-
- if (layerError) {
- layer.handle_error(layerError, req, res, next);
- } else {
- layer.handle_request(req, res, next);
- }
- }
-};
-
-/**
- * Process any parameters for the layer.
- * @private
- */
-
-proto.process_params = function process_params(layer, called, req, res, done) {
- var params = this.params;
-
- // captured parameters from the layer, keys and values
- var keys = layer.keys;
-
- // fast track
- if (!keys || keys.length === 0) {
- return done();
- }
-
- var i = 0;
- var name;
- var paramIndex = 0;
- var key;
- var paramVal;
- var paramCallbacks;
- var paramCalled;
-
- // process params in order
- // param callbacks can be async
- function param(err) {
- if (err) {
- return done(err);
- }
-
- if (i >= keys.length ) {
- return done();
- }
-
- paramIndex = 0;
- key = keys[i++];
- name = key.name;
- paramVal = req.params[name];
- paramCallbacks = params[name];
- paramCalled = called[name];
-
- if (paramVal === undefined || !paramCallbacks) {
- return param();
- }
-
- // param previously called with same value or error occurred
- if (paramCalled && (paramCalled.match === paramVal
- || (paramCalled.error && paramCalled.error !== 'route'))) {
- // restore value
- req.params[name] = paramCalled.value;
-
- // next param
- return param(paramCalled.error);
- }
-
- called[name] = paramCalled = {
- error: null,
- match: paramVal,
- value: paramVal
- };
-
- paramCallback();
- }
-
- // single param callbacks
- function paramCallback(err) {
- var fn = paramCallbacks[paramIndex++];
-
- // store updated value
- paramCalled.value = req.params[key.name];
-
- if (err) {
- // store error
- paramCalled.error = err;
- param(err);
- return;
- }
-
- if (!fn) return param();
-
- try {
- fn(req, res, paramCallback, paramVal, key.name);
- } catch (e) {
- paramCallback(e);
- }
- }
-
- param();
-};
-
-/**
- * Use the given middleware function, with optional path, defaulting to "/".
- *
- * Use (like `.all`) will run for any http METHOD, but it will not add
- * handlers for those methods so OPTIONS requests will not consider `.use`
- * functions even if they could respond.
- *
- * The other difference is that _route_ path is stripped and not visible
- * to the handler function. The main effect of this feature is that mounted
- * handlers can operate without any code changes regardless of the "prefix"
- * pathname.
- *
- * @public
- */
-
-proto.use = function use(fn) {
- var offset = 0;
- var path = '/';
-
- // default path to '/'
- // disambiguate router.use([fn])
- if (typeof fn !== 'function') {
- var arg = fn;
-
- while (Array.isArray(arg) && arg.length !== 0) {
- arg = arg[0];
- }
-
- // first arg is the path
- if (typeof arg !== 'function') {
- offset = 1;
- path = fn;
- }
- }
-
- var callbacks = flatten(slice.call(arguments, offset));
-
- if (callbacks.length === 0) {
- throw new TypeError('Router.use() requires a middleware function')
- }
-
- for (var i = 0; i < callbacks.length; i++) {
- var fn = callbacks[i];
-
- if (typeof fn !== 'function') {
- throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
- }
-
- // add the middleware
- debug('use %o %s', path, fn.name || '<anonymous>')
-
- var layer = new Layer(path, {
- sensitive: this.caseSensitive,
- strict: false,
- end: false
- }, fn);
-
- layer.route = undefined;
-
- this.stack.push(layer);
- }
-
- return this;
-};
-
-/**
- * Create a new Route for the given path.
- *
- * Each route contains a separate middleware stack and VERB handlers.
- *
- * See the Route api documentation for details on adding handlers
- * and middleware to routes.
- *
- * @param {String} path
- * @return {Route}
- * @public
- */
-
-proto.route = function route(path) {
- var route = new Route(path);
-
- var layer = new Layer(path, {
- sensitive: this.caseSensitive,
- strict: this.strict,
- end: true
- }, route.dispatch.bind(route));
-
- layer.route = route;
-
- this.stack.push(layer);
- return route;
-};
-
-// create Router#VERB functions
-methods.concat('all').forEach(function(method){
- proto[method] = function(path){
- var route = this.route(path)
- route[method].apply(route, slice.call(arguments, 1));
- return this;
- };
-});
-
-// append methods to a list of methods
-function appendMethods(list, addition) {
- for (var i = 0; i < addition.length; i++) {
- var method = addition[i];
- if (list.indexOf(method) === -1) {
- list.push(method);
- }
- }
-}
-
-// get pathname of request
-function getPathname(req) {
- try {
- return parseUrl(req).pathname;
- } catch (err) {
- return undefined;
- }
-}
-
-// Get get protocol + host for a URL
-function getProtohost(url) {
- if (typeof url !== 'string' || url.length === 0 || url[0] === '/') {
- return undefined
- }
-
- var searchIndex = url.indexOf('?')
- var pathLength = searchIndex !== -1
- ? searchIndex
- : url.length
- var fqdnIndex = url.substr(0, pathLength).indexOf('://')
-
- return fqdnIndex !== -1
- ? url.substr(0, url.indexOf('/', 3 + fqdnIndex))
- : undefined
-}
-
-// get type for error message
-function gettype(obj) {
- var type = typeof obj;
-
- if (type !== 'object') {
- return type;
- }
-
- // inspect [[Class]] for objects
- return toString.call(obj)
- .replace(objectRegExp, '$1');
-}
-
-/**
- * Match path to a layer.
- *
- * @param {Layer} layer
- * @param {string} path
- * @private
- */
-
-function matchLayer(layer, path) {
- try {
- return layer.match(path);
- } catch (err) {
- return err;
- }
-}
-
-// merge params with parent params
-function mergeParams(params, parent) {
- if (typeof parent !== 'object' || !parent) {
- return params;
- }
-
- // make copy of parent for base
- var obj = mixin({}, parent);
-
- // simple non-numeric merging
- if (!(0 in params) || !(0 in parent)) {
- return mixin(obj, params);
- }
-
- var i = 0;
- var o = 0;
-
- // determine numeric gaps
- while (i in params) {
- i++;
- }
-
- while (o in parent) {
- o++;
- }
-
- // offset numeric indices in params before merge
- for (i--; i >= 0; i--) {
- params[i + o] = params[i];
-
- // create holes for the merge when necessary
- if (i < o) {
- delete params[i];
- }
- }
-
- return mixin(obj, params);
-}
-
-// restore obj props after function
-function restore(fn, obj) {
- var props = new Array(arguments.length - 2);
- var vals = new Array(arguments.length - 2);
-
- for (var i = 0; i < props.length; i++) {
- props[i] = arguments[i + 2];
- vals[i] = obj[props[i]];
- }
-
- return function () {
- // restore vals
- for (var i = 0; i < props.length; i++) {
- obj[props[i]] = vals[i];
- }
-
- return fn.apply(this, arguments);
- };
-}
-
-// send an OPTIONS response
-function sendOptionsResponse(res, options, next) {
- try {
- var body = options.join(',');
- res.set('Allow', body);
- res.send(body);
- } catch (err) {
- next(err);
- }
-}
-
-// wrap a function
-function wrap(old, fn) {
- return function proxy() {
- var args = new Array(arguments.length + 1);
-
- args[0] = old;
- for (var i = 0, len = arguments.length; i < len; i++) {
- args[i + 1] = arguments[i];
- }
-
- fn.apply(this, args);
- };
-}
diff --git a/Server/node_modules/express/lib/router/layer.js b/Server/node_modules/express/lib/router/layer.js
deleted file mode 100644
index 4dc8e86..0000000
--- a/Server/node_modules/express/lib/router/layer.js
+++ /dev/null
@@ -1,181 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var pathRegexp = require('path-to-regexp');
-var debug = require('debug')('express:router:layer');
-
-/**
- * Module variables.
- * @private
- */
-
-var hasOwnProperty = Object.prototype.hasOwnProperty;
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = Layer;
-
-function Layer(path, options, fn) {
- if (!(this instanceof Layer)) {
- return new Layer(path, options, fn);
- }
-
- debug('new %o', path)
- var opts = options || {};
-
- this.handle = fn;
- this.name = fn.name || '<anonymous>';
- this.params = undefined;
- this.path = undefined;
- this.regexp = pathRegexp(path, this.keys = [], opts);
-
- // set fast path flags
- this.regexp.fast_star = path === '*'
- this.regexp.fast_slash = path === '/' && opts.end === false
-}
-
-/**
- * Handle the error for the layer.
- *
- * @param {Error} error
- * @param {Request} req
- * @param {Response} res
- * @param {function} next
- * @api private
- */
-
-Layer.prototype.handle_error = function handle_error(error, req, res, next) {
- var fn = this.handle;
-
- if (fn.length !== 4) {
- // not a standard error handler
- return next(error);
- }
-
- try {
- fn(error, req, res, next);
- } catch (err) {
- next(err);
- }
-};
-
-/**
- * Handle the request for the layer.
- *
- * @param {Request} req
- * @param {Response} res
- * @param {function} next
- * @api private
- */
-
-Layer.prototype.handle_request = function handle(req, res, next) {
- var fn = this.handle;
-
- if (fn.length > 3) {
- // not a standard request handler
- return next();
- }
-
- try {
- fn(req, res, next);
- } catch (err) {
- next(err);
- }
-};
-
-/**
- * Check if this route matches `path`, if so
- * populate `.params`.
- *
- * @param {String} path
- * @return {Boolean}
- * @api private
- */
-
-Layer.prototype.match = function match(path) {
- var match
-
- if (path != null) {
- // fast path non-ending match for / (any path matches)
- if (this.regexp.fast_slash) {
- this.params = {}
- this.path = ''
- return true
- }
-
- // fast path for * (everything matched in a param)
- if (this.regexp.fast_star) {
- this.params = {'0': decode_param(path)}
- this.path = path
- return true
- }
-
- // match the path
- match = this.regexp.exec(path)
- }
-
- if (!match) {
- this.params = undefined;
- this.path = undefined;
- return false;
- }
-
- // store values
- this.params = {};
- this.path = match[0]
-
- var keys = this.keys;
- var params = this.params;
-
- for (var i = 1; i < match.length; i++) {
- var key = keys[i - 1];
- var prop = key.name;
- var val = decode_param(match[i])
-
- if (val !== undefined || !(hasOwnProperty.call(params, prop))) {
- params[prop] = val;
- }
- }
-
- return true;
-};
-
-/**
- * Decode param value.
- *
- * @param {string} val
- * @return {string}
- * @private
- */
-
-function decode_param(val) {
- if (typeof val !== 'string' || val.length === 0) {
- return val;
- }
-
- try {
- return decodeURIComponent(val);
- } catch (err) {
- if (err instanceof URIError) {
- err.message = 'Failed to decode param \'' + val + '\'';
- err.status = err.statusCode = 400;
- }
-
- throw err;
- }
-}
diff --git a/Server/node_modules/express/lib/router/route.js b/Server/node_modules/express/lib/router/route.js
deleted file mode 100644
index 178df0d..0000000
--- a/Server/node_modules/express/lib/router/route.js
+++ /dev/null
@@ -1,216 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var debug = require('debug')('express:router:route');
-var flatten = require('array-flatten');
-var Layer = require('./layer');
-var methods = require('methods');
-
-/**
- * Module variables.
- * @private
- */
-
-var slice = Array.prototype.slice;
-var toString = Object.prototype.toString;
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = Route;
-
-/**
- * Initialize `Route` with the given `path`,
- *
- * @param {String} path
- * @public
- */
-
-function Route(path) {
- this.path = path;
- this.stack = [];
-
- debug('new %o', path)
-
- // route handlers for various http methods
- this.methods = {};
-}
-
-/**
- * Determine if the route handles a given method.
- * @private
- */
-
-Route.prototype._handles_method = function _handles_method(method) {
- if (this.methods._all) {
- return true;
- }
-
- var name = method.toLowerCase();
-
- if (name === 'head' && !this.methods['head']) {
- name = 'get';
- }
-
- return Boolean(this.methods[name]);
-};
-
-/**
- * @return {Array} supported HTTP methods
- * @private
- */
-
-Route.prototype._options = function _options() {
- var methods = Object.keys(this.methods);
-
- // append automatic head
- if (this.methods.get && !this.methods.head) {
- methods.push('head');
- }
-
- for (var i = 0; i < methods.length; i++) {
- // make upper case
- methods[i] = methods[i].toUpperCase();
- }
-
- return methods;
-};
-
-/**
- * dispatch req, res into this route
- * @private
- */
-
-Route.prototype.dispatch = function dispatch(req, res, done) {
- var idx = 0;
- var stack = this.stack;
- if (stack.length === 0) {
- return done();
- }
-
- var method = req.method.toLowerCase();
- if (method === 'head' && !this.methods['head']) {
- method = 'get';
- }
-
- req.route = this;
-
- next();
-
- function next(err) {
- // signal to exit route
- if (err && err === 'route') {
- return done();
- }
-
- // signal to exit router
- if (err && err === 'router') {
- return done(err)
- }
-
- var layer = stack[idx++];
- if (!layer) {
- return done(err);
- }
-
- if (layer.method && layer.method !== method) {
- return next(err);
- }
-
- if (err) {
- layer.handle_error(err, req, res, next);
- } else {
- layer.handle_request(req, res, next);
- }
- }
-};
-
-/**
- * Add a handler for all HTTP verbs to this route.
- *
- * Behaves just like middleware and can respond or call `next`
- * to continue processing.
- *
- * You can use multiple `.all` call to add multiple handlers.
- *
- * function check_something(req, res, next){
- * next();
- * };
- *
- * function validate_user(req, res, next){
- * next();
- * };
- *
- * route
- * .all(validate_user)
- * .all(check_something)
- * .get(function(req, res, next){
- * res.send('hello world');
- * });
- *
- * @param {function} handler
- * @return {Route} for chaining
- * @api public
- */
-
-Route.prototype.all = function all() {
- var handles = flatten(slice.call(arguments));
-
- for (var i = 0; i < handles.length; i++) {
- var handle = handles[i];
-
- if (typeof handle !== 'function') {
- var type = toString.call(handle);
- var msg = 'Route.all() requires a callback function but got a ' + type
- throw new TypeError(msg);
- }
-
- var layer = Layer('/', {}, handle);
- layer.method = undefined;
-
- this.methods._all = true;
- this.stack.push(layer);
- }
-
- return this;
-};
-
-methods.forEach(function(method){
- Route.prototype[method] = function(){
- var handles = flatten(slice.call(arguments));
-
- for (var i = 0; i < handles.length; i++) {
- var handle = handles[i];
-
- if (typeof handle !== 'function') {
- var type = toString.call(handle);
- var msg = 'Route.' + method + '() requires a callback function but got a ' + type
- throw new Error(msg);
- }
-
- debug('%s %o', method, this.path)
-
- var layer = Layer('/', {}, handle);
- layer.method = method;
-
- this.methods[method] = true;
- this.stack.push(layer);
- }
-
- return this;
- };
-});
diff --git a/Server/node_modules/express/lib/utils.js b/Server/node_modules/express/lib/utils.js
deleted file mode 100644
index bd81ac7..0000000
--- a/Server/node_modules/express/lib/utils.js
+++ /dev/null
@@ -1,306 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @api private
- */
-
-var Buffer = require('safe-buffer').Buffer
-var contentDisposition = require('content-disposition');
-var contentType = require('content-type');
-var deprecate = require('depd')('express');
-var flatten = require('array-flatten');
-var mime = require('send').mime;
-var etag = require('etag');
-var proxyaddr = require('proxy-addr');
-var qs = require('qs');
-var querystring = require('querystring');
-
-/**
- * Return strong ETag for `body`.
- *
- * @param {String|Buffer} body
- * @param {String} [encoding]
- * @return {String}
- * @api private
- */
-
-exports.etag = createETagGenerator({ weak: false })
-
-/**
- * Return weak ETag for `body`.
- *
- * @param {String|Buffer} body
- * @param {String} [encoding]
- * @return {String}
- * @api private
- */
-
-exports.wetag = createETagGenerator({ weak: true })
-
-/**
- * Check if `path` looks absolute.
- *
- * @param {String} path
- * @return {Boolean}
- * @api private
- */
-
-exports.isAbsolute = function(path){
- if ('/' === path[0]) return true;
- if (':' === path[1] && ('\\' === path[2] || '/' === path[2])) return true; // Windows device path
- if ('\\\\' === path.substring(0, 2)) return true; // Microsoft Azure absolute path
-};
-
-/**
- * Flatten the given `arr`.
- *
- * @param {Array} arr
- * @return {Array}
- * @api private
- */
-
-exports.flatten = deprecate.function(flatten,
- 'utils.flatten: use array-flatten npm module instead');
-
-/**
- * Normalize the given `type`, for example "html" becomes "text/html".
- *
- * @param {String} type
- * @return {Object}
- * @api private
- */
-
-exports.normalizeType = function(type){
- return ~type.indexOf('/')
- ? acceptParams(type)
- : { value: mime.lookup(type), params: {} };
-};
-
-/**
- * Normalize `types`, for example "html" becomes "text/html".
- *
- * @param {Array} types
- * @return {Array}
- * @api private
- */
-
-exports.normalizeTypes = function(types){
- var ret = [];
-
- for (var i = 0; i < types.length; ++i) {
- ret.push(exports.normalizeType(types[i]));
- }
-
- return ret;
-};
-
-/**
- * Generate Content-Disposition header appropriate for the filename.
- * non-ascii filenames are urlencoded and a filename* parameter is added
- *
- * @param {String} filename
- * @return {String}
- * @api private
- */
-
-exports.contentDisposition = deprecate.function(contentDisposition,
- 'utils.contentDisposition: use content-disposition npm module instead');
-
-/**
- * Parse accept params `str` returning an
- * object with `.value`, `.quality` and `.params`.
- * also includes `.originalIndex` for stable sorting
- *
- * @param {String} str
- * @return {Object}
- * @api private
- */
-
-function acceptParams(str, index) {
- var parts = str.split(/ *; */);
- var ret = { value: parts[0], quality: 1, params: {}, originalIndex: index };
-
- for (var i = 1; i < parts.length; ++i) {
- var pms = parts[i].split(/ *= */);
- if ('q' === pms[0]) {
- ret.quality = parseFloat(pms[1]);
- } else {
- ret.params[pms[0]] = pms[1];
- }
- }
-
- return ret;
-}
-
-/**
- * Compile "etag" value to function.
- *
- * @param {Boolean|String|Function} val
- * @return {Function}
- * @api private
- */
-
-exports.compileETag = function(val) {
- var fn;
-
- if (typeof val === 'function') {
- return val;
- }
-
- switch (val) {
- case true:
- fn = exports.wetag;
- break;
- case false:
- break;
- case 'strong':
- fn = exports.etag;
- break;
- case 'weak':
- fn = exports.wetag;
- break;
- default:
- throw new TypeError('unknown value for etag function: ' + val);
- }
-
- return fn;
-}
-
-/**
- * Compile "query parser" value to function.
- *
- * @param {String|Function} val
- * @return {Function}
- * @api private
- */
-
-exports.compileQueryParser = function compileQueryParser(val) {
- var fn;
-
- if (typeof val === 'function') {
- return val;
- }
-
- switch (val) {
- case true:
- fn = querystring.parse;
- break;
- case false:
- fn = newObject;
- break;
- case 'extended':
- fn = parseExtendedQueryString;
- break;
- case 'simple':
- fn = querystring.parse;
- break;
- default:
- throw new TypeError('unknown value for query parser function: ' + val);
- }
-
- return fn;
-}
-
-/**
- * Compile "proxy trust" value to function.
- *
- * @param {Boolean|String|Number|Array|Function} val
- * @return {Function}
- * @api private
- */
-
-exports.compileTrust = function(val) {
- if (typeof val === 'function') return val;
-
- if (val === true) {
- // Support plain true/false
- return function(){ return true };
- }
-
- if (typeof val === 'number') {
- // Support trusting hop count
- return function(a, i){ return i < val };
- }
-
- if (typeof val === 'string') {
- // Support comma-separated values
- val = val.split(/ *, */);
- }
-
- return proxyaddr.compile(val || []);
-}
-
-/**
- * Set the charset in a given Content-Type string.
- *
- * @param {String} type
- * @param {String} charset
- * @return {String}
- * @api private
- */
-
-exports.setCharset = function setCharset(type, charset) {
- if (!type || !charset) {
- return type;
- }
-
- // parse type
- var parsed = contentType.parse(type);
-
- // set charset
- parsed.parameters.charset = charset;
-
- // format type
- return contentType.format(parsed);
-};
-
-/**
- * Create an ETag generator function, generating ETags with
- * the given options.
- *
- * @param {object} options
- * @return {function}
- * @private
- */
-
-function createETagGenerator (options) {
- return function generateETag (body, encoding) {
- var buf = !Buffer.isBuffer(body)
- ? Buffer.from(body, encoding)
- : body
-
- return etag(buf, options)
- }
-}
-
-/**
- * Parse an extended query string with qs.
- *
- * @return {Object}
- * @private
- */
-
-function parseExtendedQueryString(str) {
- return qs.parse(str, {
- allowPrototypes: true
- });
-}
-
-/**
- * Return new empty object.
- *
- * @return {Object}
- * @api private
- */
-
-function newObject() {
- return {};
-}
diff --git a/Server/node_modules/express/lib/view.js b/Server/node_modules/express/lib/view.js
deleted file mode 100644
index cf101ca..0000000
--- a/Server/node_modules/express/lib/view.js
+++ /dev/null
@@ -1,182 +0,0 @@
-/*!
- * express
- * Copyright(c) 2009-2013 TJ Holowaychuk
- * Copyright(c) 2013 Roman Shtylman
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var debug = require('debug')('express:view');
-var path = require('path');
-var fs = require('fs');
-
-/**
- * Module variables.
- * @private
- */
-
-var dirname = path.dirname;
-var basename = path.basename;
-var extname = path.extname;
-var join = path.join;
-var resolve = path.resolve;
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = View;
-
-/**
- * Initialize a new `View` with the given `name`.
- *
- * Options:
- *
- * - `defaultEngine` the default template engine name
- * - `engines` template engine require() cache
- * - `root` root path for view lookup
- *
- * @param {string} name
- * @param {object} options
- * @public
- */
-
-function View(name, options) {
- var opts = options || {};
-
- this.defaultEngine = opts.defaultEngine;
- this.ext = extname(name);
- this.name = name;
- this.root = opts.root;
-
- if (!this.ext && !this.defaultEngine) {
- throw new Error('No default engine was specified and no extension was provided.');
- }
-
- var fileName = name;
-
- if (!this.ext) {
- // get extension from default engine name
- this.ext = this.defaultEngine[0] !== '.'
- ? '.' + this.defaultEngine
- : this.defaultEngine;
-
- fileName += this.ext;
- }
-
- if (!opts.engines[this.ext]) {
- // load engine
- var mod = this.ext.substr(1)
- debug('require "%s"', mod)
-
- // default engine export
- var fn = require(mod).__express
-
- if (typeof fn !== 'function') {
- throw new Error('Module "' + mod + '" does not provide a view engine.')
- }
-
- opts.engines[this.ext] = fn
- }
-
- // store loaded engine
- this.engine = opts.engines[this.ext];
-
- // lookup path
- this.path = this.lookup(fileName);
-}
-
-/**
- * Lookup view by the given `name`
- *
- * @param {string} name
- * @private
- */
-
-View.prototype.lookup = function lookup(name) {
- var path;
- var roots = [].concat(this.root);
-
- debug('lookup "%s"', name);
-
- for (var i = 0; i < roots.length && !path; i++) {
- var root = roots[i];
-
- // resolve the path
- var loc = resolve(root, name);
- var dir = dirname(loc);
- var file = basename(loc);
-
- // resolve the file
- path = this.resolve(dir, file);
- }
-
- return path;
-};
-
-/**
- * Render with the given options.
- *
- * @param {object} options
- * @param {function} callback
- * @private
- */
-
-View.prototype.render = function render(options, callback) {
- debug('render "%s"', this.path);
- this.engine(this.path, options, callback);
-};
-
-/**
- * Resolve the file within the given directory.
- *
- * @param {string} dir
- * @param {string} file
- * @private
- */
-
-View.prototype.resolve = function resolve(dir, file) {
- var ext = this.ext;
-
- // <path>.<ext>
- var path = join(dir, file);
- var stat = tryStat(path);
-
- if (stat && stat.isFile()) {
- return path;
- }
-
- // <path>/index.<ext>
- path = join(dir, basename(file, ext), 'index' + ext);
- stat = tryStat(path);
-
- if (stat && stat.isFile()) {
- return path;
- }
-};
-
-/**
- * Return a stat, maybe.
- *
- * @param {string} path
- * @return {fs.Stats}
- * @private
- */
-
-function tryStat(path) {
- debug('stat "%s"', path);
-
- try {
- return fs.statSync(path);
- } catch (e) {
- return undefined;
- }
-}
diff --git a/Server/node_modules/express/package.json b/Server/node_modules/express/package.json
deleted file mode 100644
index 2753357..0000000
--- a/Server/node_modules/express/package.json
+++ /dev/null
@@ -1,154 +0,0 @@
-{
- "_from": "express",
- "_id": "express@4.17.1",
- "_inBundle": false,
- "_integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
- "_location": "/express",
- "_phantomChildren": {},
- "_requested": {
- "type": "tag",
- "registry": true,
- "raw": "express",
- "name": "express",
- "escapedName": "express",
- "rawSpec": "",
- "saveSpec": null,
- "fetchSpec": "latest"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
- "_shasum": "4491fc38605cf51f8629d39c2b5d026f98a4c134",
- "_spec": "express",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca"
- },
- "bugs": {
- "url": "https://github.com/expressjs/express/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Aaron Heckmann",
- "email": "aaron.heckmann+github@gmail.com"
- },
- {
- "name": "Ciaran Jessup",
- "email": "ciaranj@gmail.com"
- },
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Guillermo Rauch",
- "email": "rauchg@gmail.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com"
- },
- {
- "name": "Roman Shtylman",
- "email": "shtylman+expressjs@gmail.com"
- },
- {
- "name": "Young Jae Sim",
- "email": "hanul@hanul.me"
- }
- ],
- "dependencies": {
- "accepts": "~1.3.7",
- "array-flatten": "1.1.1",
- "body-parser": "1.19.0",
- "content-disposition": "0.5.3",
- "content-type": "~1.0.4",
- "cookie": "0.4.0",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "~1.1.2",
- "fresh": "0.5.2",
- "merge-descriptors": "1.0.1",
- "methods": "~1.1.2",
- "on-finished": "~2.3.0",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.7",
- "proxy-addr": "~2.0.5",
- "qs": "6.7.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.1.2",
- "send": "0.17.1",
- "serve-static": "1.14.1",
- "setprototypeof": "1.1.1",
- "statuses": "~1.5.0",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "deprecated": false,
- "description": "Fast, unopinionated, minimalist web framework",
- "devDependencies": {
- "after": "0.8.2",
- "connect-redis": "3.4.1",
- "cookie-parser": "~1.4.4",
- "cookie-session": "1.3.3",
- "ejs": "2.6.1",
- "eslint": "2.13.1",
- "express-session": "1.16.1",
- "hbs": "4.0.4",
- "istanbul": "0.4.5",
- "marked": "0.6.2",
- "method-override": "3.0.0",
- "mocha": "5.2.0",
- "morgan": "1.9.1",
- "multiparty": "4.2.1",
- "pbkdf2-password": "1.2.1",
- "should": "13.2.3",
- "supertest": "3.3.0",
- "vhost": "~3.0.2"
- },
- "engines": {
- "node": ">= 0.10.0"
- },
- "files": [
- "LICENSE",
- "History.md",
- "Readme.md",
- "index.js",
- "lib/"
- ],
- "homepage": "http://expressjs.com/",
- "keywords": [
- "express",
- "framework",
- "sinatra",
- "web",
- "rest",
- "restful",
- "router",
- "app",
- "api"
- ],
- "license": "MIT",
- "name": "express",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/expressjs/express.git"
- },
- "scripts": {
- "lint": "eslint .",
- "test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/ test/acceptance/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/ test/acceptance/",
- "test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/"
- },
- "version": "4.17.1"
-}
diff --git a/Server/node_modules/filelist/Jakefile b/Server/node_modules/filelist/Jakefile
deleted file mode 100644
index ef22ba0..0000000
--- a/Server/node_modules/filelist/Jakefile
+++ /dev/null
@@ -1,14 +0,0 @@
-testTask('FileList', function () {
- this.testFiles.include('test/*.js');
-});
-
-publishTask('FileList', function () {
- this.packageFiles.include([
- 'Jakefile'
- , 'README.md'
- , 'package.json'
- , 'index.js'
- ]);
-});
-
-
diff --git a/Server/node_modules/filelist/README.md b/Server/node_modules/filelist/README.md
deleted file mode 100644
index b52ebe7..0000000
--- a/Server/node_modules/filelist/README.md
+++ /dev/null
@@ -1,84 +0,0 @@
-## FileList
-
-A FileList is a lazy-evaluated list of files. When given a list
-of glob patterns for possible files to be included in the file
-list, instead of searching the file structures to find the files,
-a FileList holds the pattern for latter use.
-
-This allows you to define a FileList to match any number of
-files, but only search out the actual files when then FileList
-itself is actually used. The key is that the first time an
-element of the FileList/Array is requested, the pending patterns
-are resolved into a real list of file names.
-
-### Usage
-
-Add files to the list with the `include` method. You can add glob
-patterns, individual files, or RegExp objects. When the Array
-methods are invoked on the FileList, these items are resolved to
-an actual list of files.
-
-```javascript
-var fl = new FileList();
-fl.include('test/*.js');
-fl.exclude('test/helpers.js');
-```
-
-Use the `exclude` method to override inclusions. You can use this
-when your inclusions are too broad.
-
-### Array methods
-
-FileList has lazy-evaluated versions of most of the array
-methods, including the following:
-
-* join
-* pop
-* push
-* concat
-* reverse
-* shift
-* unshift
-* slice
-* splice
-* sort
-* filter
-* forEach
-* some
-* every
-* map
-* indexOf
-* lastIndexOf
-* reduce
-* reduceRight
-
-When you call one of these methods, the items in the FileList
-will be resolved to the full list of files, and the method will
-be invoked on that result.
-
-### Special `length` method
-
-`length`: FileList includes a length *method* (instead of a
-property) which returns the number of actual files in the list
-once it's been resolved.
-
-### FileList-specific methods
-
-`include`: Add a filename/glob/regex to the list
-
-`exclude`: Override inclusions by excluding a filename/glob/regex
-
-`resolve`: Resolve the items in the FileList to the full list of
-files. This method is invoked automatically when one of the array
-methods is called.
-
-`toArray`: Immediately resolves the list of items, and returns an
-actual array of filepaths.
-
-`clearInclusions`: Clears any pending items -- must be used
-before resolving the list.
-
-`clearExclusions`: Clears the list of exclusions rules.
-
-
-
diff --git a/Server/node_modules/filelist/index.js b/Server/node_modules/filelist/index.js
deleted file mode 100644
index 3362e3b..0000000
--- a/Server/node_modules/filelist/index.js
+++ /dev/null
@@ -1,484 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-var fs = require('fs')
-, path = require('path')
-, minimatch = require('minimatch')
-, escapeRegExpChars
-, merge
-, basedir
-, _readDir
-, readdirR
-, globSync;
-
- /**
- @name escapeRegExpChars
- @function
- @return {String} A string of escaped characters
- @description Escapes regex control-characters in strings
- used to build regexes dynamically
- @param {String} string The string of chars to escape
- */
- escapeRegExpChars = (function () {
- var specials = [ '^', '$', '/', '.', '*', '+', '?', '|', '(', ')',
- '[', ']', '{', '}', '\\' ];
- var sRE = new RegExp('(\\' + specials.join('|\\') + ')', 'g');
- return function (string) {
- var str = string || '';
- str = String(str);
- return str.replace(sRE, '\\$1');
- };
- })();
-
- /**
- @name merge
- @function
- @return {Object} Returns the merged object
- @description Merge merges `otherObject` into `object` and takes care of deep
- merging of objects
- @param {Object} object Object to merge into
- @param {Object} otherObject Object to read from
- */
- merge = function (object, otherObject) {
- var obj = object || {}
- , otherObj = otherObject || {}
- , key, value;
-
- for (key in otherObj) {
- value = otherObj[key];
-
- // Check if a value is an Object, if so recursively add it's key/values
- if (typeof value === 'object' && !(value instanceof Array)) {
- // Update value of object to the one from otherObj
- obj[key] = merge(obj[key], value);
- }
- // Value is anything other than an Object, so just add it
- else {
- obj[key] = value;
- }
- }
-
- return obj;
- };
- /**
- Given a patern, return the base directory of it (ie. the folder
- that will contain all the files matching the path).
- eg. file.basedir('/test/**') => '/test/'
- Path ending by '/' are considerd as folder while other are considerd
- as files, eg.:
- file.basedir('/test/a/') => '/test/a'
- file.basedir('/test/a') => '/test'
- The returned path always end with a '/' so we have:
- file.basedir(file.basedir(x)) == file.basedir(x)
- */
- basedir = function (pathParam) {
- var bd = ''
- , parts
- , part
- , pos = 0
- , p = pathParam || '';
-
- // If the path has a leading asterisk, basedir is the current dir
- if (p.indexOf('*') == 0 || p.indexOf('**') == 0) {
- return '.';
- }
-
- // always consider .. at the end as a folder and not a filename
- if (/(?:^|\/|\\)\.\.$/.test(p.slice(-3))) {
- p += '/';
- }
-
- parts = p.split(/\\|\//);
- for (var i = 0, l = parts.length - 1; i < l; i++) {
- part = parts[i];
- if (part.indexOf('*') > -1 || part.indexOf('**') > -1) {
- break;
- }
- pos += part.length + 1;
- bd += part + p[pos - 1];
- }
- if (!bd) {
- bd = '.';
- }
- // Strip trailing slashes
- if (!(bd == '\\' || bd == '/')) {
- bd = bd.replace(/\\$|\/$/, '');
- }
- return bd;
-
- };
-
- // Return the contents of a given directory
- _readDir = function (dirPath) {
- var dir = path.normalize(dirPath)
- , paths = []
- , ret = [dir]
- , msg;
-
- try {
- paths = fs.readdirSync(dir);
- }
- catch (e) {
- msg = 'Could not read path ' + dir + '\n';
- if (e.stack) {
- msg += e.stack;
- }
- throw new Error(msg);
- }
-
- paths.forEach(function (p) {
- var curr = path.join(dir, p);
- var stat = fs.statSync(curr);
- if (stat.isDirectory()) {
- ret = ret.concat(_readDir(curr));
- }
- else {
- ret.push(curr);
- }
- });
-
- return ret;
- };
-
- /**
- @name file#readdirR
- @function
- @return {Array} Returns the contents as an Array, can be configured via opts.format
- @description Reads the given directory returning it's contents
- @param {String} dir The directory to read
- @param {Object} opts Options to use
- @param {String} [opts.format] Set the format to return(Default: Array)
- */
- readdirR = function (dir, opts) {
- var options = opts || {}
- , format = options.format || 'array'
- , ret;
- ret = _readDir(dir);
- return format == 'string' ? ret.join('\n') : ret;
- };
-
-
-globSync = function (pat, opts) {
- var dirname = basedir(pat)
- , files
- , matches;
-
- try {
- files = readdirR(dirname).map(function(file){
- return file.replace(/\\/g, '/');
- });
- }
- // Bail if path doesn't exist -- assume no files
- catch(e) {
- console.error(e.message);
- }
-
- if (files) {
- pat = path.normalize(pat);
- matches = minimatch.match(files, pat, opts || {});
- }
- return matches || [];
-};
-
-// Constants
-// ---------------
-// List of all the builtin Array methods we want to override
-var ARRAY_METHODS = Object.getOwnPropertyNames(Array.prototype)
-// Array methods that return a copy instead of affecting the original
- , SPECIAL_RETURN = {
- 'concat': true
- , 'slice': true
- , 'filter': true
- , 'map': true
- }
-// Default file-patterns we want to ignore
- , DEFAULT_IGNORE_PATTERNS = [
- /(^|[\/\\])CVS([\/\\]|$)/
- , /(^|[\/\\])\.svn([\/\\]|$)/
- , /(^|[\/\\])\.git([\/\\]|$)/
- , /\.bak$/
- , /~$/
- ]
-// Ignore core files
- , DEFAULT_IGNORE_FUNCS = [
- function (name) {
- var isDir = false
- , stats;
- try {
- stats = fs.statSync(name);
- isDir = stats.isDirectory();
- }
- catch(e) {}
- return (/(^|[\/\\])core$/).test(name) && !isDir;
- }
- ];
-
-var FileList = function () {
- var self = this
- , wrap;
-
- // List of glob-patterns or specific filenames
- this.pendingAdd = [];
- // Switched to false after lazy-eval of files
- this.pending = true;
- // Used to calculate exclusions from the list of files
- this.excludes = {
- pats: DEFAULT_IGNORE_PATTERNS.slice()
- , funcs: DEFAULT_IGNORE_FUNCS.slice()
- , regex: null
- };
- this.items = [];
-
- // Wrap the array methods with the delegates
- wrap = function (prop) {
- var arr;
- self[prop] = function () {
- if (self.pending) {
- self.resolve();
- }
- if (typeof self.items[prop] == 'function') {
- // Special method that return a copy
- if (SPECIAL_RETURN[prop]) {
- arr = self.items[prop].apply(self.items, arguments);
- return FileList.clone(self, arr);
- }
- else {
- return self.items[prop].apply(self.items, arguments);
- }
- }
- else {
- return self.items[prop];
- }
- };
- };
- for (var i = 0, ii = ARRAY_METHODS.length; i < ii; i++) {
- wrap(ARRAY_METHODS[i]);
- }
-
- // Include whatever files got passed to the constructor
- this.include.apply(this, arguments);
-
- // Fix constructor linkage
- this.constructor = FileList;
-};
-
-FileList.prototype = new (function () {
- var globPattern = /[*?\[\{]/;
-
- var _addMatching = function (item) {
- var matches = globSync(item.path, item.options);
- this.items = this.items.concat(matches);
- }
-
- , _resolveAdd = function (item) {
- if (globPattern.test(item.path)) {
- _addMatching.call(this, item);
- }
- else {
- this.push(item.path);
- }
- }
-
- , _calculateExcludeRe = function () {
- var pats = this.excludes.pats
- , pat
- , excl = []
- , matches = [];
-
- for (var i = 0, ii = pats.length; i < ii; i++) {
- pat = pats[i];
- if (typeof pat == 'string') {
- // Glob, look up files
- if (/[*?]/.test(pat)) {
- matches = globSync(pat);
- matches = matches.map(function (m) {
- return escapeRegExpChars(m);
- });
- excl = excl.concat(matches);
- }
- // String for regex
- else {
- excl.push(escapeRegExpChars(pat));
- }
- }
- // Regex, grab the string-representation
- else if (pat instanceof RegExp) {
- excl.push(pat.toString().replace(/^\/|\/$/g, ''));
- }
- }
- if (excl.length) {
- this.excludes.regex = new RegExp('(' + excl.join(')|(') + ')');
- }
- else {
- this.excludes.regex = /^$/;
- }
- }
-
- , _resolveExclude = function () {
- var self = this;
- _calculateExcludeRe.call(this);
- // No `reject` method, so use reverse-filter
- this.items = this.items.filter(function (name) {
- return !self.shouldExclude(name);
- });
- };
-
- /**
- * Includes file-patterns in the FileList. Should be called with one or more
- * pattern for finding file to include in the list. Arguments should be strings
- * for either a glob-pattern or a specific file-name, or an array of them
- */
- this.include = function () {
- var args = Array.prototype.slice.call(arguments)
- , arg
- , includes = { items: [], options: {} };
-
- for (var i = 0, ilen = args.length; i < ilen; i++) {
- arg = args[i];
-
- if (typeof arg === 'object' && !Array.isArray(arg)) {
- merge(includes.options, arg);
- } else {
- includes.items = includes.items.concat(arg).filter(function (item) {
- return !!item;
- });
- }
- }
-
- var items = includes.items.map(function(item) {
- return { path: item, options: includes.options };
- });
-
- this.pendingAdd = this.pendingAdd.concat(items);
-
- return this;
- };
-
- /**
- * Indicates whether a particular file would be filtered out by the current
- * exclusion rules for this FileList.
- * @param {String} name The filename to check
- * @return {Boolean} Whether or not the file should be excluded
- */
- this.shouldExclude = function (name) {
- if (!this.excludes.regex) {
- _calculateExcludeRe.call(this);
- }
- var excl = this.excludes;
- return excl.regex.test(name) || excl.funcs.some(function (f) {
- return !!f(name);
- });
- };
-
- /**
- * Excludes file-patterns from the FileList. Should be called with one or more
- * pattern for finding file to include in the list. Arguments can be:
- * 1. Strings for either a glob-pattern or a specific file-name
- * 2. Regular expression literals
- * 3. Functions to be run on the filename that return a true/false
- */
- this.exclude = function () {
- var args = Array.isArray(arguments[0]) ? arguments[0] : arguments
- , arg;
- for (var i = 0, ii = args.length; i < ii; i++) {
- arg = args[i];
- if (typeof arg == 'function' && !(arg instanceof RegExp)) {
- this.excludes.funcs.push(arg);
- }
- else {
- this.excludes.pats.push(arg);
- }
- }
- if (!this.pending) {
- _resolveExclude.call(this);
- }
- return this;
- };
-
- /**
- * Populates the FileList from the include/exclude rules with a list of
- * actual files
- */
- this.resolve = function () {
- var item
- , uniqueFunc = function (p, c) {
- if (p.indexOf(c) < 0) {
- p.push(c);
- }
- return p;
- };
- if (this.pending) {
- this.pending = false;
- while ((item = this.pendingAdd.shift())) {
- _resolveAdd.call(this, item);
- }
- // Reduce to a unique list
- this.items = this.items.reduce(uniqueFunc, []);
- // Remove exclusions
- _resolveExclude.call(this);
- }
- return this;
- };
-
- /**
- * Convert to a plain-jane array
- */
- this.toArray = function () {
- // Call slice to ensure lazy-resolution before slicing items
- var ret = this.slice().items.slice();
- return ret;
- };
-
- /**
- * Clear any pending items -- only useful before
- * calling `resolve`
- */
- this.clearInclusions = function () {
- this.pendingAdd = [];
- return this;
- };
-
- /**
- * Clear any current exclusion rules
- */
- this.clearExclusions = function () {
- this.excludes = {
- pats: []
- , funcs: []
- , regex: null
- };
- return this;
- };
-
-})();
-
-// Static method, used to create copy returned by special
-// array methods
-FileList.clone = function (list, items) {
- var clone = new FileList();
- if (items) {
- clone.items = items;
- }
- clone.pendingAdd = list.pendingAdd;
- clone.pending = list.pending;
- for (var p in list.excludes) {
- clone.excludes[p] = list.excludes[p];
- }
- return clone;
-};
-
-exports.FileList = FileList;
diff --git a/Server/node_modules/filelist/package.json b/Server/node_modules/filelist/package.json
deleted file mode 100644
index ca8d1fc..0000000
--- a/Server/node_modules/filelist/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "_from": "filelist@^1.0.1",
- "_id": "filelist@1.0.1",
- "_inBundle": false,
- "_integrity": "sha512-8zSK6Nu0DQIC08mUC46sWGXi+q3GGpKydAG36k+JDba6VRpkevvOWUW5a/PhShij4+vHT9M+ghgG7eM+a9JDUQ==",
- "_location": "/filelist",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "filelist@^1.0.1",
- "name": "filelist",
- "escapedName": "filelist",
- "rawSpec": "^1.0.1",
- "saveSpec": null,
- "fetchSpec": "^1.0.1"
- },
- "_requiredBy": [
- "/jake"
- ],
- "_resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.1.tgz",
- "_shasum": "f10d1a3ae86c1694808e8f20906f43d4c9132dbb",
- "_spec": "filelist@^1.0.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/jake",
- "author": {
- "name": "Matthew Eernisse",
- "email": "mde@fleegix.org",
- "url": "http://fleegix.org"
- },
- "bugs": {
- "url": "https://github.com/mde/filelist/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "minimatch": "^3.0.4"
- },
- "deprecated": false,
- "description": "Lazy-evaluating list of files, based on globs or regex patterns",
- "homepage": "https://github.com/mde/filelist",
- "keywords": [
- "file",
- "utility",
- "glob"
- ],
- "license": "Apache-2.0",
- "main": "index.js",
- "name": "filelist",
- "repository": {
- "type": "git",
- "url": "git://github.com/mde/filelist.git"
- },
- "scripts": {
- "test": "jake test"
- },
- "version": "1.0.1"
-}
diff --git a/Server/node_modules/finalhandler/HISTORY.md b/Server/node_modules/finalhandler/HISTORY.md
deleted file mode 100644
index 920c35e..0000000
--- a/Server/node_modules/finalhandler/HISTORY.md
+++ /dev/null
@@ -1,187 +0,0 @@
-1.1.2 / 2019-05-09
-==================
-
- * Set stricter `Content-Security-Policy` header
- * deps: parseurl@~1.3.3
- * deps: statuses@~1.5.0
-
-1.1.1 / 2018-03-06
-==================
-
- * Fix 404 output for bad / missing pathnames
- * deps: encodeurl@~1.0.2
- - Fix encoding `%` as last character
- * deps: statuses@~1.4.0
-
-1.1.0 / 2017-09-24
-==================
-
- * Use `res.headersSent` when available
-
-1.0.6 / 2017-09-22
-==================
-
- * deps: debug@2.6.9
-
-1.0.5 / 2017-09-15
-==================
-
- * deps: parseurl@~1.3.2
- - perf: reduce overhead for full URLs
- - perf: unroll the "fast-path" `RegExp`
-
-1.0.4 / 2017-08-03
-==================
-
- * deps: debug@2.6.8
-
-1.0.3 / 2017-05-16
-==================
-
- * deps: debug@2.6.7
- - deps: ms@2.0.0
-
-1.0.2 / 2017-04-22
-==================
-
- * deps: debug@2.6.4
- - deps: ms@0.7.3
-
-1.0.1 / 2017-03-21
-==================
-
- * Fix missing `</html>` in HTML document
- * deps: debug@2.6.3
- - Fix: `DEBUG_MAX_ARRAY_LENGTH`
-
-1.0.0 / 2017-02-15
-==================
-
- * Fix exception when `err` cannot be converted to a string
- * Fully URL-encode the pathname in the 404 message
- * Only include the pathname in the 404 message
- * Send complete HTML document
- * Set `Content-Security-Policy: default-src 'self'` header
- * deps: debug@2.6.1
- - Allow colors in workers
- - Deprecated `DEBUG_FD` environment variable set to `3` or higher
- - Fix error when running under React Native
- - Use same color for same namespace
- - deps: ms@0.7.2
-
-0.5.1 / 2016-11-12
-==================
-
- * Fix exception when `err.headers` is not an object
- * deps: statuses@~1.3.1
- * perf: hoist regular expressions
- * perf: remove duplicate validation path
-
-0.5.0 / 2016-06-15
-==================
-
- * Change invalid or non-numeric status code to 500
- * Overwrite status message to match set status code
- * Prefer `err.statusCode` if `err.status` is invalid
- * Set response headers from `err.headers` object
- * Use `statuses` instead of `http` module for status messages
- - Includes all defined status messages
-
-0.4.1 / 2015-12-02
-==================
-
- * deps: escape-html@~1.0.3
- - perf: enable strict mode
- - perf: optimize string replacement
- - perf: use faster string coercion
-
-0.4.0 / 2015-06-14
-==================
-
- * Fix a false-positive when unpiping in Node.js 0.8
- * Support `statusCode` property on `Error` objects
- * Use `unpipe` module for unpiping requests
- * deps: escape-html@1.0.2
- * deps: on-finished@~2.3.0
- - Add defined behavior for HTTP `CONNECT` requests
- - Add defined behavior for HTTP `Upgrade` requests
- - deps: ee-first@1.1.1
- * perf: enable strict mode
- * perf: remove argument reassignment
-
-0.3.6 / 2015-05-11
-==================
-
- * deps: debug@~2.2.0
- - deps: ms@0.7.1
-
-0.3.5 / 2015-04-22
-==================
-
- * deps: on-finished@~2.2.1
- - Fix `isFinished(req)` when data buffered
-
-0.3.4 / 2015-03-15
-==================
-
- * deps: debug@~2.1.3
- - Fix high intensity foreground color for bold
- - deps: ms@0.7.0
-
-0.3.3 / 2015-01-01
-==================
-
- * deps: debug@~2.1.1
- * deps: on-finished@~2.2.0
-
-0.3.2 / 2014-10-22
-==================
-
- * deps: on-finished@~2.1.1
- - Fix handling of pipelined requests
-
-0.3.1 / 2014-10-16
-==================
-
- * deps: debug@~2.1.0
- - Implement `DEBUG_FD` env variable support
-
-0.3.0 / 2014-09-17
-==================
-
- * Terminate in progress response only on error
- * Use `on-finished` to determine request status
-
-0.2.0 / 2014-09-03
-==================
-
- * Set `X-Content-Type-Options: nosniff` header
- * deps: debug@~2.0.0
-
-0.1.0 / 2014-07-16
-==================
-
- * Respond after request fully read
- - prevents hung responses and socket hang ups
- * deps: debug@1.0.4
-
-0.0.3 / 2014-07-11
-==================
-
- * deps: debug@1.0.3
- - Add support for multiple wildcards in namespaces
-
-0.0.2 / 2014-06-19
-==================
-
- * Handle invalid status codes
-
-0.0.1 / 2014-06-05
-==================
-
- * deps: debug@1.0.2
-
-0.0.0 / 2014-06-05
-==================
-
- * Extracted from connect/express
diff --git a/Server/node_modules/finalhandler/LICENSE b/Server/node_modules/finalhandler/LICENSE
deleted file mode 100644
index fb30982..0000000
--- a/Server/node_modules/finalhandler/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014-2017 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/finalhandler/README.md b/Server/node_modules/finalhandler/README.md
deleted file mode 100644
index 96327f0..0000000
--- a/Server/node_modules/finalhandler/README.md
+++ /dev/null
@@ -1,148 +0,0 @@
-# finalhandler
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Node.js function to invoke as the final step to respond to HTTP request.
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install finalhandler
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var finalhandler = require('finalhandler')
-```
-
-### finalhandler(req, res, [options])
-
-Returns function to be invoked as the final step for the given `req` and `res`.
-This function is to be invoked as `fn(err)`. If `err` is falsy, the handler will
-write out a 404 response to the `res`. If it is truthy, an error response will
-be written out to the `res`.
-
-When an error is written, the following information is added to the response:
-
- * The `res.statusCode` is set from `err.status` (or `err.statusCode`). If
- this value is outside the 4xx or 5xx range, it will be set to 500.
- * The `res.statusMessage` is set according to the status code.
- * The body will be the HTML of the status code message if `env` is
- `'production'`, otherwise will be `err.stack`.
- * Any headers specified in an `err.headers` object.
-
-The final handler will also unpipe anything from `req` when it is invoked.
-
-#### options.env
-
-By default, the environment is determined by `NODE_ENV` variable, but it can be
-overridden by this option.
-
-#### options.onerror
-
-Provide a function to be called with the `err` when it exists. Can be used for
-writing errors to a central location without excessive function generation. Called
-as `onerror(err, req, res)`.
-
-## Examples
-
-### always 404
-
-```js
-var finalhandler = require('finalhandler')
-var http = require('http')
-
-var server = http.createServer(function (req, res) {
- var done = finalhandler(req, res)
- done()
-})
-
-server.listen(3000)
-```
-
-### perform simple action
-
-```js
-var finalhandler = require('finalhandler')
-var fs = require('fs')
-var http = require('http')
-
-var server = http.createServer(function (req, res) {
- var done = finalhandler(req, res)
-
- fs.readFile('index.html', function (err, buf) {
- if (err) return done(err)
- res.setHeader('Content-Type', 'text/html')
- res.end(buf)
- })
-})
-
-server.listen(3000)
-```
-
-### use with middleware-style functions
-
-```js
-var finalhandler = require('finalhandler')
-var http = require('http')
-var serveStatic = require('serve-static')
-
-var serve = serveStatic('public')
-
-var server = http.createServer(function (req, res) {
- var done = finalhandler(req, res)
- serve(req, res, done)
-})
-
-server.listen(3000)
-```
-
-### keep log of all errors
-
-```js
-var finalhandler = require('finalhandler')
-var fs = require('fs')
-var http = require('http')
-
-var server = http.createServer(function (req, res) {
- var done = finalhandler(req, res, { onerror: logerror })
-
- fs.readFile('index.html', function (err, buf) {
- if (err) return done(err)
- res.setHeader('Content-Type', 'text/html')
- res.end(buf)
- })
-})
-
-server.listen(3000)
-
-function logerror (err) {
- console.error(err.stack || err.toString())
-}
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/finalhandler.svg
-[npm-url]: https://npmjs.org/package/finalhandler
-[node-image]: https://img.shields.io/node/v/finalhandler.svg
-[node-url]: https://nodejs.org/en/download
-[travis-image]: https://img.shields.io/travis/pillarjs/finalhandler.svg
-[travis-url]: https://travis-ci.org/pillarjs/finalhandler
-[coveralls-image]: https://img.shields.io/coveralls/pillarjs/finalhandler.svg
-[coveralls-url]: https://coveralls.io/r/pillarjs/finalhandler?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/finalhandler.svg
-[downloads-url]: https://npmjs.org/package/finalhandler
diff --git a/Server/node_modules/finalhandler/index.js b/Server/node_modules/finalhandler/index.js
deleted file mode 100644
index 5673507..0000000
--- a/Server/node_modules/finalhandler/index.js
+++ /dev/null
@@ -1,331 +0,0 @@
-/*!
- * finalhandler
- * Copyright(c) 2014-2017 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var debug = require('debug')('finalhandler')
-var encodeUrl = require('encodeurl')
-var escapeHtml = require('escape-html')
-var onFinished = require('on-finished')
-var parseUrl = require('parseurl')
-var statuses = require('statuses')
-var unpipe = require('unpipe')
-
-/**
- * Module variables.
- * @private
- */
-
-var DOUBLE_SPACE_REGEXP = /\x20{2}/g
-var NEWLINE_REGEXP = /\n/g
-
-/* istanbul ignore next */
-var defer = typeof setImmediate === 'function'
- ? setImmediate
- : function (fn) { process.nextTick(fn.bind.apply(fn, arguments)) }
-var isFinished = onFinished.isFinished
-
-/**
- * Create a minimal HTML document.
- *
- * @param {string} message
- * @private
- */
-
-function createHtmlDocument (message) {
- var body = escapeHtml(message)
- .replace(NEWLINE_REGEXP, '<br>')
- .replace(DOUBLE_SPACE_REGEXP, ' &nbsp;')
-
- return '<!DOCTYPE html>\n' +
- '<html lang="en">\n' +
- '<head>\n' +
- '<meta charset="utf-8">\n' +
- '<title>Error</title>\n' +
- '</head>\n' +
- '<body>\n' +
- '<pre>' + body + '</pre>\n' +
- '</body>\n' +
- '</html>\n'
-}
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = finalhandler
-
-/**
- * Create a function to handle the final response.
- *
- * @param {Request} req
- * @param {Response} res
- * @param {Object} [options]
- * @return {Function}
- * @public
- */
-
-function finalhandler (req, res, options) {
- var opts = options || {}
-
- // get environment
- var env = opts.env || process.env.NODE_ENV || 'development'
-
- // get error callback
- var onerror = opts.onerror
-
- return function (err) {
- var headers
- var msg
- var status
-
- // ignore 404 on in-flight response
- if (!err && headersSent(res)) {
- debug('cannot 404 after headers sent')
- return
- }
-
- // unhandled error
- if (err) {
- // respect status code from error
- status = getErrorStatusCode(err)
-
- if (status === undefined) {
- // fallback to status code on response
- status = getResponseStatusCode(res)
- } else {
- // respect headers from error
- headers = getErrorHeaders(err)
- }
-
- // get error message
- msg = getErrorMessage(err, status, env)
- } else {
- // not found
- status = 404
- msg = 'Cannot ' + req.method + ' ' + encodeUrl(getResourceName(req))
- }
-
- debug('default %s', status)
-
- // schedule onerror callback
- if (err && onerror) {
- defer(onerror, err, req, res)
- }
-
- // cannot actually respond
- if (headersSent(res)) {
- debug('cannot %d after headers sent', status)
- req.socket.destroy()
- return
- }
-
- // send response
- send(req, res, status, headers, msg)
- }
-}
-
-/**
- * Get headers from Error object.
- *
- * @param {Error} err
- * @return {object}
- * @private
- */
-
-function getErrorHeaders (err) {
- if (!err.headers || typeof err.headers !== 'object') {
- return undefined
- }
-
- var headers = Object.create(null)
- var keys = Object.keys(err.headers)
-
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i]
- headers[key] = err.headers[key]
- }
-
- return headers
-}
-
-/**
- * Get message from Error object, fallback to status message.
- *
- * @param {Error} err
- * @param {number} status
- * @param {string} env
- * @return {string}
- * @private
- */
-
-function getErrorMessage (err, status, env) {
- var msg
-
- if (env !== 'production') {
- // use err.stack, which typically includes err.message
- msg = err.stack
-
- // fallback to err.toString() when possible
- if (!msg && typeof err.toString === 'function') {
- msg = err.toString()
- }
- }
-
- return msg || statuses[status]
-}
-
-/**
- * Get status code from Error object.
- *
- * @param {Error} err
- * @return {number}
- * @private
- */
-
-function getErrorStatusCode (err) {
- // check err.status
- if (typeof err.status === 'number' && err.status >= 400 && err.status < 600) {
- return err.status
- }
-
- // check err.statusCode
- if (typeof err.statusCode === 'number' && err.statusCode >= 400 && err.statusCode < 600) {
- return err.statusCode
- }
-
- return undefined
-}
-
-/**
- * Get resource name for the request.
- *
- * This is typically just the original pathname of the request
- * but will fallback to "resource" is that cannot be determined.
- *
- * @param {IncomingMessage} req
- * @return {string}
- * @private
- */
-
-function getResourceName (req) {
- try {
- return parseUrl.original(req).pathname
- } catch (e) {
- return 'resource'
- }
-}
-
-/**
- * Get status code from response.
- *
- * @param {OutgoingMessage} res
- * @return {number}
- * @private
- */
-
-function getResponseStatusCode (res) {
- var status = res.statusCode
-
- // default status code to 500 if outside valid range
- if (typeof status !== 'number' || status < 400 || status > 599) {
- status = 500
- }
-
- return status
-}
-
-/**
- * Determine if the response headers have been sent.
- *
- * @param {object} res
- * @returns {boolean}
- * @private
- */
-
-function headersSent (res) {
- return typeof res.headersSent !== 'boolean'
- ? Boolean(res._header)
- : res.headersSent
-}
-
-/**
- * Send response.
- *
- * @param {IncomingMessage} req
- * @param {OutgoingMessage} res
- * @param {number} status
- * @param {object} headers
- * @param {string} message
- * @private
- */
-
-function send (req, res, status, headers, message) {
- function write () {
- // response body
- var body = createHtmlDocument(message)
-
- // response status
- res.statusCode = status
- res.statusMessage = statuses[status]
-
- // response headers
- setHeaders(res, headers)
-
- // security headers
- res.setHeader('Content-Security-Policy', "default-src 'none'")
- res.setHeader('X-Content-Type-Options', 'nosniff')
-
- // standard headers
- res.setHeader('Content-Type', 'text/html; charset=utf-8')
- res.setHeader('Content-Length', Buffer.byteLength(body, 'utf8'))
-
- if (req.method === 'HEAD') {
- res.end()
- return
- }
-
- res.end(body, 'utf8')
- }
-
- if (isFinished(req)) {
- write()
- return
- }
-
- // unpipe everything from the request
- unpipe(req)
-
- // flush the request
- onFinished(req, write)
- req.resume()
-}
-
-/**
- * Set response headers from an object.
- *
- * @param {OutgoingMessage} res
- * @param {object} headers
- * @private
- */
-
-function setHeaders (res, headers) {
- if (!headers) {
- return
- }
-
- var keys = Object.keys(headers)
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i]
- res.setHeader(key, headers[key])
- }
-}
diff --git a/Server/node_modules/finalhandler/package.json b/Server/node_modules/finalhandler/package.json
deleted file mode 100644
index 7119653..0000000
--- a/Server/node_modules/finalhandler/package.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "_from": "finalhandler@~1.1.2",
- "_id": "finalhandler@1.1.2",
- "_inBundle": false,
- "_integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
- "_location": "/finalhandler",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "finalhandler@~1.1.2",
- "name": "finalhandler",
- "escapedName": "finalhandler",
- "rawSpec": "~1.1.2",
- "saveSpec": null,
- "fetchSpec": "~1.1.2"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
- "_shasum": "b7e7d000ffd11938d0fdb053506f6ebabe9f587d",
- "_spec": "finalhandler@~1.1.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/pillarjs/finalhandler/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "debug": "2.6.9",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "on-finished": "~2.3.0",
- "parseurl": "~1.3.3",
- "statuses": "~1.5.0",
- "unpipe": "~1.0.0"
- },
- "deprecated": false,
- "description": "Node.js final http responder",
- "devDependencies": {
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.17.2",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "8.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "istanbul": "0.4.5",
- "mocha": "6.1.4",
- "readable-stream": "2.3.6",
- "safe-buffer": "5.1.2",
- "supertest": "4.0.2"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "homepage": "https://github.com/pillarjs/finalhandler#readme",
- "license": "MIT",
- "name": "finalhandler",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/pillarjs/finalhandler.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
- },
- "version": "1.1.2"
-}
diff --git a/Server/node_modules/forwarded/HISTORY.md b/Server/node_modules/forwarded/HISTORY.md
deleted file mode 100644
index 2599a55..0000000
--- a/Server/node_modules/forwarded/HISTORY.md
+++ /dev/null
@@ -1,16 +0,0 @@
-0.1.2 / 2017-09-14
-==================
-
- * perf: improve header parsing
- * perf: reduce overhead when no `X-Forwarded-For` header
-
-0.1.1 / 2017-09-10
-==================
-
- * Fix trimming leading / trailing OWS
- * perf: hoist regular expression
-
-0.1.0 / 2014-09-21
-==================
-
- * Initial release
diff --git a/Server/node_modules/forwarded/LICENSE b/Server/node_modules/forwarded/LICENSE
deleted file mode 100644
index 84441fb..0000000
--- a/Server/node_modules/forwarded/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014-2017 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/forwarded/README.md b/Server/node_modules/forwarded/README.md
deleted file mode 100644
index c776ee5..0000000
--- a/Server/node_modules/forwarded/README.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# forwarded
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Parse HTTP X-Forwarded-For header
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install forwarded
-```
-
-## API
-
-```js
-var forwarded = require('forwarded')
-```
-
-### forwarded(req)
-
-```js
-var addresses = forwarded(req)
-```
-
-Parse the `X-Forwarded-For` header from the request. Returns an array
-of the addresses, including the socket address for the `req`, in reverse
-order (i.e. index `0` is the socket address and the last index is the
-furthest address, typically the end-user).
-
-## Testing
-
-```sh
-$ npm test
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/forwarded.svg
-[npm-url]: https://npmjs.org/package/forwarded
-[node-version-image]: https://img.shields.io/node/v/forwarded.svg
-[node-version-url]: https://nodejs.org/en/download/
-[travis-image]: https://img.shields.io/travis/jshttp/forwarded/master.svg
-[travis-url]: https://travis-ci.org/jshttp/forwarded
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/forwarded/master.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/forwarded?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/forwarded.svg
-[downloads-url]: https://npmjs.org/package/forwarded
diff --git a/Server/node_modules/forwarded/index.js b/Server/node_modules/forwarded/index.js
deleted file mode 100644
index 7833b3d..0000000
--- a/Server/node_modules/forwarded/index.js
+++ /dev/null
@@ -1,76 +0,0 @@
-/*!
- * forwarded
- * Copyright(c) 2014-2017 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = forwarded
-
-/**
- * Get all addresses in the request, using the `X-Forwarded-For` header.
- *
- * @param {object} req
- * @return {array}
- * @public
- */
-
-function forwarded (req) {
- if (!req) {
- throw new TypeError('argument req is required')
- }
-
- // simple header parsing
- var proxyAddrs = parse(req.headers['x-forwarded-for'] || '')
- var socketAddr = req.connection.remoteAddress
- var addrs = [socketAddr].concat(proxyAddrs)
-
- // return all addresses
- return addrs
-}
-
-/**
- * Parse the X-Forwarded-For header.
- *
- * @param {string} header
- * @private
- */
-
-function parse (header) {
- var end = header.length
- var list = []
- var start = header.length
-
- // gather addresses, backwards
- for (var i = header.length - 1; i >= 0; i--) {
- switch (header.charCodeAt(i)) {
- case 0x20: /* */
- if (start === end) {
- start = end = i
- }
- break
- case 0x2c: /* , */
- if (start !== end) {
- list.push(header.substring(start, end))
- }
- start = end = i
- break
- default:
- start = i
- break
- }
- }
-
- // final address
- if (start !== end) {
- list.push(header.substring(start, end))
- }
-
- return list
-}
diff --git a/Server/node_modules/forwarded/package.json b/Server/node_modules/forwarded/package.json
deleted file mode 100644
index 8abb8c3..0000000
--- a/Server/node_modules/forwarded/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "_from": "forwarded@~0.1.2",
- "_id": "forwarded@0.1.2",
- "_inBundle": false,
- "_integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=",
- "_location": "/forwarded",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "forwarded@~0.1.2",
- "name": "forwarded",
- "escapedName": "forwarded",
- "rawSpec": "~0.1.2",
- "saveSpec": null,
- "fetchSpec": "~0.1.2"
- },
- "_requiredBy": [
- "/proxy-addr"
- ],
- "_resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
- "_shasum": "98c23dab1175657b8c0573e8ceccd91b0ff18c84",
- "_spec": "forwarded@~0.1.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/proxy-addr",
- "bugs": {
- "url": "https://github.com/jshttp/forwarded/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "deprecated": false,
- "description": "Parse HTTP X-Forwarded-For header",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "eslint": "3.19.0",
- "eslint-config-standard": "10.2.1",
- "eslint-plugin-import": "2.7.0",
- "eslint-plugin-node": "5.1.1",
- "eslint-plugin-promise": "3.5.0",
- "eslint-plugin-standard": "3.0.1",
- "istanbul": "0.4.5",
- "mocha": "1.21.5"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/forwarded#readme",
- "keywords": [
- "x-forwarded-for",
- "http",
- "req"
- ],
- "license": "MIT",
- "name": "forwarded",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/forwarded.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "0.1.2"
-}
diff --git a/Server/node_modules/fresh/HISTORY.md b/Server/node_modules/fresh/HISTORY.md
deleted file mode 100644
index 4586996..0000000
--- a/Server/node_modules/fresh/HISTORY.md
+++ /dev/null
@@ -1,70 +0,0 @@
-0.5.2 / 2017-09-13
-==================
-
- * Fix regression matching multiple ETags in `If-None-Match`
- * perf: improve `If-None-Match` token parsing
-
-0.5.1 / 2017-09-11
-==================
-
- * Fix handling of modified headers with invalid dates
- * perf: improve ETag match loop
-
-0.5.0 / 2017-02-21
-==================
-
- * Fix incorrect result when `If-None-Match` has both `*` and ETags
- * Fix weak `ETag` matching to match spec
- * perf: delay reading header values until needed
- * perf: skip checking modified time if ETag check failed
- * perf: skip parsing `If-None-Match` when no `ETag` header
- * perf: use `Date.parse` instead of `new Date`
-
-0.4.0 / 2017-02-05
-==================
-
- * Fix false detection of `no-cache` request directive
- * perf: enable strict mode
- * perf: hoist regular expressions
- * perf: remove duplicate conditional
- * perf: remove unnecessary boolean coercions
-
-0.3.0 / 2015-05-12
-==================
-
- * Add weak `ETag` matching support
-
-0.2.4 / 2014-09-07
-==================
-
- * Support Node.js 0.6
-
-0.2.3 / 2014-09-07
-==================
-
- * Move repository to jshttp
-
-0.2.2 / 2014-02-19
-==================
-
- * Revert "Fix for blank page on Safari reload"
-
-0.2.1 / 2014-01-29
-==================
-
- * Fix for blank page on Safari reload
-
-0.2.0 / 2013-08-11
-==================
-
- * Return stale for `Cache-Control: no-cache`
-
-0.1.0 / 2012-06-15
-==================
-
- * Add `If-None-Match: *` support
-
-0.0.1 / 2012-06-10
-==================
-
- * Initial release
diff --git a/Server/node_modules/fresh/LICENSE b/Server/node_modules/fresh/LICENSE
deleted file mode 100644
index 1434ade..0000000
--- a/Server/node_modules/fresh/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>
-Copyright (c) 2016-2017 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/fresh/README.md b/Server/node_modules/fresh/README.md
deleted file mode 100644
index 1c1c680..0000000
--- a/Server/node_modules/fresh/README.md
+++ /dev/null
@@ -1,119 +0,0 @@
-# fresh
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-HTTP response freshness testing
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```
-$ npm install fresh
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var fresh = require('fresh')
-```
-
-### fresh(reqHeaders, resHeaders)
-
-Check freshness of the response using request and response headers.
-
-When the response is still "fresh" in the client's cache `true` is
-returned, otherwise `false` is returned to indicate that the client
-cache is now stale and the full response should be sent.
-
-When a client sends the `Cache-Control: no-cache` request header to
-indicate an end-to-end reload request, this module will return `false`
-to make handling these requests transparent.
-
-## Known Issues
-
-This module is designed to only follow the HTTP specifications, not
-to work-around all kinda of client bugs (especially since this module
-typically does not recieve enough information to understand what the
-client actually is).
-
-There is a known issue that in certain versions of Safari, Safari
-will incorrectly make a request that allows this module to validate
-freshness of the resource even when Safari does not have a
-representation of the resource in the cache. The module
-[jumanji](https://www.npmjs.com/package/jumanji) can be used in
-an Express application to work-around this issue and also provides
-links to further reading on this Safari bug.
-
-## Example
-
-### API usage
-
-<!-- eslint-disable no-redeclare, no-undef -->
-
-```js
-var reqHeaders = { 'if-none-match': '"foo"' }
-var resHeaders = { 'etag': '"bar"' }
-fresh(reqHeaders, resHeaders)
-// => false
-
-var reqHeaders = { 'if-none-match': '"foo"' }
-var resHeaders = { 'etag': '"foo"' }
-fresh(reqHeaders, resHeaders)
-// => true
-```
-
-### Using with Node.js http server
-
-```js
-var fresh = require('fresh')
-var http = require('http')
-
-var server = http.createServer(function (req, res) {
- // perform server logic
- // ... including adding ETag / Last-Modified response headers
-
- if (isFresh(req, res)) {
- // client has a fresh copy of resource
- res.statusCode = 304
- res.end()
- return
- }
-
- // send the resource
- res.statusCode = 200
- res.end('hello, world!')
-})
-
-function isFresh (req, res) {
- return fresh(req.headers, {
- 'etag': res.getHeader('ETag'),
- 'last-modified': res.getHeader('Last-Modified')
- })
-}
-
-server.listen(3000)
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/fresh.svg
-[npm-url]: https://npmjs.org/package/fresh
-[node-version-image]: https://img.shields.io/node/v/fresh.svg
-[node-version-url]: https://nodejs.org/en/
-[travis-image]: https://img.shields.io/travis/jshttp/fresh/master.svg
-[travis-url]: https://travis-ci.org/jshttp/fresh
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/fresh/master.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/fresh?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/fresh.svg
-[downloads-url]: https://npmjs.org/package/fresh
diff --git a/Server/node_modules/fresh/index.js b/Server/node_modules/fresh/index.js
deleted file mode 100644
index d154f5a..0000000
--- a/Server/node_modules/fresh/index.js
+++ /dev/null
@@ -1,137 +0,0 @@
-/*!
- * fresh
- * Copyright(c) 2012 TJ Holowaychuk
- * Copyright(c) 2016-2017 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * RegExp to check for no-cache token in Cache-Control.
- * @private
- */
-
-var CACHE_CONTROL_NO_CACHE_REGEXP = /(?:^|,)\s*?no-cache\s*?(?:,|$)/
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = fresh
-
-/**
- * Check freshness of the response using request and response headers.
- *
- * @param {Object} reqHeaders
- * @param {Object} resHeaders
- * @return {Boolean}
- * @public
- */
-
-function fresh (reqHeaders, resHeaders) {
- // fields
- var modifiedSince = reqHeaders['if-modified-since']
- var noneMatch = reqHeaders['if-none-match']
-
- // unconditional request
- if (!modifiedSince && !noneMatch) {
- return false
- }
-
- // Always return stale when Cache-Control: no-cache
- // to support end-to-end reload requests
- // https://tools.ietf.org/html/rfc2616#section-14.9.4
- var cacheControl = reqHeaders['cache-control']
- if (cacheControl && CACHE_CONTROL_NO_CACHE_REGEXP.test(cacheControl)) {
- return false
- }
-
- // if-none-match
- if (noneMatch && noneMatch !== '*') {
- var etag = resHeaders['etag']
-
- if (!etag) {
- return false
- }
-
- var etagStale = true
- var matches = parseTokenList(noneMatch)
- for (var i = 0; i < matches.length; i++) {
- var match = matches[i]
- if (match === etag || match === 'W/' + etag || 'W/' + match === etag) {
- etagStale = false
- break
- }
- }
-
- if (etagStale) {
- return false
- }
- }
-
- // if-modified-since
- if (modifiedSince) {
- var lastModified = resHeaders['last-modified']
- var modifiedStale = !lastModified || !(parseHttpDate(lastModified) <= parseHttpDate(modifiedSince))
-
- if (modifiedStale) {
- return false
- }
- }
-
- return true
-}
-
-/**
- * Parse an HTTP Date into a number.
- *
- * @param {string} date
- * @private
- */
-
-function parseHttpDate (date) {
- var timestamp = date && Date.parse(date)
-
- // istanbul ignore next: guard against date.js Date.parse patching
- return typeof timestamp === 'number'
- ? timestamp
- : NaN
-}
-
-/**
- * Parse a HTTP token list.
- *
- * @param {string} str
- * @private
- */
-
-function parseTokenList (str) {
- var end = 0
- var list = []
- var start = 0
-
- // gather tokens
- for (var i = 0, len = str.length; i < len; i++) {
- switch (str.charCodeAt(i)) {
- case 0x20: /* */
- if (start === end) {
- start = end = i + 1
- }
- break
- case 0x2c: /* , */
- list.push(str.substring(start, end))
- start = end = i + 1
- break
- default:
- end = i + 1
- break
- }
- }
-
- // final token
- list.push(str.substring(start, end))
-
- return list
-}
diff --git a/Server/node_modules/fresh/package.json b/Server/node_modules/fresh/package.json
deleted file mode 100644
index 08b22da..0000000
--- a/Server/node_modules/fresh/package.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "_from": "fresh@0.5.2",
- "_id": "fresh@0.5.2",
- "_inBundle": false,
- "_integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",
- "_location": "/fresh",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "fresh@0.5.2",
- "name": "fresh",
- "escapedName": "fresh",
- "rawSpec": "0.5.2",
- "saveSpec": null,
- "fetchSpec": "0.5.2"
- },
- "_requiredBy": [
- "/express",
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "_shasum": "3d8cadd90d976569fa835ab1f8e4b23a105605a7",
- "_spec": "fresh@0.5.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca",
- "url": "http://tjholowaychuk.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/fresh/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "deprecated": false,
- "description": "HTTP response freshness testing",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "eslint": "3.19.0",
- "eslint-config-standard": "10.2.1",
- "eslint-plugin-import": "2.7.0",
- "eslint-plugin-markdown": "1.0.0-beta.6",
- "eslint-plugin-node": "5.1.1",
- "eslint-plugin-promise": "3.5.0",
- "eslint-plugin-standard": "3.0.1",
- "istanbul": "0.4.5",
- "mocha": "1.21.5"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/fresh#readme",
- "keywords": [
- "fresh",
- "http",
- "conditional",
- "cache"
- ],
- "license": "MIT",
- "name": "fresh",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/fresh.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "0.5.2"
-}
diff --git a/Server/node_modules/has-flag/index.js b/Server/node_modules/has-flag/index.js
deleted file mode 100644
index 5139728..0000000
--- a/Server/node_modules/has-flag/index.js
+++ /dev/null
@@ -1,8 +0,0 @@
-'use strict';
-module.exports = (flag, argv) => {
- argv = argv || process.argv;
- const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
- const pos = argv.indexOf(prefix + flag);
- const terminatorPos = argv.indexOf('--');
- return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
-};
diff --git a/Server/node_modules/has-flag/license b/Server/node_modules/has-flag/license
deleted file mode 100644
index e7af2f7..0000000
--- a/Server/node_modules/has-flag/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-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.
diff --git a/Server/node_modules/has-flag/package.json b/Server/node_modules/has-flag/package.json
deleted file mode 100644
index 38bb539..0000000
--- a/Server/node_modules/has-flag/package.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "_from": "has-flag@^3.0.0",
- "_id": "has-flag@3.0.0",
- "_inBundle": false,
- "_integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "_location": "/has-flag",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "has-flag@^3.0.0",
- "name": "has-flag",
- "escapedName": "has-flag",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/supports-color"
- ],
- "_resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "_shasum": "b5d454dc2199ae225699f3467e5a07f3b955bafd",
- "_spec": "has-flag@^3.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/supports-color",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/has-flag/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Check if argv has a specific flag",
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "engines": {
- "node": ">=4"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/has-flag#readme",
- "keywords": [
- "has",
- "check",
- "detect",
- "contains",
- "find",
- "flag",
- "cli",
- "command-line",
- "argv",
- "process",
- "arg",
- "args",
- "argument",
- "arguments",
- "getopt",
- "minimist",
- "optimist"
- ],
- "license": "MIT",
- "name": "has-flag",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/has-flag.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "3.0.0"
-}
diff --git a/Server/node_modules/has-flag/readme.md b/Server/node_modules/has-flag/readme.md
deleted file mode 100644
index 677893c..0000000
--- a/Server/node_modules/has-flag/readme.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# has-flag [![Build Status](https://travis-ci.org/sindresorhus/has-flag.svg?branch=master)](https://travis-ci.org/sindresorhus/has-flag)
-
-> Check if [`argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv) has a specific flag
-
-Correctly stops looking after an `--` argument terminator.
-
-
-## Install
-
-```
-$ npm install has-flag
-```
-
-
-## Usage
-
-```js
-// foo.js
-const hasFlag = require('has-flag');
-
-hasFlag('unicorn');
-//=> true
-
-hasFlag('--unicorn');
-//=> true
-
-hasFlag('f');
-//=> true
-
-hasFlag('-f');
-//=> true
-
-hasFlag('foo=bar');
-//=> true
-
-hasFlag('foo');
-//=> false
-
-hasFlag('rainbow');
-//=> false
-```
-
-```
-$ node foo.js -f --unicorn --foo=bar -- --rainbow
-```
-
-
-## API
-
-### hasFlag(flag, [argv])
-
-Returns a boolean for whether the flag exists.
-
-#### flag
-
-Type: `string`
-
-CLI flag to look for. The `--` prefix is optional.
-
-#### argv
-
-Type: `string[]`<br>
-Default: `process.argv`
-
-CLI arguments.
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/Server/node_modules/http-errors/HISTORY.md b/Server/node_modules/http-errors/HISTORY.md
deleted file mode 100644
index efc2d4c..0000000
--- a/Server/node_modules/http-errors/HISTORY.md
+++ /dev/null
@@ -1,149 +0,0 @@
-2019-02-18 / 1.7.2
-==================
-
- * deps: setprototypeof@1.1.1
-
-2018-09-08 / 1.7.1
-==================
-
- * Fix error creating objects in some environments
-
-2018-07-30 / 1.7.0
-==================
-
- * Set constructor name when possible
- * Use `toidentifier` module to make class names
- * deps: statuses@'>= 1.5.0 < 2'
-
-2018-03-29 / 1.6.3
-==================
-
- * deps: depd@~1.1.2
- - perf: remove argument reassignment
- * deps: setprototypeof@1.1.0
- * deps: statuses@'>= 1.4.0 < 2'
-
-2017-08-04 / 1.6.2
-==================
-
- * deps: depd@1.1.1
- - Remove unnecessary `Buffer` loading
-
-2017-02-20 / 1.6.1
-==================
-
- * deps: setprototypeof@1.0.3
- - Fix shim for old browsers
-
-2017-02-14 / 1.6.0
-==================
-
- * Accept custom 4xx and 5xx status codes in factory
- * Add deprecation message to `"I'mateapot"` export
- * Deprecate passing status code as anything except first argument in factory
- * Deprecate using non-error status codes
- * Make `message` property enumerable for `HttpError`s
-
-2016-11-16 / 1.5.1
-==================
-
- * deps: inherits@2.0.3
- - Fix issue loading in browser
- * deps: setprototypeof@1.0.2
- * deps: statuses@'>= 1.3.1 < 2'
-
-2016-05-18 / 1.5.0
-==================
-
- * Support new code `421 Misdirected Request`
- * Use `setprototypeof` module to replace `__proto__` setting
- * deps: statuses@'>= 1.3.0 < 2'
- - Add `421 Misdirected Request`
- - perf: enable strict mode
- * perf: enable strict mode
-
-2016-01-28 / 1.4.0
-==================
-
- * Add `HttpError` export, for `err instanceof createError.HttpError`
- * deps: inherits@2.0.1
- * deps: statuses@'>= 1.2.1 < 2'
- - Fix message for status 451
- - Remove incorrect nginx status code
-
-2015-02-02 / 1.3.1
-==================
-
- * Fix regression where status can be overwritten in `createError` `props`
-
-2015-02-01 / 1.3.0
-==================
-
- * Construct errors using defined constructors from `createError`
- * Fix error names that are not identifiers
- - `createError["I'mateapot"]` is now `createError.ImATeapot`
- * Set a meaningful `name` property on constructed errors
-
-2014-12-09 / 1.2.8
-==================
-
- * Fix stack trace from exported function
- * Remove `arguments.callee` usage
-
-2014-10-14 / 1.2.7
-==================
-
- * Remove duplicate line
-
-2014-10-02 / 1.2.6
-==================
-
- * Fix `expose` to be `true` for `ClientError` constructor
-
-2014-09-28 / 1.2.5
-==================
-
- * deps: statuses@1
-
-2014-09-21 / 1.2.4
-==================
-
- * Fix dependency version to work with old `npm`s
-
-2014-09-21 / 1.2.3
-==================
-
- * deps: statuses@~1.1.0
-
-2014-09-21 / 1.2.2
-==================
-
- * Fix publish error
-
-2014-09-21 / 1.2.1
-==================
-
- * Support Node.js 0.6
- * Use `inherits` instead of `util`
-
-2014-09-09 / 1.2.0
-==================
-
- * Fix the way inheriting functions
- * Support `expose` being provided in properties argument
-
-2014-09-08 / 1.1.0
-==================
-
- * Default status to 500
- * Support provided `error` to extend
-
-2014-09-08 / 1.0.1
-==================
-
- * Fix accepting string message
-
-2014-09-08 / 1.0.0
-==================
-
- * Initial release
diff --git a/Server/node_modules/http-errors/LICENSE b/Server/node_modules/http-errors/LICENSE
deleted file mode 100644
index 82af4df..0000000
--- a/Server/node_modules/http-errors/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-
-The MIT License (MIT)
-
-Copyright (c) 2014 Jonathan Ong me@jongleberry.com
-Copyright (c) 2016 Douglas Christopher Wilson doug@somethingdoug.com
-
-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.
diff --git a/Server/node_modules/http-errors/README.md b/Server/node_modules/http-errors/README.md
deleted file mode 100644
index 3b25481..0000000
--- a/Server/node_modules/http-errors/README.md
+++ /dev/null
@@ -1,163 +0,0 @@
-# http-errors
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][node-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Create HTTP errors for Express, Koa, Connect, etc. with ease.
-
-## Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```bash
-$ npm install http-errors
-```
-
-## Example
-
-```js
-var createError = require('http-errors')
-var express = require('express')
-var app = express()
-
-app.use(function (req, res, next) {
- if (!req.user) return next(createError(401, 'Please login to view this page.'))
- next()
-})
-```
-
-## API
-
-This is the current API, currently extracted from Koa and subject to change.
-
-### Error Properties
-
-- `expose` - can be used to signal if `message` should be sent to the client,
- defaulting to `false` when `status` >= 500
-- `headers` - can be an object of header names to values to be sent to the
- client, defaulting to `undefined`. When defined, the key names should all
- be lower-cased
-- `message` - the traditional error message, which should be kept short and all
- single line
-- `status` - the status code of the error, mirroring `statusCode` for general
- compatibility
-- `statusCode` - the status code of the error, defaulting to `500`
-
-### createError([status], [message], [properties])
-
-Create a new error object with the given message `msg`.
-The error object inherits from `createError.HttpError`.
-
-<!-- eslint-disable no-undef, no-unused-vars -->
-
-```js
-var err = createError(404, 'This video does not exist!')
-```
-
-- `status: 500` - the status code as a number
-- `message` - the message of the error, defaulting to node's text for that status code.
-- `properties` - custom properties to attach to the object
-
-### createError([status], [error], [properties])
-
-Extend the given `error` object with `createError.HttpError`
-properties. This will not alter the inheritance of the given
-`error` object, and the modified `error` object is the
-return value.
-
-<!-- eslint-disable no-redeclare, no-undef, no-unused-vars -->
-
-```js
-fs.readFile('foo.txt', function (err, buf) {
- if (err) {
- if (err.code === 'ENOENT') {
- var httpError = createError(404, err, { expose: false })
- } else {
- var httpError = createError(500, err)
- }
- }
-})
-```
-
-- `status` - the status code as a number
-- `error` - the error object to extend
-- `properties` - custom properties to attach to the object
-
-### new createError\[code || name\](\[msg]\))
-
-Create a new error object with the given message `msg`.
-The error object inherits from `createError.HttpError`.
-
-<!-- eslint-disable no-undef, no-unused-vars -->
-
-```js
-var err = new createError.NotFound()
-```
-
-- `code` - the status code as a number
-- `name` - the name of the error as a "bumpy case", i.e. `NotFound` or `InternalServerError`.
-
-#### List of all constructors
-
-|Status Code|Constructor Name |
-|-----------|-----------------------------|
-|400 |BadRequest |
-|401 |Unauthorized |
-|402 |PaymentRequired |
-|403 |Forbidden |
-|404 |NotFound |
-|405 |MethodNotAllowed |
-|406 |NotAcceptable |
-|407 |ProxyAuthenticationRequired |
-|408 |RequestTimeout |
-|409 |Conflict |
-|410 |Gone |
-|411 |LengthRequired |
-|412 |PreconditionFailed |
-|413 |PayloadTooLarge |
-|414 |URITooLong |
-|415 |UnsupportedMediaType |
-|416 |RangeNotSatisfiable |
-|417 |ExpectationFailed |
-|418 |ImATeapot |
-|421 |MisdirectedRequest |
-|422 |UnprocessableEntity |
-|423 |Locked |
-|424 |FailedDependency |
-|425 |UnorderedCollection |
-|426 |UpgradeRequired |
-|428 |PreconditionRequired |
-|429 |TooManyRequests |
-|431 |RequestHeaderFieldsTooLarge |
-|451 |UnavailableForLegalReasons |
-|500 |InternalServerError |
-|501 |NotImplemented |
-|502 |BadGateway |
-|503 |ServiceUnavailable |
-|504 |GatewayTimeout |
-|505 |HTTPVersionNotSupported |
-|506 |VariantAlsoNegotiates |
-|507 |InsufficientStorage |
-|508 |LoopDetected |
-|509 |BandwidthLimitExceeded |
-|510 |NotExtended |
-|511 |NetworkAuthenticationRequired|
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/http-errors/master
-[coveralls-url]: https://coveralls.io/r/jshttp/http-errors?branch=master
-[node-image]: https://badgen.net/npm/node/http-errors
-[node-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/http-errors
-[npm-url]: https://npmjs.org/package/http-errors
-[npm-version-image]: https://badgen.net/npm/v/http-errors
-[travis-image]: https://badgen.net/travis/jshttp/http-errors/master
-[travis-url]: https://travis-ci.org/jshttp/http-errors
diff --git a/Server/node_modules/http-errors/index.js b/Server/node_modules/http-errors/index.js
deleted file mode 100644
index 10ca4ad..0000000
--- a/Server/node_modules/http-errors/index.js
+++ /dev/null
@@ -1,266 +0,0 @@
-/*!
- * http-errors
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var deprecate = require('depd')('http-errors')
-var setPrototypeOf = require('setprototypeof')
-var statuses = require('statuses')
-var inherits = require('inherits')
-var toIdentifier = require('toidentifier')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = createError
-module.exports.HttpError = createHttpErrorConstructor()
-
-// Populate exports for all constructors
-populateConstructorExports(module.exports, statuses.codes, module.exports.HttpError)
-
-/**
- * Get the code class of a status code.
- * @private
- */
-
-function codeClass (status) {
- return Number(String(status).charAt(0) + '00')
-}
-
-/**
- * Create a new HTTP Error.
- *
- * @returns {Error}
- * @public
- */
-
-function createError () {
- // so much arity going on ~_~
- var err
- var msg
- var status = 500
- var props = {}
- for (var i = 0; i < arguments.length; i++) {
- var arg = arguments[i]
- if (arg instanceof Error) {
- err = arg
- status = err.status || err.statusCode || status
- continue
- }
- switch (typeof arg) {
- case 'string':
- msg = arg
- break
- case 'number':
- status = arg
- if (i !== 0) {
- deprecate('non-first-argument status code; replace with createError(' + arg + ', ...)')
- }
- break
- case 'object':
- props = arg
- break
- }
- }
-
- if (typeof status === 'number' && (status < 400 || status >= 600)) {
- deprecate('non-error status code; use only 4xx or 5xx status codes')
- }
-
- if (typeof status !== 'number' ||
- (!statuses[status] && (status < 400 || status >= 600))) {
- status = 500
- }
-
- // constructor
- var HttpError = createError[status] || createError[codeClass(status)]
-
- if (!err) {
- // create error
- err = HttpError
- ? new HttpError(msg)
- : new Error(msg || statuses[status])
- Error.captureStackTrace(err, createError)
- }
-
- if (!HttpError || !(err instanceof HttpError) || err.status !== status) {
- // add properties to generic error
- err.expose = status < 500
- err.status = err.statusCode = status
- }
-
- for (var key in props) {
- if (key !== 'status' && key !== 'statusCode') {
- err[key] = props[key]
- }
- }
-
- return err
-}
-
-/**
- * Create HTTP error abstract base class.
- * @private
- */
-
-function createHttpErrorConstructor () {
- function HttpError () {
- throw new TypeError('cannot construct abstract class')
- }
-
- inherits(HttpError, Error)
-
- return HttpError
-}
-
-/**
- * Create a constructor for a client error.
- * @private
- */
-
-function createClientErrorConstructor (HttpError, name, code) {
- var className = name.match(/Error$/) ? name : name + 'Error'
-
- function ClientError (message) {
- // create the error object
- var msg = message != null ? message : statuses[code]
- var err = new Error(msg)
-
- // capture a stack trace to the construction point
- Error.captureStackTrace(err, ClientError)
-
- // adjust the [[Prototype]]
- setPrototypeOf(err, ClientError.prototype)
-
- // redefine the error message
- Object.defineProperty(err, 'message', {
- enumerable: true,
- configurable: true,
- value: msg,
- writable: true
- })
-
- // redefine the error name
- Object.defineProperty(err, 'name', {
- enumerable: false,
- configurable: true,
- value: className,
- writable: true
- })
-
- return err
- }
-
- inherits(ClientError, HttpError)
- nameFunc(ClientError, className)
-
- ClientError.prototype.status = code
- ClientError.prototype.statusCode = code
- ClientError.prototype.expose = true
-
- return ClientError
-}
-
-/**
- * Create a constructor for a server error.
- * @private
- */
-
-function createServerErrorConstructor (HttpError, name, code) {
- var className = name.match(/Error$/) ? name : name + 'Error'
-
- function ServerError (message) {
- // create the error object
- var msg = message != null ? message : statuses[code]
- var err = new Error(msg)
-
- // capture a stack trace to the construction point
- Error.captureStackTrace(err, ServerError)
-
- // adjust the [[Prototype]]
- setPrototypeOf(err, ServerError.prototype)
-
- // redefine the error message
- Object.defineProperty(err, 'message', {
- enumerable: true,
- configurable: true,
- value: msg,
- writable: true
- })
-
- // redefine the error name
- Object.defineProperty(err, 'name', {
- enumerable: false,
- configurable: true,
- value: className,
- writable: true
- })
-
- return err
- }
-
- inherits(ServerError, HttpError)
- nameFunc(ServerError, className)
-
- ServerError.prototype.status = code
- ServerError.prototype.statusCode = code
- ServerError.prototype.expose = false
-
- return ServerError
-}
-
-/**
- * Set the name of a function, if possible.
- * @private
- */
-
-function nameFunc (func, name) {
- var desc = Object.getOwnPropertyDescriptor(func, 'name')
-
- if (desc && desc.configurable) {
- desc.value = name
- Object.defineProperty(func, 'name', desc)
- }
-}
-
-/**
- * Populate the exports object with constructors for every error class.
- * @private
- */
-
-function populateConstructorExports (exports, codes, HttpError) {
- codes.forEach(function forEachCode (code) {
- var CodeError
- var name = toIdentifier(statuses[code])
-
- switch (codeClass(code)) {
- case 400:
- CodeError = createClientErrorConstructor(HttpError, name, code)
- break
- case 500:
- CodeError = createServerErrorConstructor(HttpError, name, code)
- break
- }
-
- if (CodeError) {
- // export the constructor
- exports[code] = CodeError
- exports[name] = CodeError
- }
- })
-
- // backwards-compatibility
- exports["I'mateapot"] = deprecate.function(exports.ImATeapot,
- '"I\'mateapot"; use "ImATeapot" instead')
-}
diff --git a/Server/node_modules/http-errors/package.json b/Server/node_modules/http-errors/package.json
deleted file mode 100644
index af8ce6a..0000000
--- a/Server/node_modules/http-errors/package.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
- "_from": "http-errors@1.7.2",
- "_id": "http-errors@1.7.2",
- "_inBundle": false,
- "_integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
- "_location": "/http-errors",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "http-errors@1.7.2",
- "name": "http-errors",
- "escapedName": "http-errors",
- "rawSpec": "1.7.2",
- "saveSpec": null,
- "fetchSpec": "1.7.2"
- },
- "_requiredBy": [
- "/body-parser",
- "/raw-body",
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
- "_shasum": "4f5029cf13239f31036e5b2e55292bcfbcc85c8f",
- "_spec": "http-errors@1.7.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "author": {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/http-errors/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Alan Plum",
- "email": "me@pluma.io"
- },
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- }
- ],
- "dependencies": {
- "depd": "~1.1.2",
- "inherits": "2.0.3",
- "setprototypeof": "1.1.1",
- "statuses": ">= 1.5.0 < 2",
- "toidentifier": "1.0.0"
- },
- "deprecated": false,
- "description": "Create HTTP error objects",
- "devDependencies": {
- "eslint": "5.13.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.16.0",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "7.0.1",
- "eslint-plugin-promise": "4.0.1",
- "eslint-plugin-standard": "4.0.0",
- "istanbul": "0.4.5",
- "mocha": "5.2.0"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "index.js",
- "HISTORY.md",
- "LICENSE",
- "README.md"
- ],
- "homepage": "https://github.com/jshttp/http-errors#readme",
- "keywords": [
- "http",
- "error"
- ],
- "license": "MIT",
- "name": "http-errors",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/http-errors.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md . && node ./scripts/lint-readme-list.js",
- "test": "mocha --reporter spec --bail",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
- },
- "version": "1.7.2"
-}
diff --git a/Server/node_modules/iconv-lite/Changelog.md b/Server/node_modules/iconv-lite/Changelog.md
deleted file mode 100644
index f252313..0000000
--- a/Server/node_modules/iconv-lite/Changelog.md
+++ /dev/null
@@ -1,162 +0,0 @@
-# 0.4.24 / 2018-08-22
-
- * Added MIK encoding (#196, by @Ivan-Kalatchev)
-
-
-# 0.4.23 / 2018-05-07
-
- * Fix deprecation warning in Node v10 due to the last usage of `new Buffer` (#185, by @felixbuenemann)
- * Switched from NodeBuffer to Buffer in typings (#155 by @felixfbecker, #186 by @larssn)
-
-
-# 0.4.22 / 2018-05-05
-
- * Use older semver style for dependencies to be compatible with Node version 0.10 (#182, by @dougwilson)
- * Fix tests to accomodate fixes in Node v10 (#182, by @dougwilson)
-
-
-# 0.4.21 / 2018-04-06
-
- * Fix encoding canonicalization (#156)
- * Fix the paths in the "browser" field in package.json (#174 by @LMLB)
- * Removed "contributors" section in package.json - see Git history instead.
-
-
-# 0.4.20 / 2018-04-06
-
- * Updated `new Buffer()` usages with recommended replacements as it's being deprecated in Node v10 (#176, #178 by @ChALkeR)
-
-
-# 0.4.19 / 2017-09-09
-
- * Fixed iso8859-1 codec regression in handling untranslatable characters (#162, caused by #147)
- * Re-generated windows1255 codec, because it was updated in iconv project
- * Fixed grammar in error message when iconv-lite is loaded with encoding other than utf8
-
-
-# 0.4.18 / 2017-06-13
-
- * Fixed CESU-8 regression in Node v8.
-
-
-# 0.4.17 / 2017-04-22
-
- * Updated typescript definition file to support Angular 2 AoT mode (#153 by @larssn)
-
-
-# 0.4.16 / 2017-04-22
-
- * Added support for React Native (#150)
- * Changed iso8859-1 encoding to usine internal 'binary' encoding, as it's the same thing (#147 by @mscdex)
- * Fixed typo in Readme (#138 by @jiangzhuo)
- * Fixed build for Node v6.10+ by making correct version comparison
- * Added a warning if iconv-lite is loaded not as utf-8 (see #142)
-
-
-# 0.4.15 / 2016-11-21
-
- * Fixed typescript type definition (#137)
-
-
-# 0.4.14 / 2016-11-20
-
- * Preparation for v1.0
- * Added Node v6 and latest Node versions to Travis CI test rig
- * Deprecated Node v0.8 support
- * Typescript typings (@larssn)
- * Fix encoding of Euro character in GB 18030 (inspired by @lygstate)
- * Add ms prefix to dbcs windows encodings (@rokoroku)
-
-
-# 0.4.13 / 2015-10-01
-
- * Fix silly mistake in deprecation notice.
-
-
-# 0.4.12 / 2015-09-26
-
- * Node v4 support:
- * Added CESU-8 decoding (#106)
- * Added deprecation notice for `extendNodeEncodings`
- * Added Travis tests for Node v4 and io.js latest (#105 by @Mithgol)
-
-
-# 0.4.11 / 2015-07-03
-
- * Added CESU-8 encoding.
-
-
-# 0.4.10 / 2015-05-26
-
- * Changed UTF-16 endianness heuristic to take into account any ASCII chars, not
- just spaces. This should minimize the importance of "default" endianness.
-
-
-# 0.4.9 / 2015-05-24
-
- * Streamlined BOM handling: strip BOM by default, add BOM when encoding if
- addBOM: true. Added docs to Readme.
- * UTF16 now uses UTF16-LE by default.
- * Fixed minor issue with big5 encoding.
- * Added io.js testing on Travis; updated node-iconv version to test against.
- Now we just skip testing SBCS encodings that node-iconv doesn't support.
- * (internal refactoring) Updated codec interface to use classes.
- * Use strict mode in all files.
-
-
-# 0.4.8 / 2015-04-14
-
- * added alias UNICODE-1-1-UTF-7 for UTF-7 encoding (#94)
-
-
-# 0.4.7 / 2015-02-05
-
- * stop official support of Node.js v0.8. Should still work, but no guarantees.
- reason: Packages needed for testing are hard to get on Travis CI.
- * work in environment where Object.prototype is monkey patched with enumerable
- props (#89).
-
-
-# 0.4.6 / 2015-01-12
-
- * fix rare aliases of single-byte encodings (thanks @mscdex)
- * double the timeout for dbcs tests to make them less flaky on travis
-
-
-# 0.4.5 / 2014-11-20
-
- * fix windows-31j and x-sjis encoding support (@nleush)
- * minor fix: undefined variable reference when internal error happens
-
-
-# 0.4.4 / 2014-07-16
-
- * added encodings UTF-7 (RFC2152) and UTF-7-IMAP (RFC3501 Section 5.1.3)
- * fixed streaming base64 encoding
-
-
-# 0.4.3 / 2014-06-14
-
- * added encodings UTF-16BE and UTF-16 with BOM
-
-
-# 0.4.2 / 2014-06-12
-
- * don't throw exception if `extendNodeEncodings()` is called more than once
-
-
-# 0.4.1 / 2014-06-11
-
- * codepage 808 added
-
-
-# 0.4.0 / 2014-06-10
-
- * code is rewritten from scratch
- * all widespread encodings are supported
- * streaming interface added
- * browserify compatibility added
- * (optional) extend core primitive encodings to make usage even simpler
- * moved from vows to mocha as the testing framework
-
-
diff --git a/Server/node_modules/iconv-lite/LICENSE b/Server/node_modules/iconv-lite/LICENSE
deleted file mode 100644
index d518d83..0000000
--- a/Server/node_modules/iconv-lite/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-Copyright (c) 2011 Alexander Shtuchkin
-
-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.
-
diff --git a/Server/node_modules/iconv-lite/README.md b/Server/node_modules/iconv-lite/README.md
deleted file mode 100644
index c981c37..0000000
--- a/Server/node_modules/iconv-lite/README.md
+++ /dev/null
@@ -1,156 +0,0 @@
-## Pure JS character encoding conversion [![Build Status](https://travis-ci.org/ashtuchkin/iconv-lite.svg?branch=master)](https://travis-ci.org/ashtuchkin/iconv-lite)
-
- * Doesn't need native code compilation. Works on Windows and in sandboxed environments like [Cloud9](http://c9.io).
- * Used in popular projects like [Express.js (body_parser)](https://github.com/expressjs/body-parser),
- [Grunt](http://gruntjs.com/), [Nodemailer](http://www.nodemailer.com/), [Yeoman](http://yeoman.io/) and others.
- * Faster than [node-iconv](https://github.com/bnoordhuis/node-iconv) (see below for performance comparison).
- * Intuitive encode/decode API
- * Streaming support for Node v0.10+
- * [Deprecated] Can extend Node.js primitives (buffers, streams) to support all iconv-lite encodings.
- * In-browser usage via [Browserify](https://github.com/substack/node-browserify) (~180k gzip compressed with Buffer shim included).
- * Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index.d.ts) included.
- * React Native is supported (need to explicitly `npm install` two more modules: `buffer` and `stream`).
- * License: MIT.
-
-[![NPM Stats](https://nodei.co/npm/iconv-lite.png?downloads=true&downloadRank=true)](https://npmjs.org/packages/iconv-lite/)
-
-## Usage
-### Basic API
-```javascript
-var iconv = require('iconv-lite');
-
-// Convert from an encoded buffer to js string.
-str = iconv.decode(Buffer.from([0x68, 0x65, 0x6c, 0x6c, 0x6f]), 'win1251');
-
-// Convert from js string to an encoded buffer.
-buf = iconv.encode("Sample input string", 'win1251');
-
-// Check if encoding is supported
-iconv.encodingExists("us-ascii")
-```
-
-### Streaming API (Node v0.10+)
-```javascript
-
-// Decode stream (from binary stream to js strings)
-http.createServer(function(req, res) {
- var converterStream = iconv.decodeStream('win1251');
- req.pipe(converterStream);
-
- converterStream.on('data', function(str) {
- console.log(str); // Do something with decoded strings, chunk-by-chunk.
- });
-});
-
-// Convert encoding streaming example
-fs.createReadStream('file-in-win1251.txt')
- .pipe(iconv.decodeStream('win1251'))
- .pipe(iconv.encodeStream('ucs2'))
- .pipe(fs.createWriteStream('file-in-ucs2.txt'));
-
-// Sugar: all encode/decode streams have .collect(cb) method to accumulate data.
-http.createServer(function(req, res) {
- req.pipe(iconv.decodeStream('win1251')).collect(function(err, body) {
- assert(typeof body == 'string');
- console.log(body); // full request body string
- });
-});
-```
-
-### [Deprecated] Extend Node.js own encodings
-> NOTE: This doesn't work on latest Node versions. See [details](https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility).
-
-```javascript
-// After this call all Node basic primitives will understand iconv-lite encodings.
-iconv.extendNodeEncodings();
-
-// Examples:
-buf = new Buffer(str, 'win1251');
-buf.write(str, 'gbk');
-str = buf.toString('latin1');
-assert(Buffer.isEncoding('iso-8859-15'));
-Buffer.byteLength(str, 'us-ascii');
-
-http.createServer(function(req, res) {
- req.setEncoding('big5');
- req.collect(function(err, body) {
- console.log(body);
- });
-});
-
-fs.createReadStream("file.txt", "shift_jis");
-
-// External modules are also supported (if they use Node primitives, which they probably do).
-request = require('request');
-request({
- url: "http://github.com/",
- encoding: "cp932"
-});
-
-// To remove extensions
-iconv.undoExtendNodeEncodings();
-```
-
-## Supported encodings
-
- * All node.js native encodings: utf8, ucs2 / utf16-le, ascii, binary, base64, hex.
- * Additional unicode encodings: utf16, utf16-be, utf-7, utf-7-imap.
- * All widespread singlebyte encodings: Windows 125x family, ISO-8859 family,
- IBM/DOS codepages, Macintosh family, KOI8 family, all others supported by iconv library.
- Aliases like 'latin1', 'us-ascii' also supported.
- * All widespread multibyte encodings: CP932, CP936, CP949, CP950, GB2312, GBK, GB18030, Big5, Shift_JIS, EUC-JP.
-
-See [all supported encodings on wiki](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings).
-
-Most singlebyte encodings are generated automatically from [node-iconv](https://github.com/bnoordhuis/node-iconv). Thank you Ben Noordhuis and libiconv authors!
-
-Multibyte encodings are generated from [Unicode.org mappings](http://www.unicode.org/Public/MAPPINGS/) and [WHATWG Encoding Standard mappings](http://encoding.spec.whatwg.org/). Thank you, respective authors!
-
-
-## Encoding/decoding speed
-
-Comparison with node-iconv module (1000x256kb, on MacBook Pro, Core i5/2.6 GHz, Node v0.12.0).
-Note: your results may vary, so please always check on your hardware.
-
- operation iconv@2.1.4 iconv-lite@0.4.7
- ----------------------------------------------------------
- encode('win1251') ~96 Mb/s ~320 Mb/s
- decode('win1251') ~95 Mb/s ~246 Mb/s
-
-## BOM handling
-
- * Decoding: BOM is stripped by default, unless overridden by passing `stripBOM: false` in options
- (f.ex. `iconv.decode(buf, enc, {stripBOM: false})`).
- A callback might also be given as a `stripBOM` parameter - it'll be called if BOM character was actually found.
- * If you want to detect UTF-8 BOM when decoding other encodings, use [node-autodetect-decoder-stream](https://github.com/danielgindi/node-autodetect-decoder-stream) module.
- * Encoding: No BOM added, unless overridden by `addBOM: true` option.
-
-## UTF-16 Encodings
-
-This library supports UTF-16LE, UTF-16BE and UTF-16 encodings. First two are straightforward, but UTF-16 is trying to be
-smart about endianness in the following ways:
- * Decoding: uses BOM and 'spaces heuristic' to determine input endianness. Default is UTF-16LE, but can be
- overridden with `defaultEncoding: 'utf-16be'` option. Strips BOM unless `stripBOM: false`.
- * Encoding: uses UTF-16LE and writes BOM by default. Use `addBOM: false` to override.
-
-## Other notes
-
-When decoding, be sure to supply a Buffer to decode() method, otherwise [bad things usually happen](https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding).
-Untranslatable characters are set to � or ?. No transliteration is currently supported.
-Node versions 0.10.31 and 0.11.13 are buggy, don't use them (see #65, #77).
-
-## Testing
-
-```bash
-$ git clone git@github.com:ashtuchkin/iconv-lite.git
-$ cd iconv-lite
-$ npm install
-$ npm test
-
-$ # To view performance:
-$ node test/performance.js
-
-$ # To view test coverage:
-$ npm run coverage
-$ open coverage/lcov-report/index.html
-```
diff --git a/Server/node_modules/iconv-lite/encodings/dbcs-codec.js b/Server/node_modules/iconv-lite/encodings/dbcs-codec.js
deleted file mode 100644
index 1fe3e16..0000000
--- a/Server/node_modules/iconv-lite/encodings/dbcs-codec.js
+++ /dev/null
@@ -1,555 +0,0 @@
-"use strict";
-var Buffer = require("safer-buffer").Buffer;
-
-// Multibyte codec. In this scheme, a character is represented by 1 or more bytes.
-// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences.
-// To save memory and loading time, we read table files only when requested.
-
-exports._dbcs = DBCSCodec;
-
-var UNASSIGNED = -1,
- GB18030_CODE = -2,
- SEQ_START = -10,
- NODE_START = -1000,
- UNASSIGNED_NODE = new Array(0x100),
- DEF_CHAR = -1;
-
-for (var i = 0; i < 0x100; i++)
- UNASSIGNED_NODE[i] = UNASSIGNED;
-
-
-// Class DBCSCodec reads and initializes mapping tables.
-function DBCSCodec(codecOptions, iconv) {
- this.encodingName = codecOptions.encodingName;
- if (!codecOptions)
- throw new Error("DBCS codec is called without the data.")
- if (!codecOptions.table)
- throw new Error("Encoding '" + this.encodingName + "' has no data.");
-
- // Load tables.
- var mappingTable = codecOptions.table();
-
-
- // Decode tables: MBCS -> Unicode.
-
- // decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256.
- // Trie root is decodeTables[0].
- // Values: >= 0 -> unicode character code. can be > 0xFFFF
- // == UNASSIGNED -> unknown/unassigned sequence.
- // == GB18030_CODE -> this is the end of a GB18030 4-byte sequence.
- // <= NODE_START -> index of the next node in our trie to process next byte.
- // <= SEQ_START -> index of the start of a character code sequence, in decodeTableSeq.
- this.decodeTables = [];
- this.decodeTables[0] = UNASSIGNED_NODE.slice(0); // Create root node.
-
- // Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here.
- this.decodeTableSeq = [];
-
- // Actual mapping tables consist of chunks. Use them to fill up decode tables.
- for (var i = 0; i < mappingTable.length; i++)
- this._addDecodeChunk(mappingTable[i]);
-
- this.defaultCharUnicode = iconv.defaultCharUnicode;
-
-
- // Encode tables: Unicode -> DBCS.
-
- // `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance.
- // Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null.
- // Values: >= 0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.).
- // == UNASSIGNED -> no conversion found. Output a default char.
- // <= SEQ_START -> it's an index in encodeTableSeq, see below. The character starts a sequence.
- this.encodeTable = [];
-
- // `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of
- // objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key
- // means end of sequence (needed when one sequence is a strict subsequence of another).
- // Objects are kept separately from encodeTable to increase performance.
- this.encodeTableSeq = [];
-
- // Some chars can be decoded, but need not be encoded.
- var skipEncodeChars = {};
- if (codecOptions.encodeSkipVals)
- for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) {
- var val = codecOptions.encodeSkipVals[i];
- if (typeof val === 'number')
- skipEncodeChars[val] = true;
- else
- for (var j = val.from; j <= val.to; j++)
- skipEncodeChars[j] = true;
- }
-
- // Use decode trie to recursively fill out encode tables.
- this._fillEncodeTable(0, 0, skipEncodeChars);
-
- // Add more encoding pairs when needed.
- if (codecOptions.encodeAdd) {
- for (var uChar in codecOptions.encodeAdd)
- if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar))
- this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]);
- }
-
- this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)];
- if (this.defCharSB === UNASSIGNED) this.defCharSB = this.encodeTable[0]['?'];
- if (this.defCharSB === UNASSIGNED) this.defCharSB = "?".charCodeAt(0);
-
-
- // Load & create GB18030 tables when needed.
- if (typeof codecOptions.gb18030 === 'function') {
- this.gb18030 = codecOptions.gb18030(); // Load GB18030 ranges.
-
- // Add GB18030 decode tables.
- var thirdByteNodeIdx = this.decodeTables.length;
- var thirdByteNode = this.decodeTables[thirdByteNodeIdx] = UNASSIGNED_NODE.slice(0);
-
- var fourthByteNodeIdx = this.decodeTables.length;
- var fourthByteNode = this.decodeTables[fourthByteNodeIdx] = UNASSIGNED_NODE.slice(0);
-
- for (var i = 0x81; i <= 0xFE; i++) {
- var secondByteNodeIdx = NODE_START - this.decodeTables[0][i];
- var secondByteNode = this.decodeTables[secondByteNodeIdx];
- for (var j = 0x30; j <= 0x39; j++)
- secondByteNode[j] = NODE_START - thirdByteNodeIdx;
- }
- for (var i = 0x81; i <= 0xFE; i++)
- thirdByteNode[i] = NODE_START - fourthByteNodeIdx;
- for (var i = 0x30; i <= 0x39; i++)
- fourthByteNode[i] = GB18030_CODE
- }
-}
-
-DBCSCodec.prototype.encoder = DBCSEncoder;
-DBCSCodec.prototype.decoder = DBCSDecoder;
-
-// Decoder helpers
-DBCSCodec.prototype._getDecodeTrieNode = function(addr) {
- var bytes = [];
- for (; addr > 0; addr >>= 8)
- bytes.push(addr & 0xFF);
- if (bytes.length == 0)
- bytes.push(0);
-
- var node = this.decodeTables[0];
- for (var i = bytes.length-1; i > 0; i--) { // Traverse nodes deeper into the trie.
- var val = node[bytes[i]];
-
- if (val == UNASSIGNED) { // Create new node.
- node[bytes[i]] = NODE_START - this.decodeTables.length;
- this.decodeTables.push(node = UNASSIGNED_NODE.slice(0));
- }
- else if (val <= NODE_START) { // Existing node.
- node = this.decodeTables[NODE_START - val];
- }
- else
- throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + addr.toString(16));
- }
- return node;
-}
-
-
-DBCSCodec.prototype._addDecodeChunk = function(chunk) {
- // First element of chunk is the hex mbcs code where we start.
- var curAddr = parseInt(chunk[0], 16);
-
- // Choose the decoding node where we'll write our chars.
- var writeTable = this._getDecodeTrieNode(curAddr);
- curAddr = curAddr & 0xFF;
-
- // Write all other elements of the chunk to the table.
- for (var k = 1; k < chunk.length; k++) {
- var part = chunk[k];
- if (typeof part === "string") { // String, write as-is.
- for (var l = 0; l < part.length;) {
- var code = part.charCodeAt(l++);
- if (0xD800 <= code && code < 0xDC00) { // Decode surrogate
- var codeTrail = part.charCodeAt(l++);
- if (0xDC00 <= codeTrail && codeTrail < 0xE000)
- writeTable[curAddr++] = 0x10000 + (code - 0xD800) * 0x400 + (codeTrail - 0xDC00);
- else
- throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + chunk[0]);
- }
- else if (0x0FF0 < code && code <= 0x0FFF) { // Character sequence (our own encoding used)
- var len = 0xFFF - code + 2;
- var seq = [];
- for (var m = 0; m < len; m++)
- seq.push(part.charCodeAt(l++)); // Simple variation: don't support surrogates or subsequences in seq.
-
- writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length;
- this.decodeTableSeq.push(seq);
- }
- else
- writeTable[curAddr++] = code; // Basic char
- }
- }
- else if (typeof part === "number") { // Integer, meaning increasing sequence starting with prev character.
- var charCode = writeTable[curAddr - 1] + 1;
- for (var l = 0; l < part; l++)
- writeTable[curAddr++] = charCode++;
- }
- else
- throw new Error("Incorrect type '" + typeof part + "' given in " + this.encodingName + " at chunk " + chunk[0]);
- }
- if (curAddr > 0xFF)
- throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + chunk[0] + ": too long" + curAddr);
-}
-
-// Encoder helpers
-DBCSCodec.prototype._getEncodeBucket = function(uCode) {
- var high = uCode >> 8; // This could be > 0xFF because of astral characters.
- if (this.encodeTable[high] === undefined)
- this.encodeTable[high] = UNASSIGNED_NODE.slice(0); // Create bucket on demand.
- return this.encodeTable[high];
-}
-
-DBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) {
- var bucket = this._getEncodeBucket(uCode);
- var low = uCode & 0xFF;
- if (bucket[low] <= SEQ_START)
- this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR] = dbcsCode; // There's already a sequence, set a single-char subsequence of it.
- else if (bucket[low] == UNASSIGNED)
- bucket[low] = dbcsCode;
-}
-
-DBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) {
-
- // Get the root of character tree according to first character of the sequence.
- var uCode = seq[0];
- var bucket = this._getEncodeBucket(uCode);
- var low = uCode & 0xFF;
-
- var node;
- if (bucket[low] <= SEQ_START) {
- // There's already a sequence with - use it.
- node = this.encodeTableSeq[SEQ_START-bucket[low]];
- }
- else {
- // There was no sequence object - allocate a new one.
- node = {};
- if (bucket[low] !== UNASSIGNED) node[DEF_CHAR] = bucket[low]; // If a char was set before - make it a single-char subsequence.
- bucket[low] = SEQ_START - this.encodeTableSeq.length;
- this.encodeTableSeq.push(node);
- }
-
- // Traverse the character tree, allocating new nodes as needed.
- for (var j = 1; j < seq.length-1; j++) {
- var oldVal = node[uCode];
- if (typeof oldVal === 'object')
- node = oldVal;
- else {
- node = node[uCode] = {}
- if (oldVal !== undefined)
- node[DEF_CHAR] = oldVal
- }
- }
-
- // Set the leaf to given dbcsCode.
- uCode = seq[seq.length-1];
- node[uCode] = dbcsCode;
-}
-
-DBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) {
- var node = this.decodeTables[nodeIdx];
- for (var i = 0; i < 0x100; i++) {
- var uCode = node[i];
- var mbCode = prefix + i;
- if (skipEncodeChars[mbCode])
- continue;
-
- if (uCode >= 0)
- this._setEncodeChar(uCode, mbCode);
- else if (uCode <= NODE_START)
- this._fillEncodeTable(NODE_START - uCode, mbCode << 8, skipEncodeChars);
- else if (uCode <= SEQ_START)
- this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode);
- }
-}
-
-
-
-// == Encoder ==================================================================
-
-function DBCSEncoder(options, codec) {
- // Encoder state
- this.leadSurrogate = -1;
- this.seqObj = undefined;
-
- // Static data
- this.encodeTable = codec.encodeTable;
- this.encodeTableSeq = codec.encodeTableSeq;
- this.defaultCharSingleByte = codec.defCharSB;
- this.gb18030 = codec.gb18030;
-}
-
-DBCSEncoder.prototype.write = function(str) {
- var newBuf = Buffer.alloc(str.length * (this.gb18030 ? 4 : 3)),
- leadSurrogate = this.leadSurrogate,
- seqObj = this.seqObj, nextChar = -1,
- i = 0, j = 0;
-
- while (true) {
- // 0. Get next character.
- if (nextChar === -1) {
- if (i == str.length) break;
- var uCode = str.charCodeAt(i++);
- }
- else {
- var uCode = nextChar;
- nextChar = -1;
- }
-
- // 1. Handle surrogates.
- if (0xD800 <= uCode && uCode < 0xE000) { // Char is one of surrogates.
- if (uCode < 0xDC00) { // We've got lead surrogate.
- if (leadSurrogate === -1) {
- leadSurrogate = uCode;
- continue;
- } else {
- leadSurrogate = uCode;
- // Double lead surrogate found.
- uCode = UNASSIGNED;
- }
- } else { // We've got trail surrogate.
- if (leadSurrogate !== -1) {
- uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00);
- leadSurrogate = -1;
- } else {
- // Incomplete surrogate pair - only trail surrogate found.
- uCode = UNASSIGNED;
- }
-
- }
- }
- else if (leadSurrogate !== -1) {
- // Incomplete surrogate pair - only lead surrogate found.
- nextChar = uCode; uCode = UNASSIGNED; // Write an error, then current char.
- leadSurrogate = -1;
- }
-
- // 2. Convert uCode character.
- var dbcsCode = UNASSIGNED;
- if (seqObj !== undefined && uCode != UNASSIGNED) { // We are in the middle of the sequence
- var resCode = seqObj[uCode];
- if (typeof resCode === 'object') { // Sequence continues.
- seqObj = resCode;
- continue;
-
- } else if (typeof resCode == 'number') { // Sequence finished. Write it.
- dbcsCode = resCode;
-
- } else if (resCode == undefined) { // Current character is not part of the sequence.
-
- // Try default character for this sequence
- resCode = seqObj[DEF_CHAR];
- if (resCode !== undefined) {
- dbcsCode = resCode; // Found. Write it.
- nextChar = uCode; // Current character will be written too in the next iteration.
-
- } else {
- // TODO: What if we have no default? (resCode == undefined)
- // Then, we should write first char of the sequence as-is and try the rest recursively.
- // Didn't do it for now because no encoding has this situation yet.
- // Currently, just skip the sequence and write current char.
- }
- }
- seqObj = undefined;
- }
- else if (uCode >= 0) { // Regular character
- var subtable = this.encodeTable[uCode >> 8];
- if (subtable !== undefined)
- dbcsCode = subtable[uCode & 0xFF];
-
- if (dbcsCode <= SEQ_START) { // Sequence start
- seqObj = this.encodeTableSeq[SEQ_START-dbcsCode];
- continue;
- }
-
- if (dbcsCode == UNASSIGNED && this.gb18030) {
- // Use GB18030 algorithm to find character(s) to write.
- var idx = findIdx(this.gb18030.uChars, uCode);
- if (idx != -1) {
- var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]);
- newBuf[j++] = 0x81 + Math.floor(dbcsCode / 12600); dbcsCode = dbcsCode % 12600;
- newBuf[j++] = 0x30 + Math.floor(dbcsCode / 1260); dbcsCode = dbcsCode % 1260;
- newBuf[j++] = 0x81 + Math.floor(dbcsCode / 10); dbcsCode = dbcsCode % 10;
- newBuf[j++] = 0x30 + dbcsCode;
- continue;
- }
- }
- }
-
- // 3. Write dbcsCode character.
- if (dbcsCode === UNASSIGNED)
- dbcsCode = this.defaultCharSingleByte;
-
- if (dbcsCode < 0x100) {
- newBuf[j++] = dbcsCode;
- }
- else if (dbcsCode < 0x10000) {
- newBuf[j++] = dbcsCode >> 8; // high byte
- newBuf[j++] = dbcsCode & 0xFF; // low byte
- }
- else {
- newBuf[j++] = dbcsCode >> 16;
- newBuf[j++] = (dbcsCode >> 8) & 0xFF;
- newBuf[j++] = dbcsCode & 0xFF;
- }
- }
-
- this.seqObj = seqObj;
- this.leadSurrogate = leadSurrogate;
- return newBuf.slice(0, j);
-}
-
-DBCSEncoder.prototype.end = function() {
- if (this.leadSurrogate === -1 && this.seqObj === undefined)
- return; // All clean. Most often case.
-
- var newBuf = Buffer.alloc(10), j = 0;
-
- if (this.seqObj) { // We're in the sequence.
- var dbcsCode = this.seqObj[DEF_CHAR];
- if (dbcsCode !== undefined) { // Write beginning of the sequence.
- if (dbcsCode < 0x100) {
- newBuf[j++] = dbcsCode;
- }
- else {
- newBuf[j++] = dbcsCode >> 8; // high byte
- newBuf[j++] = dbcsCode & 0xFF; // low byte
- }
- } else {
- // See todo above.
- }
- this.seqObj = undefined;
- }
-
- if (this.leadSurrogate !== -1) {
- // Incomplete surrogate pair - only lead surrogate found.
- newBuf[j++] = this.defaultCharSingleByte;
- this.leadSurrogate = -1;
- }
-
- return newBuf.slice(0, j);
-}
-
-// Export for testing
-DBCSEncoder.prototype.findIdx = findIdx;
-
-
-// == Decoder ==================================================================
-
-function DBCSDecoder(options, codec) {
- // Decoder state
- this.nodeIdx = 0;
- this.prevBuf = Buffer.alloc(0);
-
- // Static data
- this.decodeTables = codec.decodeTables;
- this.decodeTableSeq = codec.decodeTableSeq;
- this.defaultCharUnicode = codec.defaultCharUnicode;
- this.gb18030 = codec.gb18030;
-}
-
-DBCSDecoder.prototype.write = function(buf) {
- var newBuf = Buffer.alloc(buf.length*2),
- nodeIdx = this.nodeIdx,
- prevBuf = this.prevBuf, prevBufOffset = this.prevBuf.length,
- seqStart = -this.prevBuf.length, // idx of the start of current parsed sequence.
- uCode;
-
- if (prevBufOffset > 0) // Make prev buf overlap a little to make it easier to slice later.
- prevBuf = Buffer.concat([prevBuf, buf.slice(0, 10)]);
-
- for (var i = 0, j = 0; i < buf.length; i++) {
- var curByte = (i >= 0) ? buf[i] : prevBuf[i + prevBufOffset];
-
- // Lookup in current trie node.
- var uCode = this.decodeTables[nodeIdx][curByte];
-
- if (uCode >= 0) {
- // Normal character, just use it.
- }
- else if (uCode === UNASSIGNED) { // Unknown char.
- // TODO: Callback with seq.
- //var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset);
- i = seqStart; // Try to parse again, after skipping first byte of the sequence ('i' will be incremented by 'for' cycle).
- uCode = this.defaultCharUnicode.charCodeAt(0);
- }
- else if (uCode === GB18030_CODE) {
- var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset);
- var ptr = (curSeq[0]-0x81)*12600 + (curSeq[1]-0x30)*1260 + (curSeq[2]-0x81)*10 + (curSeq[3]-0x30);
- var idx = findIdx(this.gb18030.gbChars, ptr);
- uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx];
- }
- else if (uCode <= NODE_START) { // Go to next trie node.
- nodeIdx = NODE_START - uCode;
- continue;
- }
- else if (uCode <= SEQ_START) { // Output a sequence of chars.
- var seq = this.decodeTableSeq[SEQ_START - uCode];
- for (var k = 0; k < seq.length - 1; k++) {
- uCode = seq[k];
- newBuf[j++] = uCode & 0xFF;
- newBuf[j++] = uCode >> 8;
- }
- uCode = seq[seq.length-1];
- }
- else
- throw new Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte);
-
- // Write the character to buffer, handling higher planes using surrogate pair.
- if (uCode > 0xFFFF) {
- uCode -= 0x10000;
- var uCodeLead = 0xD800 + Math.floor(uCode / 0x400);
- newBuf[j++] = uCodeLead & 0xFF;
- newBuf[j++] = uCodeLead >> 8;
-
- uCode = 0xDC00 + uCode % 0x400;
- }
- newBuf[j++] = uCode & 0xFF;
- newBuf[j++] = uCode >> 8;
-
- // Reset trie node.
- nodeIdx = 0; seqStart = i+1;
- }
-
- this.nodeIdx = nodeIdx;
- this.prevBuf = (seqStart >= 0) ? buf.slice(seqStart) : prevBuf.slice(seqStart + prevBufOffset);
- return newBuf.slice(0, j).toString('ucs2');
-}
-
-DBCSDecoder.prototype.end = function() {
- var ret = '';
-
- // Try to parse all remaining chars.
- while (this.prevBuf.length > 0) {
- // Skip 1 character in the buffer.
- ret += this.defaultCharUnicode;
- var buf = this.prevBuf.slice(1);
-
- // Parse remaining as usual.
- this.prevBuf = Buffer.alloc(0);
- this.nodeIdx = 0;
- if (buf.length > 0)
- ret += this.write(buf);
- }
-
- this.nodeIdx = 0;
- return ret;
-}
-
-// Binary search for GB18030. Returns largest i such that table[i] <= val.
-function findIdx(table, val) {
- if (table[0] > val)
- return -1;
-
- var l = 0, r = table.length;
- while (l < r-1) { // always table[l] <= val < table[r]
- var mid = l + Math.floor((r-l+1)/2);
- if (table[mid] <= val)
- l = mid;
- else
- r = mid;
- }
- return l;
-}
-
diff --git a/Server/node_modules/iconv-lite/encodings/dbcs-data.js b/Server/node_modules/iconv-lite/encodings/dbcs-data.js
deleted file mode 100644
index 4b61914..0000000
--- a/Server/node_modules/iconv-lite/encodings/dbcs-data.js
+++ /dev/null
@@ -1,176 +0,0 @@
-"use strict";
-
-// Description of supported double byte encodings and aliases.
-// Tables are not require()-d until they are needed to speed up library load.
-// require()-s are direct to support Browserify.
-
-module.exports = {
-
- // == Japanese/ShiftJIS ====================================================
- // All japanese encodings are based on JIS X set of standards:
- // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF.
- // JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes.
- // Has several variations in 1978, 1983, 1990 and 1997.
- // JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead.
- // JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233.
- // 2 planes, first is superset of 0208, second - revised 0212.
- // Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx)
-
- // Byte encodings are:
- // * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte
- // encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC.
- // Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI.
- // * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes.
- // 0x00-0x7F - lower part of 0201
- // 0x8E, 0xA1-0xDF - upper part of 0201
- // (0xA1-0xFE)x2 - 0208 plane (94x94).
- // 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94).
- // * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon.
- // Used as-is in ISO2022 family.
- // * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII,
- // 0201-1976 Roman, 0208-1978, 0208-1983.
- // * ISO2022-JP-1: Adds esc seq for 0212-1990.
- // * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7.
- // * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2.
- // * ISO2022-JP-2004: Adds 0213-2004 Plane 1.
- //
- // After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes.
- //
- // Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html
-
- 'shiftjis': {
- type: '_dbcs',
- table: function() { return require('./tables/shiftjis.json') },
- encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E},
- encodeSkipVals: [{from: 0xED40, to: 0xF940}],
- },
- 'csshiftjis': 'shiftjis',
- 'mskanji': 'shiftjis',
- 'sjis': 'shiftjis',
- 'windows31j': 'shiftjis',
- 'ms31j': 'shiftjis',
- 'xsjis': 'shiftjis',
- 'windows932': 'shiftjis',
- 'ms932': 'shiftjis',
- '932': 'shiftjis',
- 'cp932': 'shiftjis',
-
- 'eucjp': {
- type: '_dbcs',
- table: function() { return require('./tables/eucjp.json') },
- encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E},
- },
-
- // TODO: KDDI extension to Shift_JIS
- // TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes.
- // TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars.
-
-
- // == Chinese/GBK ==========================================================
- // http://en.wikipedia.org/wiki/GBK
- // We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder
-
- // Oldest GB2312 (1981, ~7600 chars) is a subset of CP936
- 'gb2312': 'cp936',
- 'gb231280': 'cp936',
- 'gb23121980': 'cp936',
- 'csgb2312': 'cp936',
- 'csiso58gb231280': 'cp936',
- 'euccn': 'cp936',
-
- // Microsoft's CP936 is a subset and approximation of GBK.
- 'windows936': 'cp936',
- 'ms936': 'cp936',
- '936': 'cp936',
- 'cp936': {
- type: '_dbcs',
- table: function() { return require('./tables/cp936.json') },
- },
-
- // GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other.
- 'gbk': {
- type: '_dbcs',
- table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) },
- },
- 'xgbk': 'gbk',
- 'isoir58': 'gbk',
-
- // GB18030 is an algorithmic extension of GBK.
- // Main source: https://www.w3.org/TR/encoding/#gbk-encoder
- // http://icu-project.org/docs/papers/gb18030.html
- // http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml
- // http://www.khngai.com/chinese/charmap/tblgbk.php?page=0
- 'gb18030': {
- type: '_dbcs',
- table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) },
- gb18030: function() { return require('./tables/gb18030-ranges.json') },
- encodeSkipVals: [0x80],
- encodeAdd: {'€': 0xA2E3},
- },
-
- 'chinese': 'gb18030',
-
-
- // == Korean ===============================================================
- // EUC-KR, KS_C_5601 and KS X 1001 are exactly the same.
- 'windows949': 'cp949',
- 'ms949': 'cp949',
- '949': 'cp949',
- 'cp949': {
- type: '_dbcs',
- table: function() { return require('./tables/cp949.json') },
- },
-
- 'cseuckr': 'cp949',
- 'csksc56011987': 'cp949',
- 'euckr': 'cp949',
- 'isoir149': 'cp949',
- 'korean': 'cp949',
- 'ksc56011987': 'cp949',
- 'ksc56011989': 'cp949',
- 'ksc5601': 'cp949',
-
-
- // == Big5/Taiwan/Hong Kong ================================================
- // There are lots of tables for Big5 and cp950. Please see the following links for history:
- // http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html
- // Variations, in roughly number of defined chars:
- // * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT
- // * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/
- // * Big5-2003 (Taiwan standard) almost superset of cp950.
- // * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers.
- // * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard.
- // many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years.
- // Plus, it has 4 combining sequences.
- // Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299
- // because big5-hkscs is the only encoding to include astral characters in non-algorithmic way.
- // Implementations are not consistent within browsers; sometimes labeled as just big5.
- // MS Internet Explorer switches from big5 to big5-hkscs when a patch applied.
- // Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31
- // In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s.
- // Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt
- // http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt
- //
- // Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder
- // Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong.
-
- 'windows950': 'cp950',
- 'ms950': 'cp950',
- '950': 'cp950',
- 'cp950': {
- type: '_dbcs',
- table: function() { return require('./tables/cp950.json') },
- },
-
- // Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus.
- 'big5': 'big5hkscs',
- 'big5hkscs': {
- type: '_dbcs',
- table: function() { return require('./tables/cp950.json').concat(require('./tables/big5-added.json')) },
- encodeSkipVals: [0xa2cc],
- },
-
- 'cnbig5': 'big5hkscs',
- 'csbig5': 'big5hkscs',
- 'xxbig5': 'big5hkscs',
-};
diff --git a/Server/node_modules/iconv-lite/encodings/index.js b/Server/node_modules/iconv-lite/encodings/index.js
deleted file mode 100644
index e304003..0000000
--- a/Server/node_modules/iconv-lite/encodings/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-
-// Update this array if you add/rename/remove files in this directory.
-// We support Browserify by skipping automatic module discovery and requiring modules directly.
-var modules = [
- require("./internal"),
- require("./utf16"),
- require("./utf7"),
- require("./sbcs-codec"),
- require("./sbcs-data"),
- require("./sbcs-data-generated"),
- require("./dbcs-codec"),
- require("./dbcs-data"),
-];
-
-// Put all encoding/alias/codec definitions to single object and export it.
-for (var i = 0; i < modules.length; i++) {
- var module = modules[i];
- for (var enc in module)
- if (Object.prototype.hasOwnProperty.call(module, enc))
- exports[enc] = module[enc];
-}
diff --git a/Server/node_modules/iconv-lite/encodings/internal.js b/Server/node_modules/iconv-lite/encodings/internal.js
deleted file mode 100644
index 05ce38b..0000000
--- a/Server/node_modules/iconv-lite/encodings/internal.js
+++ /dev/null
@@ -1,188 +0,0 @@
-"use strict";
-var Buffer = require("safer-buffer").Buffer;
-
-// Export Node.js internal encodings.
-
-module.exports = {
- // Encodings
- utf8: { type: "_internal", bomAware: true},
- cesu8: { type: "_internal", bomAware: true},
- unicode11utf8: "utf8",
-
- ucs2: { type: "_internal", bomAware: true},
- utf16le: "ucs2",
-
- binary: { type: "_internal" },
- base64: { type: "_internal" },
- hex: { type: "_internal" },
-
- // Codec.
- _internal: InternalCodec,
-};
-
-//------------------------------------------------------------------------------
-
-function InternalCodec(codecOptions, iconv) {
- this.enc = codecOptions.encodingName;
- this.bomAware = codecOptions.bomAware;
-
- if (this.enc === "base64")
- this.encoder = InternalEncoderBase64;
- else if (this.enc === "cesu8") {
- this.enc = "utf8"; // Use utf8 for decoding.
- this.encoder = InternalEncoderCesu8;
-
- // Add decoder for versions of Node not supporting CESU-8
- if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '💩') {
- this.decoder = InternalDecoderCesu8;
- this.defaultCharUnicode = iconv.defaultCharUnicode;
- }
- }
-}
-
-InternalCodec.prototype.encoder = InternalEncoder;
-InternalCodec.prototype.decoder = InternalDecoder;
-
-//------------------------------------------------------------------------------
-
-// We use node.js internal decoder. Its signature is the same as ours.
-var StringDecoder = require('string_decoder').StringDecoder;
-
-if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method.
- StringDecoder.prototype.end = function() {};
-
-
-function InternalDecoder(options, codec) {
- StringDecoder.call(this, codec.enc);
-}
-
-InternalDecoder.prototype = StringDecoder.prototype;
-
-
-//------------------------------------------------------------------------------
-// Encoder is mostly trivial
-
-function InternalEncoder(options, codec) {
- this.enc = codec.enc;
-}
-
-InternalEncoder.prototype.write = function(str) {
- return Buffer.from(str, this.enc);
-}
-
-InternalEncoder.prototype.end = function() {
-}
-
-
-//------------------------------------------------------------------------------
-// Except base64 encoder, which must keep its state.
-
-function InternalEncoderBase64(options, codec) {
- this.prevStr = '';
-}
-
-InternalEncoderBase64.prototype.write = function(str) {
- str = this.prevStr + str;
- var completeQuads = str.length - (str.length % 4);
- this.prevStr = str.slice(completeQuads);
- str = str.slice(0, completeQuads);
-
- return Buffer.from(str, "base64");
-}
-
-InternalEncoderBase64.prototype.end = function() {
- return Buffer.from(this.prevStr, "base64");
-}
-
-
-//------------------------------------------------------------------------------
-// CESU-8 encoder is also special.
-
-function InternalEncoderCesu8(options, codec) {
-}
-
-InternalEncoderCesu8.prototype.write = function(str) {
- var buf = Buffer.alloc(str.length * 3), bufIdx = 0;
- for (var i = 0; i < str.length; i++) {
- var charCode = str.charCodeAt(i);
- // Naive implementation, but it works because CESU-8 is especially easy
- // to convert from UTF-16 (which all JS strings are encoded in).
- if (charCode < 0x80)
- buf[bufIdx++] = charCode;
- else if (charCode < 0x800) {
- buf[bufIdx++] = 0xC0 + (charCode >>> 6);
- buf[bufIdx++] = 0x80 + (charCode & 0x3f);
- }
- else { // charCode will always be < 0x10000 in javascript.
- buf[bufIdx++] = 0xE0 + (charCode >>> 12);
- buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f);
- buf[bufIdx++] = 0x80 + (charCode & 0x3f);
- }
- }
- return buf.slice(0, bufIdx);
-}
-
-InternalEncoderCesu8.prototype.end = function() {
-}
-
-//------------------------------------------------------------------------------
-// CESU-8 decoder is not implemented in Node v4.0+
-
-function InternalDecoderCesu8(options, codec) {
- this.acc = 0;
- this.contBytes = 0;
- this.accBytes = 0;
- this.defaultCharUnicode = codec.defaultCharUnicode;
-}
-
-InternalDecoderCesu8.prototype.write = function(buf) {
- var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes,
- res = '';
- for (var i = 0; i < buf.length; i++) {
- var curByte = buf[i];
- if ((curByte & 0xC0) !== 0x80) { // Leading byte
- if (contBytes > 0) { // Previous code is invalid
- res += this.defaultCharUnicode;
- contBytes = 0;
- }
-
- if (curByte < 0x80) { // Single-byte code
- res += String.fromCharCode(curByte);
- } else if (curByte < 0xE0) { // Two-byte code
- acc = curByte & 0x1F;
- contBytes = 1; accBytes = 1;
- } else if (curByte < 0xF0) { // Three-byte code
- acc = curByte & 0x0F;
- contBytes = 2; accBytes = 1;
- } else { // Four or more are not supported for CESU-8.
- res += this.defaultCharUnicode;
- }
- } else { // Continuation byte
- if (contBytes > 0) { // We're waiting for it.
- acc = (acc << 6) | (curByte & 0x3f);
- contBytes--; accBytes++;
- if (contBytes === 0) {
- // Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80)
- if (accBytes === 2 && acc < 0x80 && acc > 0)
- res += this.defaultCharUnicode;
- else if (accBytes === 3 && acc < 0x800)
- res += this.defaultCharUnicode;
- else
- // Actually add character.
- res += String.fromCharCode(acc);
- }
- } else { // Unexpected continuation byte
- res += this.defaultCharUnicode;
- }
- }
- }
- this.acc = acc; this.contBytes = contBytes; this.accBytes = accBytes;
- return res;
-}
-
-InternalDecoderCesu8.prototype.end = function() {
- var res = 0;
- if (this.contBytes > 0)
- res += this.defaultCharUnicode;
- return res;
-}
diff --git a/Server/node_modules/iconv-lite/encodings/sbcs-codec.js b/Server/node_modules/iconv-lite/encodings/sbcs-codec.js
deleted file mode 100644
index abac5ff..0000000
--- a/Server/node_modules/iconv-lite/encodings/sbcs-codec.js
+++ /dev/null
@@ -1,72 +0,0 @@
-"use strict";
-var Buffer = require("safer-buffer").Buffer;
-
-// Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that
-// correspond to encoded bytes (if 128 - then lower half is ASCII).
-
-exports._sbcs = SBCSCodec;
-function SBCSCodec(codecOptions, iconv) {
- if (!codecOptions)
- throw new Error("SBCS codec is called without the data.")
-
- // Prepare char buffer for decoding.
- if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256))
- throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)");
-
- if (codecOptions.chars.length === 128) {
- var asciiString = "";
- for (var i = 0; i < 128; i++)
- asciiString += String.fromCharCode(i);
- codecOptions.chars = asciiString + codecOptions.chars;
- }
-
- this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2');
-
- // Encoding buffer.
- var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0));
-
- for (var i = 0; i < codecOptions.chars.length; i++)
- encodeBuf[codecOptions.chars.charCodeAt(i)] = i;
-
- this.encodeBuf = encodeBuf;
-}
-
-SBCSCodec.prototype.encoder = SBCSEncoder;
-SBCSCodec.prototype.decoder = SBCSDecoder;
-
-
-function SBCSEncoder(options, codec) {
- this.encodeBuf = codec.encodeBuf;
-}
-
-SBCSEncoder.prototype.write = function(str) {
- var buf = Buffer.alloc(str.length);
- for (var i = 0; i < str.length; i++)
- buf[i] = this.encodeBuf[str.charCodeAt(i)];
-
- return buf;
-}
-
-SBCSEncoder.prototype.end = function() {
-}
-
-
-function SBCSDecoder(options, codec) {
- this.decodeBuf = codec.decodeBuf;
-}
-
-SBCSDecoder.prototype.write = function(buf) {
- // Strings are immutable in JS -> we use ucs2 buffer to speed up computations.
- var decodeBuf = this.decodeBuf;
- var newBuf = Buffer.alloc(buf.length*2);
- var idx1 = 0, idx2 = 0;
- for (var i = 0; i < buf.length; i++) {
- idx1 = buf[i]*2; idx2 = i*2;
- newBuf[idx2] = decodeBuf[idx1];
- newBuf[idx2+1] = decodeBuf[idx1+1];
- }
- return newBuf.toString('ucs2');
-}
-
-SBCSDecoder.prototype.end = function() {
-}
diff --git a/Server/node_modules/iconv-lite/encodings/sbcs-data-generated.js b/Server/node_modules/iconv-lite/encodings/sbcs-data-generated.js
deleted file mode 100644
index 9b48236..0000000
--- a/Server/node_modules/iconv-lite/encodings/sbcs-data-generated.js
+++ /dev/null
@@ -1,451 +0,0 @@
-"use strict";
-
-// Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script.
-module.exports = {
- "437": "cp437",
- "737": "cp737",
- "775": "cp775",
- "850": "cp850",
- "852": "cp852",
- "855": "cp855",
- "856": "cp856",
- "857": "cp857",
- "858": "cp858",
- "860": "cp860",
- "861": "cp861",
- "862": "cp862",
- "863": "cp863",
- "864": "cp864",
- "865": "cp865",
- "866": "cp866",
- "869": "cp869",
- "874": "windows874",
- "922": "cp922",
- "1046": "cp1046",
- "1124": "cp1124",
- "1125": "cp1125",
- "1129": "cp1129",
- "1133": "cp1133",
- "1161": "cp1161",
- "1162": "cp1162",
- "1163": "cp1163",
- "1250": "windows1250",
- "1251": "windows1251",
- "1252": "windows1252",
- "1253": "windows1253",
- "1254": "windows1254",
- "1255": "windows1255",
- "1256": "windows1256",
- "1257": "windows1257",
- "1258": "windows1258",
- "28591": "iso88591",
- "28592": "iso88592",
- "28593": "iso88593",
- "28594": "iso88594",
- "28595": "iso88595",
- "28596": "iso88596",
- "28597": "iso88597",
- "28598": "iso88598",
- "28599": "iso88599",
- "28600": "iso885910",
- "28601": "iso885911",
- "28603": "iso885913",
- "28604": "iso885914",
- "28605": "iso885915",
- "28606": "iso885916",
- "windows874": {
- "type": "_sbcs",
- "chars": "€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
- },
- "win874": "windows874",
- "cp874": "windows874",
- "windows1250": {
- "type": "_sbcs",
- "chars": "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
- },
- "win1250": "windows1250",
- "cp1250": "windows1250",
- "windows1251": {
- "type": "_sbcs",
- "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
- },
- "win1251": "windows1251",
- "cp1251": "windows1251",
- "windows1252": {
- "type": "_sbcs",
- "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
- },
- "win1252": "windows1252",
- "cp1252": "windows1252",
- "windows1253": {
- "type": "_sbcs",
- "chars": "€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"
- },
- "win1253": "windows1253",
- "cp1253": "windows1253",
- "windows1254": {
- "type": "_sbcs",
- "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"
- },
- "win1254": "windows1254",
- "cp1254": "windows1254",
- "windows1255": {
- "type": "_sbcs",
- "chars": "€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"
- },
- "win1255": "windows1255",
- "cp1255": "windows1255",
- "windows1256": {
- "type": "_sbcs",
- "chars": "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"
- },
- "win1256": "windows1256",
- "cp1256": "windows1256",
- "windows1257": {
- "type": "_sbcs",
- "chars": "€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"
- },
- "win1257": "windows1257",
- "cp1257": "windows1257",
- "windows1258": {
- "type": "_sbcs",
- "chars": "€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
- },
- "win1258": "windows1258",
- "cp1258": "windows1258",
- "iso88591": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
- },
- "cp28591": "iso88591",
- "iso88592": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
- },
- "cp28592": "iso88592",
- "iso88593": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"
- },
- "cp28593": "iso88593",
- "iso88594": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤ĨĻ§¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩļˇ¸šēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖ×ØŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"
- },
- "cp28594": "iso88594",
- "iso88595": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"
- },
- "cp28595": "iso88595",
- "iso88596": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"
- },
- "cp28596": "iso88596",
- "iso88597": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"
- },
- "cp28597": "iso88597",
- "iso88598": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"
- },
- "cp28598": "iso88598",
- "iso88599": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"
- },
- "cp28599": "iso88599",
- "iso885910": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨĶ§ĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"
- },
- "cp28600": "iso885910",
- "iso885911": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
- },
- "cp28601": "iso885911",
- "iso885913": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"
- },
- "cp28603": "iso885913",
- "iso885914": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"
- },
- "cp28604": "iso885914",
- "iso885915": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
- },
- "cp28605": "iso885915",
- "iso885916": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Š§š©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"
- },
- "cp28606": "iso885916",
- "cp437": {
- "type": "_sbcs",
- "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
- },
- "ibm437": "cp437",
- "csibm437": "cp437",
- "cp737": {
- "type": "_sbcs",
- "chars": "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "
- },
- "ibm737": "cp737",
- "csibm737": "cp737",
- "cp775": {
- "type": "_sbcs",
- "chars": "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£ØפĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "
- },
- "ibm775": "cp775",
- "csibm775": "cp775",
- "cp850": {
- "type": "_sbcs",
- "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "
- },
- "ibm850": "cp850",
- "csibm850": "cp850",
- "cp852": {
- "type": "_sbcs",
- "chars": "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "
- },
- "ibm852": "cp852",
- "csibm852": "cp852",
- "cp855": {
- "type": "_sbcs",
- "chars": "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "
- },
- "ibm855": "cp855",
- "csibm855": "cp855",
- "cp856": {
- "type": "_sbcs",
- "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "
- },
- "ibm856": "cp856",
- "csibm856": "cp856",
- "cp857": {
- "type": "_sbcs",
- "chars": "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "
- },
- "ibm857": "cp857",
- "csibm857": "cp857",
- "cp858": {
- "type": "_sbcs",
- "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "
- },
- "ibm858": "cp858",
- "csibm858": "cp858",
- "cp860": {
- "type": "_sbcs",
- "chars": "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
- },
- "ibm860": "cp860",
- "csibm860": "cp860",
- "cp861": {
- "type": "_sbcs",
- "chars": "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
- },
- "ibm861": "cp861",
- "csibm861": "cp861",
- "cp862": {
- "type": "_sbcs",
- "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
- },
- "ibm862": "cp862",
- "csibm862": "cp862",
- "cp863": {
- "type": "_sbcs",
- "chars": "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
- },
- "ibm863": "cp863",
- "csibm863": "cp863",
- "cp864": {
- "type": "_sbcs",
- "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"
- },
- "ibm864": "cp864",
- "csibm864": "cp864",
- "cp865": {
- "type": "_sbcs",
- "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
- },
- "ibm865": "cp865",
- "csibm865": "cp865",
- "cp866": {
- "type": "_sbcs",
- "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "
- },
- "ibm866": "cp866",
- "csibm866": "cp866",
- "cp869": {
- "type": "_sbcs",
- "chars": "������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "
- },
- "ibm869": "cp869",
- "csibm869": "cp869",
- "cp922": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"
- },
- "ibm922": "cp922",
- "csibm922": "cp922",
- "cp1046": {
- "type": "_sbcs",
- "chars": "ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"
- },
- "ibm1046": "cp1046",
- "csibm1046": "cp1046",
- "cp1124": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"
- },
- "ibm1124": "cp1124",
- "csibm1124": "cp1124",
- "cp1125": {
- "type": "_sbcs",
- "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "
- },
- "ibm1125": "cp1125",
- "csibm1125": "cp1125",
- "cp1129": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
- },
- "ibm1129": "cp1129",
- "csibm1129": "cp1129",
- "cp1133": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"
- },
- "ibm1133": "cp1133",
- "csibm1133": "cp1133",
- "cp1161": {
- "type": "_sbcs",
- "chars": "��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "
- },
- "ibm1161": "cp1161",
- "csibm1161": "cp1161",
- "cp1162": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
- },
- "ibm1162": "cp1162",
- "csibm1162": "cp1162",
- "cp1163": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
- },
- "ibm1163": "cp1163",
- "csibm1163": "cp1163",
- "maccroatian": {
- "type": "_sbcs",
- "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"
- },
- "maccyrillic": {
- "type": "_sbcs",
- "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"
- },
- "macgreek": {
- "type": "_sbcs",
- "chars": "Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"
- },
- "maciceland": {
- "type": "_sbcs",
- "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
- },
- "macroman": {
- "type": "_sbcs",
- "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
- },
- "macromania": {
- "type": "_sbcs",
- "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
- },
- "macthai": {
- "type": "_sbcs",
- "chars": "«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"
- },
- "macturkish": {
- "type": "_sbcs",
- "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"
- },
- "macukraine": {
- "type": "_sbcs",
- "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"
- },
- "koi8r": {
- "type": "_sbcs",
- "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
- },
- "koi8u": {
- "type": "_sbcs",
- "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
- },
- "koi8ru": {
- "type": "_sbcs",
- "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
- },
- "koi8t": {
- "type": "_sbcs",
- "chars": "қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
- },
- "armscii8": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"
- },
- "rk1048": {
- "type": "_sbcs",
- "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
- },
- "tcvn": {
- "type": "_sbcs",
- "chars": "\u0000ÚỤ\u0003ỪỬỮ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010ỨỰỲỶỸÝỴ\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"
- },
- "georgianacademy": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
- },
- "georgianps": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
- },
- "pt154": {
- "type": "_sbcs",
- "chars": "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
- },
- "viscii": {
- "type": "_sbcs",
- "chars": "\u0000\u0001Ẳ\u0003\u0004ẴẪ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013Ỷ\u0015\u0016\u0017\u0018Ỹ\u001a\u001b\u001c\u001dỴ\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"
- },
- "iso646cn": {
- "type": "_sbcs",
- "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"
- },
- "iso646jp": {
- "type": "_sbcs",
- "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"
- },
- "hproman8": {
- "type": "_sbcs",
- "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"
- },
- "macintosh": {
- "type": "_sbcs",
- "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
- },
- "ascii": {
- "type": "_sbcs",
- "chars": "��������������������������������������������������������������������������������������������������������������������������������"
- },
- "tis620": {
- "type": "_sbcs",
- "chars": "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"
- }
-}
\ No newline at end of file
diff --git a/Server/node_modules/iconv-lite/encodings/sbcs-data.js b/Server/node_modules/iconv-lite/encodings/sbcs-data.js
deleted file mode 100644
index fdb81a3..0000000
--- a/Server/node_modules/iconv-lite/encodings/sbcs-data.js
+++ /dev/null
@@ -1,174 +0,0 @@
-"use strict";
-
-// Manually added data to be used by sbcs codec in addition to generated one.
-
-module.exports = {
- // Not supported by iconv, not sure why.
- "10029": "maccenteuro",
- "maccenteuro": {
- "type": "_sbcs",
- "chars": "ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"
- },
-
- "808": "cp808",
- "ibm808": "cp808",
- "cp808": {
- "type": "_sbcs",
- "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "
- },
-
- "mik": {
- "type": "_sbcs",
- "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
- },
-
- // Aliases of generated encodings.
- "ascii8bit": "ascii",
- "usascii": "ascii",
- "ansix34": "ascii",
- "ansix341968": "ascii",
- "ansix341986": "ascii",
- "csascii": "ascii",
- "cp367": "ascii",
- "ibm367": "ascii",
- "isoir6": "ascii",
- "iso646us": "ascii",
- "iso646irv": "ascii",
- "us": "ascii",
-
- "latin1": "iso88591",
- "latin2": "iso88592",
- "latin3": "iso88593",
- "latin4": "iso88594",
- "latin5": "iso88599",
- "latin6": "iso885910",
- "latin7": "iso885913",
- "latin8": "iso885914",
- "latin9": "iso885915",
- "latin10": "iso885916",
-
- "csisolatin1": "iso88591",
- "csisolatin2": "iso88592",
- "csisolatin3": "iso88593",
- "csisolatin4": "iso88594",
- "csisolatincyrillic": "iso88595",
- "csisolatinarabic": "iso88596",
- "csisolatingreek" : "iso88597",
- "csisolatinhebrew": "iso88598",
- "csisolatin5": "iso88599",
- "csisolatin6": "iso885910",
-
- "l1": "iso88591",
- "l2": "iso88592",
- "l3": "iso88593",
- "l4": "iso88594",
- "l5": "iso88599",
- "l6": "iso885910",
- "l7": "iso885913",
- "l8": "iso885914",
- "l9": "iso885915",
- "l10": "iso885916",
-
- "isoir14": "iso646jp",
- "isoir57": "iso646cn",
- "isoir100": "iso88591",
- "isoir101": "iso88592",
- "isoir109": "iso88593",
- "isoir110": "iso88594",
- "isoir144": "iso88595",
- "isoir127": "iso88596",
- "isoir126": "iso88597",
- "isoir138": "iso88598",
- "isoir148": "iso88599",
- "isoir157": "iso885910",
- "isoir166": "tis620",
- "isoir179": "iso885913",
- "isoir199": "iso885914",
- "isoir203": "iso885915",
- "isoir226": "iso885916",
-
- "cp819": "iso88591",
- "ibm819": "iso88591",
-
- "cyrillic": "iso88595",
-
- "arabic": "iso88596",
- "arabic8": "iso88596",
- "ecma114": "iso88596",
- "asmo708": "iso88596",
-
- "greek" : "iso88597",
- "greek8" : "iso88597",
- "ecma118" : "iso88597",
- "elot928" : "iso88597",
-
- "hebrew": "iso88598",
- "hebrew8": "iso88598",
-
- "turkish": "iso88599",
- "turkish8": "iso88599",
-
- "thai": "iso885911",
- "thai8": "iso885911",
-
- "celtic": "iso885914",
- "celtic8": "iso885914",
- "isoceltic": "iso885914",
-
- "tis6200": "tis620",
- "tis62025291": "tis620",
- "tis62025330": "tis620",
-
- "10000": "macroman",
- "10006": "macgreek",
- "10007": "maccyrillic",
- "10079": "maciceland",
- "10081": "macturkish",
-
- "cspc8codepage437": "cp437",
- "cspc775baltic": "cp775",
- "cspc850multilingual": "cp850",
- "cspcp852": "cp852",
- "cspc862latinhebrew": "cp862",
- "cpgr": "cp869",
-
- "msee": "cp1250",
- "mscyrl": "cp1251",
- "msansi": "cp1252",
- "msgreek": "cp1253",
- "msturk": "cp1254",
- "mshebr": "cp1255",
- "msarab": "cp1256",
- "winbaltrim": "cp1257",
-
- "cp20866": "koi8r",
- "20866": "koi8r",
- "ibm878": "koi8r",
- "cskoi8r": "koi8r",
-
- "cp21866": "koi8u",
- "21866": "koi8u",
- "ibm1168": "koi8u",
-
- "strk10482002": "rk1048",
-
- "tcvn5712": "tcvn",
- "tcvn57121": "tcvn",
-
- "gb198880": "iso646cn",
- "cn": "iso646cn",
-
- "csiso14jisc6220ro": "iso646jp",
- "jisc62201969ro": "iso646jp",
- "jp": "iso646jp",
-
- "cshproman8": "hproman8",
- "r8": "hproman8",
- "roman8": "hproman8",
- "xroman8": "hproman8",
- "ibm1051": "hproman8",
-
- "mac": "macintosh",
- "csmacintosh": "macintosh",
-};
-
diff --git a/Server/node_modules/iconv-lite/encodings/tables/big5-added.json b/Server/node_modules/iconv-lite/encodings/tables/big5-added.json
deleted file mode 100644
index 3c3d3c2..0000000
--- a/Server/node_modules/iconv-lite/encodings/tables/big5-added.json
+++ /dev/null
@@ -1,122 +0,0 @@
-[
-["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],
-["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],
-["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],
-["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],
-["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],
-["8940","𪎩𡅅"],
-["8943","攊"],
-["8946","丽滝鵎釟"],
-["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],
-["89a1","琑糼緍楆竉刧"],
-["89ab","醌碸酞肼"],
-["89b0","贋胶𠧧"],
-["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],
-["89c1","溚舾甙"],
-["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],
-["8a40","𧶄唥"],
-["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],
-["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],
-["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],
-["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],
-["8aac","䠋𠆩㿺塳𢶍"],
-["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],
-["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],
-["8ac9","𪘁𠸉𢫏𢳉"],
-["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],
-["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],
-["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],
-["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],
-["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],
-["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],
-["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],
-["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],
-["8ca1","𣏹椙橃𣱣泿"],
-["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],
-["8cc9","顨杫䉶圽"],
-["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],
-["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],
-["8d40","𠮟"],
-["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],
-["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],
-["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],
-["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],
-["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],
-["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],
-["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],
-["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],
-["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],
-["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],
-["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],
-["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],
-["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],
-["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],
-["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],
-["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],
-["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],
-["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],
-["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],
-["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],
-["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],
-["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],
-["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],
-["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],
-["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],
-["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],
-["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],
-["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],
-["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],
-["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],
-["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],
-["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],
-["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],
-["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],
-["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],
-["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],
-["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],
-["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],
-["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],
-["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],
-["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],
-["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],
-["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],
-["9fae","酙隁酜"],
-["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],
-["9fc1","𤤙盖鮝个𠳔莾衂"],
-["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],
-["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],
-["9fe7","毺蠘罸"],
-["9feb","嘠𪙊蹷齓"],
-["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],
-["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],
-["a055","𡠻𦸅"],
-["a058","詾𢔛"],
-["a05b","惽癧髗鵄鍮鮏蟵"],
-["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],
-["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],
-["a0a1","嵗𨯂迚𨸹"],
-["a0a6","僙𡵆礆匲阸𠼻䁥"],
-["a0ae","矾"],
-["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],
-["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],
-["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],
-["a3c0","␀",31,"␡"],
-["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],
-["c740","す",58,"ァアィイ"],
-["c7a1","ゥ",81,"А",5,"ЁЖ",4],
-["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],
-["c8a1","龰冈龱𧘇"],
-["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],
-["c8f5","ʃɐɛɔɵœøŋʊɪ"],
-["f9fe","■"],
-["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],
-["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],
-["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],
-["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],
-["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],
-["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],
-["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],
-["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],
-["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],
-["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]
-]
diff --git a/Server/node_modules/iconv-lite/encodings/tables/cp936.json b/Server/node_modules/iconv-lite/encodings/tables/cp936.json
deleted file mode 100644
index 49ddb9a..0000000
--- a/Server/node_modules/iconv-lite/encodings/tables/cp936.json
+++ /dev/null
@@ -1,264 +0,0 @@
-[
-["0","\u0000",127,"€"],
-["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],
-["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],
-["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],
-["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],
-["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],
-["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],
-["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],
-["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],
-["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],
-["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],
-["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],
-["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],
-["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],
-["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],
-["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],
-["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],
-["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],
-["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],
-["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],
-["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],
-["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],
-["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],
-["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],
-["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],
-["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],
-["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],
-["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],
-["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],
-["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],
-["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],
-["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],
-["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],
-["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],
-["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],
-["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],
-["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],
-["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],
-["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],
-["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],
-["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],
-["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],
-["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],
-["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],
-["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],
-["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],
-["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],
-["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],
-["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],
-["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],
-["9980","檧檨檪檭",114,"欥欦欨",6],
-["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],
-["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],
-["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],
-["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],
-["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],
-["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],
-["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],
-["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],
-["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],
-["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],
-["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],
-["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],
-["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],
-["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],
-["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],
-["a2a1","ⅰ",9],
-["a2b1","⒈",19,"⑴",19,"①",9],
-["a2e5","㈠",9],
-["a2f1","Ⅰ",11],
-["a3a1","!"#¥%",88," ̄"],
-["a4a1","ぁ",82],
-["a5a1","ァ",85],
-["a6a1","Α",16,"Σ",6],
-["a6c1","α",16,"σ",6],
-["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],
-["a6ee","︻︼︷︸︱"],
-["a6f4","︳︴"],
-["a7a1","А",5,"ЁЖ",25],
-["a7d1","а",5,"ёж",25],
-["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],
-["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],
-["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],
-["a8bd","ńň"],
-["a8c0","ɡ"],
-["a8c5","ㄅ",36],
-["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],
-["a959","℡㈱"],
-["a95c","‐"],
-["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],
-["a980","﹢",4,"﹨﹩﹪﹫"],
-["a996","〇"],
-["a9a4","─",75],
-["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],
-["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],
-["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],
-["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],
-["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],
-["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],
-["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],
-["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],
-["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],
-["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],
-["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],
-["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],
-["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],
-["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],
-["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],
-["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],
-["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],
-["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],
-["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],
-["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],
-["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],
-["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],
-["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],
-["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],
-["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],
-["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],
-["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],
-["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],
-["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],
-["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],
-["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],
-["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],
-["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],
-["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],
-["bb40","籃",9,"籎",36,"籵",5,"籾",9],
-["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],
-["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],
-["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],
-["bd40","紷",54,"絯",7],
-["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],
-["be40","継",12,"綧",6,"綯",42],
-["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],
-["bf40","緻",62],
-["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],
-["c040","繞",35,"纃",23,"纜纝纞"],
-["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],
-["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],
-["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],
-["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],
-["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],
-["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],
-["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],
-["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],
-["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],
-["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],
-["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],
-["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],
-["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],
-["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],
-["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],
-["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],
-["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],
-["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],
-["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],
-["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],
-["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],
-["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],
-["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],
-["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],
-["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],
-["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],
-["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],
-["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],
-["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],
-["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],
-["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],
-["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],
-["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],
-["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],
-["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],
-["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],
-["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],
-["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],
-["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],
-["d440","訞",31,"訿",8,"詉",21],
-["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],
-["d540","誁",7,"誋",7,"誔",46],
-["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],
-["d640","諤",34,"謈",27],
-["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],
-["d740","譆",31,"譧",4,"譭",25],
-["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],
-["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],
-["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],
-["d940","貮",62],
-["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],
-["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],
-["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],
-["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],
-["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],
-["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],
-["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],
-["dd40","軥",62],
-["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],
-["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],
-["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],
-["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],
-["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],
-["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],
-["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],
-["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],
-["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],
-["e240","釦",62],
-["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],
-["e340","鉆",45,"鉵",16],
-["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],
-["e440","銨",5,"銯",24,"鋉",31],
-["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],
-["e540","錊",51,"錿",10],
-["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],
-["e640","鍬",34,"鎐",27],
-["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],
-["e740","鏎",7,"鏗",54],
-["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],
-["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],
-["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],
-["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],
-["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],
-["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],
-["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],
-["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],
-["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],
-["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],
-["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],
-["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],
-["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],
-["ee40","頏",62],
-["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],
-["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],
-["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],
-["f040","餈",4,"餎餏餑",28,"餯",26],
-["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],
-["f140","馌馎馚",10,"馦馧馩",47],
-["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],
-["f240","駺",62],
-["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],
-["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],
-["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],
-["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],
-["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],
-["f540","魼",62],
-["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],
-["f640","鯜",62],
-["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],
-["f740","鰼",62],
-["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],
-["f840","鳣",62],
-["f880","鴢",32],
-["f940","鵃",62],
-["f980","鶂",32],
-["fa40","鶣",62],
-["fa80","鷢",32],
-["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],
-["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],
-["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],
-["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],
-["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],
-["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],
-["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]
-]
diff --git a/Server/node_modules/iconv-lite/encodings/tables/cp949.json b/Server/node_modules/iconv-lite/encodings/tables/cp949.json
deleted file mode 100644
index 2022a00..0000000
--- a/Server/node_modules/iconv-lite/encodings/tables/cp949.json
+++ /dev/null
@@ -1,273 +0,0 @@
-[
-["0","\u0000",127],
-["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],
-["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],
-["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],
-["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],
-["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],
-["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],
-["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],
-["8361","긝",18,"긲긳긵긶긹긻긼"],
-["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],
-["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],
-["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],
-["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],
-["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],
-["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],
-["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],
-["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],
-["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],
-["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],
-["8741","놞",9,"놩",15],
-["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],
-["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],
-["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],
-["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],
-["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],
-["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],
-["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],
-["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],
-["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],
-["8a61","둧",4,"둭",18,"뒁뒂"],
-["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],
-["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],
-["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],
-["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],
-["8c41","똀",15,"똒똓똕똖똗똙",4],
-["8c61","똞",6,"똦",5,"똭",6,"똵",5],
-["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],
-["8d41","뛃",16,"뛕",8],
-["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],
-["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],
-["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],
-["8e61","럂",4,"럈럊",19],
-["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],
-["8f41","뢅",7,"뢎",17],
-["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],
-["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],
-["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],
-["9061","륾",5,"릆릈릋릌릏",15],
-["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],
-["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],
-["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],
-["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],
-["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],
-["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],
-["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],
-["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],
-["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],
-["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],
-["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],
-["9461","봞",5,"봥",6,"봭",12],
-["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],
-["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],
-["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],
-["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],
-["9641","뺸",23,"뻒뻓"],
-["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],
-["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],
-["9741","뾃",16,"뾕",8],
-["9761","뾞",17,"뾱",7],
-["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],
-["9841","쁀",16,"쁒",5,"쁙쁚쁛"],
-["9861","쁝쁞쁟쁡",6,"쁪",15],
-["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],
-["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],
-["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],
-["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],
-["9a41","숤숥숦숧숪숬숮숰숳숵",16],
-["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],
-["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],
-["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],
-["9b61","쌳",17,"썆",7],
-["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],
-["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],
-["9c61","쏿",8,"쐉",6,"쐑",9],
-["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],
-["9d41","쒪",13,"쒹쒺쒻쒽",8],
-["9d61","쓆",25],
-["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],
-["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],
-["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],
-["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],
-["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],
-["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],
-["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],
-["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],
-["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],
-["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],
-["a141","좥좦좧좩",18,"좾좿죀죁"],
-["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],
-["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],
-["a241","줐줒",5,"줙",18],
-["a261","줭",6,"줵",18],
-["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],
-["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],
-["a361","즑",6,"즚즜즞",16],
-["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],
-["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],
-["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],
-["a481","쨦쨧쨨쨪",28,"ㄱ",93],
-["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],
-["a561","쩫",17,"쩾",5,"쪅쪆"],
-["a581","쪇",16,"쪙",14,"ⅰ",9],
-["a5b0","Ⅰ",9],
-["a5c1","Α",16,"Σ",6],
-["a5e1","α",16,"σ",6],
-["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],
-["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],
-["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],
-["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],
-["a761","쬪",22,"쭂쭃쭄"],
-["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],
-["a841","쭭",10,"쭺",14],
-["a861","쮉",18,"쮝",6],
-["a881","쮤",19,"쮹",11,"ÆЪĦ"],
-["a8a6","IJ"],
-["a8a8","ĿŁØŒºÞŦŊ"],
-["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],
-["a941","쯅",14,"쯕",10],
-["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],
-["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],
-["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],
-["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],
-["aa81","챳챴챶",29,"ぁ",82],
-["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],
-["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],
-["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],
-["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],
-["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],
-["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],
-["acd1","а",5,"ёж",25],
-["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],
-["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],
-["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],
-["ae41","췆",5,"췍췎췏췑",16],
-["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],
-["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],
-["af41","츬츭츮츯츲츴츶",19],
-["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],
-["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],
-["b041","캚",5,"캢캦",5,"캮",12],
-["b061","캻",5,"컂",19],
-["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],
-["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],
-["b161","켥",6,"켮켲",5,"켹",11],
-["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],
-["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],
-["b261","쾎",18,"쾢",5,"쾩"],
-["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],
-["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],
-["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],
-["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],
-["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],
-["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],
-["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],
-["b541","킕",14,"킦킧킩킪킫킭",5],
-["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],
-["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],
-["b641","턅",7,"턎",17],
-["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],
-["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],
-["b741","텮",13,"텽",6,"톅톆톇톉톊"],
-["b761","톋",20,"톢톣톥톦톧"],
-["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],
-["b841","퇐",7,"퇙",17],
-["b861","퇫",8,"퇵퇶퇷퇹",13],
-["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],
-["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],
-["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],
-["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],
-["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],
-["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],
-["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],
-["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],
-["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],
-["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],
-["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],
-["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],
-["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],
-["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],
-["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],
-["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],
-["be41","퐸",7,"푁푂푃푅",14],
-["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],
-["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],
-["bf41","풞",10,"풪",14],
-["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],
-["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],
-["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],
-["c061","픞",25],
-["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],
-["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],
-["c161","햌햍햎햏햑",19,"햦햧"],
-["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],
-["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],
-["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],
-["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],
-["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],
-["c361","홢",4,"홨홪",5,"홲홳홵",11],
-["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],
-["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],
-["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],
-["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],
-["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],
-["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],
-["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],
-["c641","힍힎힏힑",6,"힚힜힞",5],
-["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],
-["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],
-["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],
-["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],
-["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],
-["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],
-["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],
-["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],
-["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],
-["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],
-["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],
-["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],
-["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],
-["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],
-["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],
-["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],
-["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],
-["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],
-["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],
-["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],
-["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],
-["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],
-["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],
-["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],
-["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],
-["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],
-["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],
-["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],
-["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],
-["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],
-["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],
-["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],
-["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],
-["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],
-["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],
-["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],
-["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],
-["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],
-["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],
-["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],
-["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],
-["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],
-["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],
-["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],
-["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],
-["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],
-["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],
-["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],
-["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],
-["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],
-["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],
-["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],
-["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],
-["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],
-["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]
-]
diff --git a/Server/node_modules/iconv-lite/encodings/tables/cp950.json b/Server/node_modules/iconv-lite/encodings/tables/cp950.json
deleted file mode 100644
index d8bc871..0000000
--- a/Server/node_modules/iconv-lite/encodings/tables/cp950.json
+++ /dev/null
@@ -1,177 +0,0 @@
-[
-["0","\u0000",127],
-["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],
-["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],
-["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],
-["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],
-["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],
-["a3a1","ㄐ",25,"˙ˉˊˇˋ"],
-["a3e1","€"],
-["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],
-["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],
-["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],
-["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],
-["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],
-["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],
-["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],
-["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],
-["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],
-["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],
-["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],
-["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],
-["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],
-["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],
-["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],
-["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],
-["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],
-["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],
-["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],
-["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],
-["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],
-["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],
-["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],
-["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],
-["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],
-["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],
-["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],
-["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],
-["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],
-["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],
-["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],
-["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],
-["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],
-["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],
-["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],
-["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],
-["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],
-["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],
-["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],
-["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],
-["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],
-["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],
-["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],
-["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],
-["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],
-["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],
-["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],
-["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],
-["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],
-["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],
-["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],
-["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],
-["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],
-["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],
-["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],
-["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],
-["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],
-["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],
-["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],
-["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],
-["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],
-["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],
-["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],
-["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],
-["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],
-["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],
-["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],
-["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],
-["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],
-["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],
-["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],
-["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],
-["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],
-["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],
-["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],
-["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],
-["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],
-["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],
-["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],
-["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],
-["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],
-["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],
-["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],
-["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],
-["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],
-["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],
-["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],
-["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],
-["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],
-["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],
-["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],
-["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],
-["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],
-["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],
-["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],
-["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],
-["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],
-["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],
-["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],
-["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],
-["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],
-["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],
-["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],
-["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],
-["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],
-["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],
-["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],
-["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],
-["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],
-["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],
-["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],
-["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],
-["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],
-["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],
-["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],
-["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],
-["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],
-["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],
-["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],
-["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],
-["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],
-["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],
-["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],
-["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],
-["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],
-["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],
-["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],
-["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],
-["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],
-["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],
-["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],
-["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],
-["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],
-["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],
-["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],
-["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],
-["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],
-["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],
-["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],
-["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],
-["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],
-["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],
-["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],
-["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],
-["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],
-["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],
-["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],
-["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],
-["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],
-["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],
-["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],
-["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],
-["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],
-["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],
-["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],
-["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],
-["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],
-["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],
-["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],
-["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],
-["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],
-["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],
-["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],
-["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],
-["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],
-["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],
-["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]
-]
diff --git a/Server/node_modules/iconv-lite/encodings/tables/eucjp.json b/Server/node_modules/iconv-lite/encodings/tables/eucjp.json
deleted file mode 100644
index 4fa61ca..0000000
--- a/Server/node_modules/iconv-lite/encodings/tables/eucjp.json
+++ /dev/null
@@ -1,182 +0,0 @@
-[
-["0","\u0000",127],
-["8ea1","。",62],
-["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],
-["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],
-["a2ba","∈∋⊆⊇⊂⊃∪∩"],
-["a2ca","∧∨¬⇒⇔∀∃"],
-["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],
-["a2f2","ʼn♯♭♪†‡¶"],
-["a2fe","◯"],
-["a3b0","0",9],
-["a3c1","A",25],
-["a3e1","a",25],
-["a4a1","ぁ",82],
-["a5a1","ァ",85],
-["a6a1","Α",16,"Σ",6],
-["a6c1","α",16,"σ",6],
-["a7a1","А",5,"ЁЖ",25],
-["a7d1","а",5,"ёж",25],
-["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],
-["ada1","①",19,"Ⅰ",9],
-["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],
-["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],
-["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],
-["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],
-["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],
-["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],
-["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],
-["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],
-["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],
-["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],
-["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],
-["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],
-["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],
-["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],
-["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],
-["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],
-["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],
-["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],
-["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],
-["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],
-["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],
-["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],
-["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],
-["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],
-["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],
-["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],
-["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],
-["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],
-["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],
-["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],
-["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],
-["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],
-["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],
-["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],
-["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],
-["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],
-["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],
-["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],
-["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],
-["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],
-["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],
-["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],
-["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],
-["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],
-["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],
-["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],
-["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],
-["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],
-["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],
-["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],
-["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],
-["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],
-["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],
-["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],
-["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],
-["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],
-["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],
-["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],
-["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],
-["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],
-["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],
-["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],
-["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],
-["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],
-["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],
-["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],
-["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],
-["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],
-["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],
-["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],
-["f4a1","堯槇遙瑤凜熙"],
-["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],
-["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],
-["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],
-["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],
-["fcf1","ⅰ",9,"¬¦'""],
-["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],
-["8fa2c2","¡¦¿"],
-["8fa2eb","ºª©®™¤№"],
-["8fa6e1","ΆΈΉΊΪ"],
-["8fa6e7","Ό"],
-["8fa6e9","ΎΫ"],
-["8fa6ec","Ώ"],
-["8fa6f1","άέήίϊΐόςύϋΰώ"],
-["8fa7c2","Ђ",10,"ЎЏ"],
-["8fa7f2","ђ",10,"ўџ"],
-["8fa9a1","ÆĐ"],
-["8fa9a4","Ħ"],
-["8fa9a6","IJ"],
-["8fa9a8","ŁĿ"],
-["8fa9ab","ŊØŒ"],
-["8fa9af","ŦÞ"],
-["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],
-["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],
-["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],
-["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],
-["8fabbd","ġĥíìïîǐ"],
-["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],
-["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],
-["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],
-["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],
-["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],
-["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],
-["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],
-["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],
-["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],
-["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],
-["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],
-["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],
-["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],
-["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],
-["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],
-["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],
-["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],
-["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],
-["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],
-["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],
-["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],
-["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],
-["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],
-["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],
-["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],
-["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],
-["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],
-["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],
-["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],
-["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],
-["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],
-["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],
-["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],
-["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],
-["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],
-["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],
-["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],
-["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],
-["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],
-["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],
-["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],
-["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],
-["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],
-["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],
-["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],
-["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],
-["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],
-["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],
-["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],
-["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],
-["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],
-["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],
-["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],
-["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],
-["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],
-["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],
-["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],
-["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],
-["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],
-["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],
-["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],
-["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],
-["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]
-]
diff --git a/Server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json b/Server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
deleted file mode 100644
index 85c6934..0000000
--- a/Server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
+++ /dev/null
@@ -1 +0,0 @@
-{"uChars":[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],"gbChars":[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}
\ No newline at end of file
diff --git a/Server/node_modules/iconv-lite/encodings/tables/gbk-added.json b/Server/node_modules/iconv-lite/encodings/tables/gbk-added.json
deleted file mode 100644
index 8abfa9f..0000000
--- a/Server/node_modules/iconv-lite/encodings/tables/gbk-added.json
+++ /dev/null
@@ -1,55 +0,0 @@
-[
-["a140","",62],
-["a180","",32],
-["a240","",62],
-["a280","",32],
-["a2ab","",5],
-["a2e3","€"],
-["a2ef",""],
-["a2fd",""],
-["a340","",62],
-["a380","",31," "],
-["a440","",62],
-["a480","",32],
-["a4f4","",10],
-["a540","",62],
-["a580","",32],
-["a5f7","",7],
-["a640","",62],
-["a680","",32],
-["a6b9","",7],
-["a6d9","",6],
-["a6ec",""],
-["a6f3",""],
-["a6f6","",8],
-["a740","",62],
-["a780","",32],
-["a7c2","",14],
-["a7f2","",12],
-["a896","",10],
-["a8bc",""],
-["a8bf","ǹ"],
-["a8c1",""],
-["a8ea","",20],
-["a958",""],
-["a95b",""],
-["a95d",""],
-["a989","〾⿰",11],
-["a997","",12],
-["a9f0","",14],
-["aaa1","",93],
-["aba1","",93],
-["aca1","",93],
-["ada1","",93],
-["aea1","",93],
-["afa1","",93],
-["d7fa","",4],
-["f8a1","",93],
-["f9a1","",93],
-["faa1","",93],
-["fba1","",93],
-["fca1","",93],
-["fda1","",93],
-["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],
-["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93]
-]
diff --git a/Server/node_modules/iconv-lite/encodings/tables/shiftjis.json b/Server/node_modules/iconv-lite/encodings/tables/shiftjis.json
deleted file mode 100644
index 5a3a43c..0000000
--- a/Server/node_modules/iconv-lite/encodings/tables/shiftjis.json
+++ /dev/null
@@ -1,125 +0,0 @@
-[
-["0","\u0000",128],
-["a1","。",62],
-["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],
-["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],
-["81b8","∈∋⊆⊇⊂⊃∪∩"],
-["81c8","∧∨¬⇒⇔∀∃"],
-["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],
-["81f0","ʼn♯♭♪†‡¶"],
-["81fc","◯"],
-["824f","0",9],
-["8260","A",25],
-["8281","a",25],
-["829f","ぁ",82],
-["8340","ァ",62],
-["8380","ム",22],
-["839f","Α",16,"Σ",6],
-["83bf","α",16,"σ",6],
-["8440","А",5,"ЁЖ",25],
-["8470","а",5,"ёж",7],
-["8480","о",17],
-["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],
-["8740","①",19,"Ⅰ",9],
-["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],
-["877e","㍻"],
-["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],
-["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],
-["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],
-["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],
-["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],
-["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],
-["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],
-["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],
-["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],
-["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],
-["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],
-["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],
-["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],
-["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],
-["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],
-["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],
-["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],
-["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],
-["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],
-["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],
-["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],
-["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],
-["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],
-["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],
-["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],
-["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],
-["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],
-["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],
-["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],
-["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],
-["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],
-["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],
-["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],
-["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],
-["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],
-["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],
-["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],
-["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],
-["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],
-["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],
-["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],
-["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],
-["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],
-["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],
-["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],
-["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],
-["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],
-["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],
-["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],
-["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],
-["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],
-["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],
-["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],
-["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],
-["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],
-["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],
-["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],
-["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],
-["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],
-["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],
-["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],
-["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],
-["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],
-["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],
-["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],
-["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],
-["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],
-["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],
-["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],
-["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],
-["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],
-["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],
-["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],
-["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],
-["eeef","ⅰ",9,"¬¦'""],
-["f040","",62],
-["f080","",124],
-["f140","",62],
-["f180","",124],
-["f240","",62],
-["f280","",124],
-["f340","",62],
-["f380","",124],
-["f440","",62],
-["f480","",124],
-["f540","",62],
-["f580","",124],
-["f640","",62],
-["f680","",124],
-["f740","",62],
-["f780","",124],
-["f840","",62],
-["f880","",124],
-["f940",""],
-["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],
-["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],
-["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],
-["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],
-["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]
-]
diff --git a/Server/node_modules/iconv-lite/encodings/utf16.js b/Server/node_modules/iconv-lite/encodings/utf16.js
deleted file mode 100644
index 54765ae..0000000
--- a/Server/node_modules/iconv-lite/encodings/utf16.js
+++ /dev/null
@@ -1,177 +0,0 @@
-"use strict";
-var Buffer = require("safer-buffer").Buffer;
-
-// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js
-
-// == UTF16-BE codec. ==========================================================
-
-exports.utf16be = Utf16BECodec;
-function Utf16BECodec() {
-}
-
-Utf16BECodec.prototype.encoder = Utf16BEEncoder;
-Utf16BECodec.prototype.decoder = Utf16BEDecoder;
-Utf16BECodec.prototype.bomAware = true;
-
-
-// -- Encoding
-
-function Utf16BEEncoder() {
-}
-
-Utf16BEEncoder.prototype.write = function(str) {
- var buf = Buffer.from(str, 'ucs2');
- for (var i = 0; i < buf.length; i += 2) {
- var tmp = buf[i]; buf[i] = buf[i+1]; buf[i+1] = tmp;
- }
- return buf;
-}
-
-Utf16BEEncoder.prototype.end = function() {
-}
-
-
-// -- Decoding
-
-function Utf16BEDecoder() {
- this.overflowByte = -1;
-}
-
-Utf16BEDecoder.prototype.write = function(buf) {
- if (buf.length == 0)
- return '';
-
- var buf2 = Buffer.alloc(buf.length + 1),
- i = 0, j = 0;
-
- if (this.overflowByte !== -1) {
- buf2[0] = buf[0];
- buf2[1] = this.overflowByte;
- i = 1; j = 2;
- }
-
- for (; i < buf.length-1; i += 2, j+= 2) {
- buf2[j] = buf[i+1];
- buf2[j+1] = buf[i];
- }
-
- this.overflowByte = (i == buf.length-1) ? buf[buf.length-1] : -1;
-
- return buf2.slice(0, j).toString('ucs2');
-}
-
-Utf16BEDecoder.prototype.end = function() {
-}
-
-
-// == UTF-16 codec =============================================================
-// Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic.
-// Defaults to UTF-16LE, as it's prevalent and default in Node.
-// http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le
-// Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'});
-
-// Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false).
-
-exports.utf16 = Utf16Codec;
-function Utf16Codec(codecOptions, iconv) {
- this.iconv = iconv;
-}
-
-Utf16Codec.prototype.encoder = Utf16Encoder;
-Utf16Codec.prototype.decoder = Utf16Decoder;
-
-
-// -- Encoding (pass-through)
-
-function Utf16Encoder(options, codec) {
- options = options || {};
- if (options.addBOM === undefined)
- options.addBOM = true;
- this.encoder = codec.iconv.getEncoder('utf-16le', options);
-}
-
-Utf16Encoder.prototype.write = function(str) {
- return this.encoder.write(str);
-}
-
-Utf16Encoder.prototype.end = function() {
- return this.encoder.end();
-}
-
-
-// -- Decoding
-
-function Utf16Decoder(options, codec) {
- this.decoder = null;
- this.initialBytes = [];
- this.initialBytesLen = 0;
-
- this.options = options || {};
- this.iconv = codec.iconv;
-}
-
-Utf16Decoder.prototype.write = function(buf) {
- if (!this.decoder) {
- // Codec is not chosen yet. Accumulate initial bytes.
- this.initialBytes.push(buf);
- this.initialBytesLen += buf.length;
-
- if (this.initialBytesLen < 16) // We need more bytes to use space heuristic (see below)
- return '';
-
- // We have enough bytes -> detect endianness.
- var buf = Buffer.concat(this.initialBytes),
- encoding = detectEncoding(buf, this.options.defaultEncoding);
- this.decoder = this.iconv.getDecoder(encoding, this.options);
- this.initialBytes.length = this.initialBytesLen = 0;
- }
-
- return this.decoder.write(buf);
-}
-
-Utf16Decoder.prototype.end = function() {
- if (!this.decoder) {
- var buf = Buffer.concat(this.initialBytes),
- encoding = detectEncoding(buf, this.options.defaultEncoding);
- this.decoder = this.iconv.getDecoder(encoding, this.options);
-
- var res = this.decoder.write(buf),
- trail = this.decoder.end();
-
- return trail ? (res + trail) : res;
- }
- return this.decoder.end();
-}
-
-function detectEncoding(buf, defaultEncoding) {
- var enc = defaultEncoding || 'utf-16le';
-
- if (buf.length >= 2) {
- // Check BOM.
- if (buf[0] == 0xFE && buf[1] == 0xFF) // UTF-16BE BOM
- enc = 'utf-16be';
- else if (buf[0] == 0xFF && buf[1] == 0xFE) // UTF-16LE BOM
- enc = 'utf-16le';
- else {
- // No BOM found. Try to deduce encoding from initial content.
- // Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon.
- // So, we count ASCII as if it was LE or BE, and decide from that.
- var asciiCharsLE = 0, asciiCharsBE = 0, // Counts of chars in both positions
- _len = Math.min(buf.length - (buf.length % 2), 64); // Len is always even.
-
- for (var i = 0; i < _len; i += 2) {
- if (buf[i] === 0 && buf[i+1] !== 0) asciiCharsBE++;
- if (buf[i] !== 0 && buf[i+1] === 0) asciiCharsLE++;
- }
-
- if (asciiCharsBE > asciiCharsLE)
- enc = 'utf-16be';
- else if (asciiCharsBE < asciiCharsLE)
- enc = 'utf-16le';
- }
- }
-
- return enc;
-}
-
-
diff --git a/Server/node_modules/iconv-lite/encodings/utf7.js b/Server/node_modules/iconv-lite/encodings/utf7.js
deleted file mode 100644
index b7631c2..0000000
--- a/Server/node_modules/iconv-lite/encodings/utf7.js
+++ /dev/null
@@ -1,290 +0,0 @@
-"use strict";
-var Buffer = require("safer-buffer").Buffer;
-
-// UTF-7 codec, according to https://tools.ietf.org/html/rfc2152
-// See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3
-
-exports.utf7 = Utf7Codec;
-exports.unicode11utf7 = 'utf7'; // Alias UNICODE-1-1-UTF-7
-function Utf7Codec(codecOptions, iconv) {
- this.iconv = iconv;
-};
-
-Utf7Codec.prototype.encoder = Utf7Encoder;
-Utf7Codec.prototype.decoder = Utf7Decoder;
-Utf7Codec.prototype.bomAware = true;
-
-
-// -- Encoding
-
-var nonDirectChars = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;
-
-function Utf7Encoder(options, codec) {
- this.iconv = codec.iconv;
-}
-
-Utf7Encoder.prototype.write = function(str) {
- // Naive implementation.
- // Non-direct chars are encoded as "+<base64>-"; single "+" char is encoded as "+-".
- return Buffer.from(str.replace(nonDirectChars, function(chunk) {
- return "+" + (chunk === '+' ? '' :
- this.iconv.encode(chunk, 'utf16-be').toString('base64').replace(/=+$/, ''))
- + "-";
- }.bind(this)));
-}
-
-Utf7Encoder.prototype.end = function() {
-}
-
-
-// -- Decoding
-
-function Utf7Decoder(options, codec) {
- this.iconv = codec.iconv;
- this.inBase64 = false;
- this.base64Accum = '';
-}
-
-var base64Regex = /[A-Za-z0-9\/+]/;
-var base64Chars = [];
-for (var i = 0; i < 256; i++)
- base64Chars[i] = base64Regex.test(String.fromCharCode(i));
-
-var plusChar = '+'.charCodeAt(0),
- minusChar = '-'.charCodeAt(0),
- andChar = '&'.charCodeAt(0);
-
-Utf7Decoder.prototype.write = function(buf) {
- var res = "", lastI = 0,
- inBase64 = this.inBase64,
- base64Accum = this.base64Accum;
-
- // The decoder is more involved as we must handle chunks in stream.
-
- for (var i = 0; i < buf.length; i++) {
- if (!inBase64) { // We're in direct mode.
- // Write direct chars until '+'
- if (buf[i] == plusChar) {
- res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars.
- lastI = i+1;
- inBase64 = true;
- }
- } else { // We decode base64.
- if (!base64Chars[buf[i]]) { // Base64 ended.
- if (i == lastI && buf[i] == minusChar) {// "+-" -> "+"
- res += "+";
- } else {
- var b64str = base64Accum + buf.slice(lastI, i).toString();
- res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be");
- }
-
- if (buf[i] != minusChar) // Minus is absorbed after base64.
- i--;
-
- lastI = i+1;
- inBase64 = false;
- base64Accum = '';
- }
- }
- }
-
- if (!inBase64) {
- res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars.
- } else {
- var b64str = base64Accum + buf.slice(lastI).toString();
-
- var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars.
- base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future.
- b64str = b64str.slice(0, canBeDecoded);
-
- res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be");
- }
-
- this.inBase64 = inBase64;
- this.base64Accum = base64Accum;
-
- return res;
-}
-
-Utf7Decoder.prototype.end = function() {
- var res = "";
- if (this.inBase64 && this.base64Accum.length > 0)
- res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be");
-
- this.inBase64 = false;
- this.base64Accum = '';
- return res;
-}
-
-
-// UTF-7-IMAP codec.
-// RFC3501 Sec. 5.1.3 Modified UTF-7 (http://tools.ietf.org/html/rfc3501#section-5.1.3)
-// Differences:
-// * Base64 part is started by "&" instead of "+"
-// * Direct characters are 0x20-0x7E, except "&" (0x26)
-// * In Base64, "," is used instead of "/"
-// * Base64 must not be used to represent direct characters.
-// * No implicit shift back from Base64 (should always end with '-')
-// * String must end in non-shifted position.
-// * "-&" while in base64 is not allowed.
-
-
-exports.utf7imap = Utf7IMAPCodec;
-function Utf7IMAPCodec(codecOptions, iconv) {
- this.iconv = iconv;
-};
-
-Utf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder;
-Utf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder;
-Utf7IMAPCodec.prototype.bomAware = true;
-
-
-// -- Encoding
-
-function Utf7IMAPEncoder(options, codec) {
- this.iconv = codec.iconv;
- this.inBase64 = false;
- this.base64Accum = Buffer.alloc(6);
- this.base64AccumIdx = 0;
-}
-
-Utf7IMAPEncoder.prototype.write = function(str) {
- var inBase64 = this.inBase64,
- base64Accum = this.base64Accum,
- base64AccumIdx = this.base64AccumIdx,
- buf = Buffer.alloc(str.length*5 + 10), bufIdx = 0;
-
- for (var i = 0; i < str.length; i++) {
- var uChar = str.charCodeAt(i);
- if (0x20 <= uChar && uChar <= 0x7E) { // Direct character or '&'.
- if (inBase64) {
- if (base64AccumIdx > 0) {
- bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx);
- base64AccumIdx = 0;
- }
-
- buf[bufIdx++] = minusChar; // Write '-', then go to direct mode.
- inBase64 = false;
- }
-
- if (!inBase64) {
- buf[bufIdx++] = uChar; // Write direct character
-
- if (uChar === andChar) // Ampersand -> '&-'
- buf[bufIdx++] = minusChar;
- }
-
- } else { // Non-direct character
- if (!inBase64) {
- buf[bufIdx++] = andChar; // Write '&', then go to base64 mode.
- inBase64 = true;
- }
- if (inBase64) {
- base64Accum[base64AccumIdx++] = uChar >> 8;
- base64Accum[base64AccumIdx++] = uChar & 0xFF;
-
- if (base64AccumIdx == base64Accum.length) {
- bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx);
- base64AccumIdx = 0;
- }
- }
- }
- }
-
- this.inBase64 = inBase64;
- this.base64AccumIdx = base64AccumIdx;
-
- return buf.slice(0, bufIdx);
-}
-
-Utf7IMAPEncoder.prototype.end = function() {
- var buf = Buffer.alloc(10), bufIdx = 0;
- if (this.inBase64) {
- if (this.base64AccumIdx > 0) {
- bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx);
- this.base64AccumIdx = 0;
- }
-
- buf[bufIdx++] = minusChar; // Write '-', then go to direct mode.
- this.inBase64 = false;
- }
-
- return buf.slice(0, bufIdx);
-}
-
-
-// -- Decoding
-
-function Utf7IMAPDecoder(options, codec) {
- this.iconv = codec.iconv;
- this.inBase64 = false;
- this.base64Accum = '';
-}
-
-var base64IMAPChars = base64Chars.slice();
-base64IMAPChars[','.charCodeAt(0)] = true;
-
-Utf7IMAPDecoder.prototype.write = function(buf) {
- var res = "", lastI = 0,
- inBase64 = this.inBase64,
- base64Accum = this.base64Accum;
-
- // The decoder is more involved as we must handle chunks in stream.
- // It is forgiving, closer to standard UTF-7 (for example, '-' is optional at the end).
-
- for (var i = 0; i < buf.length; i++) {
- if (!inBase64) { // We're in direct mode.
- // Write direct chars until '&'
- if (buf[i] == andChar) {
- res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars.
- lastI = i+1;
- inBase64 = true;
- }
- } else { // We decode base64.
- if (!base64IMAPChars[buf[i]]) { // Base64 ended.
- if (i == lastI && buf[i] == minusChar) { // "&-" -> "&"
- res += "&";
- } else {
- var b64str = base64Accum + buf.slice(lastI, i).toString().replace(/,/g, '/');
- res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be");
- }
-
- if (buf[i] != minusChar) // Minus may be absorbed after base64.
- i--;
-
- lastI = i+1;
- inBase64 = false;
- base64Accum = '';
- }
- }
- }
-
- if (!inBase64) {
- res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars.
- } else {
- var b64str = base64Accum + buf.slice(lastI).toString().replace(/,/g, '/');
-
- var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars.
- base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future.
- b64str = b64str.slice(0, canBeDecoded);
-
- res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be");
- }
-
- this.inBase64 = inBase64;
- this.base64Accum = base64Accum;
-
- return res;
-}
-
-Utf7IMAPDecoder.prototype.end = function() {
- var res = "";
- if (this.inBase64 && this.base64Accum.length > 0)
- res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be");
-
- this.inBase64 = false;
- this.base64Accum = '';
- return res;
-}
-
-
diff --git a/Server/node_modules/iconv-lite/lib/bom-handling.js b/Server/node_modules/iconv-lite/lib/bom-handling.js
deleted file mode 100644
index 1050872..0000000
--- a/Server/node_modules/iconv-lite/lib/bom-handling.js
+++ /dev/null
@@ -1,52 +0,0 @@
-"use strict";
-
-var BOMChar = '\uFEFF';
-
-exports.PrependBOM = PrependBOMWrapper
-function PrependBOMWrapper(encoder, options) {
- this.encoder = encoder;
- this.addBOM = true;
-}
-
-PrependBOMWrapper.prototype.write = function(str) {
- if (this.addBOM) {
- str = BOMChar + str;
- this.addBOM = false;
- }
-
- return this.encoder.write(str);
-}
-
-PrependBOMWrapper.prototype.end = function() {
- return this.encoder.end();
-}
-
-
-//------------------------------------------------------------------------------
-
-exports.StripBOM = StripBOMWrapper;
-function StripBOMWrapper(decoder, options) {
- this.decoder = decoder;
- this.pass = false;
- this.options = options || {};
-}
-
-StripBOMWrapper.prototype.write = function(buf) {
- var res = this.decoder.write(buf);
- if (this.pass || !res)
- return res;
-
- if (res[0] === BOMChar) {
- res = res.slice(1);
- if (typeof this.options.stripBOM === 'function')
- this.options.stripBOM();
- }
-
- this.pass = true;
- return res;
-}
-
-StripBOMWrapper.prototype.end = function() {
- return this.decoder.end();
-}
-
diff --git a/Server/node_modules/iconv-lite/lib/extend-node.js b/Server/node_modules/iconv-lite/lib/extend-node.js
deleted file mode 100644
index 87f5394..0000000
--- a/Server/node_modules/iconv-lite/lib/extend-node.js
+++ /dev/null
@@ -1,217 +0,0 @@
-"use strict";
-var Buffer = require("buffer").Buffer;
-// Note: not polyfilled with safer-buffer on a purpose, as overrides Buffer
-
-// == Extend Node primitives to use iconv-lite =================================
-
-module.exports = function (iconv) {
- var original = undefined; // Place to keep original methods.
-
- // Node authors rewrote Buffer internals to make it compatible with
- // Uint8Array and we cannot patch key functions since then.
- // Note: this does use older Buffer API on a purpose
- iconv.supportsNodeEncodingsExtension = !(Buffer.from || new Buffer(0) instanceof Uint8Array);
-
- iconv.extendNodeEncodings = function extendNodeEncodings() {
- if (original) return;
- original = {};
-
- if (!iconv.supportsNodeEncodingsExtension) {
- console.error("ACTION NEEDED: require('iconv-lite').extendNodeEncodings() is not supported in your version of Node");
- console.error("See more info at https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility");
- return;
- }
-
- var nodeNativeEncodings = {
- 'hex': true, 'utf8': true, 'utf-8': true, 'ascii': true, 'binary': true,
- 'base64': true, 'ucs2': true, 'ucs-2': true, 'utf16le': true, 'utf-16le': true,
- };
-
- Buffer.isNativeEncoding = function(enc) {
- return enc && nodeNativeEncodings[enc.toLowerCase()];
- }
-
- // -- SlowBuffer -----------------------------------------------------------
- var SlowBuffer = require('buffer').SlowBuffer;
-
- original.SlowBufferToString = SlowBuffer.prototype.toString;
- SlowBuffer.prototype.toString = function(encoding, start, end) {
- encoding = String(encoding || 'utf8').toLowerCase();
-
- // Use native conversion when possible
- if (Buffer.isNativeEncoding(encoding))
- return original.SlowBufferToString.call(this, encoding, start, end);
-
- // Otherwise, use our decoding method.
- if (typeof start == 'undefined') start = 0;
- if (typeof end == 'undefined') end = this.length;
- return iconv.decode(this.slice(start, end), encoding);
- }
-
- original.SlowBufferWrite = SlowBuffer.prototype.write;
- SlowBuffer.prototype.write = function(string, offset, length, encoding) {
- // Support both (string, offset, length, encoding)
- // and the legacy (string, encoding, offset, length)
- if (isFinite(offset)) {
- if (!isFinite(length)) {
- encoding = length;
- length = undefined;
- }
- } else { // legacy
- var swap = encoding;
- encoding = offset;
- offset = length;
- length = swap;
- }
-
- offset = +offset || 0;
- var remaining = this.length - offset;
- if (!length) {
- length = remaining;
- } else {
- length = +length;
- if (length > remaining) {
- length = remaining;
- }
- }
- encoding = String(encoding || 'utf8').toLowerCase();
-
- // Use native conversion when possible
- if (Buffer.isNativeEncoding(encoding))
- return original.SlowBufferWrite.call(this, string, offset, length, encoding);
-
- if (string.length > 0 && (length < 0 || offset < 0))
- throw new RangeError('attempt to write beyond buffer bounds');
-
- // Otherwise, use our encoding method.
- var buf = iconv.encode(string, encoding);
- if (buf.length < length) length = buf.length;
- buf.copy(this, offset, 0, length);
- return length;
- }
-
- // -- Buffer ---------------------------------------------------------------
-
- original.BufferIsEncoding = Buffer.isEncoding;
- Buffer.isEncoding = function(encoding) {
- return Buffer.isNativeEncoding(encoding) || iconv.encodingExists(encoding);
- }
-
- original.BufferByteLength = Buffer.byteLength;
- Buffer.byteLength = SlowBuffer.byteLength = function(str, encoding) {
- encoding = String(encoding || 'utf8').toLowerCase();
-
- // Use native conversion when possible
- if (Buffer.isNativeEncoding(encoding))
- return original.BufferByteLength.call(this, str, encoding);
-
- // Slow, I know, but we don't have a better way yet.
- return iconv.encode(str, encoding).length;
- }
-
- original.BufferToString = Buffer.prototype.toString;
- Buffer.prototype.toString = function(encoding, start, end) {
- encoding = String(encoding || 'utf8').toLowerCase();
-
- // Use native conversion when possible
- if (Buffer.isNativeEncoding(encoding))
- return original.BufferToString.call(this, encoding, start, end);
-
- // Otherwise, use our decoding method.
- if (typeof start == 'undefined') start = 0;
- if (typeof end == 'undefined') end = this.length;
- return iconv.decode(this.slice(start, end), encoding);
- }
-
- original.BufferWrite = Buffer.prototype.write;
- Buffer.prototype.write = function(string, offset, length, encoding) {
- var _offset = offset, _length = length, _encoding = encoding;
- // Support both (string, offset, length, encoding)
- // and the legacy (string, encoding, offset, length)
- if (isFinite(offset)) {
- if (!isFinite(length)) {
- encoding = length;
- length = undefined;
- }
- } else { // legacy
- var swap = encoding;
- encoding = offset;
- offset = length;
- length = swap;
- }
-
- encoding = String(encoding || 'utf8').toLowerCase();
-
- // Use native conversion when possible
- if (Buffer.isNativeEncoding(encoding))
- return original.BufferWrite.call(this, string, _offset, _length, _encoding);
-
- offset = +offset || 0;
- var remaining = this.length - offset;
- if (!length) {
- length = remaining;
- } else {
- length = +length;
- if (length > remaining) {
- length = remaining;
- }
- }
-
- if (string.length > 0 && (length < 0 || offset < 0))
- throw new RangeError('attempt to write beyond buffer bounds');
-
- // Otherwise, use our encoding method.
- var buf = iconv.encode(string, encoding);
- if (buf.length < length) length = buf.length;
- buf.copy(this, offset, 0, length);
- return length;
-
- // TODO: Set _charsWritten.
- }
-
-
- // -- Readable -------------------------------------------------------------
- if (iconv.supportsStreams) {
- var Readable = require('stream').Readable;
-
- original.ReadableSetEncoding = Readable.prototype.setEncoding;
- Readable.prototype.setEncoding = function setEncoding(enc, options) {
- // Use our own decoder, it has the same interface.
- // We cannot use original function as it doesn't handle BOM-s.
- this._readableState.decoder = iconv.getDecoder(enc, options);
- this._readableState.encoding = enc;
- }
-
- Readable.prototype.collect = iconv._collect;
- }
- }
-
- // Remove iconv-lite Node primitive extensions.
- iconv.undoExtendNodeEncodings = function undoExtendNodeEncodings() {
- if (!iconv.supportsNodeEncodingsExtension)
- return;
- if (!original)
- throw new Error("require('iconv-lite').undoExtendNodeEncodings(): Nothing to undo; extendNodeEncodings() is not called.")
-
- delete Buffer.isNativeEncoding;
-
- var SlowBuffer = require('buffer').SlowBuffer;
-
- SlowBuffer.prototype.toString = original.SlowBufferToString;
- SlowBuffer.prototype.write = original.SlowBufferWrite;
-
- Buffer.isEncoding = original.BufferIsEncoding;
- Buffer.byteLength = original.BufferByteLength;
- Buffer.prototype.toString = original.BufferToString;
- Buffer.prototype.write = original.BufferWrite;
-
- if (iconv.supportsStreams) {
- var Readable = require('stream').Readable;
-
- Readable.prototype.setEncoding = original.ReadableSetEncoding;
- delete Readable.prototype.collect;
- }
-
- original = undefined;
- }
-}
diff --git a/Server/node_modules/iconv-lite/lib/index.d.ts b/Server/node_modules/iconv-lite/lib/index.d.ts
deleted file mode 100644
index 0547eb3..0000000
--- a/Server/node_modules/iconv-lite/lib/index.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License.
- * REQUIREMENT: This definition is dependent on the @types/node definition.
- * Install with `npm install @types/node --save-dev`
- *--------------------------------------------------------------------------------------------*/
-
-declare module 'iconv-lite' {
- export function decode(buffer: Buffer, encoding: string, options?: Options): string;
-
- export function encode(content: string, encoding: string, options?: Options): Buffer;
-
- export function encodingExists(encoding: string): boolean;
-
- export function decodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream;
-
- export function encodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream;
-}
-
-export interface Options {
- stripBOM?: boolean;
- addBOM?: boolean;
- defaultEncoding?: string;
-}
diff --git a/Server/node_modules/iconv-lite/lib/index.js b/Server/node_modules/iconv-lite/lib/index.js
deleted file mode 100644
index 5391919..0000000
--- a/Server/node_modules/iconv-lite/lib/index.js
+++ /dev/null
@@ -1,153 +0,0 @@
-"use strict";
-
-// Some environments don't have global Buffer (e.g. React Native).
-// Solution would be installing npm modules "buffer" and "stream" explicitly.
-var Buffer = require("safer-buffer").Buffer;
-
-var bomHandling = require("./bom-handling"),
- iconv = module.exports;
-
-// All codecs and aliases are kept here, keyed by encoding name/alias.
-// They are lazy loaded in `iconv.getCodec` from `encodings/index.js`.
-iconv.encodings = null;
-
-// Characters emitted in case of error.
-iconv.defaultCharUnicode = '�';
-iconv.defaultCharSingleByte = '?';
-
-// Public API.
-iconv.encode = function encode(str, encoding, options) {
- str = "" + (str || ""); // Ensure string.
-
- var encoder = iconv.getEncoder(encoding, options);
-
- var res = encoder.write(str);
- var trail = encoder.end();
-
- return (trail && trail.length > 0) ? Buffer.concat([res, trail]) : res;
-}
-
-iconv.decode = function decode(buf, encoding, options) {
- if (typeof buf === 'string') {
- if (!iconv.skipDecodeWarning) {
- console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding');
- iconv.skipDecodeWarning = true;
- }
-
- buf = Buffer.from("" + (buf || ""), "binary"); // Ensure buffer.
- }
-
- var decoder = iconv.getDecoder(encoding, options);
-
- var res = decoder.write(buf);
- var trail = decoder.end();
-
- return trail ? (res + trail) : res;
-}
-
-iconv.encodingExists = function encodingExists(enc) {
- try {
- iconv.getCodec(enc);
- return true;
- } catch (e) {
- return false;
- }
-}
-
-// Legacy aliases to convert functions
-iconv.toEncoding = iconv.encode;
-iconv.fromEncoding = iconv.decode;
-
-// Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache.
-iconv._codecDataCache = {};
-iconv.getCodec = function getCodec(encoding) {
- if (!iconv.encodings)
- iconv.encodings = require("../encodings"); // Lazy load all encoding definitions.
-
- // Canonicalize encoding name: strip all non-alphanumeric chars and appended year.
- var enc = iconv._canonicalizeEncoding(encoding);
-
- // Traverse iconv.encodings to find actual codec.
- var codecOptions = {};
- while (true) {
- var codec = iconv._codecDataCache[enc];
- if (codec)
- return codec;
-
- var codecDef = iconv.encodings[enc];
-
- switch (typeof codecDef) {
- case "string": // Direct alias to other encoding.
- enc = codecDef;
- break;
-
- case "object": // Alias with options. Can be layered.
- for (var key in codecDef)
- codecOptions[key] = codecDef[key];
-
- if (!codecOptions.encodingName)
- codecOptions.encodingName = enc;
-
- enc = codecDef.type;
- break;
-
- case "function": // Codec itself.
- if (!codecOptions.encodingName)
- codecOptions.encodingName = enc;
-
- // The codec function must load all tables and return object with .encoder and .decoder methods.
- // It'll be called only once (for each different options object).
- codec = new codecDef(codecOptions, iconv);
-
- iconv._codecDataCache[codecOptions.encodingName] = codec; // Save it to be reused later.
- return codec;
-
- default:
- throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '"+enc+"')");
- }
- }
-}
-
-iconv._canonicalizeEncoding = function(encoding) {
- // Canonicalize encoding name: strip all non-alphanumeric chars and appended year.
- return (''+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, "");
-}
-
-iconv.getEncoder = function getEncoder(encoding, options) {
- var codec = iconv.getCodec(encoding),
- encoder = new codec.encoder(options, codec);
-
- if (codec.bomAware && options && options.addBOM)
- encoder = new bomHandling.PrependBOM(encoder, options);
-
- return encoder;
-}
-
-iconv.getDecoder = function getDecoder(encoding, options) {
- var codec = iconv.getCodec(encoding),
- decoder = new codec.decoder(options, codec);
-
- if (codec.bomAware && !(options && options.stripBOM === false))
- decoder = new bomHandling.StripBOM(decoder, options);
-
- return decoder;
-}
-
-
-// Load extensions in Node. All of them are omitted in Browserify build via 'browser' field in package.json.
-var nodeVer = typeof process !== 'undefined' && process.versions && process.versions.node;
-if (nodeVer) {
-
- // Load streaming support in Node v0.10+
- var nodeVerArr = nodeVer.split(".").map(Number);
- if (nodeVerArr[0] > 0 || nodeVerArr[1] >= 10) {
- require("./streams")(iconv);
- }
-
- // Load Node primitive extensions.
- require("./extend-node")(iconv);
-}
-
-if ("Ā" != "\u0100") {
- console.error("iconv-lite warning: javascript files use encoding different from utf-8. See https://github.com/ashtuchkin/iconv-lite/wiki/Javascript-source-file-encodings for more info.");
-}
diff --git a/Server/node_modules/iconv-lite/lib/streams.js b/Server/node_modules/iconv-lite/lib/streams.js
deleted file mode 100644
index 4409552..0000000
--- a/Server/node_modules/iconv-lite/lib/streams.js
+++ /dev/null
@@ -1,121 +0,0 @@
-"use strict";
-
-var Buffer = require("buffer").Buffer,
- Transform = require("stream").Transform;
-
-
-// == Exports ==================================================================
-module.exports = function(iconv) {
-
- // Additional Public API.
- iconv.encodeStream = function encodeStream(encoding, options) {
- return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options);
- }
-
- iconv.decodeStream = function decodeStream(encoding, options) {
- return new IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options);
- }
-
- iconv.supportsStreams = true;
-
-
- // Not published yet.
- iconv.IconvLiteEncoderStream = IconvLiteEncoderStream;
- iconv.IconvLiteDecoderStream = IconvLiteDecoderStream;
- iconv._collect = IconvLiteDecoderStream.prototype.collect;
-};
-
-
-// == Encoder stream =======================================================
-function IconvLiteEncoderStream(conv, options) {
- this.conv = conv;
- options = options || {};
- options.decodeStrings = false; // We accept only strings, so we don't need to decode them.
- Transform.call(this, options);
-}
-
-IconvLiteEncoderStream.prototype = Object.create(Transform.prototype, {
- constructor: { value: IconvLiteEncoderStream }
-});
-
-IconvLiteEncoderStream.prototype._transform = function(chunk, encoding, done) {
- if (typeof chunk != 'string')
- return done(new Error("Iconv encoding stream needs strings as its input."));
- try {
- var res = this.conv.write(chunk);
- if (res && res.length) this.push(res);
- done();
- }
- catch (e) {
- done(e);
- }
-}
-
-IconvLiteEncoderStream.prototype._flush = function(done) {
- try {
- var res = this.conv.end();
- if (res && res.length) this.push(res);
- done();
- }
- catch (e) {
- done(e);
- }
-}
-
-IconvLiteEncoderStream.prototype.collect = function(cb) {
- var chunks = [];
- this.on('error', cb);
- this.on('data', function(chunk) { chunks.push(chunk); });
- this.on('end', function() {
- cb(null, Buffer.concat(chunks));
- });
- return this;
-}
-
-
-// == Decoder stream =======================================================
-function IconvLiteDecoderStream(conv, options) {
- this.conv = conv;
- options = options || {};
- options.encoding = this.encoding = 'utf8'; // We output strings.
- Transform.call(this, options);
-}
-
-IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, {
- constructor: { value: IconvLiteDecoderStream }
-});
-
-IconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) {
- if (!Buffer.isBuffer(chunk))
- return done(new Error("Iconv decoding stream needs buffers as its input."));
- try {
- var res = this.conv.write(chunk);
- if (res && res.length) this.push(res, this.encoding);
- done();
- }
- catch (e) {
- done(e);
- }
-}
-
-IconvLiteDecoderStream.prototype._flush = function(done) {
- try {
- var res = this.conv.end();
- if (res && res.length) this.push(res, this.encoding);
- done();
- }
- catch (e) {
- done(e);
- }
-}
-
-IconvLiteDecoderStream.prototype.collect = function(cb) {
- var res = '';
- this.on('error', cb);
- this.on('data', function(chunk) { res += chunk; });
- this.on('end', function() {
- cb(null, res);
- });
- return this;
-}
-
diff --git a/Server/node_modules/iconv-lite/package.json b/Server/node_modules/iconv-lite/package.json
deleted file mode 100644
index be7c400..0000000
--- a/Server/node_modules/iconv-lite/package.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "_from": "iconv-lite@0.4.24",
- "_id": "iconv-lite@0.4.24",
- "_inBundle": false,
- "_integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "_location": "/iconv-lite",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "iconv-lite@0.4.24",
- "name": "iconv-lite",
- "escapedName": "iconv-lite",
- "rawSpec": "0.4.24",
- "saveSpec": null,
- "fetchSpec": "0.4.24"
- },
- "_requiredBy": [
- "/body-parser",
- "/raw-body"
- ],
- "_resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "_shasum": "2022b4b25fbddc21d2f524974a474aafe733908b",
- "_spec": "iconv-lite@0.4.24",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "author": {
- "name": "Alexander Shtuchkin",
- "email": "ashtuchkin@gmail.com"
- },
- "browser": {
- "./lib/extend-node": false,
- "./lib/streams": false
- },
- "bugs": {
- "url": "https://github.com/ashtuchkin/iconv-lite/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "deprecated": false,
- "description": "Convert character encodings in pure javascript.",
- "devDependencies": {
- "async": "*",
- "errto": "*",
- "iconv": "*",
- "istanbul": "*",
- "mocha": "^3.1.0",
- "request": "~2.87.0",
- "semver": "*",
- "unorm": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "homepage": "https://github.com/ashtuchkin/iconv-lite",
- "keywords": [
- "iconv",
- "convert",
- "charset",
- "icu"
- ],
- "license": "MIT",
- "main": "./lib/index.js",
- "name": "iconv-lite",
- "repository": {
- "type": "git",
- "url": "git://github.com/ashtuchkin/iconv-lite.git"
- },
- "scripts": {
- "coverage": "istanbul cover _mocha -- --grep .",
- "coverage-open": "open coverage/lcov-report/index.html",
- "test": "mocha --reporter spec --grep ."
- },
- "typings": "./lib/index.d.ts",
- "version": "0.4.24"
-}
diff --git a/Server/node_modules/inherits/LICENSE b/Server/node_modules/inherits/LICENSE
deleted file mode 100644
index dea3013..0000000
--- a/Server/node_modules/inherits/LICENSE
+++ /dev/null
@@ -1,16 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-
diff --git a/Server/node_modules/inherits/README.md b/Server/node_modules/inherits/README.md
deleted file mode 100644
index b1c5665..0000000
--- a/Server/node_modules/inherits/README.md
+++ /dev/null
@@ -1,42 +0,0 @@
-Browser-friendly inheritance fully compatible with standard node.js
-[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).
-
-This package exports standard `inherits` from node.js `util` module in
-node environment, but also provides alternative browser-friendly
-implementation through [browser
-field](https://gist.github.com/shtylman/4339901). Alternative
-implementation is a literal copy of standard one located in standalone
-module to avoid requiring of `util`. It also has a shim for old
-browsers with no `Object.create` support.
-
-While keeping you sure you are using standard `inherits`
-implementation in node.js environment, it allows bundlers such as
-[browserify](https://github.com/substack/node-browserify) to not
-include full `util` package to your client code if all you need is
-just `inherits` function. It worth, because browser shim for `util`
-package is large and `inherits` is often the single function you need
-from it.
-
-It's recommended to use this package instead of
-`require('util').inherits` for any code that has chances to be used
-not only in node.js but in browser too.
-
-## usage
-
-```js
-var inherits = require('inherits');
-// then use exactly as the standard one
-```
-
-## note on version ~1.0
-
-Version ~1.0 had completely different motivation and is not compatible
-neither with 2.0 nor with standard node.js `inherits`.
-
-If you are using version ~1.0 and planning to switch to ~2.0, be
-careful:
-
-* new version uses `super_` instead of `super` for referencing
- superclass
-* new version overwrites current prototype while old one preserves any
- existing fields on it
diff --git a/Server/node_modules/inherits/inherits.js b/Server/node_modules/inherits/inherits.js
deleted file mode 100644
index 3b94763..0000000
--- a/Server/node_modules/inherits/inherits.js
+++ /dev/null
@@ -1,7 +0,0 @@
-try {
- var util = require('util');
- if (typeof util.inherits !== 'function') throw '';
- module.exports = util.inherits;
-} catch (e) {
- module.exports = require('./inherits_browser.js');
-}
diff --git a/Server/node_modules/inherits/inherits_browser.js b/Server/node_modules/inherits/inherits_browser.js
deleted file mode 100644
index c1e78a7..0000000
--- a/Server/node_modules/inherits/inherits_browser.js
+++ /dev/null
@@ -1,23 +0,0 @@
-if (typeof Object.create === 'function') {
- // implementation from standard node.js 'util' module
- module.exports = function inherits(ctor, superCtor) {
- ctor.super_ = superCtor
- ctor.prototype = Object.create(superCtor.prototype, {
- constructor: {
- value: ctor,
- enumerable: false,
- writable: true,
- configurable: true
- }
- });
- };
-} else {
- // old school shim for old browsers
- module.exports = function inherits(ctor, superCtor) {
- ctor.super_ = superCtor
- var TempCtor = function () {}
- TempCtor.prototype = superCtor.prototype
- ctor.prototype = new TempCtor()
- ctor.prototype.constructor = ctor
- }
-}
diff --git a/Server/node_modules/inherits/package.json b/Server/node_modules/inherits/package.json
deleted file mode 100644
index 0f96503..0000000
--- a/Server/node_modules/inherits/package.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "_from": "inherits@2.0.3",
- "_id": "inherits@2.0.3",
- "_inBundle": false,
- "_integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
- "_location": "/inherits",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "inherits@2.0.3",
- "name": "inherits",
- "escapedName": "inherits",
- "rawSpec": "2.0.3",
- "saveSpec": null,
- "fetchSpec": "2.0.3"
- },
- "_requiredBy": [
- "/http-errors",
- "/readable-stream"
- ],
- "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
- "_shasum": "633c2c83e3da42a502f52466022480f4208261de",
- "_spec": "inherits@2.0.3",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/http-errors",
- "browser": "./inherits_browser.js",
- "bugs": {
- "url": "https://github.com/isaacs/inherits/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()",
- "devDependencies": {
- "tap": "^7.1.0"
- },
- "files": [
- "inherits.js",
- "inherits_browser.js"
- ],
- "homepage": "https://github.com/isaacs/inherits#readme",
- "keywords": [
- "inheritance",
- "class",
- "klass",
- "oop",
- "object-oriented",
- "inherits",
- "browser",
- "browserify"
- ],
- "license": "ISC",
- "main": "./inherits.js",
- "name": "inherits",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/inherits.git"
- },
- "scripts": {
- "test": "node test"
- },
- "version": "2.0.3"
-}
diff --git a/Server/node_modules/ipaddr.js/LICENSE b/Server/node_modules/ipaddr.js/LICENSE
deleted file mode 100644
index f6b37b5..0000000
--- a/Server/node_modules/ipaddr.js/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (C) 2011-2017 whitequark <whitequark@whitequark.org>
-
-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.
diff --git a/Server/node_modules/ipaddr.js/README.md b/Server/node_modules/ipaddr.js/README.md
deleted file mode 100644
index f57725b..0000000
--- a/Server/node_modules/ipaddr.js/README.md
+++ /dev/null
@@ -1,233 +0,0 @@
-# ipaddr.js — an IPv6 and IPv4 address manipulation library [![Build Status](https://travis-ci.org/whitequark/ipaddr.js.svg)](https://travis-ci.org/whitequark/ipaddr.js)
-
-ipaddr.js is a small (1.9K minified and gzipped) library for manipulating
-IP addresses in JavaScript environments. It runs on both CommonJS runtimes
-(e.g. [nodejs]) and in a web browser.
-
-ipaddr.js allows you to verify and parse string representation of an IP
-address, match it against a CIDR range or range list, determine if it falls
-into some reserved ranges (examples include loopback and private ranges),
-and convert between IPv4 and IPv4-mapped IPv6 addresses.
-
-[nodejs]: http://nodejs.org
-
-## Installation
-
-`npm install ipaddr.js`
-
-or
-
-`bower install ipaddr.js`
-
-## API
-
-ipaddr.js defines one object in the global scope: `ipaddr`. In CommonJS,
-it is exported from the module:
-
-```js
-var ipaddr = require('ipaddr.js');
-```
-
-The API consists of several global methods and two classes: ipaddr.IPv6 and ipaddr.IPv4.
-
-### Global methods
-
-There are three global methods defined: `ipaddr.isValid`, `ipaddr.parse` and
-`ipaddr.process`. All of them receive a string as a single parameter.
-
-The `ipaddr.isValid` method returns `true` if the address is a valid IPv4 or
-IPv6 address, and `false` otherwise. It does not throw any exceptions.
-
-The `ipaddr.parse` method returns an object representing the IP address,
-or throws an `Error` if the passed string is not a valid representation of an
-IP address.
-
-The `ipaddr.process` method works just like the `ipaddr.parse` one, but it
-automatically converts IPv4-mapped IPv6 addresses to their IPv4 counterparts
-before returning. It is useful when you have a Node.js instance listening
-on an IPv6 socket, and the `net.ivp6.bindv6only` sysctl parameter (or its
-equivalent on non-Linux OS) is set to 0. In this case, you can accept IPv4
-connections on your IPv6-only socket, but the remote address will be mangled.
-Use `ipaddr.process` method to automatically demangle it.
-
-### Object representation
-
-Parsing methods return an object which descends from `ipaddr.IPv6` or
-`ipaddr.IPv4`. These objects share some properties, but most of them differ.
-
-#### Shared properties
-
-One can determine the type of address by calling `addr.kind()`. It will return
-either `"ipv6"` or `"ipv4"`.
-
-An address can be converted back to its string representation with `addr.toString()`.
-Note that this method:
- * does not return the original string used to create the object (in fact, there is
- no way of getting that string)
- * returns a compact representation (when it is applicable)
-
-A `match(range, bits)` method can be used to check if the address falls into a
-certain CIDR range.
-Note that an address can be (obviously) matched only against an address of the same type.
-
-For example:
-
-```js
-var addr = ipaddr.parse("2001:db8:1234::1");
-var range = ipaddr.parse("2001:db8::");
-
-addr.match(range, 32); // => true
-```
-
-Alternatively, `match` can also be called as `match([range, bits])`. In this way,
-it can be used together with the `parseCIDR(string)` method, which parses an IP
-address together with a CIDR range.
-
-For example:
-
-```js
-var addr = ipaddr.parse("2001:db8:1234::1");
-
-addr.match(ipaddr.parseCIDR("2001:db8::/32")); // => true
-```
-
-A `range()` method returns one of predefined names for several special ranges defined
-by IP protocols. The exact names (and their respective CIDR ranges) can be looked up
-in the source: [IPv6 ranges] and [IPv4 ranges]. Some common ones include `"unicast"`
-(the default one) and `"reserved"`.
-
-You can match against your own range list by using
-`ipaddr.subnetMatch(address, rangeList, defaultName)` method. It can work with a mix of IPv6 or IPv4 addresses, and accepts a name-to-subnet map as the range list. For example:
-
-```js
-var rangeList = {
- documentationOnly: [ ipaddr.parse('2001:db8::'), 32 ],
- tunnelProviders: [
- [ ipaddr.parse('2001:470::'), 32 ], // he.net
- [ ipaddr.parse('2001:5c0::'), 32 ] // freenet6
- ]
-};
-ipaddr.subnetMatch(ipaddr.parse('2001:470:8:66::1'), rangeList, 'unknown'); // => "tunnelProviders"
-```
-
-The addresses can be converted to their byte representation with `toByteArray()`.
-(Actually, JavaScript mostly does not know about byte buffers. They are emulated with
-arrays of numbers, each in range of 0..255.)
-
-```js
-var bytes = ipaddr.parse('2a00:1450:8007::68').toByteArray(); // ipv6.google.com
-bytes // => [42, 0x00, 0x14, 0x50, 0x80, 0x07, 0x00, <zeroes...>, 0x00, 0x68 ]
-```
-
-The `ipaddr.IPv4` and `ipaddr.IPv6` objects have some methods defined, too. All of them
-have the same interface for both protocols, and are similar to global methods.
-
-`ipaddr.IPvX.isValid(string)` can be used to check if the string is a valid address
-for particular protocol, and `ipaddr.IPvX.parse(string)` is the error-throwing parser.
-
-`ipaddr.IPvX.isValid(string)` uses the same format for parsing as the POSIX `inet_ntoa` function, which accepts unusual formats like `0xc0.168.1.1` or `0x10000000`. The function `ipaddr.IPv4.isValidFourPartDecimal(string)` validates the IPv4 address and also ensures that it is written in four-part decimal format.
-
-[IPv6 ranges]: https://github.com/whitequark/ipaddr.js/blob/master/src/ipaddr.coffee#L186
-[IPv4 ranges]: https://github.com/whitequark/ipaddr.js/blob/master/src/ipaddr.coffee#L71
-
-#### IPv6 properties
-
-Sometimes you will want to convert IPv6 not to a compact string representation (with
-the `::` substitution); the `toNormalizedString()` method will return an address where
-all zeroes are explicit.
-
-For example:
-
-```js
-var addr = ipaddr.parse("2001:0db8::0001");
-addr.toString(); // => "2001:db8::1"
-addr.toNormalizedString(); // => "2001:db8:0:0:0:0:0:1"
-```
-
-The `isIPv4MappedAddress()` method will return `true` if this address is an IPv4-mapped
-one, and `toIPv4Address()` will return an IPv4 object address.
-
-To access the underlying binary representation of the address, use `addr.parts`.
-
-```js
-var addr = ipaddr.parse("2001:db8:10::1234:DEAD");
-addr.parts // => [0x2001, 0xdb8, 0x10, 0, 0, 0, 0x1234, 0xdead]
-```
-
-A IPv6 zone index can be accessed via `addr.zoneId`:
-
-```js
-var addr = ipaddr.parse("2001:db8::%eth0");
-addr.zoneId // => 'eth0'
-```
-
-#### IPv4 properties
-
-`toIPv4MappedAddress()` will return a corresponding IPv4-mapped IPv6 address.
-
-To access the underlying representation of the address, use `addr.octets`.
-
-```js
-var addr = ipaddr.parse("192.168.1.1");
-addr.octets // => [192, 168, 1, 1]
-```
-
-`prefixLengthFromSubnetMask()` will return a CIDR prefix length for a valid IPv4 netmask or
-null if the netmask is not valid.
-
-```js
-ipaddr.IPv4.parse('255.255.255.240').prefixLengthFromSubnetMask() == 28
-ipaddr.IPv4.parse('255.192.164.0').prefixLengthFromSubnetMask() == null
-```
-
-`subnetMaskFromPrefixLength()` will return an IPv4 netmask for a valid CIDR prefix length.
-
-```js
-ipaddr.IPv4.subnetMaskFromPrefixLength(24) == "255.255.255.0"
-ipaddr.IPv4.subnetMaskFromPrefixLength(29) == "255.255.255.248"
-```
-
-`broadcastAddressFromCIDR()` will return the broadcast address for a given IPv4 interface and netmask in CIDR notation.
-```js
-ipaddr.IPv4.broadcastAddressFromCIDR("172.0.0.1/24") == "172.0.0.255"
-```
-`networkAddressFromCIDR()` will return the network address for a given IPv4 interface and netmask in CIDR notation.
-```js
-ipaddr.IPv4.networkAddressFromCIDR("172.0.0.1/24") == "172.0.0.0"
-```
-
-#### Conversion
-
-IPv4 and IPv6 can be converted bidirectionally to and from network byte order (MSB) byte arrays.
-
-The `fromByteArray()` method will take an array and create an appropriate IPv4 or IPv6 object
-if the input satisfies the requirements. For IPv4 it has to be an array of four 8-bit values,
-while for IPv6 it has to be an array of sixteen 8-bit values.
-
-For example:
-```js
-var addr = ipaddr.fromByteArray([0x7f, 0, 0, 1]);
-addr.toString(); // => "127.0.0.1"
-```
-
-or
-
-```js
-var addr = ipaddr.fromByteArray([0x20, 1, 0xd, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1])
-addr.toString(); // => "2001:db8::1"
-```
-
-Both objects also offer a `toByteArray()` method, which returns an array in network byte order (MSB).
-
-For example:
-```js
-var addr = ipaddr.parse("127.0.0.1");
-addr.toByteArray(); // => [0x7f, 0, 0, 1]
-```
-
-or
-
-```js
-var addr = ipaddr.parse("2001:db8::1");
-addr.toByteArray(); // => [0x20, 1, 0xd, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
-```
diff --git a/Server/node_modules/ipaddr.js/ipaddr.min.js b/Server/node_modules/ipaddr.js/ipaddr.min.js
deleted file mode 100644
index b54a7cc..0000000
--- a/Server/node_modules/ipaddr.js/ipaddr.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(){var r,t,n,e,i,o,a,s;t={},s=this,"undefined"!=typeof module&&null!==module&&module.exports?module.exports=t:s.ipaddr=t,a=function(r,t,n,e){var i,o;if(r.length!==t.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(i=0;e>0;){if((o=n-e)<0&&(o=0),r[i]>>o!=t[i]>>o)return!1;e-=n,i+=1}return!0},t.subnetMatch=function(r,t,n){var e,i,o,a,s;null==n&&(n="unicast");for(o in t)for(!(a=t[o])[0]||a[0]instanceof Array||(a=[a]),e=0,i=a.length;e<i;e++)if(s=a[e],r.kind()===s[0].kind()&&r.match.apply(r,s))return o;return n},t.IPv4=function(){function r(r){var t,n,e;if(4!==r.length)throw new Error("ipaddr: ipv4 octet count should be 4");for(t=0,n=r.length;t<n;t++)if(!(0<=(e=r[t])&&e<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=r}return r.prototype.kind=function(){return"ipv4"},r.prototype.toString=function(){return this.octets.join(".")},r.prototype.toNormalizedString=function(){return this.toString()},r.prototype.toByteArray=function(){return this.octets.slice(0)},r.prototype.match=function(r,t){var n;if(void 0===t&&(r=(n=r)[0],t=n[1]),"ipv4"!==r.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return a(this.octets,r.octets,8,t)},r.prototype.SpecialRanges={unspecified:[[new r([0,0,0,0]),8]],broadcast:[[new r([255,255,255,255]),32]],multicast:[[new r([224,0,0,0]),4]],linkLocal:[[new r([169,254,0,0]),16]],loopback:[[new r([127,0,0,0]),8]],carrierGradeNat:[[new r([100,64,0,0]),10]],private:[[new r([10,0,0,0]),8],[new r([172,16,0,0]),12],[new r([192,168,0,0]),16]],reserved:[[new r([192,0,0,0]),24],[new r([192,0,2,0]),24],[new r([192,88,99,0]),24],[new r([198,51,100,0]),24],[new r([203,0,113,0]),24],[new r([240,0,0,0]),4]]},r.prototype.range=function(){return t.subnetMatch(this,this.SpecialRanges)},r.prototype.toIPv4MappedAddress=function(){return t.IPv6.parse("::ffff:"+this.toString())},r.prototype.prefixLengthFromSubnetMask=function(){var r,t,n,e,i,o,a;for(a={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},r=0,i=!1,t=n=3;n>=0;t=n+=-1){if(!((e=this.octets[t])in a))return null;if(o=a[e],i&&0!==o)return null;8!==o&&(i=!0),r+=o}return 32-r},r}(),n="(0?\\d+|0x[a-f0-9]+)",e={fourOctet:new RegExp("^"+n+"\\."+n+"\\."+n+"\\."+n+"$","i"),longValue:new RegExp("^"+n+"$","i")},t.IPv4.parser=function(r){var t,n,i,o,a;if(n=function(r){return"0"===r[0]&&"x"!==r[1]?parseInt(r,8):parseInt(r)},t=r.match(e.fourOctet))return function(){var r,e,o,a;for(a=[],r=0,e=(o=t.slice(1,6)).length;r<e;r++)i=o[r],a.push(n(i));return a}();if(t=r.match(e.longValue)){if((a=n(t[1]))>4294967295||a<0)throw new Error("ipaddr: address outside defined range");return function(){var r,t;for(t=[],o=r=0;r<=24;o=r+=8)t.push(a>>o&255);return t}().reverse()}return null},t.IPv6=function(){function r(r,t){var n,e,i,o,a,s;if(16===r.length)for(this.parts=[],n=e=0;e<=14;n=e+=2)this.parts.push(r[n]<<8|r[n+1]);else{if(8!==r.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=r}for(i=0,o=(s=this.parts).length;i<o;i++)if(!(0<=(a=s[i])&&a<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");t&&(this.zoneId=t)}return r.prototype.kind=function(){return"ipv6"},r.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},r.prototype.toRFC5952String=function(){var r,t,n,e,i;for(e=/((^|:)(0(:|$)){2,})/g,i=this.toNormalizedString(),r=0,t=-1;n=e.exec(i);)n[0].length>t&&(r=n.index,t=n[0].length);return t<0?i:i.substring(0,r)+"::"+i.substring(r+t)},r.prototype.toByteArray=function(){var r,t,n,e,i;for(r=[],t=0,n=(i=this.parts).length;t<n;t++)e=i[t],r.push(e>>8),r.push(255&e);return r},r.prototype.toNormalizedString=function(){var r,t,n;return r=function(){var r,n,e,i;for(i=[],r=0,n=(e=this.parts).length;r<n;r++)t=e[r],i.push(t.toString(16));return i}.call(this).join(":"),n="",this.zoneId&&(n="%"+this.zoneId),r+n},r.prototype.toFixedLengthString=function(){var r,t,n;return r=function(){var r,n,e,i;for(i=[],r=0,n=(e=this.parts).length;r<n;r++)t=e[r],i.push(t.toString(16).padStart(4,"0"));return i}.call(this).join(":"),n="",this.zoneId&&(n="%"+this.zoneId),r+n},r.prototype.match=function(r,t){var n;if(void 0===t&&(r=(n=r)[0],t=n[1]),"ipv6"!==r.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return a(this.parts,r.parts,16,t)},r.prototype.SpecialRanges={unspecified:[new r([0,0,0,0,0,0,0,0]),128],linkLocal:[new r([65152,0,0,0,0,0,0,0]),10],multicast:[new r([65280,0,0,0,0,0,0,0]),8],loopback:[new r([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new r([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new r([0,0,0,0,0,65535,0,0]),96],rfc6145:[new r([0,0,0,0,65535,0,0,0]),96],rfc6052:[new r([100,65435,0,0,0,0,0,0]),96],"6to4":[new r([8194,0,0,0,0,0,0,0]),16],teredo:[new r([8193,0,0,0,0,0,0,0]),32],reserved:[[new r([8193,3512,0,0,0,0,0,0]),32]]},r.prototype.range=function(){return t.subnetMatch(this,this.SpecialRanges)},r.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()},r.prototype.toIPv4Address=function(){var r,n,e;if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return e=this.parts.slice(-2),r=e[0],n=e[1],new t.IPv4([r>>8,255&r,n>>8,255&n])},r.prototype.prefixLengthFromSubnetMask=function(){var r,t,n,e,i,o,a;for(a={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},r=0,i=!1,t=n=7;n>=0;t=n+=-1){if(!((e=this.parts[t])in a))return null;if(o=a[e],i&&0!==o)return null;16!==o&&(i=!0),r+=o}return 128-r},r}(),i="(?:[0-9a-f]+::?)+",o={zoneIndex:new RegExp("%[0-9a-z]{1,}","i"),native:new RegExp("^(::)?("+i+")?([0-9a-f]+)?(::)?(%[0-9a-z]{1,})?$","i"),transitional:new RegExp("^((?:"+i+")|(?:::)(?:"+i+")?)"+n+"\\."+n+"\\."+n+"\\."+n+"(%[0-9a-z]{1,})?$","i")},r=function(r,t){var n,e,i,a,s,p;if(r.indexOf("::")!==r.lastIndexOf("::"))return null;for((p=(r.match(o.zoneIndex)||[])[0])&&(p=p.substring(1),r=r.replace(/%.+$/,"")),n=0,e=-1;(e=r.indexOf(":",e+1))>=0;)n++;if("::"===r.substr(0,2)&&n--,"::"===r.substr(-2,2)&&n--,n>t)return null;for(s=t-n,a=":";s--;)a+="0:";return":"===(r=r.replace("::",a))[0]&&(r=r.slice(1)),":"===r[r.length-1]&&(r=r.slice(0,-1)),t=function(){var t,n,e,o;for(o=[],t=0,n=(e=r.split(":")).length;t<n;t++)i=e[t],o.push(parseInt(i,16));return o}(),{parts:t,zoneId:p}},t.IPv6.parser=function(t){var n,e,i,a,s,p,u;if(o.native.test(t))return r(t,8);if((a=t.match(o.transitional))&&(u=a[6]||"",(n=r(a[1].slice(0,-1)+u,6)).parts)){for(e=0,i=(p=[parseInt(a[2]),parseInt(a[3]),parseInt(a[4]),parseInt(a[5])]).length;e<i;e++)if(!(0<=(s=p[e])&&s<=255))return null;return n.parts.push(p[0]<<8|p[1]),n.parts.push(p[2]<<8|p[3]),{parts:n.parts,zoneId:n.zoneId}}return null},t.IPv4.isIPv4=t.IPv6.isIPv6=function(r){return null!==this.parser(r)},t.IPv4.isValid=function(r){try{return new this(this.parser(r)),!0}catch(r){return r,!1}},t.IPv4.isValidFourPartDecimal=function(r){return!(!t.IPv4.isValid(r)||!r.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},t.IPv6.isValid=function(r){var t;if("string"==typeof r&&-1===r.indexOf(":"))return!1;try{return t=this.parser(r),new this(t.parts,t.zoneId),!0}catch(r){return r,!1}},t.IPv4.parse=function(r){var t;if(null===(t=this.parser(r)))throw new Error("ipaddr: string is not formatted like ip address");return new this(t)},t.IPv6.parse=function(r){var t;if(null===(t=this.parser(r)).parts)throw new Error("ipaddr: string is not formatted like ip address");return new this(t.parts,t.zoneId)},t.IPv4.parseCIDR=function(r){var t,n,e;if((n=r.match(/^(.+)\/(\d+)$/))&&(t=parseInt(n[2]))>=0&&t<=32)return e=[this.parse(n[1]),t],Object.defineProperty(e,"toString",{value:function(){return this.join("/")}}),e;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},t.IPv4.subnetMaskFromPrefixLength=function(r){var t,n,e;if((r=parseInt(r))<0||r>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(e=[0,0,0,0],n=0,t=Math.floor(r/8);n<t;)e[n]=255,n++;return t<4&&(e[t]=Math.pow(2,r%8)-1<<8-r%8),new this(e)},t.IPv4.broadcastAddressFromCIDR=function(r){var t,n,e,i,o;try{for(e=(t=this.parseCIDR(r))[0].toByteArray(),o=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(e[n],10)|255^parseInt(o[n],10)),n++;return new this(i)}catch(r){throw r,new Error("ipaddr: the address does not have IPv4 CIDR format")}},t.IPv4.networkAddressFromCIDR=function(r){var t,n,e,i,o;try{for(e=(t=this.parseCIDR(r))[0].toByteArray(),o=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(e[n],10)&parseInt(o[n],10)),n++;return new this(i)}catch(r){throw r,new Error("ipaddr: the address does not have IPv4 CIDR format")}},t.IPv6.parseCIDR=function(r){var t,n,e;if((n=r.match(/^(.+)\/(\d+)$/))&&(t=parseInt(n[2]))>=0&&t<=128)return e=[this.parse(n[1]),t],Object.defineProperty(e,"toString",{value:function(){return this.join("/")}}),e;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},t.isValid=function(r){return t.IPv6.isValid(r)||t.IPv4.isValid(r)},t.parse=function(r){if(t.IPv6.isValid(r))return t.IPv6.parse(r);if(t.IPv4.isValid(r))return t.IPv4.parse(r);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},t.parseCIDR=function(r){try{return t.IPv6.parseCIDR(r)}catch(n){n;try{return t.IPv4.parseCIDR(r)}catch(r){throw r,new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},t.fromByteArray=function(r){var n;if(4===(n=r.length))return new t.IPv4(r);if(16===n)return new t.IPv6(r);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},t.process=function(r){var t;return t=this.parse(r),"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(this);
\ No newline at end of file
diff --git a/Server/node_modules/ipaddr.js/lib/ipaddr.js b/Server/node_modules/ipaddr.js/lib/ipaddr.js
deleted file mode 100644
index 18bd93b..0000000
--- a/Server/node_modules/ipaddr.js/lib/ipaddr.js
+++ /dev/null
@@ -1,673 +0,0 @@
-(function() {
- var expandIPv6, ipaddr, ipv4Part, ipv4Regexes, ipv6Part, ipv6Regexes, matchCIDR, root, zoneIndex;
-
- ipaddr = {};
-
- root = this;
-
- if ((typeof module !== "undefined" && module !== null) && module.exports) {
- module.exports = ipaddr;
- } else {
- root['ipaddr'] = ipaddr;
- }
-
- matchCIDR = function(first, second, partSize, cidrBits) {
- var part, shift;
- if (first.length !== second.length) {
- throw new Error("ipaddr: cannot match CIDR for objects with different lengths");
- }
- part = 0;
- while (cidrBits > 0) {
- shift = partSize - cidrBits;
- if (shift < 0) {
- shift = 0;
- }
- if (first[part] >> shift !== second[part] >> shift) {
- return false;
- }
- cidrBits -= partSize;
- part += 1;
- }
- return true;
- };
-
- ipaddr.subnetMatch = function(address, rangeList, defaultName) {
- var k, len, rangeName, rangeSubnets, subnet;
- if (defaultName == null) {
- defaultName = 'unicast';
- }
- for (rangeName in rangeList) {
- rangeSubnets = rangeList[rangeName];
- if (rangeSubnets[0] && !(rangeSubnets[0] instanceof Array)) {
- rangeSubnets = [rangeSubnets];
- }
- for (k = 0, len = rangeSubnets.length; k < len; k++) {
- subnet = rangeSubnets[k];
- if (address.kind() === subnet[0].kind()) {
- if (address.match.apply(address, subnet)) {
- return rangeName;
- }
- }
- }
- }
- return defaultName;
- };
-
- ipaddr.IPv4 = (function() {
- function IPv4(octets) {
- var k, len, octet;
- if (octets.length !== 4) {
- throw new Error("ipaddr: ipv4 octet count should be 4");
- }
- for (k = 0, len = octets.length; k < len; k++) {
- octet = octets[k];
- if (!((0 <= octet && octet <= 255))) {
- throw new Error("ipaddr: ipv4 octet should fit in 8 bits");
- }
- }
- this.octets = octets;
- }
-
- IPv4.prototype.kind = function() {
- return 'ipv4';
- };
-
- IPv4.prototype.toString = function() {
- return this.octets.join(".");
- };
-
- IPv4.prototype.toNormalizedString = function() {
- return this.toString();
- };
-
- IPv4.prototype.toByteArray = function() {
- return this.octets.slice(0);
- };
-
- IPv4.prototype.match = function(other, cidrRange) {
- var ref;
- if (cidrRange === void 0) {
- ref = other, other = ref[0], cidrRange = ref[1];
- }
- if (other.kind() !== 'ipv4') {
- throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");
- }
- return matchCIDR(this.octets, other.octets, 8, cidrRange);
- };
-
- IPv4.prototype.SpecialRanges = {
- unspecified: [[new IPv4([0, 0, 0, 0]), 8]],
- broadcast: [[new IPv4([255, 255, 255, 255]), 32]],
- multicast: [[new IPv4([224, 0, 0, 0]), 4]],
- linkLocal: [[new IPv4([169, 254, 0, 0]), 16]],
- loopback: [[new IPv4([127, 0, 0, 0]), 8]],
- carrierGradeNat: [[new IPv4([100, 64, 0, 0]), 10]],
- "private": [[new IPv4([10, 0, 0, 0]), 8], [new IPv4([172, 16, 0, 0]), 12], [new IPv4([192, 168, 0, 0]), 16]],
- reserved: [[new IPv4([192, 0, 0, 0]), 24], [new IPv4([192, 0, 2, 0]), 24], [new IPv4([192, 88, 99, 0]), 24], [new IPv4([198, 51, 100, 0]), 24], [new IPv4([203, 0, 113, 0]), 24], [new IPv4([240, 0, 0, 0]), 4]]
- };
-
- IPv4.prototype.range = function() {
- return ipaddr.subnetMatch(this, this.SpecialRanges);
- };
-
- IPv4.prototype.toIPv4MappedAddress = function() {
- return ipaddr.IPv6.parse("::ffff:" + (this.toString()));
- };
-
- IPv4.prototype.prefixLengthFromSubnetMask = function() {
- var cidr, i, k, octet, stop, zeros, zerotable;
- zerotable = {
- 0: 8,
- 128: 7,
- 192: 6,
- 224: 5,
- 240: 4,
- 248: 3,
- 252: 2,
- 254: 1,
- 255: 0
- };
- cidr = 0;
- stop = false;
- for (i = k = 3; k >= 0; i = k += -1) {
- octet = this.octets[i];
- if (octet in zerotable) {
- zeros = zerotable[octet];
- if (stop && zeros !== 0) {
- return null;
- }
- if (zeros !== 8) {
- stop = true;
- }
- cidr += zeros;
- } else {
- return null;
- }
- }
- return 32 - cidr;
- };
-
- return IPv4;
-
- })();
-
- ipv4Part = "(0?\\d+|0x[a-f0-9]+)";
-
- ipv4Regexes = {
- fourOctet: new RegExp("^" + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "$", 'i'),
- longValue: new RegExp("^" + ipv4Part + "$", 'i')
- };
-
- ipaddr.IPv4.parser = function(string) {
- var match, parseIntAuto, part, shift, value;
- parseIntAuto = function(string) {
- if (string[0] === "0" && string[1] !== "x") {
- return parseInt(string, 8);
- } else {
- return parseInt(string);
- }
- };
- if (match = string.match(ipv4Regexes.fourOctet)) {
- return (function() {
- var k, len, ref, results;
- ref = match.slice(1, 6);
- results = [];
- for (k = 0, len = ref.length; k < len; k++) {
- part = ref[k];
- results.push(parseIntAuto(part));
- }
- return results;
- })();
- } else if (match = string.match(ipv4Regexes.longValue)) {
- value = parseIntAuto(match[1]);
- if (value > 0xffffffff || value < 0) {
- throw new Error("ipaddr: address outside defined range");
- }
- return ((function() {
- var k, results;
- results = [];
- for (shift = k = 0; k <= 24; shift = k += 8) {
- results.push((value >> shift) & 0xff);
- }
- return results;
- })()).reverse();
- } else {
- return null;
- }
- };
-
- ipaddr.IPv6 = (function() {
- function IPv6(parts, zoneId) {
- var i, k, l, len, part, ref;
- if (parts.length === 16) {
- this.parts = [];
- for (i = k = 0; k <= 14; i = k += 2) {
- this.parts.push((parts[i] << 8) | parts[i + 1]);
- }
- } else if (parts.length === 8) {
- this.parts = parts;
- } else {
- throw new Error("ipaddr: ipv6 part count should be 8 or 16");
- }
- ref = this.parts;
- for (l = 0, len = ref.length; l < len; l++) {
- part = ref[l];
- if (!((0 <= part && part <= 0xffff))) {
- throw new Error("ipaddr: ipv6 part should fit in 16 bits");
- }
- }
- if (zoneId) {
- this.zoneId = zoneId;
- }
- }
-
- IPv6.prototype.kind = function() {
- return 'ipv6';
- };
-
- IPv6.prototype.toString = function() {
- return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/, '::');
- };
-
- IPv6.prototype.toRFC5952String = function() {
- var bestMatchIndex, bestMatchLength, match, regex, string;
- regex = /((^|:)(0(:|$)){2,})/g;
- string = this.toNormalizedString();
- bestMatchIndex = 0;
- bestMatchLength = -1;
- while ((match = regex.exec(string))) {
- if (match[0].length > bestMatchLength) {
- bestMatchIndex = match.index;
- bestMatchLength = match[0].length;
- }
- }
- if (bestMatchLength < 0) {
- return string;
- }
- return string.substring(0, bestMatchIndex) + '::' + string.substring(bestMatchIndex + bestMatchLength);
- };
-
- IPv6.prototype.toByteArray = function() {
- var bytes, k, len, part, ref;
- bytes = [];
- ref = this.parts;
- for (k = 0, len = ref.length; k < len; k++) {
- part = ref[k];
- bytes.push(part >> 8);
- bytes.push(part & 0xff);
- }
- return bytes;
- };
-
- IPv6.prototype.toNormalizedString = function() {
- var addr, part, suffix;
- addr = ((function() {
- var k, len, ref, results;
- ref = this.parts;
- results = [];
- for (k = 0, len = ref.length; k < len; k++) {
- part = ref[k];
- results.push(part.toString(16));
- }
- return results;
- }).call(this)).join(":");
- suffix = '';
- if (this.zoneId) {
- suffix = '%' + this.zoneId;
- }
- return addr + suffix;
- };
-
- IPv6.prototype.toFixedLengthString = function() {
- var addr, part, suffix;
- addr = ((function() {
- var k, len, ref, results;
- ref = this.parts;
- results = [];
- for (k = 0, len = ref.length; k < len; k++) {
- part = ref[k];
- results.push(part.toString(16).padStart(4, '0'));
- }
- return results;
- }).call(this)).join(":");
- suffix = '';
- if (this.zoneId) {
- suffix = '%' + this.zoneId;
- }
- return addr + suffix;
- };
-
- IPv6.prototype.match = function(other, cidrRange) {
- var ref;
- if (cidrRange === void 0) {
- ref = other, other = ref[0], cidrRange = ref[1];
- }
- if (other.kind() !== 'ipv6') {
- throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");
- }
- return matchCIDR(this.parts, other.parts, 16, cidrRange);
- };
-
- IPv6.prototype.SpecialRanges = {
- unspecified: [new IPv6([0, 0, 0, 0, 0, 0, 0, 0]), 128],
- linkLocal: [new IPv6([0xfe80, 0, 0, 0, 0, 0, 0, 0]), 10],
- multicast: [new IPv6([0xff00, 0, 0, 0, 0, 0, 0, 0]), 8],
- loopback: [new IPv6([0, 0, 0, 0, 0, 0, 0, 1]), 128],
- uniqueLocal: [new IPv6([0xfc00, 0, 0, 0, 0, 0, 0, 0]), 7],
- ipv4Mapped: [new IPv6([0, 0, 0, 0, 0, 0xffff, 0, 0]), 96],
- rfc6145: [new IPv6([0, 0, 0, 0, 0xffff, 0, 0, 0]), 96],
- rfc6052: [new IPv6([0x64, 0xff9b, 0, 0, 0, 0, 0, 0]), 96],
- '6to4': [new IPv6([0x2002, 0, 0, 0, 0, 0, 0, 0]), 16],
- teredo: [new IPv6([0x2001, 0, 0, 0, 0, 0, 0, 0]), 32],
- reserved: [[new IPv6([0x2001, 0xdb8, 0, 0, 0, 0, 0, 0]), 32]]
- };
-
- IPv6.prototype.range = function() {
- return ipaddr.subnetMatch(this, this.SpecialRanges);
- };
-
- IPv6.prototype.isIPv4MappedAddress = function() {
- return this.range() === 'ipv4Mapped';
- };
-
- IPv6.prototype.toIPv4Address = function() {
- var high, low, ref;
- if (!this.isIPv4MappedAddress()) {
- throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");
- }
- ref = this.parts.slice(-2), high = ref[0], low = ref[1];
- return new ipaddr.IPv4([high >> 8, high & 0xff, low >> 8, low & 0xff]);
- };
-
- IPv6.prototype.prefixLengthFromSubnetMask = function() {
- var cidr, i, k, part, stop, zeros, zerotable;
- zerotable = {
- 0: 16,
- 32768: 15,
- 49152: 14,
- 57344: 13,
- 61440: 12,
- 63488: 11,
- 64512: 10,
- 65024: 9,
- 65280: 8,
- 65408: 7,
- 65472: 6,
- 65504: 5,
- 65520: 4,
- 65528: 3,
- 65532: 2,
- 65534: 1,
- 65535: 0
- };
- cidr = 0;
- stop = false;
- for (i = k = 7; k >= 0; i = k += -1) {
- part = this.parts[i];
- if (part in zerotable) {
- zeros = zerotable[part];
- if (stop && zeros !== 0) {
- return null;
- }
- if (zeros !== 16) {
- stop = true;
- }
- cidr += zeros;
- } else {
- return null;
- }
- }
- return 128 - cidr;
- };
-
- return IPv6;
-
- })();
-
- ipv6Part = "(?:[0-9a-f]+::?)+";
-
- zoneIndex = "%[0-9a-z]{1,}";
-
- ipv6Regexes = {
- zoneIndex: new RegExp(zoneIndex, 'i'),
- "native": new RegExp("^(::)?(" + ipv6Part + ")?([0-9a-f]+)?(::)?(" + zoneIndex + ")?$", 'i'),
- transitional: new RegExp(("^((?:" + ipv6Part + ")|(?:::)(?:" + ipv6Part + ")?)") + (ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part + "\\." + ipv4Part) + ("(" + zoneIndex + ")?$"), 'i')
- };
-
- expandIPv6 = function(string, parts) {
- var colonCount, lastColon, part, replacement, replacementCount, zoneId;
- if (string.indexOf('::') !== string.lastIndexOf('::')) {
- return null;
- }
- zoneId = (string.match(ipv6Regexes['zoneIndex']) || [])[0];
- if (zoneId) {
- zoneId = zoneId.substring(1);
- string = string.replace(/%.+$/, '');
- }
- colonCount = 0;
- lastColon = -1;
- while ((lastColon = string.indexOf(':', lastColon + 1)) >= 0) {
- colonCount++;
- }
- if (string.substr(0, 2) === '::') {
- colonCount--;
- }
- if (string.substr(-2, 2) === '::') {
- colonCount--;
- }
- if (colonCount > parts) {
- return null;
- }
- replacementCount = parts - colonCount;
- replacement = ':';
- while (replacementCount--) {
- replacement += '0:';
- }
- string = string.replace('::', replacement);
- if (string[0] === ':') {
- string = string.slice(1);
- }
- if (string[string.length - 1] === ':') {
- string = string.slice(0, -1);
- }
- parts = (function() {
- var k, len, ref, results;
- ref = string.split(":");
- results = [];
- for (k = 0, len = ref.length; k < len; k++) {
- part = ref[k];
- results.push(parseInt(part, 16));
- }
- return results;
- })();
- return {
- parts: parts,
- zoneId: zoneId
- };
- };
-
- ipaddr.IPv6.parser = function(string) {
- var addr, k, len, match, octet, octets, zoneId;
- if (ipv6Regexes['native'].test(string)) {
- return expandIPv6(string, 8);
- } else if (match = string.match(ipv6Regexes['transitional'])) {
- zoneId = match[6] || '';
- addr = expandIPv6(match[1].slice(0, -1) + zoneId, 6);
- if (addr.parts) {
- octets = [parseInt(match[2]), parseInt(match[3]), parseInt(match[4]), parseInt(match[5])];
- for (k = 0, len = octets.length; k < len; k++) {
- octet = octets[k];
- if (!((0 <= octet && octet <= 255))) {
- return null;
- }
- }
- addr.parts.push(octets[0] << 8 | octets[1]);
- addr.parts.push(octets[2] << 8 | octets[3]);
- return {
- parts: addr.parts,
- zoneId: addr.zoneId
- };
- }
- }
- return null;
- };
-
- ipaddr.IPv4.isIPv4 = ipaddr.IPv6.isIPv6 = function(string) {
- return this.parser(string) !== null;
- };
-
- ipaddr.IPv4.isValid = function(string) {
- var e;
- try {
- new this(this.parser(string));
- return true;
- } catch (error1) {
- e = error1;
- return false;
- }
- };
-
- ipaddr.IPv4.isValidFourPartDecimal = function(string) {
- if (ipaddr.IPv4.isValid(string) && string.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/)) {
- return true;
- } else {
- return false;
- }
- };
-
- ipaddr.IPv6.isValid = function(string) {
- var addr, e;
- if (typeof string === "string" && string.indexOf(":") === -1) {
- return false;
- }
- try {
- addr = this.parser(string);
- new this(addr.parts, addr.zoneId);
- return true;
- } catch (error1) {
- e = error1;
- return false;
- }
- };
-
- ipaddr.IPv4.parse = function(string) {
- var parts;
- parts = this.parser(string);
- if (parts === null) {
- throw new Error("ipaddr: string is not formatted like ip address");
- }
- return new this(parts);
- };
-
- ipaddr.IPv6.parse = function(string) {
- var addr;
- addr = this.parser(string);
- if (addr.parts === null) {
- throw new Error("ipaddr: string is not formatted like ip address");
- }
- return new this(addr.parts, addr.zoneId);
- };
-
- ipaddr.IPv4.parseCIDR = function(string) {
- var maskLength, match, parsed;
- if (match = string.match(/^(.+)\/(\d+)$/)) {
- maskLength = parseInt(match[2]);
- if (maskLength >= 0 && maskLength <= 32) {
- parsed = [this.parse(match[1]), maskLength];
- Object.defineProperty(parsed, 'toString', {
- value: function() {
- return this.join('/');
- }
- });
- return parsed;
- }
- }
- throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range");
- };
-
- ipaddr.IPv4.subnetMaskFromPrefixLength = function(prefix) {
- var filledOctetCount, j, octets;
- prefix = parseInt(prefix);
- if (prefix < 0 || prefix > 32) {
- throw new Error('ipaddr: invalid IPv4 prefix length');
- }
- octets = [0, 0, 0, 0];
- j = 0;
- filledOctetCount = Math.floor(prefix / 8);
- while (j < filledOctetCount) {
- octets[j] = 255;
- j++;
- }
- if (filledOctetCount < 4) {
- octets[filledOctetCount] = Math.pow(2, prefix % 8) - 1 << 8 - (prefix % 8);
- }
- return new this(octets);
- };
-
- ipaddr.IPv4.broadcastAddressFromCIDR = function(string) {
- var cidr, error, i, ipInterfaceOctets, octets, subnetMaskOctets;
- try {
- cidr = this.parseCIDR(string);
- ipInterfaceOctets = cidr[0].toByteArray();
- subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();
- octets = [];
- i = 0;
- while (i < 4) {
- octets.push(parseInt(ipInterfaceOctets[i], 10) | parseInt(subnetMaskOctets[i], 10) ^ 255);
- i++;
- }
- return new this(octets);
- } catch (error1) {
- error = error1;
- throw new Error('ipaddr: the address does not have IPv4 CIDR format');
- }
- };
-
- ipaddr.IPv4.networkAddressFromCIDR = function(string) {
- var cidr, error, i, ipInterfaceOctets, octets, subnetMaskOctets;
- try {
- cidr = this.parseCIDR(string);
- ipInterfaceOctets = cidr[0].toByteArray();
- subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();
- octets = [];
- i = 0;
- while (i < 4) {
- octets.push(parseInt(ipInterfaceOctets[i], 10) & parseInt(subnetMaskOctets[i], 10));
- i++;
- }
- return new this(octets);
- } catch (error1) {
- error = error1;
- throw new Error('ipaddr: the address does not have IPv4 CIDR format');
- }
- };
-
- ipaddr.IPv6.parseCIDR = function(string) {
- var maskLength, match, parsed;
- if (match = string.match(/^(.+)\/(\d+)$/)) {
- maskLength = parseInt(match[2]);
- if (maskLength >= 0 && maskLength <= 128) {
- parsed = [this.parse(match[1]), maskLength];
- Object.defineProperty(parsed, 'toString', {
- value: function() {
- return this.join('/');
- }
- });
- return parsed;
- }
- }
- throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range");
- };
-
- ipaddr.isValid = function(string) {
- return ipaddr.IPv6.isValid(string) || ipaddr.IPv4.isValid(string);
- };
-
- ipaddr.parse = function(string) {
- if (ipaddr.IPv6.isValid(string)) {
- return ipaddr.IPv6.parse(string);
- } else if (ipaddr.IPv4.isValid(string)) {
- return ipaddr.IPv4.parse(string);
- } else {
- throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format");
- }
- };
-
- ipaddr.parseCIDR = function(string) {
- var e;
- try {
- return ipaddr.IPv6.parseCIDR(string);
- } catch (error1) {
- e = error1;
- try {
- return ipaddr.IPv4.parseCIDR(string);
- } catch (error1) {
- e = error1;
- throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format");
- }
- }
- };
-
- ipaddr.fromByteArray = function(bytes) {
- var length;
- length = bytes.length;
- if (length === 4) {
- return new ipaddr.IPv4(bytes);
- } else if (length === 16) {
- return new ipaddr.IPv6(bytes);
- } else {
- throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address");
- }
- };
-
- ipaddr.process = function(string) {
- var addr;
- addr = this.parse(string);
- if (addr.kind() === 'ipv6' && addr.isIPv4MappedAddress()) {
- return addr.toIPv4Address();
- } else {
- return addr;
- }
- };
-
-}).call(this);
diff --git a/Server/node_modules/ipaddr.js/lib/ipaddr.js.d.ts b/Server/node_modules/ipaddr.js/lib/ipaddr.js.d.ts
deleted file mode 100644
index 52174b6..0000000
--- a/Server/node_modules/ipaddr.js/lib/ipaddr.js.d.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-declare module "ipaddr.js" {
- type IPv4Range = 'unicast' | 'unspecified' | 'broadcast' | 'multicast' | 'linkLocal' | 'loopback' | 'carrierGradeNat' | 'private' | 'reserved';
- type IPv6Range = 'unicast' | 'unspecified' | 'linkLocal' | 'multicast' | 'loopback' | 'uniqueLocal' | 'ipv4Mapped' | 'rfc6145' | 'rfc6052' | '6to4' | 'teredo' | 'reserved';
-
- interface RangeList<T> {
- [name: string]: [T, number] | [T, number][];
- }
-
- // Common methods/properties for IPv4 and IPv6 classes.
- class IP {
- prefixLengthFromSubnetMask(): number | null;
- toByteArray(): number[];
- toNormalizedString(): string;
- toString(): string;
- }
-
- namespace Address {
- export function isValid(addr: string): boolean;
- export function fromByteArray(bytes: number[]): IPv4 | IPv6;
- export function parse(addr: string): IPv4 | IPv6;
- export function parseCIDR(mask: string): [IPv4 | IPv6, number];
- export function process(addr: string): IPv4 | IPv6;
- export function subnetMatch(addr: IPv4, rangeList: RangeList<IPv4>, defaultName?: string): string;
- export function subnetMatch(addr: IPv6, rangeList: RangeList<IPv6>, defaultName?: string): string;
-
- export class IPv4 extends IP {
- static broadcastAddressFromCIDR(addr: string): IPv4;
- static isIPv4(addr: string): boolean;
- static isValidFourPartDecimal(addr: string): boolean;
- static isValid(addr: string): boolean;
- static networkAddressFromCIDR(addr: string): IPv4;
- static parse(addr: string): IPv4;
- static parseCIDR(addr: string): [IPv4, number];
- static subnetMaskFromPrefixLength(prefix: number): IPv4;
- constructor(octets: number[]);
- octets: number[]
-
- kind(): 'ipv4';
- match(addr: IPv4, bits: number): boolean;
- match(mask: [IPv4, number]): boolean;
- range(): IPv4Range;
- subnetMatch(rangeList: RangeList<IPv4>, defaultName?: string): string;
- toIPv4MappedAddress(): IPv6;
- }
-
- export class IPv6 extends IP {
- static broadcastAddressFromCIDR(addr: string): IPv6;
- static isIPv6(addr: string): boolean;
- static isValid(addr: string): boolean;
- static parse(addr: string): IPv6;
- static parseCIDR(addr: string): [IPv6, number];
- static subnetMaskFromPrefixLength(prefix: number): IPv6;
- constructor(parts: number[]);
- parts: number[]
- zoneId?: string
-
- isIPv4MappedAddress(): boolean;
- kind(): 'ipv6';
- match(addr: IPv6, bits: number): boolean;
- match(mask: [IPv6, number]): boolean;
- range(): IPv6Range;
- subnetMatch(rangeList: RangeList<IPv6>, defaultName?: string): string;
- toIPv4Address(): IPv4;
- }
- }
-
- export = Address;
-}
diff --git a/Server/node_modules/ipaddr.js/package.json b/Server/node_modules/ipaddr.js/package.json
deleted file mode 100644
index f347caf..0000000
--- a/Server/node_modules/ipaddr.js/package.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "_from": "ipaddr.js@1.9.1",
- "_id": "ipaddr.js@1.9.1",
- "_inBundle": false,
- "_integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
- "_location": "/ipaddr.js",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "ipaddr.js@1.9.1",
- "name": "ipaddr.js",
- "escapedName": "ipaddr.js",
- "rawSpec": "1.9.1",
- "saveSpec": null,
- "fetchSpec": "1.9.1"
- },
- "_requiredBy": [
- "/proxy-addr"
- ],
- "_resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
- "_shasum": "bff38543eeb8984825079ff3a2a8e6cbd46781b3",
- "_spec": "ipaddr.js@1.9.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/proxy-addr",
- "author": {
- "name": "whitequark",
- "email": "whitequark@whitequark.org"
- },
- "bugs": {
- "url": "https://github.com/whitequark/ipaddr.js/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.",
- "devDependencies": {
- "coffee-script": "~1.12.6",
- "nodeunit": "^0.11.3",
- "uglify-js": "~3.0.19"
- },
- "directories": {
- "lib": "./lib"
- },
- "engines": {
- "node": ">= 0.10"
- },
- "files": [
- "lib/",
- "LICENSE",
- "ipaddr.min.js"
- ],
- "homepage": "https://github.com/whitequark/ipaddr.js#readme",
- "keywords": [
- "ip",
- "ipv4",
- "ipv6"
- ],
- "license": "MIT",
- "main": "./lib/ipaddr.js",
- "name": "ipaddr.js",
- "repository": {
- "type": "git",
- "url": "git://github.com/whitequark/ipaddr.js.git"
- },
- "scripts": {
- "test": "cake build test"
- },
- "types": "./lib/ipaddr.js.d.ts",
- "version": "1.9.1"
-}
diff --git a/Server/node_modules/isarray/.npmignore b/Server/node_modules/isarray/.npmignore
deleted file mode 100644
index 3c3629e..0000000
--- a/Server/node_modules/isarray/.npmignore
+++ /dev/null
@@ -1 +0,0 @@
-node_modules
diff --git a/Server/node_modules/isarray/.travis.yml b/Server/node_modules/isarray/.travis.yml
deleted file mode 100644
index cc4dba2..0000000
--- a/Server/node_modules/isarray/.travis.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-language: node_js
-node_js:
- - "0.8"
- - "0.10"
diff --git a/Server/node_modules/isarray/Makefile b/Server/node_modules/isarray/Makefile
deleted file mode 100644
index 787d56e..0000000
--- a/Server/node_modules/isarray/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-
-test:
- @node_modules/.bin/tape test.js
-
-.PHONY: test
-
diff --git a/Server/node_modules/isarray/README.md b/Server/node_modules/isarray/README.md
deleted file mode 100644
index 16d2c59..0000000
--- a/Server/node_modules/isarray/README.md
+++ /dev/null
@@ -1,60 +0,0 @@
-
-# isarray
-
-`Array#isArray` for older browsers.
-
-[![build status](https://secure.travis-ci.org/juliangruber/isarray.svg)](http://travis-ci.org/juliangruber/isarray)
-[![downloads](https://img.shields.io/npm/dm/isarray.svg)](https://www.npmjs.org/package/isarray)
-
-[![browser support](https://ci.testling.com/juliangruber/isarray.png)
-](https://ci.testling.com/juliangruber/isarray)
-
-## Usage
-
-```js
-var isArray = require('isarray');
-
-console.log(isArray([])); // => true
-console.log(isArray({})); // => false
-```
-
-## Installation
-
-With [npm](http://npmjs.org) do
-
-```bash
-$ npm install isarray
-```
-
-Then bundle for the browser with
-[browserify](https://github.com/substack/browserify).
-
-With [component](http://component.io) do
-
-```bash
-$ component install juliangruber/isarray
-```
-
-## License
-
-(MIT)
-
-Copyright (c) 2013 Julian Gruber &lt;julian@juliangruber.com&gt;
-
-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.
diff --git a/Server/node_modules/isarray/component.json b/Server/node_modules/isarray/component.json
deleted file mode 100644
index 9e31b68..0000000
--- a/Server/node_modules/isarray/component.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name" : "isarray",
- "description" : "Array#isArray for older browsers",
- "version" : "0.0.1",
- "repository" : "juliangruber/isarray",
- "homepage": "https://github.com/juliangruber/isarray",
- "main" : "index.js",
- "scripts" : [
- "index.js"
- ],
- "dependencies" : {},
- "keywords": ["browser","isarray","array"],
- "author": {
- "name": "Julian Gruber",
- "email": "mail@juliangruber.com",
- "url": "http://juliangruber.com"
- },
- "license": "MIT"
-}
diff --git a/Server/node_modules/isarray/index.js b/Server/node_modules/isarray/index.js
deleted file mode 100644
index a57f634..0000000
--- a/Server/node_modules/isarray/index.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var toString = {}.toString;
-
-module.exports = Array.isArray || function (arr) {
- return toString.call(arr) == '[object Array]';
-};
diff --git a/Server/node_modules/isarray/package.json b/Server/node_modules/isarray/package.json
deleted file mode 100644
index 9603d41..0000000
--- a/Server/node_modules/isarray/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "_from": "isarray@~1.0.0",
- "_id": "isarray@1.0.0",
- "_inBundle": false,
- "_integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
- "_location": "/isarray",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "isarray@~1.0.0",
- "name": "isarray",
- "escapedName": "isarray",
- "rawSpec": "~1.0.0",
- "saveSpec": null,
- "fetchSpec": "~1.0.0"
- },
- "_requiredBy": [
- "/readable-stream"
- ],
- "_resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
- "_shasum": "bb935d48582cba168c06834957a54a3e07124f11",
- "_spec": "isarray@~1.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/readable-stream",
- "author": {
- "name": "Julian Gruber",
- "email": "mail@juliangruber.com",
- "url": "http://juliangruber.com"
- },
- "bugs": {
- "url": "https://github.com/juliangruber/isarray/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Array#isArray for older browsers",
- "devDependencies": {
- "tape": "~2.13.4"
- },
- "homepage": "https://github.com/juliangruber/isarray",
- "keywords": [
- "browser",
- "isarray",
- "array"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "isarray",
- "repository": {
- "type": "git",
- "url": "git://github.com/juliangruber/isarray.git"
- },
- "scripts": {
- "test": "tape test.js"
- },
- "testling": {
- "files": "test.js",
- "browsers": [
- "ie/8..latest",
- "firefox/17..latest",
- "firefox/nightly",
- "chrome/22..latest",
- "chrome/canary",
- "opera/12..latest",
- "opera/next",
- "safari/5.1..latest",
- "ipad/6.0..latest",
- "iphone/6.0..latest",
- "android-browser/4.2..latest"
- ]
- },
- "version": "1.0.0"
-}
diff --git a/Server/node_modules/isarray/test.js b/Server/node_modules/isarray/test.js
deleted file mode 100644
index e0c3444..0000000
--- a/Server/node_modules/isarray/test.js
+++ /dev/null
@@ -1,20 +0,0 @@
-var isArray = require('./');
-var test = require('tape');
-
-test('is array', function(t){
- t.ok(isArray([]));
- t.notOk(isArray({}));
- t.notOk(isArray(null));
- t.notOk(isArray(false));
-
- var obj = {};
- obj[0] = true;
- t.notOk(isArray(obj));
-
- var arr = [];
- arr.foo = 'bar';
- t.ok(isArray(arr));
-
- t.end();
-});
-
diff --git a/Server/node_modules/jake/Makefile b/Server/node_modules/jake/Makefile
deleted file mode 100644
index 3d0574e..0000000
--- a/Server/node_modules/jake/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# Jake JavaScript build tool
-# Copyright 2112 Matthew Eernisse (mde@fleegix.org)
-#
-# 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.
-#
-
-.PHONY: all build install clean uninstall
-
-PREFIX=/usr/local
-DESTDIR=
-
-all: build
-
-build:
- @echo 'Jake built.'
-
-install:
- @mkdir -p $(DESTDIR)$(PREFIX)/bin && \
- mkdir -p $(DESTDIR)$(PREFIX)/lib/node_modules/jake && \
- mkdir -p ./node_modules && \
- npm install utilities minimatch && \
- cp -R ./* $(DESTDIR)$(PREFIX)/lib/node_modules/jake/ && \
- ln -snf ../lib/node_modules/jake/bin/cli.js $(DESTDIR)$(PREFIX)/bin/jake && \
- chmod 755 $(DESTDIR)$(PREFIX)/lib/node_modules/jake/bin/cli.js && \
- echo 'Jake installed.'
-
-clean:
- @true
-
-uninstall:
- @rm -f $(DESTDIR)$(PREFIX)/bin/jake && \
- rm -fr $(DESTDIR)$(PREFIX)/lib/node_modules/jake/ && \
- echo 'Jake uninstalled.'
diff --git a/Server/node_modules/jake/README.md b/Server/node_modules/jake/README.md
deleted file mode 100644
index e938850..0000000
--- a/Server/node_modules/jake/README.md
+++ /dev/null
@@ -1,17 +0,0 @@
-### Jake -- the JavaScript build tool for Node.js
-
-[![Build Status](https://travis-ci.org/jakejs/jake.svg?branch=master)](https://travis-ci.org/jakejs/jake)
-
-Documentation site at [http://jakejs.com](http://jakejs.com/)
-
-### Contributing
-1. [Install node](http://nodejs.org/#download).
-2. Clone this repository `$ git clone git@github.com:jakejs/jake.git`.
-3. Install dependencies `$ npm install`.
-4. Run tests with `$ npm test`.
-5. Start Hacking!
-
-### License
-
-Licensed under the Apache License, Version 2.0
-(<http://www.apache.org/licenses/LICENSE-2.0>)
diff --git a/Server/node_modules/jake/bin/bash_completion.sh b/Server/node_modules/jake/bin/bash_completion.sh
deleted file mode 100755
index bb25995..0000000
--- a/Server/node_modules/jake/bin/bash_completion.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-# http://stackoverflow.com/a/246128
-SOURCE="${BASH_SOURCE[0]}"
-while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
- DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
- SOURCE="$(readlink "$SOURCE")"
- [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
-done
-JAKE_BIN_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
-
-# http://stackoverflow.com/a/12495480
-# http://stackoverflow.com/a/28647824
-_auto_jake()
-{
- local cur
- local -a COMPGEN=()
- _get_comp_words_by_ref -n : -c cur
-
- # run auto-completions in jake via our auto_complete.js wrapper
- local -a auto_complete_info=( $(export COMP_LINE="${COMP_LINE}" && ${JAKE_BIN_DIR}/auto_complete.js "$cur" "${3}") )
- # check reply flag
- local reply_flag="${auto_complete_info[0]}"
- if [[ "${reply_flag}" == "no-complete" ]]; then
- return 1
- fi
- local auto_completions=("${auto_complete_info[@]:1}")
- COMPGEN=( $(compgen -W "${auto_completions[*]}" -- "$cur") )
- COMPREPLY=( "${COMPGEN[@]}" )
-
- __ltrim_colon_completions "$cur"
-
- # do we need another space??
- if [[ "${reply_flag}" == "yes-space" ]]; then
- COMPREPLY=( "${COMPGEN[@]}" " " )
- fi
-
- return 0
-}
-
-complete -o default -F _auto_jake jake
diff --git a/Server/node_modules/jake/bin/cli.js b/Server/node_modules/jake/bin/cli.js
deleted file mode 100755
index 9f68abb..0000000
--- a/Server/node_modules/jake/bin/cli.js
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env node
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-// Try to load a local jake
-try {
- require(`${ process.cwd() }/node_modules/jake`);
-}
-// If that fails, likely running globally
-catch(e) {
- require('../lib/jake');
-}
-
-var args = process.argv.slice(2);
-
-jake.run.apply(jake, args);
diff --git a/Server/node_modules/jake/jakefile.js b/Server/node_modules/jake/jakefile.js
deleted file mode 100644
index b0ae79b..0000000
--- a/Server/node_modules/jake/jakefile.js
+++ /dev/null
@@ -1,105 +0,0 @@
-let fs = require('fs')
-let path = require('path');
-let proc = require('child_process');
-
-const PROJECT_DIR = process.cwd();
-process.env.PROJECT_DIR = PROJECT_DIR;
-
-namespace('doc', function () {
- task('generate', ['doc:clobber'], function () {
- var cmd = '../node-jsdoc-toolkit/app/run.js -n -r=100 ' +
- '-t=../node-jsdoc-toolkit/templates/codeview -d=./doc/ ./lib';
- jake.logger.log('Generating docs ...');
- jake.exec([cmd], function () {
- jake.logger.log('Done.');
- complete();
- });
- }, {async: true});
-
- task('clobber', function () {
- var cmd = 'rm -fr ./doc/*';
- jake.exec([cmd], function () {
- jake.logger.log('Clobbered old docs.');
- complete();
- });
- }, {async: true});
-
-});
-
-desc('Generate docs for Jake');
-task('doc', ['doc:generate']);
-
-npmPublishTask('jake', function () {
- this.packageFiles.include([
- 'Makefile',
- 'jakefile.js',
- 'README.md',
- 'package.json',
- 'usage.txt',
- 'lib/**',
- 'bin/**',
- 'test/**'
- ]);
- this.packageFiles.exclude([
- 'test/tmp'
- ]);
-});
-
-jake.Task['publish:package'].directory = PROJECT_DIR;
-
-namespace('test', function () {
-
- let integrationTest = task('integration', ['publish:package'], async function () {
- let pkg = JSON.parse(fs.readFileSync(`${PROJECT_DIR}/package.json`).toString());
- let version = pkg.version;
-
- proc.execSync('rm -rf ./node_modules');
- // Install from the actual package, run tests from the packaged binary
- proc.execSync(`mkdir -p node_modules/.bin && mv ${PROJECT_DIR}/pkg/jake-v` +
- `${version} node_modules/jake && ln -s ${process.cwd()}` +
- '/node_modules/jake/bin/cli.js ./node_modules/.bin/jake');
-
- let testArgs = [];
- if (process.env.filter) {
- testArgs.push(process.env.filter);
- }
- else {
- testArgs.push('*.js');
- }
- let spawned = proc.spawn(`${PROJECT_DIR}/node_modules/.bin/mocha`, testArgs, {
- stdio: 'inherit'
- });
- return new Promise((resolve, reject) => {
- spawned.on('exit', () => {
- if (!(process.env.noclobber || process.env.noClobber)) {
- proc.execSync('rm -rf tmp_publish && rm -rf package.json' +
- ' && rm -rf package-lock.json && rm -rf node_modules');
- // Rather than invoking 'clobber' task
- jake.rmRf(`${PROJECT_DIR}/pkg`);
- }
- resolve();
- });
- });
-
- });
-
- integrationTest.directory = `${PROJECT_DIR}/test/integration`;
-
- let unitTest = task('unit', async function () {
- let testArgs = [];
- if (process.env.filter) {
- testArgs.push(process.env.filter);
- }
- else {
- testArgs.push('*.js');
- }
- let spawned = proc.spawn(`${PROJECT_DIR}/node_modules/.bin/mocha`, testArgs, {
- stdio: 'inherit'
- });
- });
-
- unitTest.directory = `${PROJECT_DIR}/test/unit`;
-});
-
-desc('Runs all tests');
-task('test', ['test:unit', 'test:integration']);
diff --git a/Server/node_modules/jake/lib/api.js b/Server/node_modules/jake/lib/api.js
deleted file mode 100644
index 9f09140..0000000
--- a/Server/node_modules/jake/lib/api.js
+++ /dev/null
@@ -1,409 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-let { uuid } = require('./utils');
-
-let api = new (function () {
- /**
- @name task
- @static
- @function
- @description Creates a Jake Task
- `
- @param {String} name The name of the Task
- @param {Array} [prereqs] Prerequisites to be run before this task
- @param {Function} [action] The action to perform for this task
- @param {Object} [opts]
- @param {Boolean} [opts.asyc=false] Perform this task asynchronously.
- If you flag a task with this option, you must call the global
- `complete` method inside the task's action, for execution to proceed
- to the next task.
-
- @example
- desc('This is the default task.');
- task('default', function (params) {
- console.log('This is the default task.');
- });
-
- desc('This task has prerequisites.');
- task('hasPrereqs', ['foo', 'bar', 'baz'], function (params) {
- console.log('Ran some prereqs first.');
- });
-
- desc('This is an asynchronous task.');
- task('asyncTask', function () {
- setTimeout(complete, 1000);
- }, {async: true});
- */
- this.task = function (name, prereqs, action, opts) {
- let args = Array.prototype.slice.call(arguments);
- let createdTask;
- args.unshift('task');
- createdTask = jake.createTask.apply(global, args);
- jake.currentTaskDescription = null;
- return createdTask;
- };
-
- /**
- @name rule
- @static
- @function
- @description Creates a Jake Suffix Rule
- `
- @param {String} pattern The suffix name of the objective
- @param {String} source The suffix name of the objective
- @param {Array} [prereqs] Prerequisites to be run before this task
- @param {Function} [action] The action to perform for this task
- @param {Object} [opts]
- @param {Boolean} [opts.asyc=false] Perform this task asynchronously.
- If you flag a task with this option, you must call the global
- `complete` method inside the task's action, for execution to proceed
- to the next task.
- @example
- desc('This is a rule, which does not support namespace or pattern.');
- rule('.o', '.c', {async: true}, function () {
- let cmd = util.format('gcc -o %s %s', this.name, this.source);
- jake.exec([cmd], function () {
- complete();
- }, {printStdout: true});
- });
-
- desc('This rule has prerequisites.');
- rule('.o', '.c', ['util.h'], {async: true}, function () {
- let cmd = util.format('gcc -o %s %s', this.name, this.source);
- jake.exec([cmd], function () {
- complete();
- }, {printStdout: true});
- });
-
- desc('This is a rule with patterns.');
- rule('%.o', '%.c', {async: true}, function () {
- let cmd = util.format('gcc -o %s %s', this.name, this.source);
- jake.exec([cmd], function () {
- complete();
- }, {printStdout: true});
- });
-
- desc('This is another rule with patterns.');
- rule('obj/%.o', 'src/%.c', {async: true}, function () {
- let cmd = util.format('gcc -o %s %s', this.name, this.source);
- jake.exec([cmd], function () {
- complete();
- }, {printStdout: true});
- });
-
- desc('This is an example with chain rules.');
- rule('%.pdf', '%.dvi', {async: true}, function () {
- let cmd = util.format('dvipdfm %s',this.source);
- jake.exec([cmd], function () {
- complete();
- }, {printStdout: true});
- });
-
- rule('%.dvi', '%.tex', {async: true}, function () {
- let cmd = util.format('latex %s',this.source);
- jake.exec([cmd], function () {
- complete();
- }, {printStdout: true});
- });
-
- desc('This rule has a namespace.');
- task('default', ['debug:obj/main.o]);
-
- namespace('debug', {async: true}, function() {
- rule('obj/%.o', 'src/%.c', function () {
- // ...
- });
- }
- */
- this.rule = function () {
- let args = Array.prototype.slice.call(arguments);
- let arg;
- let pattern = args.shift();
- let source = args.shift();
- let prereqs = [];
- let action = function () {};
- let opts = {};
- let key = pattern.toString(); // May be a RegExp
-
- while ((arg = args.shift())) {
- if (typeof arg == 'function') {
- action = arg;
- }
- else if (Array.isArray(arg)) {
- prereqs = arg;
- }
- else {
- opts = arg;
- }
- }
-
- jake.currentNamespace.rules[key] = new jake.Rule({
- pattern: pattern,
- source: source,
- prereqs: prereqs,
- action: action,
- opts: opts,
- desc: jake.currentTaskDescription,
- ns: jake.currentNamespace
- });
- jake.currentTaskDescription = null;
- };
-
- /**
- @name directory
- @static
- @function
- @description Creates a Jake DirectoryTask. Can be used as a prerequisite
- for FileTasks, or for simply ensuring a directory exists for use with a
- Task's action.
- `
- @param {String} name The name of the DiretoryTask
-
- @example
-
- // Creates the package directory for distribution
- directory('pkg');
- */
- this.directory = function (name) {
- let args = Array.prototype.slice.call(arguments);
- let createdTask;
- args.unshift('directory');
- createdTask = jake.createTask.apply(global, args);
- jake.currentTaskDescription = null;
- return createdTask;
- };
-
- /**
- @name file
- @static
- @function
- @description Creates a Jake FileTask.
- `
- @param {String} name The name of the FileTask
- @param {Array} [prereqs] Prerequisites to be run before this task
- @param {Function} [action] The action to create this file, if it doesn't
- exist already.
- @param {Object} [opts]
- @param {Array} [opts.asyc=false] Perform this task asynchronously.
- If you flag a task with this option, you must call the global
- `complete` method inside the task's action, for execution to proceed
- to the next task.
-
- */
- this.file = function (name, prereqs, action, opts) {
- let args = Array.prototype.slice.call(arguments);
- let createdTask;
- args.unshift('file');
- createdTask = jake.createTask.apply(global, args);
- jake.currentTaskDescription = null;
- return createdTask;
- };
-
- /**
- @name desc
- @static
- @function
- @description Creates a description for a Jake Task (or FileTask,
- DirectoryTask). When invoked, the description that iscreated will
- be associated with whatever Task is created next.
- `
- @param {String} description The description for the Task
- */
- this.desc = function (description) {
- jake.currentTaskDescription = description;
- };
-
- /**
- @name namespace
- @static
- @function
- @description Creates a namespace which allows logical grouping
- of tasks, and prevents name-collisions with task-names. Namespaces
- can be nested inside of other namespaces.
- `
- @param {String} name The name of the namespace
- @param {Function} scope The enclosing scope for the namespaced tasks
-
- @example
- namespace('doc', function () {
- task('generate', ['doc:clobber'], function () {
- // Generate some docs
- });
-
- task('clobber', function () {
- // Clobber the doc directory first
- });
- });
- */
- this.namespace = function (name, closure) {
- let curr = jake.currentNamespace;
- let ns = curr.childNamespaces[name] || new jake.Namespace(name, curr);
- let fn = closure || function () {};
- curr.childNamespaces[name] = ns;
- jake.currentNamespace = ns;
- fn();
- jake.currentNamespace = curr;
- jake.currentTaskDescription = null;
- return ns;
- };
-
- /**
- @name complete
- @static
- @function
- @description Completes an asynchronous task, allowing Jake's
- execution to proceed to the next task. Calling complete globally or without
- arguments completes the last task on the invocationChain. If you use parallel
- execution of prereqs this will probably complete a wrong task. You should call this
- function with this task as the first argument, before the optional return value.
- Alternatively you can call task.complete()
- `
- @example
- task('generate', ['doc:clobber'], function () {
- exec('./generate_docs.sh', function (err, stdout, stderr) {
- if (err || stderr) {
- fail(err || stderr);
- }
- else {
- console.log(stdout);
- complete();
- }
- });
- }, {async: true});
- */
- this.complete = function (task, val) {
- //this should detect if the first arg is a task, but I guess it should be more thorough
- if(task && task. _currentPrereqIndex >=0 ) {
- task.complete(val);
- }
- else {
- val = task;
- if(jake._invocationChain.length > 0) {
- jake._invocationChain[jake._invocationChain.length-1].complete(val);
- }
- }
- };
-
- /**
- @name fail
- @static
- @function
- @description Causes Jake execution to abort with an error.
- Allows passing an optional error code, which will be used to
- set the exit-code of exiting process.
- `
- @param {Error|String} err The error to thow when aborting execution.
- If this argument is an Error object, it will simply be thrown. If
- a String, it will be used as the error-message. (If it is a multi-line
- String, the first line will be used as the Error message, and the
- remaining lines will be used as the error-stack.)
-
- @example
- task('createTests, function () {
- if (!fs.existsSync('./tests')) {
- fail('Test directory does not exist.');
- }
- else {
- // Do some testing stuff ...
- }
- });
- */
- this.fail = function (err, code) {
- let msg;
- let errObj;
- if (code) {
- jake.errorCode = code;
- }
- if (err) {
- if (typeof err == 'string') {
- // Use the initial or only line of the error as the error-message
- // If there was a multi-line error, use the rest as the stack
- msg = err.split('\n');
- errObj = new Error(msg.shift());
- if (msg.length) {
- errObj.stack = msg.join('\n');
- }
- throw errObj;
- }
- else if (err instanceof Error) {
- throw err;
- }
- else {
- throw new Error(err.toString());
- }
- }
- else {
- throw new Error();
- }
- };
-
- this.packageTask = function (name, version, prereqs, definition) {
- return new jake.PackageTask(name, version, prereqs, definition);
- };
-
- this.publishTask = function (name, prereqs, opts, definition) {
- return new jake.PublishTask(name, prereqs, opts, definition);
- };
-
- // Backward-compat
- this.npmPublishTask = function (name, prereqs, opts, definition) {
- return new jake.PublishTask(name, prereqs, opts, definition);
- };
-
- this.testTask = function () {
- let ctor = function () {};
- let t;
- ctor.prototype = jake.TestTask.prototype;
- t = new ctor();
- jake.TestTask.apply(t, arguments);
- return t;
- };
-
- this.setTaskTimeout = function (t) {
- this._taskTimeout = t;
- };
-
- this.setSeriesAutoPrefix = function (prefix) {
- this._seriesAutoPrefix = prefix;
- };
-
- this.series = function (...args) {
- let prereqs = args.map((arg) => {
- let name = (this._seriesAutoPrefix || '') + arg.name;
- jake.task(name, arg);
- return name;
- });
- let seriesName = uuid();
- let seriesTask = jake.task(seriesName, prereqs);
- seriesTask._internal = true;
- let res = function () {
- return new Promise((resolve) => {
- seriesTask.invoke();
- seriesTask.on('complete', (val) => {
- resolve(val);
- });
- });
- };
- Object.defineProperty(res, 'name', {value: uuid(),
- writable: false});
- return res;
- };
-
-})();
-
-module.exports = api;
diff --git a/Server/node_modules/jake/lib/jake.js b/Server/node_modules/jake/lib/jake.js
deleted file mode 100644
index a463163..0000000
--- a/Server/node_modules/jake/lib/jake.js
+++ /dev/null
@@ -1,319 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-if (!global.jake) {
-
- let EventEmitter = require('events').EventEmitter;
- // And so it begins
- global.jake = new EventEmitter();
-
- let fs = require('fs');
- let chalk = require('chalk');
- let taskNs = require('./task');
- let Task = taskNs.Task;
- let FileTask = taskNs.FileTask;
- let DirectoryTask = taskNs.DirectoryTask;
- let Rule = require('./rule').Rule;
- let Namespace = require('./namespace').Namespace;
- let RootNamespace = require('./namespace').RootNamespace;
- let api = require('./api');
- let utils = require('./utils');
- let Program = require('./program').Program;
- let loader = require('./loader')();
- let pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json').toString());
-
- const MAX_RULE_RECURSION_LEVEL = 16;
-
- // Globalize jake and top-level API methods (e.g., `task`, `desc`)
- Object.assign(global, api);
-
- // Copy utils onto base jake
- jake.logger = utils.logger;
- jake.exec = utils.exec;
-
- // File utils should be aliased directly on base jake as well
- Object.assign(jake, utils.file);
-
- // Also add top-level API methods to exported object for those who don't want to
- // use the globals (`file` here will overwrite the 'file' utils namespace)
- Object.assign(jake, api);
-
- Object.assign(jake, new (function () {
-
- this._invocationChain = [];
- this._taskTimeout = 30000;
-
- // Public properties
- // =================
- this.version = pkg.version;
- // Used when Jake exits with a specific error-code
- this.errorCode = null;
- // Loads Jakefiles/jakelibdirs
- this.loader = loader;
- // The root of all ... namespaces
- this.rootNamespace = new RootNamespace();
- // Non-namespaced tasks are placed into the default
- this.defaultNamespace = this.rootNamespace;
- // Start in the default
- this.currentNamespace = this.defaultNamespace;
- // Saves the description created by a 'desc' call that prefaces a
- // 'task' call that defines a task.
- this.currentTaskDescription = null;
- this.program = new Program();
- this.FileList = require('filelist').FileList;
- this.PackageTask = require('./package_task').PackageTask;
- this.PublishTask = require('./publish_task').PublishTask;
- this.TestTask = require('./test_task').TestTask;
- this.Task = Task;
- this.FileTask = FileTask;
- this.DirectoryTask = DirectoryTask;
- this.Namespace = Namespace;
- this.Rule = Rule;
-
- this.parseAllTasks = function () {
- let _parseNs = function (ns) {
- let nsTasks = ns.tasks;
- let nsNamespaces = ns.childNamespaces;
- for (let q in nsTasks) {
- let nsTask = nsTasks[q];
- jake.Task[nsTask.fullName] = nsTask;
- }
- for (let p in nsNamespaces) {
- let nsNamespace = nsNamespaces[p];
- _parseNs(nsNamespace);
- }
- };
- _parseNs(jake.defaultNamespace);
- };
-
- /**
- * Displays the list of descriptions avaliable for tasks defined in
- * a Jakefile
- */
- this.showAllTaskDescriptions = function (f) {
- let p;
- let maxTaskNameLength = 0;
- let task;
- let padding;
- let name;
- let descr;
- let filter = typeof f == 'string' ? f : null;
-
- for (p in jake.Task) {
- if (!Object.prototype.hasOwnProperty.call(jake.Task, p)) {
- continue;
- }
- if (filter && p.indexOf(filter) == -1) {
- continue;
- }
- task = jake.Task[p];
- // Record the length of the longest task name -- used for
- // pretty alignment of the task descriptions
- if (task.description) {
- maxTaskNameLength = p.length > maxTaskNameLength ?
- p.length : maxTaskNameLength;
- }
- }
- // Print out each entry with descriptions neatly aligned
- for (p in jake.Task) {
- if (!Object.prototype.hasOwnProperty.call(jake.Task, p)) {
- continue;
- }
- if (filter && p.indexOf(filter) == -1) {
- continue;
- }
- task = jake.Task[p];
-
- //name = '\033[32m' + p + '\033[39m ';
- name = chalk.green(p);
-
- descr = task.description;
- if (descr) {
- descr = chalk.gray('# ' + descr);
-
- // Create padding-string with calculated length
- padding = (new Array(maxTaskNameLength - p.length + 2)).join(' ');
-
- console.log('jake ' + name + padding + descr);
- }
- }
- };
-
- this.createTask = function () {
- let args = Array.prototype.slice.call(arguments);
- let arg;
- let obj;
- let task;
- let type;
- let name;
- let action;
- let opts = {};
- let prereqs = [];
-
- type = args.shift();
-
- // name, [deps], [action]
- // Name (string) + deps (array) format
- if (typeof args[0] == 'string') {
- name = args.shift();
- if (Array.isArray(args[0])) {
- prereqs = args.shift();
- }
- }
- // name:deps, [action]
- // Legacy object-literal syntax, e.g.: {'name': ['depA', 'depB']}
- else {
- obj = args.shift();
- for (let p in obj) {
- prereqs = prereqs.concat(obj[p]);
- name = p;
- }
- }
-
- // Optional opts/callback or callback/opts
- while ((arg = args.shift())) {
- if (typeof arg == 'function') {
- action = arg;
- }
- else {
- opts = Object.assign(Object.create(null), arg);
- }
- }
-
- task = jake.currentNamespace.resolveTask(name);
- if (task && !action) {
- // Task already exists and no action, just update prereqs, and return it.
- task.prereqs = task.prereqs.concat(prereqs);
- return task;
- }
-
- switch (type) {
- case 'directory':
- action = function () {
- jake.mkdirP(name);
- };
- task = new DirectoryTask(name, prereqs, action, opts);
- break;
- case 'file':
- task = new FileTask(name, prereqs, action, opts);
- break;
- default:
- task = new Task(name, prereqs, action, opts);
- }
-
- jake.currentNamespace.addTask(task);
-
- if (jake.currentTaskDescription) {
- task.description = jake.currentTaskDescription;
- jake.currentTaskDescription = null;
- }
-
- // FIXME: Should only need to add a new entry for the current
- // task-definition, not reparse the entire structure
- jake.parseAllTasks();
-
- return task;
- };
-
- this.attemptRule = function (name, ns, level) {
- let prereqRule;
- let prereq;
- if (level > MAX_RULE_RECURSION_LEVEL) {
- return null;
- }
- // Check Rule
- prereqRule = ns.matchRule(name);
- if (prereqRule) {
- prereq = prereqRule.createTask(name, level);
- }
- return prereq || null;
- };
-
- this.createPlaceholderFileTask = function (name, namespace) {
- let parsed = name.split(':');
- let filePath = parsed.pop(); // Strip any namespace
- let task;
-
- task = namespace.resolveTask(name);
-
- // If there's not already an existing dummy FileTask for it,
- // create one
- if (!task) {
- // Create a dummy FileTask only if file actually exists
- if (fs.existsSync(filePath)) {
- task = new jake.FileTask(filePath);
- task.dummy = true;
- let ns;
- if (parsed.length) {
- ns = namespace.resolveNamespace(parsed.join(':'));
- }
- else {
- ns = namespace;
- }
- if (!namespace) {
- throw new Error('Invalid namespace, cannot add FileTask');
- }
- ns.addTask(task);
- // Put this dummy Task in the global Tasks list so
- // modTime will be eval'd correctly
- jake.Task[`${ns.path}:${filePath}`] = task;
- }
- }
-
- return task || null;
- };
-
-
- this.run = function () {
- let args = Array.prototype.slice.call(arguments);
- let program = this.program;
- let loader = this.loader;
- let preempt;
- let opts;
-
- program.parseArgs(args);
- program.init();
-
- preempt = program.firstPreemptiveOption();
- if (preempt) {
- preempt();
- }
- else {
- opts = program.opts;
- // jakefile flag set but no jakefile yet
- if (opts.autocomplete && opts.jakefile === true) {
- process.stdout.write('no-complete');
- return;
- }
- // Load Jakefile and jakelibdir files
- let jakefileLoaded = loader.loadFile(opts.jakefile);
- let jakelibdirLoaded = loader.loadDirectory(opts.jakelibdir);
-
- if(!jakefileLoaded && !jakelibdirLoaded && !opts.autocomplete) {
- fail('No Jakefile. Specify a valid path with -f/--jakefile, ' +
- 'or place one in the current directory.');
- }
-
- program.run();
- }
- };
-
- })());
-}
-
-module.exports = jake;
diff --git a/Server/node_modules/jake/lib/loader.js b/Server/node_modules/jake/lib/loader.js
deleted file mode 100644
index 02ad262..0000000
--- a/Server/node_modules/jake/lib/loader.js
+++ /dev/null
@@ -1,165 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-let path = require('path');
-let fs = require('fs');
-let existsSync = fs.existsSync;
-let utils = require('./utils');
-
-// Files like jakelib/foobar.jake.js
-const JAKELIB_FILE_PAT = /\.jake$|\.js$/;
-const SUPPORTED_EXTENSIONS = {
- 'js': null,
- 'coffee': function () {
- try {
- let cs = require('coffeescript');
- if (typeof cs.register == 'function') {
- cs.register();
- }
- }
- catch(e) {
- throw new Error('You have a CoffeeScript Jakefile, but have not installed CoffeeScript');
- }
- },
- 'ls': function () {
- try {
- require('livescript');
- }
- catch (e) {
- throw new Error('You have a LiveScript Jakefile, but have not installed LiveScript');
- }
- }
-};
-const IMPLICIT_JAKEFILE_NAMES = [
- 'Jakefile',
- 'Gulpfile'
-];
-
-let Loader = function () {
- // Load a Jakefile, running the code inside -- this may result in
- // tasks getting defined using the original Jake API, e.g.,
- // `task('foo' ['bar', 'baz']);`, or can also auto-create tasks
- // from any functions exported from the file
- function loadFile(filePath) {
- let exported = require(filePath);
- for (let [key, value] of Object.entries(exported)) {
- let t;
- if (typeof value == 'function') {
- t = jake.task(key, value);
- t.description = '(Exported function)';
- }
- }
- }
-
- function fileExists(name) {
- let nameWithExt = null;
- // Support no file extension as well
- let exts = Object.keys(SUPPORTED_EXTENSIONS).concat(['']);
- exts.some((ext) => {
- let fname = ext ? `${name}.${ext}` : name;
- if (existsSync(fname)) {
- nameWithExt = fname;
- return true;
- }
- });
- return nameWithExt;
- }
-
- // Recursive
- function findImplicitJakefile() {
- let cwd = process.cwd();
- let names = IMPLICIT_JAKEFILE_NAMES;
- let found = null;
- names.some((name) => {
- let n;
- // Prefer all-lowercase
- n = name.toLowerCase();
- if ((found = fileExists(n))) {
- return found;
- }
- // Check mixed-case as well
- n = name;
- if ((found = fileExists(n))) {
- return found;
- }
- });
- if (found) {
- return found;
- }
- else {
- process.chdir("..");
- // If we've walked all the way up the directory tree,
- // bail out with no result
- if (cwd === process.cwd()) {
- return null;
- }
- return findImplicitJakefile();
- }
- }
-
- this.loadFile = function (fileSpecified) {
- let jakefile;
- let origCwd = process.cwd();
-
- if (fileSpecified) {
- if (existsSync(fileSpecified)) {
- jakefile = fileSpecified;
- }
- }
- else {
- jakefile = findImplicitJakefile();
- }
-
- if (jakefile) {
- let ext = jakefile.split('.')[1];
- let loaderFunc = SUPPORTED_EXTENSIONS[ext];
- loaderFunc && loaderFunc();
-
- loadFile(utils.file.absolutize(jakefile));
- return true;
- }
- else {
- if (!fileSpecified) {
- // Restore the working directory on failure
- process.chdir(origCwd);
- }
- return false;
- }
- };
-
- this.loadDirectory = function (d) {
- let dirname = d || 'jakelib';
- let dirlist;
- dirname = utils.file.absolutize(dirname);
- if (existsSync(dirname)) {
- dirlist = fs.readdirSync(dirname);
- dirlist.forEach(function (filePath) {
- if (JAKELIB_FILE_PAT.test(filePath)) {
- loadFile(path.join(dirname, filePath));
- }
- });
- return true;
- }
- return false;
- };
-
-};
-
-module.exports = function () {
- return new Loader();
-};
diff --git a/Server/node_modules/jake/lib/namespace.js b/Server/node_modules/jake/lib/namespace.js
deleted file mode 100644
index a3c2787..0000000
--- a/Server/node_modules/jake/lib/namespace.js
+++ /dev/null
@@ -1,115 +0,0 @@
-const ROOT_NAMESPACE_NAME = '__rootNamespace__';
-
-class Namespace {
- constructor(name, parentNamespace) {
- this.name = name;
- this.parentNamespace = parentNamespace;
- this.childNamespaces = {};
- this.tasks = {};
- this.rules = {};
- this.path = this.getPath();
- }
-
- get fullName() {
- return this._getFullName();
- }
-
- addTask(task) {
- this.tasks[task.name] = task;
- task.namespace = this;
- }
-
- resolveTask(name) {
- if (!name) {
- return;
- }
-
- let taskPath = name.split(':');
- let taskName = taskPath.pop();
- let task;
- let ns;
-
- // Namespaced, return either relative to current, or from root
- if (taskPath.length) {
- taskPath = taskPath.join(':');
- ns = this.resolveNamespace(taskPath) ||
- Namespace.ROOT_NAMESPACE.resolveNamespace(taskPath);
- task = (ns && ns.resolveTask(taskName));
- }
- // Bare task, return either local, or top-level
- else {
- task = this.tasks[name] || Namespace.ROOT_NAMESPACE.tasks[name];
- }
-
- return task || null;
- }
-
-
- resolveNamespace(relativeName) {
- if (!relativeName) {
- return this;
- }
-
- let parts = relativeName.split(':');
- let ns = this;
-
- for (let i = 0, ii = parts.length; (ns && i < ii); i++) {
- ns = ns.childNamespaces[parts[i]];
- }
-
- return ns || null;
- }
-
- matchRule(relativeName) {
- let parts = relativeName.split(':');
- parts.pop();
- let ns = this.resolveNamespace(parts.join(':'));
- let rules = ns ? ns.rules : [];
- let r;
- let match;
-
- for (let p in rules) {
- r = rules[p];
- if (r.match(relativeName)) {
- match = r;
- }
- }
-
- return (ns && match) ||
- (this.parentNamespace &&
- this.parentNamespace.matchRule(relativeName));
- }
-
- getPath() {
- let parts = [];
- let next = this.parentNamespace;
- while (next) {
- parts.push(next.name);
- next = next.parentNamespace;
- }
- parts.pop(); // Remove '__rootNamespace__'
- return parts.reverse().join(':');
- }
-
- _getFullName() {
- let path = this.path;
- path = (path && path.split(':')) || [];
- path.push(this.name);
- return path.join(':');
- }
-
- isRootNamespace() {
- return !this.parentNamespace;
- }
-}
-
-class RootNamespace extends Namespace {
- constructor() {
- super(ROOT_NAMESPACE_NAME, null);
- Namespace.ROOT_NAMESPACE = this;
- }
-}
-
-module.exports.Namespace = Namespace;
-module.exports.RootNamespace = RootNamespace;
-
diff --git a/Server/node_modules/jake/lib/package_task.js b/Server/node_modules/jake/lib/package_task.js
deleted file mode 100644
index 527aca7..0000000
--- a/Server/node_modules/jake/lib/package_task.js
+++ /dev/null
@@ -1,406 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-let path = require('path');
-let fs = require('fs');
-let exec = require('child_process').exec;
-let FileList = require('filelist').FileList;
-
-/**
- @name jake
- @namespace jake
-*/
-/**
- @name jake.PackageTask
- @constructor
- @description Instantiating a PackageTask creates a number of Jake
- Tasks that make packaging and distributing your software easy.
-
- @param {String} name The name of the project
- @param {String} version The current project version (will be
- appended to the project-name in the package-archive
- @param {Function} definition Defines the contents of the package,
- and format of the package-archive. Will be executed on the instantiated
- PackageTask (i.e., 'this', will be the PackageTask instance),
- to set the various instance-propertiess.
-
- @example
- let t = new jake.PackageTask('rous', 'v' + version, function () {
- let files = [
- 'Capfile'
- , 'Jakefile'
- , 'README.md'
- , 'package.json'
- , 'app/*'
- , 'bin/*'
- , 'config/*'
- , 'lib/*'
- , 'node_modules/*'
- ];
- this.packageFiles.include(files);
- this.packageFiles.exclude('node_modules/foobar');
- this.needTarGz = true;
- });
-
- */
-let PackageTask = function () {
- let args = Array.prototype.slice.call(arguments);
- let name = args.shift();
- let version = args.shift();
- let definition = args.pop();
- let prereqs = args.pop() || []; // Optional
-
- prereqs = [].concat(prereqs); // Accept string or list
-
- /**
- @name jake.PackageTask#name
- @public
- @type {String}
- @description The name of the project
- */
- this.name = name;
- /**
- @name jake.PackageTask#version
- @public
- @type {String}
- @description The project version-string
- */
- this.version = version;
- /**
- @name jake.PackageTask#prereqs
- @public
- @type {Array}
- @description Tasks to run before packaging
- */
- this.prereqs = prereqs;
- /**
- @name jake.PackageTask#packageDir
- @public
- @type {String='pkg'}
- @description The directory-name to use for packaging the software
- */
- this.packageDir = 'pkg';
- /**
- @name jake.PackageTask#packageFiles
- @public
- @type {jake.FileList}
- @description The list of files and directories to include in the
- package-archive
- */
- this.packageFiles = new FileList();
- /**
- @name jake.PackageTask#needTar
- @public
- @type {Boolean=false}
- @description If set to true, uses the `tar` utility to create
- a gzip .tgz archive of the package
- */
- this.needTar = false;
- /**
- @name jake.PackageTask#needTarGz
- @public
- @type {Boolean=false}
- @description If set to true, uses the `tar` utility to create
- a gzip .tar.gz archive of the package
- */
- this.needTarGz = false;
- /**
- @name jake.PackageTask#needTarBz2
- @public
- @type {Boolean=false}
- @description If set to true, uses the `tar` utility to create
- a bzip2 .bz2 archive of the package
- */
- this.needTarBz2 = false;
- /**
- @name jake.PackageTask#needJar
- @public
- @type {Boolean=false}
- @description If set to true, uses the `jar` utility to create
- a .jar archive of the package
- */
- this.needJar = false;
- /**
- @name jake.PackageTask#needZip
- @public
- @type {Boolean=false}
- @description If set to true, uses the `zip` utility to create
- a .zip archive of the package
- */
- this.needZip = false;
- /**
- @name jake.PackageTask#manifestFile
- @public
- @type {String=null}
- @description Can be set to point the `jar` utility at a manifest
- file to use in a .jar archive. If unset, one will be automatically
- created by the `jar` utility. This path should be relative to the
- root of the package directory (this.packageDir above, likely 'pkg')
- */
- this.manifestFile = null;
- /**
- @name jake.PackageTask#tarCommand
- @public
- @type {String='tar'}
- @description The shell-command to use for creating tar archives.
- */
- this.tarCommand = 'tar';
- /**
- @name jake.PackageTask#jarCommand
- @public
- @type {String='jar'}
- @description The shell-command to use for creating jar archives.
- */
- this.jarCommand = 'jar';
- /**
- @name jake.PackageTask#zipCommand
- @public
- @type {String='zip'}
- @description The shell-command to use for creating zip archives.
- */
- this.zipCommand = 'zip';
- /**
- @name jake.PackageTask#archiveNoBaseDir
- @public
- @type {Boolean=false}
- @description Simple option for performing the archive on the
- contents of the directory instead of the directory itself
- */
- this.archiveNoBaseDir = false;
- /**
- @name jake.PackageTask#archiveChangeDir
- @public
- @type {String=null}
- @description Equivalent to the '-C' command for the `tar` and `jar`
- commands. ("Change to this directory before adding files.")
- */
- this.archiveChangeDir = null;
- /**
- @name jake.PackageTask#archiveContentDir
- @public
- @type {String=null}
- @description Specifies the files and directories to include in the
- package-archive. If unset, this will default to the main package
- directory -- i.e., name + version.
- */
- this.archiveContentDir = null;
-
- if (typeof definition == 'function') {
- definition.call(this);
- }
- this.define();
-};
-
-PackageTask.prototype = new (function () {
-
- let _compressOpts = {
- Tar: {
- ext: '.tgz',
- flags: 'czf',
- cmd: 'tar'
- },
- TarGz: {
- ext: '.tar.gz',
- flags: 'czf',
- cmd: 'tar'
- },
- TarBz2: {
- ext: '.tar.bz2',
- flags: 'cjf',
- cmd: 'tar'
- },
- Jar: {
- ext: '.jar',
- flags: 'cf',
- cmd: 'jar'
- },
- Zip: {
- ext: '.zip',
- flags: 'qr',
- cmd: 'zip'
- }
- };
-
- this.define = function () {
- let self = this;
- let packageDirPath = this.packageDirPath();
- let compressTaskArr = [];
-
- desc('Build the package for distribution');
- task('package', self.prereqs.concat(['clobberPackage', 'buildPackage']));
- // Backward-compat alias
- task('repackage', ['package']);
-
- task('clobberPackage', function () {
- jake.rmRf(self.packageDir, {silent: true});
- });
-
- desc('Remove the package');
- task('clobber', ['clobberPackage']);
-
- let doCommand = function (p) {
- let filename = path.resolve(self.packageDir + '/' + self.packageName() +
- _compressOpts[p].ext);
- if (process.platform == 'win32') {
- // Windows full path may have drive letter, which is going to cause
- // namespace problems, so strip it.
- if (filename.length > 2 && filename[1] == ':') {
- filename = filename.substr(2);
- }
- }
- compressTaskArr.push(filename);
-
- file(filename, [packageDirPath], function () {
- let cmd;
- let opts = _compressOpts[p];
- // Directory to move to when doing the compression-task
- // Changes in the case of zip for emulating -C option
- let chdir = self.packageDir;
- // Save the current dir so it's possible to pop back up
- // after compressing
- let currDir = process.cwd();
- let archiveChangeDir;
- let archiveContentDir;
-
- if (self.archiveNoBaseDir) {
- archiveChangeDir = self.packageName();
- archiveContentDir = '.';
- }
- else {
- archiveChangeDir = self.archiveChangeDir;
- archiveContentDir = self.archiveContentDir;
- }
-
- cmd = self[opts.cmd + 'Command'];
- cmd += ' -' + opts.flags;
- if (opts.cmd == 'jar' && self.manifestFile) {
- cmd += 'm';
- }
-
- // The name of the archive to create -- use full path
- // so compression can be performed from a different dir
- // if needed
- cmd += ' ' + filename;
-
- if (opts.cmd == 'jar' && self.manifestFile) {
- cmd += ' ' + self.manifestFile;
- }
-
- // Where to perform the compression -- -C option isn't
- // supported in zip, so actually do process.chdir for this
- if (archiveChangeDir) {
- if (opts.cmd == 'zip') {
- chdir = path.join(chdir, archiveChangeDir);
- }
- else {
- cmd += ' -C ' + archiveChangeDir;
- }
- }
-
- // Where to get the archive content
- if (archiveContentDir) {
- cmd += ' ' + archiveContentDir;
- }
- else {
- cmd += ' ' + self.packageName();
- }
-
- // Move into the desired dir (usually packageDir) to compress
- // Return back up to the current dir after the exec
- process.chdir(chdir);
-
- exec(cmd, function (err, stdout, stderr) {
- if (err) { throw err; }
-
- // Return back up to the starting directory (see above,
- // before exec)
- process.chdir(currDir);
-
- complete();
- });
- }, {async: true});
- };
-
- for (let p in _compressOpts) {
- if (this['need' + p]) {
- doCommand(p);
- }
- }
-
- task('buildPackage', compressTaskArr, function () {});
-
- directory(this.packageDir);
-
- file(packageDirPath, this.packageFiles, function () {
- jake.mkdirP(packageDirPath);
- let fileList = [];
- self.packageFiles.forEach(function (name) {
- let f = path.join(self.packageDirPath(), name);
- let fDir = path.dirname(f);
- jake.mkdirP(fDir, {silent: true});
-
- // Add both files and directories
- fileList.push({
- from: name,
- to: f
- });
- });
- let _copyFile = function () {
- let file = fileList.pop();
- let stat;
- if (file) {
- stat = fs.statSync(file.from);
- // Target is a directory, just create it
- if (stat.isDirectory()) {
- jake.mkdirP(file.to, {silent: true});
- _copyFile();
- }
- // Otherwise copy the file
- else {
- jake.cpR(file.from, file.to, {silent: true});
- _copyFile();
- }
- }
- else {
- complete();
- }
- };
- _copyFile();
- }, {async: true});
-
-
- };
-
- this.packageName = function () {
- if (this.version) {
- return this.name + '-' + this.version;
- }
- else {
- return this.name;
- }
- };
-
- this.packageDirPath = function () {
- return this.packageDir + '/' + this.packageName();
- };
-
-})();
-
-jake.PackageTask = PackageTask;
-exports.PackageTask = PackageTask;
-
diff --git a/Server/node_modules/jake/lib/parseargs.js b/Server/node_modules/jake/lib/parseargs.js
deleted file mode 100644
index 1bd24c9..0000000
--- a/Server/node_modules/jake/lib/parseargs.js
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-let parseargs = {};
-let isOpt = function (arg) { return arg.indexOf('-') === 0 };
-let removeOptPrefix = function (opt) { return opt.replace(/^--/, '').replace(/^-/, '') };
-
-/**
- * @constructor
- * Parses a list of command-line args into a key/value object of
- * options and an array of positional commands.
- * @ param {Array} opts A list of options in the following format:
- * [{full: 'foo', abbr: 'f'}, {full: 'bar', abbr: 'b'}]]
- */
-parseargs.Parser = function (opts) {
- // A key/value object of matching options parsed out of the args
- this.opts = {};
- this.taskNames = null;
- this.envVars = null;
-
- // Data structures used for parsing
- this.reg = opts;
- this.shortOpts = {};
- this.longOpts = {};
-
- let self = this;
- [].forEach.call(opts, function (item) {
- self.shortOpts[item.abbr] = item;
- self.longOpts[item.full] = item;
- });
-};
-
-parseargs.Parser.prototype = new function () {
-
- let _trueOrNextVal = function (argParts, args) {
- if (argParts[1]) {
- return argParts[1];
- }
- else {
- return (!args[0] || isOpt(args[0])) ?
- true : args.shift();
- }
- };
-
- /**
- * Parses an array of arguments into options and positional commands
- * @param {Array} args The command-line args to parse
- */
- this.parse = function (args) {
- let cmds = [];
- let cmd;
- let envVars = {};
- let opts = {};
- let arg;
- let argItem;
- let argParts;
- let cmdItems;
- let taskNames = [];
- let preempt;
-
- while (args.length) {
- arg = args.shift();
-
- if (isOpt(arg)) {
- arg = removeOptPrefix(arg);
- argParts = arg.split('=');
- argItem = this.longOpts[argParts[0]] || this.shortOpts[argParts[0]];
- if (argItem) {
- // First-encountered preemptive opt takes precedence -- no further opts
- // or possibility of ambiguity, so just look for a value, or set to
- // true and then bail
- if (argItem.preempts) {
- opts[argItem.full] = _trueOrNextVal(argParts, args);
- preempt = true;
- break;
- }
- // If the opt requires a value, see if we can get a value from the
- // next arg, or infer true from no-arg -- if it's followed by another
- // opt, throw an error
- if (argItem.expectValue || argItem.allowValue) {
- opts[argItem.full] = _trueOrNextVal(argParts, args);
- if (argItem.expectValue && !opts[argItem.full]) {
- throw new Error(argItem.full + ' option expects a value.');
- }
- }
- else {
- opts[argItem.full] = true;
- }
- }
- }
- else {
- cmds.unshift(arg);
- }
- }
-
- if (!preempt) {
- // Parse out any env-vars and task-name
- while ((cmd = cmds.pop())) {
- cmdItems = cmd.split('=');
- if (cmdItems.length > 1) {
- envVars[cmdItems[0]] = cmdItems[1];
- }
- else {
- taskNames.push(cmd);
- }
- }
-
- }
-
- return {
- opts: opts,
- envVars: envVars,
- taskNames: taskNames
- };
- };
-
-};
-
-module.exports = parseargs;
diff --git a/Server/node_modules/jake/lib/program.js b/Server/node_modules/jake/lib/program.js
deleted file mode 100644
index 121632f..0000000
--- a/Server/node_modules/jake/lib/program.js
+++ /dev/null
@@ -1,282 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-let fs = require('fs');
-let parseargs = require('./parseargs');
-let utils = require('./utils');
-let Program;
-let usage = require('fs').readFileSync(`${__dirname}/../usage.txt`).toString();
-let { Task } = require('./task/task');
-
-function die(msg) {
- console.log(msg);
- process.stdout.write('', function () {
- process.stderr.write('', function () {
- process.exit();
- });
- });
-}
-
-let preempts = {
- version: function () {
- die(jake.version);
- },
- help: function () {
- die(usage);
- }
-};
-
-let AVAILABLE_OPTS = [
- { full: 'jakefile',
- abbr: 'f',
- expectValue: true
- },
- { full: 'quiet',
- abbr: 'q',
- expectValue: false
- },
- { full: 'directory',
- abbr: 'C',
- expectValue: true
- },
- { full: 'always-make',
- abbr: 'B',
- expectValue: false
- },
- { full: 'tasks',
- abbr: 'T',
- expectValue: false,
- allowValue: true
- },
- // Alias t
- { full: 'tasks',
- abbr: 't',
- expectValue: false,
- allowValue: true
- },
- // Alias ls
- { full: 'tasks',
- abbr: 'ls',
- expectValue: false,
- allowValue: true
- },
- { full: 'help',
- abbr: 'h',
- },
- { full: 'version',
- abbr: 'V',
- },
- // Alias lowercase v
- { full: 'version',
- abbr: 'v',
- },
- { full: 'jakelibdir',
- abbr: 'J',
- expectValue: true
- },
- { full: 'allow-rejection',
- abbr: 'ar',
- expectValue: false
- }
-];
-
-Program = function () {
- this.availableOpts = AVAILABLE_OPTS;
- this.opts = {};
- this.taskNames = null;
- this.taskArgs = null;
- this.envVars = null;
- this.die = die;
-};
-
-Program.prototype = new (function () {
-
- this.handleErr = function (err) {
- if (jake.listeners('error').length !== 0) {
- jake.emit('error', err);
- return;
- }
-
- if (jake.listeners('error').length) {
- jake.emit('error', err);
- return;
- }
-
- utils.logger.error('jake aborted.');
- if (err.stack) {
- utils.logger.error(err.stack);
- }
- else {
- utils.logger.error(err.message);
- }
-
- process.stdout.write('', function () {
- process.stderr.write('', function () {
- jake.errorCode = jake.errorCode || 1;
- process.exit(jake.errorCode);
- });
- });
- };
-
- this.parseArgs = function (args) {
- let result = (new parseargs.Parser(this.availableOpts)).parse(args);
- this.setOpts(result.opts);
- this.setTaskNames(result.taskNames);
- this.setEnvVars(result.envVars);
- };
-
- this.setOpts = function (options) {
- let opts = options || {};
- Object.assign(this.opts, opts);
- };
-
- this.internalOpts = function (options) {
- this.availableOpts = this.availableOpts.concat(options);
- };
-
- this.autocompletions = function (cur) {
- let p; let i; let task;
- let commonPrefix = '';
- let matches = [];
-
- for (p in jake.Task) {
- task = jake.Task[p];
- if (
- 'fullName' in task
- && (
- // if empty string, program converts to true
- cur === true ||
- task.fullName.indexOf(cur) === 0
- )
- ) {
- if (matches.length === 0) {
- commonPrefix = task.fullName;
- }
- else {
- for (i = commonPrefix.length; i > -1; --i) {
- commonPrefix = commonPrefix.substr(0, i);
- if (task.fullName.indexOf(commonPrefix) === 0) {
- break;
- }
- }
- }
- matches.push(task.fullName);
- }
- }
-
- if (matches.length > 1 && commonPrefix === cur) {
- matches.unshift('yes-space');
- }
- else {
- matches.unshift('no-space');
- }
-
- process.stdout.write(matches.join(' '));
- };
-
- this.setTaskNames = function (names) {
- if (names && !Array.isArray(names)) {
- throw new Error('Task names must be an array');
- }
- this.taskNames = (names && names.length) ? names : ['default'];
- };
-
- this.setEnvVars = function (vars) {
- this.envVars = vars || null;
- };
-
- this.firstPreemptiveOption = function () {
- let opts = this.opts;
- for (let p in opts) {
- if (preempts[p]) {
- return preempts[p];
- }
- }
- return false;
- };
-
- this.init = function (configuration) {
- let self = this;
- let config = configuration || {};
- if (config.options) {
- this.setOpts(config.options);
- }
- if (config.taskNames) {
- this.setTaskNames(config.taskNames);
- }
- if (config.envVars) {
- this.setEnvVars(config.envVars);
- }
- process.addListener('uncaughtException', function (err) {
- self.handleErr(err);
- });
- if (!this.opts['allow-rejection']) {
- process.addListener('unhandledRejection', (reason, promise) => {
- utils.logger.error('Unhandled rejection at:', promise, 'reason:', reason);
- self.handleErr(reason);
- });
- }
- if (this.envVars) {
- Object.assign(process.env, this.envVars);
- }
- };
-
- this.run = function () {
- let rootTask;
- let taskNames;
- let dirname;
- let opts = this.opts;
-
- if (opts.autocomplete) {
- return this.autocompletions(opts['autocomplete-cur'], opts['autocomplete-prev']);
- }
- // Run with `jake -T`, just show descriptions
- if (opts.tasks) {
- return jake.showAllTaskDescriptions(opts.tasks);
- }
-
- taskNames = this.taskNames;
- if (!(Array.isArray(taskNames) && taskNames.length)) {
- throw new Error('Please pass jake.runTasks an array of task-names');
- }
-
- // Set working dir
- dirname = opts.directory;
- if (dirname) {
- if (fs.existsSync(dirname) &&
- fs.statSync(dirname).isDirectory()) {
- process.chdir(dirname);
- }
- else {
- throw new Error(dirname + ' is not a valid directory path');
- }
- }
-
- rootTask = task(Task.ROOT_TASK_NAME, taskNames, function () {});
- rootTask._internal = true;
-
- rootTask.once('complete', function () {
- jake.emit('complete');
- });
- jake.emit('start');
- rootTask.invoke();
- };
-
-})();
-
-module.exports.Program = Program;
diff --git a/Server/node_modules/jake/lib/publish_task.js b/Server/node_modules/jake/lib/publish_task.js
deleted file mode 100644
index f0cacfd..0000000
--- a/Server/node_modules/jake/lib/publish_task.js
+++ /dev/null
@@ -1,290 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-let fs = require('fs');
-let path = require('path');
-let exec = require('child_process').execSync;
-let FileList = require('filelist').FileList;
-
-let PublishTask = function () {
- let args = Array.prototype.slice.call(arguments).filter(function (item) {
- return typeof item != 'undefined';
- });
- let arg;
- let opts = {};
- let definition;
- let prereqs = [];
- let createDef = function (arg) {
- return function () {
- this.packageFiles.include(arg);
- };
- };
-
- this.name = args.shift();
-
- // Old API, just name + list of files
- if (args.length == 1 && (Array.isArray(args[0]) || typeof args[0] == 'string')) {
- definition = createDef(args.pop());
- }
- // Current API, name + [prereqs] + [opts] + definition
- else {
- while ((arg = args.pop())) {
- // Definition func
- if (typeof arg == 'function') {
- definition = arg;
- }
- // Prereqs
- else if (Array.isArray(arg) || typeof arg == 'string') {
- prereqs = arg;
- }
- // Opts
- else {
- opts = arg;
- }
- }
- }
-
- this.prereqs = prereqs;
- this.packageFiles = new FileList();
- this.publishCmd = opts.publishCmd || 'npm publish %filename';
- this.publishMessage = opts.publishMessage || 'BOOM! Published.';
- this.gitCmd = opts.gitCmd || 'git';
- this.versionFiles = opts.versionFiles || ['package.json'];
- this.scheduleDelay = 5000;
-
- // Override utility funcs for testing
- this._ensureRepoClean = function (stdout) {
- if (stdout.length) {
- fail(new Error('Git repository is not clean.'));
- }
- };
- this._getCurrentBranch = function (stdout) {
- return String(stdout).trim();
- };
-
- if (typeof definition == 'function') {
- definition.call(this);
- }
- this.define();
-};
-
-
-PublishTask.prototype = new (function () {
-
- let _currentBranch = null;
-
- let getPackage = function () {
- let pkg = JSON.parse(fs.readFileSync(path.join(process.cwd(),
- '/package.json')).toString());
- return pkg;
- };
- let getPackageVersionNumber = function () {
- return getPackage().version;
- };
-
- this.define = function () {
- let self = this;
-
- namespace('publish', function () {
- task('fetchTags', function () {
- // Make sure local tags are up to date
- exec(self.gitCmd + ' fetch --tags');
- console.log('Fetched remote tags.');
- });
-
- task('getCurrentBranch', function () {
- // Figure out what branch to push to
- let stdout = exec(self.gitCmd + ' symbolic-ref --short HEAD').toString();
- if (!stdout) {
- throw new Error('No current Git branch found');
- }
- _currentBranch = self._getCurrentBranch(stdout);
- console.log('On branch ' + _currentBranch);
- });
-
- task('ensureClean', function () {
- // Only bump, push, and tag if the Git repo is clean
- let stdout = exec(self.gitCmd + ' status --porcelain --untracked-files=no').toString();
- // Throw if there's output
- self._ensureRepoClean(stdout);
- });
-
- task('updateVersionFiles', function () {
- let pkg;
- let version;
- let arr;
- let patch;
-
- // Grab the current version-string
- pkg = getPackage();
- version = pkg.version;
- // Increment the patch-number for the version
- arr = version.split('.');
- patch = parseInt(arr.pop(), 10) + 1;
- arr.push(patch);
- version = arr.join('.');
-
- // Update package.json or other files with the new version-info
- self.versionFiles.forEach(function (file) {
- let p = path.join(process.cwd(), file);
- let data = JSON.parse(fs.readFileSync(p).toString());
- data.version = version;
- fs.writeFileSync(p, JSON.stringify(data, true, 2) + '\n');
- });
- // Return the version string so that listeners for the 'complete' event
- // for this task can use it (e.g., to update other files before pushing
- // to Git)
- return version;
- });
-
- task('pushVersion', ['ensureClean', 'updateVersionFiles'], function () {
- let version = getPackageVersionNumber();
- let message = 'Version ' + version;
- let cmds = [
- self.gitCmd + ' commit -a -m "' + message + '"',
- self.gitCmd + ' push origin ' + _currentBranch,
- self.gitCmd + ' tag -a v' + version + ' -m "' + message + '"',
- self.gitCmd + ' push --tags'
- ];
- cmds.forEach((cmd) => {
- exec(cmd);
- });
- version = getPackageVersionNumber();
- console.log('Bumped version number to v' + version + '.');
- });
-
- let defineTask = task('definePackage', function () {
- let version = getPackageVersionNumber();
- new jake.PackageTask(self.name, 'v' + version, self.prereqs, function () {
- // Replace the PackageTask's FileList with the PublishTask's FileList
- this.packageFiles = self.packageFiles;
- this.needTarGz = true; // Default to tar.gz
- // If any of the need<CompressionFormat> or archive opts are set
- // proxy them to the PackageTask
- for (let p in this) {
- if (p.indexOf('need') === 0 || p.indexOf('archive') === 0) {
- if (typeof self[p] != 'undefined') {
- this[p] = self[p];
- }
- }
- }
- });
- });
- defineTask._internal = true;
-
- task('package', function () {
- let definePack = jake.Task['publish:definePackage'];
- let pack = jake.Task['package'];
- let version = getPackageVersionNumber();
-
- // May have already been run
- if (definePack.taskStatus == jake.Task.runStatuses.DONE) {
- definePack.reenable(true);
- }
- definePack.invoke();
- // Set manually, completion happens in next tick, creating deadlock
- definePack.taskStatus = jake.Task.runStatuses.DONE;
- pack.invoke();
- console.log('Created package for ' + self.name + ' v' + version);
- });
-
- task('publish', function () {
- return new Promise((resolve) => {
- let version = getPackageVersionNumber();
- let filename;
- let cmd;
-
- console.log('Publishing ' + self.name + ' v' + version);
-
- if (typeof self.createPublishCommand == 'function') {
- cmd = self.createPublishCommand(version);
- }
- else {
- filename = './pkg/' + self.name + '-v' + version + '.tar.gz';
- cmd = self.publishCmd.replace(/%filename/gi, filename);
- }
-
- if (typeof cmd == 'function') {
- cmd(function (err) {
- if (err) {
- throw err;
- }
- console.log(self.publishMessage);
- resolve();
- });
- }
- else {
- // Hackity hack -- NPM publish sometimes returns errror like:
- // Error sending version data\nnpm ERR!
- // Error: forbidden 0.2.4 is modified, should match modified time
- setTimeout(function () {
- let stdout = exec(cmd).toString() || '';
- stdout = stdout.trim();
- if (stdout) {
- console.log(stdout);
- }
- console.log(self.publishMessage);
- resolve();
- }, self.scheduleDelay);
- }
- });
- });
-
- task('cleanup', function () {
- return new Promise((resolve) => {
- let clobber = jake.Task.clobber;
- clobber.reenable(true);
- clobber.on('complete', function () {
- console.log('Cleaned up package');
- resolve();
- });
- clobber.invoke();
- });
- });
-
- });
-
- let prefixNs = function (item) {
- return 'publish:' + item;
- };
-
- // Create aliases in the default namespace
- desc('Create a new version and release.');
- task('publish', self.prereqs.concat(['version', 'release']
- .map(prefixNs)));
-
- desc('Release the existing version.');
- task('publishExisting', self.prereqs.concat(['release']
- .map(prefixNs)));
-
- task('version', ['fetchTags', 'getCurrentBranch', 'pushVersion']
- .map(prefixNs));
-
- task('release', ['package', 'publish', 'cleanup']
- .map(prefixNs));
-
- // Invoke proactively so there will be a callable 'package' task
- // which can be used apart from 'publish'
- jake.Task['publish:definePackage'].invoke();
- };
-
-})();
-
-jake.PublishTask = PublishTask;
-exports.PublishTask = PublishTask;
-
diff --git a/Server/node_modules/jake/lib/rule.js b/Server/node_modules/jake/lib/rule.js
deleted file mode 100644
index 25f51ae..0000000
--- a/Server/node_modules/jake/lib/rule.js
+++ /dev/null
@@ -1,311 +0,0 @@
-let path = require('path');
-let fs = require('fs');
-let Task = require('./task/task').Task;
-
-// Split a task to two parts, name space and task name.
-// For example, given 'foo:bin/a%.c', return an object with
-// - 'ns' : foo
-// - 'name' : bin/a%.c
-function splitNs(task) {
- let parts = task.split(':');
- let name = parts.pop();
- let ns = resolveNs(parts);
- return {
- 'name' : name,
- 'ns' : ns
- };
-}
-
-// Return the namespace based on an array of names.
-// For example, given ['foo', 'baz' ], return the namespace
-//
-// default -> foo -> baz
-//
-// where default is the global root namespace
-// and -> means child namespace.
-function resolveNs(parts) {
- let ns = jake.defaultNamespace;
- for(let i = 0, l = parts.length; ns && i < l; i++) {
- ns = ns.childNamespaces[parts[i]];
- }
- return ns;
-}
-
-// Given a pattern p, say 'foo:bin/a%.c'
-// Return an object with
-// - 'ns' : foo
-// - 'dir' : bin
-// - 'prefix' : a
-// - 'suffix' : .c
-function resolve(p) {
- let task = splitNs(p);
- let name = task.name;
- let ns = task.ns;
- let split = path.basename(name).split('%');
- return {
- ns: ns,
- dir: path.dirname(name),
- prefix: split[0],
- suffix: split[1]
- };
-}
-
-// Test whether string a is a suffix of string b
-function stringEndWith(a, b) {
- let l;
- return (l = b.lastIndexOf(a)) == -1 ? false : l + a.length == b.length;
-}
-
-// Replace the suffix a of the string s with b.
-// Note that, it is assumed a is a suffix of s.
-function stringReplaceSuffix(s, a, b) {
- return s.slice(0, s.lastIndexOf(a)) + b;
-}
-
-class Rule {
- constructor(opts) {
- this.pattern = opts.pattern;
- this.source = opts.source;
- this.prereqs = opts.prereqs;
- this.action = opts.action;
- this.opts = opts.opts;
- this.desc = opts.desc;
- this.ns = opts.ns;
- }
-
- // Create a file task based on this rule for the specified
- // task-name
- // ======
- // FIXME: Right now this just throws away any passed-in args
- // for the synthsized task (taskArgs param)
- // ======
- createTask(fullName, level) {
- let self = this;
- let pattern;
- let source;
- let action;
- let opts;
- let prereqs;
- let valid;
- let src;
- let tNs;
- let createdTask;
- let name = Task.getBaseTaskName(fullName);
- let nsPath = Task.getBaseNamespacePath(fullName);
- let ns = this.ns.resolveNamespace(nsPath);
-
- pattern = this.pattern;
- source = this.source;
-
- if (typeof source == 'string') {
- src = Rule.getSource(name, pattern, source);
- }
- else {
- src = source(name);
- }
-
- // TODO: Write a utility function that appends a
- // taskname to a namespace path
- src = nsPath.split(':').filter(function (item) {
- return !!item;
- }).concat(src).join(':');
-
- // Generate the prerequisite for the matching task.
- // It is the original prerequisites plus the prerequisite
- // representing source file, i.e.,
- //
- // rule( '%.o', '%.c', ['some.h'] ...
- //
- // If the objective is main.o, then new task should be
- //
- // file( 'main.o', ['main.c', 'some.h' ] ...
- prereqs = this.prereqs.slice(); // Get a copy to work with
- prereqs.unshift(src);
-
- // Prereq should be:
- // 1. an existing task
- // 2. an existing file on disk
- // 3. a valid rule (i.e., not at too deep a level)
- valid = prereqs.some(function (p) {
- let ns = self.ns;
- return ns.resolveTask(p) ||
- fs.existsSync(Task.getBaseTaskName(p)) ||
- jake.attemptRule(p, ns, level + 1);
- });
-
- // If any of the prereqs aren't valid, the rule isn't valid
- if (!valid) {
- return null;
- }
- // Otherwise, hunky-dory, finish creating the task for the rule
- else {
- // Create the action for the task
- action = function () {
- let task = this;
- self.action.apply(task);
- };
-
- opts = this.opts;
-
- // Insert the file task into Jake
- //
- // Since createTask function stores the task as a child task
- // of currentNamespace. Here we temporariliy switch the namespace.
- // FIXME: Should allow optional ns passed in instead of this hack
- tNs = jake.currentNamespace;
- jake.currentNamespace = ns;
- createdTask = jake.createTask('file', name, prereqs, action, opts);
- createdTask.source = src.split(':').pop();
- jake.currentNamespace = tNs;
-
- return createdTask;
- }
- }
-
- match(name) {
- return Rule.match(this.pattern, name);
- }
-
- // Test wether the a prerequisite matchs the pattern.
- // The arg 'pattern' does not have namespace as prefix.
- // For example, the following tests are true
- //
- // pattern | name
- // bin/%.o | bin/main.o
- // bin/%.o | foo:bin/main.o
- //
- // The following tests are false (trivally)
- //
- // pattern | name
- // bin/%.o | foobin/main.o
- // bin/%.o | bin/main.oo
- static match(pattern, name) {
- let p;
- let task;
- let obj;
- let filename;
-
- if (pattern instanceof RegExp) {
- return pattern.test(name);
- }
- else if (pattern.indexOf('%') == -1) {
- // No Pattern. No Folder. No Namespace.
- // A Simple Suffix Rule. Just test suffix
- return stringEndWith(pattern, name);
- }
- else {
- // Resolve the dir, prefix and suffix of pattern
- p = resolve(pattern);
-
- // Resolve the namespace and task-name
- task = splitNs(name);
- name = task.name;
-
- // Set the objective as the task-name
- obj = name;
-
- // Namespace is already matched.
-
- // Check dir
- if (path.dirname(obj) != p.dir) {
- return false;
- }
-
- filename = path.basename(obj);
-
- // Check file name length
- if ((p.prefix.length + p.suffix.length + 1) > filename.length) {
- // Length does not match.
- return false;
- }
-
- // Check prefix
- if (filename.indexOf(p.prefix) !== 0) {
- return false;
- }
-
- // Check suffix
- if (!stringEndWith(p.suffix, filename)) {
- return false;
- }
-
- // OK. Find a match.
- return true;
- }
- }
-
- // Generate the source based on
- // - name name for the synthesized task
- // - pattern pattern for the objective
- // - source pattern for the source
- //
- // Return the source with properties
- // - dep the prerequisite of source
- // (with the namespace)
- //
- // - file the file name of source
- // (without the namespace)
- //
- // For example, given
- //
- // - name foo:bin/main.o
- // - pattern bin/%.o
- // - source src/%.c
- //
- // return 'foo:src/main.c',
- //
- static getSource(name, pattern, source) {
- let dep;
- let pat;
- let match;
- let file;
- let src;
-
- // Regex pattern -- use to look up the extension
- if (pattern instanceof RegExp) {
- match = pattern.exec(name);
- if (match) {
- if (typeof source == 'function') {
- src = source(name);
- }
- else {
- src = stringReplaceSuffix(name, match[0], source);
- }
- }
- }
- // Assume string
- else {
- // Simple string suffix replacement
- if (pattern.indexOf('%') == -1) {
- if (typeof source == 'function') {
- src = source(name);
- }
- else {
- src = stringReplaceSuffix(name, pattern, source);
- }
- }
- // Percent-based substitution
- else {
- pat = pattern.replace('%', '(.*?)');
- pat = new RegExp(pat);
- match = pat.exec(name);
- if (match) {
- if (typeof source == 'function') {
- src = source(name);
- }
- else {
- file = match[1];
- file = source.replace('%', file);
- dep = match[0];
- src = name.replace(dep, file);
- }
- }
- }
- }
-
- return src;
- }
-}
-
-
-exports.Rule = Rule;
diff --git a/Server/node_modules/jake/lib/task/directory_task.js b/Server/node_modules/jake/lib/task/directory_task.js
deleted file mode 100644
index b17b624..0000000
--- a/Server/node_modules/jake/lib/task/directory_task.js
+++ /dev/null
@@ -1,30 +0,0 @@
-let fs = require('fs');
-let FileTask = require('./file_task').FileTask;
-
-/**
- @name jake
- @namespace jake
-*/
-/**
- @name jake.DirectoryTask
- @constructor
- @augments EventEmitter
- @augments jake.Task
- @augments jake.FileTask
- @description A Jake DirectoryTask
-
- @param {String} name The name of the directory to create.
- */
-class DirectoryTask extends FileTask {
- constructor(...args) {
- super(...args);
- if (fs.existsSync(this.name)) {
- this.updateModTime();
- }
- else {
- this.modTime = null;
- }
- }
-}
-
-exports.DirectoryTask = DirectoryTask;
diff --git a/Server/node_modules/jake/lib/task/file_task.js b/Server/node_modules/jake/lib/task/file_task.js
deleted file mode 100644
index 6fad84b..0000000
--- a/Server/node_modules/jake/lib/task/file_task.js
+++ /dev/null
@@ -1,124 +0,0 @@
-let fs = require('fs');
-let Task = require('./task').Task;
-
-function isFileOrDirectory(t) {
- return (t instanceof FileTask ||
- t instanceof DirectoryTask);
-}
-
-function isFile(t) {
- return (t instanceof FileTask && !(t instanceof DirectoryTask));
-}
-
-/**
- @name jake
- @namespace jake
-*/
-/**
- @name jake.FileTask
- @class`
- @extentds Task
- @description A Jake FileTask
-
- @param {String} name The name of the Task
- @param {Array} [prereqs] Prerequisites to be run before this task
- @param {Function} [action] The action to perform to create this file
- @param {Object} [opts]
- @param {Array} [opts.asyc=false] Perform this task asynchronously.
- If you flag a task with this option, you must call the global
- `complete` method inside the task's action, for execution to proceed
- to the next task.
- */
-class FileTask extends Task {
- constructor(...args) {
- super(...args);
- this.dummy = false;
- if (fs.existsSync(this.name)) {
- this.updateModTime();
- }
- else {
- this.modTime = null;
- }
- }
-
- isNeeded() {
- let prereqs = this.prereqs;
- let prereqName;
- let prereqTask;
-
- // No repeatsies
- if (this.taskStatus == Task.runStatuses.DONE) {
- return false;
- }
- // The always-make override
- else if (jake.program.opts['always-make']) {
- return true;
- }
- // Default case
- else {
-
- // We need either an existing file, or an action to create one.
- // First try grabbing the actual mod-time of the file
- try {
- this.updateModTime();
- }
- // Then fall back to looking for an action
- catch(e) {
- if (typeof this.action == 'function') {
- return true;
- }
- else {
- throw new Error('File-task ' + this.fullName + ' has no ' +
- 'existing file, and no action to create one.');
- }
- }
-
- // Compare mod-time of all the prereqs with its mod-time
- // If any prereqs are newer, need to run the action to update
- if (prereqs && prereqs.length) {
- for (let i = 0, ii = prereqs.length; i < ii; i++) {
- prereqName = prereqs[i];
- prereqTask = this.namespace.resolveTask(prereqName) ||
- jake.createPlaceholderFileTask(prereqName, this.namespace);
- // Run the action if:
- // 1. The prereq is a normal task (not file/dir)
- // 2. The prereq is a file-task with a mod-date more recent than
- // the one for this file/dir
- if (prereqTask) {
- if (!isFileOrDirectory(prereqTask) ||
- (isFile(prereqTask) && prereqTask.modTime > this.modTime)) {
- return true;
- }
- }
- }
- }
- // File/dir has no prereqs, and exists -- no need to run
- else {
- // Effectively done
- this.taskStatus = Task.runStatuses.DONE;
- return false;
- }
- }
- }
-
- updateModTime() {
- let stats = fs.statSync(this.name);
- this.modTime = stats.mtime;
- }
-
- complete() {
- if (!this.dummy) {
- this.updateModTime();
- }
- // Hackity hack
- Task.prototype.complete.apply(this, arguments);
- }
-
-}
-
-exports.FileTask = FileTask;
-
-// DirectoryTask is a subclass of FileTask, depends on it
-// being defined
-let DirectoryTask = require('./directory_task').DirectoryTask;
-
diff --git a/Server/node_modules/jake/lib/task/index.js b/Server/node_modules/jake/lib/task/index.js
deleted file mode 100644
index bc93f41..0000000
--- a/Server/node_modules/jake/lib/task/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-
-let Task = require('./task').Task;
-let FileTask = require('./file_task').FileTask;
-let DirectoryTask = require('./directory_task').DirectoryTask;
-
-exports.Task = Task;
-exports.FileTask = FileTask;
-exports.DirectoryTask = DirectoryTask;
-
diff --git a/Server/node_modules/jake/lib/task/task.js b/Server/node_modules/jake/lib/task/task.js
deleted file mode 100644
index 9e8886f..0000000
--- a/Server/node_modules/jake/lib/task/task.js
+++ /dev/null
@@ -1,439 +0,0 @@
-let EventEmitter = require('events').EventEmitter;
-let async = require('async');
-let chalk = require('chalk');
-// 'rule' module is required at the bottom because circular deps
-
-// Used for task value, so better not to use
-// null, since value should be unset/uninitialized
-let UNDEFINED_VALUE;
-
-const ROOT_TASK_NAME = '__rootTask__';
-const POLLING_INTERVAL = 100;
-
-// Parse any positional args attached to the task-name
-function parsePrereqName(name) {
- let taskArr = name.split('[');
- let taskName = taskArr[0];
- let taskArgs = [];
- if (taskArr[1]) {
- taskArgs = taskArr[1].replace(/\]$/, '');
- taskArgs = taskArgs.split(',');
- }
- return {
- name: taskName,
- args: taskArgs
- };
-}
-
-/**
- @name jake.Task
- @class
- @extends EventEmitter
- @description A Jake Task
-
- @param {String} name The name of the Task
- @param {Array} [prereqs] Prerequisites to be run before this task
- @param {Function} [action] The action to perform for this task
- @param {Object} [opts]
- @param {Array} [opts.asyc=false] Perform this task asynchronously.
- If you flag a task with this option, you must call the global
- `complete` method inside the task's action, for execution to proceed
- to the next task.
- */
-class Task extends EventEmitter {
-
- constructor(name, prereqs, action, options) {
- // EventEmitter ctor takes no args
- super();
-
- if (name.indexOf(':') > -1) {
- throw new Error('Task name cannot include a colon. It is used internally as namespace delimiter.');
- }
- let opts = options || {};
-
- this._currentPrereqIndex = 0;
- this._internal = false;
- this._skipped = false;
-
- this.name = name;
- this.prereqs = prereqs;
- this.action = action;
- this.async = false;
- this.taskStatus = Task.runStatuses.UNSTARTED;
- this.description = null;
- this.args = [];
- this.value = UNDEFINED_VALUE;
- this.concurrency = 1;
- this.startTime = null;
- this.endTime = null;
- this.directory = null;
- this.namespace = null;
-
- // Support legacy async-flag -- if not explicitly passed or falsy, will
- // be set to empty-object
- if (typeof opts == 'boolean' && opts === true) {
- this.async = true;
- }
- else {
- if (opts.async) {
- this.async = true;
- }
- if (opts.concurrency) {
- this.concurrency = opts.concurrency;
- }
- }
-
- //Do a test on self dependencies for this task
- if(Array.isArray(this.prereqs) && this.prereqs.indexOf(this.name) !== -1) {
- throw new Error("Cannot use prereq " + this.name + " as a dependency of itself");
- }
- }
-
- get fullName() {
- return this._getFullName();
- }
-
- _initInvocationChain() {
- // Legacy global invocation chain
- jake._invocationChain.push(this);
-
- // New root chain
- if (!this._invocationChain) {
- this._invocationChainRoot = true;
- this._invocationChain = [];
- if (jake.currentRunningTask) {
- jake.currentRunningTask._waitForChains = jake.currentRunningTask._waitForChains || [];
- jake.currentRunningTask._waitForChains.push(this._invocationChain);
- }
- }
- }
-
- /**
- @name jake.Task#invoke
- @function
- @description Runs prerequisites, then this task. If the task has already
- been run, will not run the task again.
- */
- invoke() {
- this._initInvocationChain();
-
- this.args = Array.prototype.slice.call(arguments);
- this.reenabled = false
- this.runPrereqs();
- }
-
- /**
- @name jake.Task#execute
- @function
- @description Run only this task, without prereqs. If the task has already
- been run, *will* run the task again.
- */
- execute() {
- this._initInvocationChain();
-
- this.args = Array.prototype.slice.call(arguments);
- this.reenable();
- this.reenabled = true
- this.run();
- }
-
- runPrereqs() {
- if (this.prereqs && this.prereqs.length) {
-
- if (this.concurrency > 1) {
- async.eachLimit(this.prereqs, this.concurrency,
-
- (name, cb) => {
- let parsed = parsePrereqName(name);
-
- let prereq = this.namespace.resolveTask(parsed.name) ||
- jake.attemptRule(name, this.namespace, 0) ||
- jake.createPlaceholderFileTask(name, this.namespace);
-
- if (!prereq) {
- throw new Error('Unknown task "' + name + '"');
- }
-
- //Test for circular invocation
- if(prereq === this) {
- setImmediate(function () {
- cb(new Error("Cannot use prereq " + prereq.name + " as a dependency of itself"));
- });
- }
-
- if (prereq.taskStatus == Task.runStatuses.DONE) {
- //prereq already done, return
- setImmediate(cb);
- }
- else {
- //wait for complete before calling cb
- prereq.once('_done', () => {
- prereq.removeAllListeners('_done');
- setImmediate(cb);
- });
- // Start the prereq if we are the first to encounter it
- if (prereq.taskStatus === Task.runStatuses.UNSTARTED) {
- prereq.taskStatus = Task.runStatuses.STARTED;
- prereq.invoke.apply(prereq, parsed.args);
- }
- }
- },
-
- (err) => {
- //async callback is called after all prereqs have run.
- if (err) {
- throw err;
- }
- else {
- setImmediate(this.run.bind(this));
- }
- }
- );
- }
- else {
- setImmediate(this.nextPrereq.bind(this));
- }
- }
- else {
- setImmediate(this.run.bind(this));
- }
- }
-
- nextPrereq() {
- let self = this;
- let index = this._currentPrereqIndex;
- let name = this.prereqs[index];
- let prereq;
- let parsed;
-
- if (name) {
-
- parsed = parsePrereqName(name);
-
- prereq = this.namespace.resolveTask(parsed.name) ||
- jake.attemptRule(name, this.namespace, 0) ||
- jake.createPlaceholderFileTask(name, this.namespace);
-
- if (!prereq) {
- throw new Error('Unknown task "' + name + '"');
- }
-
- // Do when done
- if (prereq.taskStatus == Task.runStatuses.DONE) {
- self.handlePrereqDone(prereq);
- }
- else {
- prereq.once('_done', () => {
- this.handlePrereqDone(prereq);
- prereq.removeAllListeners('_done');
- });
- if (prereq.taskStatus == Task.runStatuses.UNSTARTED) {
- prereq.taskStatus = Task.runStatuses.STARTED;
- prereq._invocationChain = this._invocationChain;
- prereq.invoke.apply(prereq, parsed.args);
- }
- }
- }
- }
-
- /**
- @name jake.Task#reenable
- @function
- @description Reenables a task so that it can be run again.
- */
- reenable(deep) {
- let prereqs;
- let prereq;
- this._skipped = false;
- this.taskStatus = Task.runStatuses.UNSTARTED;
- this.value = UNDEFINED_VALUE;
- if (deep && this.prereqs) {
- prereqs = this.prereqs;
- for (let i = 0, ii = prereqs.length; i < ii; i++) {
- prereq = jake.Task[prereqs[i]];
- if (prereq) {
- prereq.reenable(deep);
- }
- }
- }
- }
-
- handlePrereqDone(prereq) {
- this._currentPrereqIndex++;
- if (this._currentPrereqIndex < this.prereqs.length) {
- setImmediate(this.nextPrereq.bind(this));
- }
- else {
- setImmediate(this.run.bind(this));
- }
- }
-
- isNeeded() {
- let needed = true;
- if (this.taskStatus == Task.runStatuses.DONE) {
- needed = false;
- }
- return needed;
- }
-
- run() {
- let val, previous;
- let hasAction = typeof this.action == 'function';
-
- if (!this.isNeeded()) {
- this.emit('skip');
- this.emit('_done');
- }
- else {
- if (this._invocationChain.length) {
- previous = this._invocationChain[this._invocationChain.length - 1];
- // If this task is repeating and its previous is equal to this, don't check its status because it was set to UNSTARTED by the reenable() method
- if (!(this.reenabled && previous == this)) {
- if (previous.taskStatus != Task.runStatuses.DONE) {
- let now = (new Date()).getTime();
- if (now - this.startTime > jake._taskTimeout) {
- return jake.fail(`Timed out waiting for task: ${previous.name} with status of ${previous.taskStatus}`);
- }
- setTimeout(this.run.bind(this), POLLING_INTERVAL);
- return;
- }
- }
- }
- if (!(this.reenabled && previous == this)) {
- this._invocationChain.push(this);
- }
-
- if (!(this._internal || jake.program.opts.quiet)) {
- console.log("Starting '" + chalk.green(this.fullName) + "'...");
- }
-
- this.startTime = (new Date()).getTime();
- this.emit('start');
-
- jake.currentRunningTask = this;
-
- if (hasAction) {
- try {
- if (this.directory) {
- process.chdir(this.directory);
- }
-
- val = this.action.apply(this, this.args);
-
- if (typeof val == 'object' && typeof val.then == 'function') {
- this.async = true;
-
- val.then(
- (result) => {
- setImmediate(() => {
- this.complete(result);
- });
- },
- (err) => {
- setImmediate(() => {
- this.errorOut(err);
- });
- });
- }
- }
- catch (err) {
- this.errorOut(err);
- return; // Bail out, not complete
- }
- }
-
- if (!(hasAction && this.async)) {
- setImmediate(() => {
- this.complete(val);
- });
- }
- }
- }
-
- errorOut(err) {
- this.taskStatus = Task.runStatuses.ERROR;
- this._invocationChain.chainStatus = Task.runStatuses.ERROR;
- this.emit('error', err);
- }
-
- complete(val) {
-
- if (Array.isArray(this._waitForChains)) {
- let stillWaiting = this._waitForChains.some((chain) => {
- return !(chain.chainStatus == Task.runStatuses.DONE ||
- chain.chainStatus == Task.runStatuses.ERROR);
- });
- if (stillWaiting) {
- let now = (new Date()).getTime();
- let elapsed = now - this.startTime;
- if (elapsed > jake._taskTimeout) {
- return jake.fail(`Timed out waiting for task: ${this.name} with status of ${this.taskStatus}. Elapsed: ${elapsed}`);
- }
- setTimeout(() => {
- this.complete(val);
- }, POLLING_INTERVAL);
- return;
- }
- }
-
- jake._invocationChain.splice(jake._invocationChain.indexOf(this), 1);
-
- if (this._invocationChainRoot) {
- this._invocationChain.chainStatus = Task.runStatuses.DONE;
- }
-
- this._currentPrereqIndex = 0;
-
- // If 'complete' getting called because task has been
- // run already, value will not be passed -- leave in place
- if (!this._skipped) {
- this.taskStatus = Task.runStatuses.DONE;
- this.value = val;
-
- this.emit('complete', this.value);
- this.emit('_done');
-
- this.endTime = (new Date()).getTime();
- let taskTime = this.endTime - this.startTime;
-
- if (!(this._internal || jake.program.opts.quiet)) {
- console.log("Finished '" + chalk.green(this.fullName) + "' after " + chalk.magenta(taskTime + ' ms'));
- }
-
- }
- }
-
- _getFullName() {
- let ns = this.namespace;
- let path = (ns && ns.path) || '';
- path = (path && path.split(':')) || [];
- if (this.namespace !== jake.defaultNamespace) {
- path.push(this.namespace.name);
- }
- path.push(this.name);
- return path.join(':');
- }
-
- static getBaseNamespacePath(fullName) {
- return fullName.split(':').slice(0, -1).join(':');
- }
-
- static getBaseTaskName(fullName) {
- return fullName.split(':').pop();
- }
-}
-
-Task.runStatuses = {
- UNSTARTED: 'unstarted',
- DONE: 'done',
- STARTED: 'started',
- ERROR: 'error'
-};
-
-Task.ROOT_TASK_NAME = ROOT_TASK_NAME;
-
-exports.Task = Task;
-
-// Required here because circular deps
-require('../rule');
-
diff --git a/Server/node_modules/jake/lib/test_task.js b/Server/node_modules/jake/lib/test_task.js
deleted file mode 100644
index 6482bf1..0000000
--- a/Server/node_modules/jake/lib/test_task.js
+++ /dev/null
@@ -1,270 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-let path = require('path');
-let currDir = process.cwd();
-
-/**
- @name jake
- @namespace jake
-*/
-/**
- @name jake.TestTask
- @constructor
- @description Instantiating a TestTask creates a number of Jake
- Tasks that make running tests for your software easy.
-
- @param {String} name The name of the project
- @param {Function} definition Defines the list of files containing the tests,
- and the name of the namespace/task for running them. Will be executed on the
- instantiated TestTask (i.e., 'this', will be the TestTask instance), to set
- the various instance-propertiess.
-
- @example
- let t = new jake.TestTask('bij-js', function () {
- this.testName = 'testSpecial';
- this.testFiles.include('test/**');
- });
-
- */
-let TestTask = function () {
- let self = this;
- let args = Array.prototype.slice.call(arguments);
- let name = args.shift();
- let definition = args.pop();
- let prereqs = args.pop() || [];
-
- /**
- @name jake.TestTask#testNam
- @public
- @type {String}
- @description The name of the namespace to place the tests in, and
- the top-level task for running tests. Defaults to "test"
- */
- this.testName = 'test';
-
- /**
- @name jake.TestTask#testFiles
- @public
- @type {jake.FileList}
- @description The list of files containing tests to load
- */
- this.testFiles = new jake.FileList();
-
- /**
- @name jake.TestTask#showDescription
- @public
- @type {Boolean}
- @description Show the created task when doing Jake -T
- */
- this.showDescription = true;
-
- /*
- @name jake.TestTask#totalTests
- @public
- @type {Number}
- @description The total number of tests to run
- */
- this.totalTests = 0;
-
- /*
- @name jake.TestTask#executedTests
- @public
- @type {Number}
- @description The number of tests successfully run
- */
- this.executedTests = 0;
-
- if (typeof definition == 'function') {
- definition.call(this);
- }
-
- if (this.showDescription) {
- desc('Run the tests for ' + name);
- }
-
- task(this.testName, prereqs, {async: true}, function () {
- let t = jake.Task[this.fullName + ':run'];
- t.on('complete', function () {
- complete();
- });
- // Pass args to the namespaced test
- t.invoke.apply(t, arguments);
- });
-
- namespace(self.testName, function () {
-
- let runTask = task('run', {async: true}, function (pat) {
- let re;
- let testFiles;
-
- // Don't nest; make a top-level namespace. Don't want
- // re-calling from inside to nest infinitely
- jake.currentNamespace = jake.defaultNamespace;
-
- re = new RegExp(pat);
- // Get test files that match the passed-in pattern
- testFiles = self.testFiles.toArray()
- .filter(function (f) {
- return (re).test(f);
- }) // Don't load the same file multiple times -- should this be in FileList?
- .reduce(function (p, c) {
- if (p.indexOf(c) < 0) {
- p.push(c);
- }
- return p;
- }, []);
-
- // Create a namespace for all the testing tasks to live in
- namespace(self.testName + 'Exec', function () {
- // Each test will be a prereq for the dummy top-level task
- let prereqs = [];
- // Continuation to pass to the async tests, wrapping `continune`
- let next = function () {
- complete();
- };
- // Create the task for this test-function
- let createTask = function (name, action) {
- // If the test-function is defined with a continuation
- // param, flag the task as async
- let t;
- let isAsync = !!action.length;
-
- // Define the actual namespaced task with the name, the
- // wrapped action, and the correc async-flag
- t = task(name, createAction(name, action), {
- async: isAsync
- });
- t.once('complete', function () {
- self.executedTests++;
- });
- t._internal = true;
- return t;
- };
- // Used as the action for the defined task for each test.
- let createAction = function (n, a) {
- // A wrapped function that passes in the `next` function
- // for any tasks that run asynchronously
- return function () {
- let cb;
- if (a.length) {
- cb = next;
- }
- if (!(n == 'before' || n == 'after' ||
- /_beforeEach$/.test(n) || /_afterEach$/.test(n))) {
- jake.logger.log(n);
- }
- // 'this' will be the task when action is run
- return a.call(this, cb);
- };
- };
- // Dummy top-level task for everything to be prereqs for
- let topLevel;
-
- // Pull in each test-file, and iterate over any exported
- // test-functions. Register each test-function as a prereq task
- testFiles.forEach(function (file) {
- let exp = require(path.join(currDir, file));
-
- // Create a namespace for each filename, so test-name collisions
- // won't be a problem
- namespace(file, function () {
- let testPrefix = self.testName + 'Exec:' + file + ':';
- let testName;
- // Dummy task for displaying file banner
- testName = '*** Running ' + file + ' ***';
- prereqs.push(testPrefix + testName);
- createTask(testName, function () {});
-
- // 'before' setup
- if (typeof exp.before == 'function') {
- prereqs.push(testPrefix + 'before');
- // Create the task
- createTask('before', exp.before);
- }
-
- // Walk each exported function, and create a task for each
- for (let p in exp) {
- if (p == 'before' || p == 'after' ||
- p == 'beforeEach' || p == 'afterEach') {
- continue;
- }
-
- if (typeof exp.beforeEach == 'function') {
- prereqs.push(testPrefix + p + '_beforeEach');
- // Create the task
- createTask(p + '_beforeEach', exp.beforeEach);
- }
-
- // Add the namespace:name of this test to the list of prereqs
- // for the dummy top-level task
- prereqs.push(testPrefix + p);
- // Create the task
- createTask(p, exp[p]);
-
- if (typeof exp.afterEach == 'function') {
- prereqs.push(testPrefix + p + '_afterEach');
- // Create the task
- createTask(p + '_afterEach', exp.afterEach);
- }
- }
-
- // 'after' teardown
- if (typeof exp.after == 'function') {
- prereqs.push(testPrefix + 'after');
- // Create the task
- let afterTask = createTask('after', exp.after);
- afterTask._internal = true;
- }
-
- });
- });
-
- self.totalTests = prereqs.length;
- process.on('exit', function () {
- // Throw in the case where the process exits without
- // finishing tests, but no error was thrown
- if (!jake.errorCode && (self.totalTests > self.executedTests)) {
- throw new Error('Process exited without all tests completing.');
- }
- });
-
- // Create the dummy top-level task. When calling a task internally
- // with `invoke` that is async (or has async prereqs), have to listen
- // for the 'complete' event to know when it's done
- topLevel = task('__top__', prereqs);
- topLevel._internal = true;
- topLevel.addListener('complete', function () {
- jake.logger.log('All tests ran successfully');
- complete();
- });
-
- topLevel.invoke(); // Do the thing!
- });
-
- });
- runTask._internal = true;
-
- });
-
-
-};
-
-jake.TestTask = TestTask;
-exports.TestTask = TestTask;
-
diff --git a/Server/node_modules/jake/lib/utils/file.js b/Server/node_modules/jake/lib/utils/file.js
deleted file mode 100644
index a436def..0000000
--- a/Server/node_modules/jake/lib/utils/file.js
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
- * Utilities: A classic collection of JavaScript utilities
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-let fs = require('fs');
-let path = require('path');
-
-/**
- @name file
- @namespace file
-*/
-
-let fileUtils = new (function () {
-
- // Recursively copy files and directories
- let _copyFile = function (fromPath, toPath, opts) {
- let from = path.normalize(fromPath)
- let to = path.normalize(toPath)
- let options = opts || {}
- let fromStat;
- let toStat;
- let destExists;
- let destDoesNotExistErr;
- let content;
- let filename;
- let dirContents;
- let targetDir;
-
- fromStat = fs.statSync(from);
-
- try {
- //console.dir(to + ' destExists');
- toStat = fs.statSync(to);
- destExists = true;
- }
- catch(e) {
- //console.dir(to + ' does not exist');
- destDoesNotExistErr = e;
- destExists = false;
- }
- // Destination dir or file exists, copy into (directory)
- // or overwrite (file)
- if (destExists) {
-
- // If there's a rename-via-copy file/dir name passed, use it.
- // Otherwise use the actual file/dir name
- filename = options.rename || path.basename(from);
-
- // Copying a directory
- if (fromStat.isDirectory()) {
- dirContents = fs.readdirSync(from);
- targetDir = path.join(to, filename);
- // We don't care if the target dir already exists
- try {
- fs.mkdirSync(targetDir, {mode: fromStat.mode & 0o777});
- }
- catch(e) {
- if (e.code !== 'EEXIST') {
- throw e;
- }
- }
- for (let i = 0, ii = dirContents.length; i < ii; i++) {
- _copyFile(path.join(from, dirContents[i]), targetDir, {preserveMode: options.preserveMode});
- }
- }
- // Copying a file
- else {
- content = fs.readFileSync(from);
- let mode = fromStat.mode & 0o777;
- let targetFile = to;
-
- if (toStat.isDirectory()) {
- targetFile = path.join(to, filename);
- }
-
- let fileExists = fs.existsSync(targetFile);
- fs.writeFileSync(targetFile, content);
-
- // If the file didn't already exist, use the original file mode.
- // Otherwise, only update the mode if preserverMode is true.
- if(!fileExists || options.preserveMode) {
- fs.chmodSync(targetFile, mode);
- }
- }
- }
- // Dest doesn't exist, can't create it
- else {
- throw destDoesNotExistErr;
- }
- };
-
- // Remove the given directory
- let _rmDir = function (dirPath) {
- let dir = path.normalize(dirPath);
- let paths = [];
- paths = fs.readdirSync(dir);
- paths.forEach(function (p) {
- let curr = path.join(dir, p);
- let stat = fs.lstatSync(curr);
- if (stat.isDirectory()) {
- _rmDir(curr);
- }
- else {
- try {
- fs.unlinkSync(curr);
- } catch(e) {
- if (e.code === 'EPERM') {
- fs.chmodSync(curr, parseInt(666, 8));
- fs.unlinkSync(curr);
- } else {
- throw e;
- }
- }
- }
- });
- fs.rmdirSync(dir);
- };
-
- /**
- @name file#cpR
- @public
- @function
- @description Copies a directory/file to a destination
- @param {String} fromPath The source path to copy from
- @param {String} toPath The destination path to copy to
- @param {Object} opts Options to use
- @param {Boolean} [opts.preserveMode] If target file already exists, this
- determines whether the original file's mode is copied over. The default of
- false mimics the behavior of the `cp` command line tool. (Default: false)
- */
- this.cpR = function (fromPath, toPath, options) {
- let from = path.normalize(fromPath);
- let to = path.normalize(toPath);
- let toStat;
- let doesNotExistErr;
- let filename;
- let opts = options || {};
-
- if (from == to) {
- throw new Error('Cannot copy ' + from + ' to itself.');
- }
-
- // Handle rename-via-copy
- try {
- toStat = fs.statSync(to);
- }
- catch(e) {
- doesNotExistErr = e;
-
- // Get abs path so it's possible to check parent dir
- if (!this.isAbsolute(to)) {
- to = path.join(process.cwd(), to);
- }
-
- // Save the file/dir name
- filename = path.basename(to);
- // See if a parent dir exists, so there's a place to put the
- /// renamed file/dir (resets the destination for the copy)
- to = path.dirname(to);
- try {
- toStat = fs.statSync(to);
- }
- catch(e) {}
- if (toStat && toStat.isDirectory()) {
- // Set the rename opt to pass to the copy func, will be used
- // as the new file/dir name
- opts.rename = filename;
- //console.log('filename ' + filename);
- }
- else {
- throw doesNotExistErr;
- }
- }
-
- _copyFile(from, to, opts);
- };
-
- /**
- @name file#mkdirP
- @public
- @function
- @description Create the given directory(ies) using the given mode permissions
- @param {String} dir The directory to create
- @param {Number} mode The mode to give the created directory(ies)(Default: 0755)
- */
- this.mkdirP = function (dir, mode) {
- let dirPath = path.normalize(dir);
- let paths = dirPath.split(/\/|\\/);
- let currPath = '';
- let next;
-
- if (paths[0] == '' || /^[A-Za-z]+:/.test(paths[0])) {
- currPath = paths.shift() || '/';
- currPath = path.join(currPath, paths.shift());
- //console.log('basedir');
- }
- while ((next = paths.shift())) {
- if (next == '..') {
- currPath = path.join(currPath, next);
- continue;
- }
- currPath = path.join(currPath, next);
- try {
- //console.log('making ' + currPath);
- fs.mkdirSync(currPath, mode || parseInt(755, 8));
- }
- catch(e) {
- if (e.code != 'EEXIST') {
- throw e;
- }
- }
- }
- };
-
- /**
- @name file#rmRf
- @public
- @function
- @description Deletes the given directory/file
- @param {String} p The path to delete, can be a directory or file
- */
- this.rmRf = function (p, options) {
- let stat;
- try {
- stat = fs.lstatSync(p);
- if (stat.isDirectory()) {
- _rmDir(p);
- }
- else {
- fs.unlinkSync(p);
- }
- }
- catch (e) {}
- };
-
- /**
- @name file#isAbsolute
- @public
- @function
- @return {Boolean/String} If it's absolute the first character is returned otherwise false
- @description Checks if a given path is absolute or relative
- @param {String} p Path to check
- */
- this.isAbsolute = function (p) {
- let match = /^[A-Za-z]+:\\|^\//.exec(p);
- if (match && match.length) {
- return match[0];
- }
- return false;
- };
-
- /**
- @name file#absolutize
- @public
- @function
- @return {String} Returns the absolute path for the given path
- @description Returns the absolute path for the given path
- @param {String} p The path to get the absolute path for
- */
- this.absolutize = function (p) {
- if (this.isAbsolute(p)) {
- return p;
- }
- else {
- return path.join(process.cwd(), p);
- }
- };
-
-})();
-
-module.exports = fileUtils;
-
diff --git a/Server/node_modules/jake/lib/utils/index.js b/Server/node_modules/jake/lib/utils/index.js
deleted file mode 100644
index 17d686b..0000000
--- a/Server/node_modules/jake/lib/utils/index.js
+++ /dev/null
@@ -1,297 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-
-let util = require('util'); // Native Node util module
-let spawn = require('child_process').spawn;
-let EventEmitter = require('events').EventEmitter;
-let logger = require('./logger');
-let file = require('./file');
-let Exec;
-
-const _UUID_CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
-
-let parseArgs = function (argumentsObj) {
- let args;
- let arg;
- let cmds;
- let callback;
- let opts = {
- interactive: false,
- printStdout: false,
- printStderr: false,
- breakOnError: true
- };
-
- args = Array.prototype.slice.call(argumentsObj);
-
- cmds = args.shift();
- // Arrayize if passed a single string command
- if (typeof cmds == 'string') {
- cmds = [cmds];
- }
- // Make a copy if it's an actual list
- else {
- cmds = cmds.slice();
- }
-
- // Get optional callback or opts
- while((arg = args.shift())) {
- if (typeof arg == 'function') {
- callback = arg;
- }
- else if (typeof arg == 'object') {
- opts = Object.assign(opts, arg);
- }
- }
-
- // Backward-compat shim
- if (typeof opts.stdout != 'undefined') {
- opts.printStdout = opts.stdout;
- delete opts.stdout;
- }
- if (typeof opts.stderr != 'undefined') {
- opts.printStderr = opts.stderr;
- delete opts.stderr;
- }
-
- return {
- cmds: cmds,
- opts: opts,
- callback: callback
- };
-};
-
-/**
- @name jake
- @namespace jake
-*/
-let utils = new (function () {
- /**
- @name jake.exec
- @static
- @function
- @description Executes shell-commands asynchronously with an optional
- final callback.
- `
- @param {String[]} cmds The list of shell-commands to execute
- @param {Object} [opts]
- @param {Boolean} [opts.printStdout=false] Print stdout from each command
- @param {Boolean} [opts.printStderr=false] Print stderr from each command
- @param {Boolean} [opts.breakOnError=true] Stop further execution on
- the first error.
- @param {Boolean} [opts.windowsVerbatimArguments=false] Don't translate
- arguments on Windows.
- @param {Function} [callback] Callback to run after executing the
- commands
-
- @example
- let cmds = [
- 'echo "showing directories"'
- , 'ls -al | grep ^d'
- , 'echo "moving up a directory"'
- , 'cd ../'
- ]
- , callback = function () {
- console.log('Finished running commands.');
- }
- jake.exec(cmds, {stdout: true}, callback);
- */
- this.exec = function (a, b, c) {
- let parsed = parseArgs(arguments);
- let cmds = parsed.cmds;
- let opts = parsed.opts;
- let callback = parsed.callback;
-
- let ex = new Exec(cmds, opts, callback);
-
- ex.addListener('error', function (msg, code) {
- if (opts.breakOnError) {
- fail(msg, code);
- }
- });
- ex.run();
-
- return ex;
- };
-
- this.createExec = function (a, b, c) {
- return new Exec(a, b, c);
- };
-
- // From Math.uuid.js, https://github.com/broofa/node-uuid
- // Robert Kieffer (robert@broofa.com), MIT license
- this.uuid = function (length, radix) {
- var chars = _UUID_CHARS
- , uuid = []
- , r
- , i;
-
- radix = radix || chars.length;
-
- if (length) {
- // Compact form
- i = -1;
- while (++i < length) {
- uuid[i] = chars[0 | Math.random()*radix];
- }
- } else {
- // rfc4122, version 4 form
-
- // rfc4122 requires these characters
- uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
- uuid[14] = '4';
-
- // Fill in random data. At i==19 set the high bits of clock sequence as
- // per rfc4122, sec. 4.1.5
- i = -1;
- while (++i < 36) {
- if (!uuid[i]) {
- r = 0 | Math.random()*16;
- uuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r];
- }
- }
- }
-
- return uuid.join('');
- };
-
-})();
-
-Exec = function () {
- let parsed = parseArgs(arguments);
- let cmds = parsed.cmds;
- let opts = parsed.opts;
- let callback = parsed.callback;
-
- this._cmds = cmds;
- this._callback = callback;
- this._config = opts;
-};
-
-util.inherits(Exec, EventEmitter);
-
-Object.assign(Exec.prototype, new (function () {
-
- let _run = function () {
- let self = this;
- let sh;
- let cmd;
- let args;
- let next = this._cmds.shift();
- let config = this._config;
- let errData = '';
- let shStdio;
- let handleStdoutData = function (data) {
- self.emit('stdout', data);
- };
- let handleStderrData = function (data) {
- let d = data.toString();
- self.emit('stderr', data);
- // Accumulate the error-data so we can use it as the
- // stack if the process exits with an error
- errData += d;
- };
-
- // Keep running as long as there are commands in the array
- if (next) {
- let spawnOpts = {};
- this.emit('cmdStart', next);
-
- // Ganking part of Node's child_process.exec to get cmdline args parsed
- if (process.platform == 'win32') {
- cmd = 'cmd';
- args = ['/c', next];
- if (config.windowsVerbatimArguments) {
- spawnOpts.windowsVerbatimArguments = true;
- }
- }
- else {
- cmd = '/bin/sh';
- args = ['-c', next];
- }
-
- if (config.interactive) {
- spawnOpts.stdio = 'inherit';
- sh = spawn(cmd, args, spawnOpts);
- }
- else {
- shStdio = [
- process.stdin
- ];
- if (config.printStdout) {
- shStdio.push(process.stdout);
- }
- else {
- shStdio.push('pipe');
- }
- if (config.printStderr) {
- shStdio.push(process.stderr);
- }
- else {
- shStdio.push('pipe');
- }
- spawnOpts.stdio = shStdio;
- sh = spawn(cmd, args, spawnOpts);
- if (!config.printStdout) {
- sh.stdout.addListener('data', handleStdoutData);
- }
- if (!config.printStderr) {
- sh.stderr.addListener('data', handleStderrData);
- }
- }
-
- // Exit, handle err or run next
- sh.on('exit', function (code) {
- let msg;
- if (code !== 0) {
- msg = errData || 'Process exited with error.';
- msg = msg.trim();
- self.emit('error', msg, code);
- }
- if (code === 0 || !config.breakOnError) {
- self.emit('cmdEnd', next);
- setTimeout(function () { _run.call(self); }, 0);
- }
- });
-
- }
- else {
- self.emit('end');
- if (typeof self._callback == 'function') {
- self._callback();
- }
- }
- };
-
- this.append = function (cmd) {
- this._cmds.push(cmd);
- };
-
- this.run = function () {
- _run.call(this);
- };
-
-})());
-
-utils.Exec = Exec;
-utils.file = file;
-utils.logger = logger;
-
-module.exports = utils;
-
diff --git a/Server/node_modules/jake/lib/utils/logger.js b/Server/node_modules/jake/lib/utils/logger.js
deleted file mode 100644
index 8f72686..0000000
--- a/Server/node_modules/jake/lib/utils/logger.js
+++ /dev/null
@@ -1,24 +0,0 @@
-let util = require('util');
-
-let logger = new (function () {
- let _output = function (type, out) {
- let quiet = typeof jake != 'undefined' && jake.program &&
- jake.program.opts && jake.program.opts.quiet;
- let msg;
- if (!quiet) {
- msg = typeof out == 'string' ? out : util.inspect(out);
- console[type](msg);
- }
- };
-
- this.log = function (out) {
- _output('log', out);
- };
-
- this.error = function (out) {
- _output('error', out);
- };
-
-})();
-
-module.exports = logger;
diff --git a/Server/node_modules/jake/package.json b/Server/node_modules/jake/package.json
deleted file mode 100644
index 89428df..0000000
--- a/Server/node_modules/jake/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "_from": "jake@^10.6.1",
- "_id": "jake@10.8.2",
- "_inBundle": false,
- "_integrity": "sha512-eLpKyrfG3mzvGE2Du8VoPbeSkRry093+tyNjdYaBbJS9v17knImYGNXQCUV0gLxQtF82m3E8iRb/wdSQZLoq7A==",
- "_location": "/jake",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "jake@^10.6.1",
- "name": "jake",
- "escapedName": "jake",
- "rawSpec": "^10.6.1",
- "saveSpec": null,
- "fetchSpec": "^10.6.1"
- },
- "_requiredBy": [
- "/ejs"
- ],
- "_resolved": "https://registry.npmjs.org/jake/-/jake-10.8.2.tgz",
- "_shasum": "ebc9de8558160a66d82d0eadc6a2e58fbc500a7b",
- "_spec": "jake@^10.6.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/ejs",
- "author": {
- "name": "Matthew Eernisse",
- "email": "mde@fleegix.org",
- "url": "http://fleegix.org"
- },
- "bin": {
- "jake": "bin/cli.js"
- },
- "bugs": {
- "url": "https://github.com/jakejs/jake/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "async": "0.9.x",
- "chalk": "^2.4.2",
- "filelist": "^1.0.1",
- "minimatch": "^3.0.4"
- },
- "deprecated": false,
- "description": "JavaScript build tool, similar to Make or Rake",
- "devDependencies": {
- "eslint": "^6.8.0",
- "mocha": "^7.1.1",
- "q": "^1.5.1"
- },
- "engines": {
- "node": "*"
- },
- "homepage": "https://github.com/jakejs/jake#readme",
- "keywords": [
- "build",
- "cli",
- "make",
- "rake"
- ],
- "license": "Apache-2.0",
- "main": "./lib/jake.js",
- "name": "jake",
- "preferGlobal": true,
- "repository": {
- "type": "git",
- "url": "git://github.com/jakejs/jake.git"
- },
- "scripts": {
- "lint": "eslint --format codeframe \"lib/**/*.js\" \"test/**/*.js\"",
- "lint:fix": "eslint --fix \"lib/**/*.js\" \"test/**/*.js\"",
- "test": "./bin/cli.js test",
- "test:ci": "npm run lint && npm run test"
- },
- "version": "10.8.2"
-}
diff --git a/Server/node_modules/jake/test/integration/concurrent.js b/Server/node_modules/jake/test/integration/concurrent.js
deleted file mode 100644
index 4ae41e8..0000000
--- a/Server/node_modules/jake/test/integration/concurrent.js
+++ /dev/null
@@ -1,42 +0,0 @@
-let assert = require('assert');
-let exec = require('child_process').execSync;
-
-suite('concurrent', function () {
-
- this.timeout(7000);
-
- test(' simple concurrent prerequisites 1', function () {
- let out = exec('./node_modules/.bin/jake -q concurrent:simple1').toString().trim()
- assert.equal('Started A\nStarted B\nFinished B\nFinished A', out);
- });
-
- test(' simple concurrent prerequisites 2', function () {
- let out = exec('./node_modules/.bin/jake -q concurrent:simple2').toString().trim()
- assert.equal('Started C\nStarted D\nFinished C\nFinished D', out);
- });
-
- test(' sequential concurrent prerequisites', function () {
- let out = exec('./node_modules/.bin/jake -q concurrent:seqconcurrent').toString().trim()
- assert.equal('Started A\nStarted B\nFinished B\nFinished A\nStarted C\nStarted D\nFinished C\nFinished D', out);
- });
-
- test(' concurrent concurrent prerequisites', function () {
- let out = exec('./node_modules/.bin/jake -q concurrent:concurrentconcurrent').toString().trim()
- assert.equal('Started A\nStarted B\nStarted C\nStarted D\nFinished B\nFinished C\nFinished A\nFinished D', out);
- });
-
- test(' concurrent prerequisites with subdependency', function () {
- let out = exec('./node_modules/.bin/jake -q concurrent:subdep').toString().trim()
- assert.equal('Started A\nFinished A\nStarted Ba\nFinished Ba', out);
- });
-
- test(' failing in concurrent prerequisites', function () {
- try {
- exec('./node_modules/.bin/jake -q concurrent:Cfail');
- }
- catch(err) {
- assert(err.message.indexOf('Command failed') > -1);
- }
- });
-
-});
diff --git a/Server/node_modules/jake/test/integration/file.js b/Server/node_modules/jake/test/integration/file.js
deleted file mode 100644
index 97ed0d6..0000000
--- a/Server/node_modules/jake/test/integration/file.js
+++ /dev/null
@@ -1,228 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-const PROJECT_DIR = process.env.PROJECT_DIR;
-
-let assert = require('assert');
-let fs = require('fs');
-let path = require('path');
-let file = require(`${PROJECT_DIR}/lib/utils/file`);
-let existsSync = fs.existsSync || path.existsSync;
-let exec = require('child_process').execSync;
-
-suite('fileUtils', function () {
-
- test('mkdirP', function () {
- let expected = [
- ['foo'],
- ['foo', 'bar'],
- ['foo', 'bar', 'baz'],
- ['foo', 'bar', 'baz', 'qux']
- ];
- file.mkdirP('foo/bar/baz/qux');
- let res = exec('find foo').toString().trim().split('\n');
- for (let i = 0, ii = res.length; i < ii; i++) {
- assert.equal(path.join.apply(path, expected[i]), res[i]);
- }
- file.rmRf('foo');
- });
-
- test('rmRf', function () {
- file.mkdirP('foo/bar/baz/qux');
- file.rmRf('foo/bar');
- let res = exec('find foo').toString().trim().split('\n');
- assert.equal(1, res.length);
- assert.equal('foo', res[0]);
- fs.rmdirSync('foo');
- });
-
- test('rmRf with symlink subdir', function () {
- file.mkdirP('foo');
- file.mkdirP('bar');
- fs.writeFileSync('foo/hello.txt', 'hello, it\'s me');
- fs.symlinkSync('../foo', 'bar/foo'); file.rmRf('bar');
-
- // Make sure the bar directory was successfully deleted
- let barDeleted = false;
- try {
- fs.statSync('bar');
- } catch(err) {
- if(err.code == 'ENOENT') {
- barDeleted = true;
- }
- }
- assert.equal(true, barDeleted);
-
- // Make sure that the file inside the linked folder wasn't deleted
- let res = fs.readdirSync('foo');
- assert.equal(1, res.length);
- assert.equal('hello.txt', res[0]);
-
- // Cleanup
- fs.unlinkSync('foo/hello.txt');
- fs.rmdirSync('foo');
- });
-
- test('rmRf with symlinked dir', function () {
- file.mkdirP('foo');
- fs.writeFileSync('foo/hello.txt', 'hello!');
- fs.symlinkSync('foo', 'bar');
- file.rmRf('bar');
-
- // Make sure the bar directory was successfully deleted
- let barDeleted = false;
- try {
- fs.statSync('bar');
- } catch(err) {
- if(err.code == 'ENOENT') {
- barDeleted = true;
- }
- }
- assert.equal(true, barDeleted);
-
- // Make sure that the file inside the linked folder wasn't deleted
- let res = fs.readdirSync('foo');
- assert.equal(1, res.length);
- assert.equal('hello.txt', res[0]);
-
- // Cleanup
- fs.unlinkSync('foo/hello.txt');
- fs.rmdirSync('foo');
- });
-
- test('cpR with same name and different directory', function () {
- file.mkdirP('foo');
- fs.writeFileSync('foo/bar.txt', 'w00t');
- file.cpR('foo', 'bar');
- assert.ok(existsSync('bar/bar.txt'));
- file.rmRf('foo');
- file.rmRf('bar');
- });
-
- test('cpR with same to and from will throw', function () {
- assert.throws(function () {
- file.cpR('foo.txt', 'foo.txt');
- });
- });
-
- test('cpR rename via copy in directory', function () {
- file.mkdirP('foo');
- fs.writeFileSync('foo/bar.txt', 'w00t');
- file.cpR('foo/bar.txt', 'foo/baz.txt');
- assert.ok(existsSync('foo/baz.txt'));
- file.rmRf('foo');
- });
-
- test('cpR rename via copy in base', function () {
- fs.writeFileSync('bar.txt', 'w00t');
- file.cpR('bar.txt', 'baz.txt');
- assert.ok(existsSync('baz.txt'));
- file.rmRf('bar.txt');
- file.rmRf('baz.txt');
- });
-
- test('cpR keeps file mode', function () {
- fs.writeFileSync('bar.txt', 'w00t', {mode: 0o750});
- fs.writeFileSync('bar1.txt', 'w00t!', {mode: 0o744});
- file.cpR('bar.txt', 'baz.txt');
- file.cpR('bar1.txt', 'baz1.txt');
-
- assert.ok(existsSync('baz.txt'));
- assert.ok(existsSync('baz1.txt'));
- let bazStat = fs.statSync('baz.txt');
- let bazStat1 = fs.statSync('baz1.txt');
- assert.equal(0o750, bazStat.mode & 0o7777);
- assert.equal(0o744, bazStat1.mode & 0o7777);
-
- file.rmRf('bar.txt');
- file.rmRf('baz.txt');
- file.rmRf('bar1.txt');
- file.rmRf('baz1.txt');
- });
-
- test('cpR keeps file mode when overwriting with preserveMode', function () {
- fs.writeFileSync('bar.txt', 'w00t', {mode: 0o755});
- fs.writeFileSync('baz.txt', 'w00t!', {mode: 0o744});
- file.cpR('bar.txt', 'baz.txt', {silent: true, preserveMode: true});
-
- assert.ok(existsSync('baz.txt'));
- let bazStat = fs.statSync('baz.txt');
- assert.equal(0o755, bazStat.mode & 0o777);
-
- file.rmRf('bar.txt');
- file.rmRf('baz.txt');
- });
-
- test('cpR does not keep file mode when overwriting', function () {
- fs.writeFileSync('bar.txt', 'w00t', {mode: 0o766});
- fs.writeFileSync('baz.txt', 'w00t!', {mode: 0o744});
- file.cpR('bar.txt', 'baz.txt');
-
- assert.ok(existsSync('baz.txt'));
- let bazStat = fs.statSync('baz.txt');
- assert.equal(0o744, bazStat.mode & 0o777);
-
- file.rmRf('bar.txt');
- file.rmRf('baz.txt');
- });
-
- test('cpR copies file mode recursively', function () {
- fs.mkdirSync('foo');
- fs.writeFileSync('foo/bar.txt', 'w00t', {mode: 0o740});
- file.cpR('foo', 'baz');
-
- assert.ok(existsSync('baz'));
- let barStat = fs.statSync('baz/bar.txt');
- assert.equal(0o740, barStat.mode & 0o777);
-
- file.rmRf('foo');
- file.rmRf('baz');
- });
-
- test('cpR keeps file mode recursively', function () {
- fs.mkdirSync('foo');
- fs.writeFileSync('foo/bar.txt', 'w00t', {mode: 0o740});
- fs.mkdirSync('baz');
- fs.mkdirSync('baz/foo');
- fs.writeFileSync('baz/foo/bar.txt', 'w00t!', {mode: 0o755});
- file.cpR('foo', 'baz', {silent: true, preserveMode: true});
-
- assert.ok(existsSync('baz'));
- let barStat = fs.statSync('baz/foo/bar.txt');
- assert.equal(0o740, barStat.mode & 0o777);
-
- file.rmRf('foo');
- file.rmRf('baz');
- });
-
- test('cpR copies directory mode recursively', function () {
- fs.mkdirSync('foo', 0o755);
- fs.mkdirSync('foo/bar', 0o700);
- file.cpR('foo', 'bar');
-
- assert.ok(existsSync('foo'));
- let fooBarStat = fs.statSync('bar/bar');
- assert.equal(0o700, fooBarStat.mode & 0o777);
-
- file.rmRf('foo');
- file.rmRf('bar');
- });
-
-});
-
-
diff --git a/Server/node_modules/jake/test/integration/file_task.js b/Server/node_modules/jake/test/integration/file_task.js
deleted file mode 100644
index b48f07e..0000000
--- a/Server/node_modules/jake/test/integration/file_task.js
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-const PROJECT_DIR = process.env.PROJECT_DIR;
-
-let assert = require('assert');
-let fs = require('fs');
-let exec = require('child_process').execSync;
-let { rmRf } = require(`${PROJECT_DIR}/lib/jake`);
-
-let cleanUpAndNext = function (callback) {
- rmRf('./foo', {
- silent: true
- });
- callback && callback();
-};
-
-suite('fileTask', function () {
- this.timeout(7000);
-
- setup(function () {
- cleanUpAndNext();
- });
-
- test('where a file-task prereq does not change with --always-make', function () {
- let out;
- out = exec('./node_modules/.bin/jake -q fileTest:foo/from-src1.txt').toString().trim();
- assert.equal('fileTest:foo/src1.txt task\nfileTest:foo/from-src1.txt task',
- out);
- out = exec('./node_modules/.bin/jake -q -B fileTest:foo/from-src1.txt').toString().trim();
- assert.equal('fileTest:foo/src1.txt task\nfileTest:foo/from-src1.txt task',
- out);
- cleanUpAndNext();
- });
-
- test('concating two files', function () {
- let out;
- out = exec('./node_modules/.bin/jake -q fileTest:foo/concat.txt').toString().trim();
- assert.equal('fileTest:foo/src1.txt task\ndefault task\nfileTest:foo/src2.txt task\n' +
- 'fileTest:foo/concat.txt task', out);
- // Check to see the two files got concat'd
- let data = fs.readFileSync(process.cwd() + '/foo/concat.txt');
- assert.equal('src1src2', data.toString());
- cleanUpAndNext();
- });
-
- test('where a file-task prereq does not change', function () {
- let out;
- out = exec('./node_modules/.bin/jake -q fileTest:foo/from-src1.txt').toString().trim();
- assert.equal('fileTest:foo/src1.txt task\nfileTest:foo/from-src1.txt task', out);
- out = exec('./node_modules/.bin/jake -q fileTest:foo/from-src1.txt').toString().trim();
- // Second time should be a no-op
- assert.equal('', out);
- cleanUpAndNext();
- });
-
- test('where a file-task prereq does change, then does not', function (next) {
- exec('mkdir -p ./foo');
- exec('touch ./foo/from-src1.txt');
- setTimeout(() => {
- fs.writeFileSync('./foo/src1.txt', '-SRC');
- // Task should run the first time
- let out;
- out = exec('./node_modules/.bin/jake -q fileTest:foo/from-src1.txt').toString().trim();
- assert.equal('fileTest:foo/from-src1.txt task', out);
- // Task should not run on subsequent invocation
- out = exec('./node_modules/.bin/jake -q fileTest:foo/from-src1.txt').toString().trim();
- assert.equal('', out);
- cleanUpAndNext(next);
- }, 1000);
- });
-
- test('a preexisting file', function () {
- let prereqData = 'howdy';
- exec('mkdir -p ./foo');
- fs.writeFileSync('foo/prereq.txt', prereqData);
- let out;
- out = exec('./node_modules/.bin/jake -q fileTest:foo/from-prereq.txt').toString().trim();
- assert.equal('fileTest:foo/from-prereq.txt task', out);
- let data = fs.readFileSync(process.cwd() + '/foo/from-prereq.txt');
- assert.equal(prereqData, data.toString());
- out = exec('./node_modules/.bin/jake -q fileTest:foo/from-prereq.txt').toString().trim();
- // Second time should be a no-op
- assert.equal('', out);
- cleanUpAndNext();
- });
-
- test('a preexisting file with --always-make flag', function () {
- let prereqData = 'howdy';
- exec('mkdir -p ./foo');
- fs.writeFileSync('foo/prereq.txt', prereqData);
- let out;
- out = exec('./node_modules/.bin/jake -q fileTest:foo/from-prereq.txt').toString().trim();
- assert.equal('fileTest:foo/from-prereq.txt task', out);
- let data = fs.readFileSync(process.cwd() + '/foo/from-prereq.txt');
- assert.equal(prereqData, data.toString());
- out = exec('./node_modules/.bin/jake -q -B fileTest:foo/from-prereq.txt').toString().trim();
- assert.equal('fileTest:foo/from-prereq.txt task', out);
- cleanUpAndNext();
- });
-
- test('nested directory-task', function () {
- exec('./node_modules/.bin/jake -q fileTest:foo/bar/baz/bamf.txt');
- let data = fs.readFileSync(process.cwd() + '/foo/bar/baz/bamf.txt');
- assert.equal('w00t', data);
- cleanUpAndNext();
- });
-
-});
-
diff --git a/Server/node_modules/jake/test/integration/helpers.js b/Server/node_modules/jake/test/integration/helpers.js
deleted file mode 100644
index 9caaa4e..0000000
--- a/Server/node_modules/jake/test/integration/helpers.js
+++ /dev/null
@@ -1,80 +0,0 @@
-var exec = require('child_process').exec;
-
-var helpers = new (function () {
- var _tests;
- var _names = [];
- var _name;
- var _callback;
- var _runner = function () {
- if ((_name = _names.shift())) {
- console.log('Running ' + _name);
- _tests[_name]();
- }
- else {
- _callback();
- }
- };
-
- this.exec = function () {
- var args = Array.prototype.slice.call(arguments);
- var arg;
- var cmd = args.shift();
- var opts = {};
- var callback;
- // Optional opts/callback or callback/opts
- while ((arg = args.shift())) {
- if (typeof arg == 'function') {
- callback = arg;
- }
- else {
- opts = arg;
- }
- }
-
- cmd += ' --trace';
- var execOpts = opts.execOpts ? opts.execOpts : {};
- exec(cmd, execOpts, function (err, stdout, stderr) {
- var out = helpers.trim(stdout);
- if (err) {
- if (opts.breakOnError === false) {
- return callback(err);
- }
- else {
- throw err;
- }
- }
- if (stderr) {
- callback(stderr);
- }
- else {
- callback(out);
- }
- });
- };
-
- this.trim = function (s) {
- var str = s || '';
- return str.replace(/^\s*|\s*$/g, '');
- };
-
- this.parse = function (s) {
- var str = s || '';
- str = helpers.trim(str);
- str = str.replace(/'/g, '"');
- return JSON.parse(str);
- };
-
- this.run = function (tests, callback) {
- _tests = tests;
- _names = Object.keys(tests);
- _callback = callback;
- _runner();
- };
-
- this.next = function () {
- _runner();
- };
-
-})();
-
-module.exports = helpers;
diff --git a/Server/node_modules/jake/test/integration/jakefile.js b/Server/node_modules/jake/test/integration/jakefile.js
deleted file mode 100644
index f3b7d1a..0000000
--- a/Server/node_modules/jake/test/integration/jakefile.js
+++ /dev/null
@@ -1,337 +0,0 @@
-let fs = require('fs');
-let Q = require('q');
-
-desc('The default t.');
-task('default', function () {
- console.log('default task');
-});
-
-desc('No action.');
-task({'noAction': ['default']});
-
-desc('No action, no prereqs.');
-task('noActionNoPrereqs');
-
-desc('Top-level zerbofrangazoomy task');
-task('zerbofrangazoomy', function () {
- console.log('Whaaaaaaaa? Ran the zerbofrangazoomy task!')
-});
-
-desc('Task that throws');
-task('throwy', function () {
- let errorListener = function (err) {
- console.log('Emitted');
- console.log(err.toString());
-
- jake.removeListener('error', errorListener);
- };
-
- jake.on('error', errorListener);
-
- throw new Error('I am bad');
-});
-
-desc('Task that rejects a Promise');
-task('promiseRejecter', function () {
- const originalOption = jake.program.opts['allow-rejection'];
-
- const errorListener = function (err) {
- console.log(err.toString());
- jake.removeListener('error', errorListener);
- jake.program.opts['allow-rejection'] = originalOption; // Restore original 'allow-rejection' option
- };
- jake.on('error', errorListener);
-
- jake.program.opts['allow-rejection'] = false; // Do not allow rejection so the rejection is passed to error handlers
-
- Promise.reject('<promise rejected on purpose>');
-});
-
-desc('Accepts args and env vars.');
-task('argsEnvVars', function () {
- let res = {
- args: arguments
- , env: {
- foo: process.env.foo
- , baz: process.env.baz
- }
- };
- console.log(JSON.stringify(res));
-});
-
-namespace('foo', function () {
- desc('The foo:bar t.');
- task('bar', function () {
- if (arguments.length) {
- console.log('foo:bar[' +
- Array.prototype.join.call(arguments, ',') +
- '] task');
- }
- else {
- console.log('foo:bar task');
- }
- });
-
- desc('The foo:baz task, calls foo:bar as a prerequisite.');
- task('baz', ['foo:bar'], function () {
- console.log('foo:baz task');
- });
-
- desc('The foo:qux task, calls foo:bar with cmdline args as a prerequisite.');
- task('qux', ['foo:bar[asdf,qwer]'], function () {
- console.log('foo:qux task');
- });
-
- desc('The foo:frang task,`invokes` foo:bar with passed args as a prerequisite.');
- task('frang', function () {
- let t = jake.Task['foo:bar'];
- // Do args pass-through
- t.invoke.apply(t, arguments);
- t.on('complete', () => {
- console.log('foo:frang task');
- });
- });
-
- desc('The foo:zerb task, `executes` foo:bar with passed args as a prerequisite.');
- task('zerb', function () {
- let t = jake.Task['foo:bar'];
- // Do args pass-through
- t.execute.apply(t, arguments);
- t.on('complete', () => {
- console.log('foo:zerb task');
- });
- });
-
- desc('The foo:zoobie task, has no prerequisites.');
- task('zoobie', function () {
- console.log('foo:zoobie task');
- });
-
- desc('The foo:voom task, run the foo:zoobie task repeatedly.');
- task('voom', function () {
- let t = jake.Task['foo:bar'];
- t.on('complete', function () {
- console.log('complete');
- });
- t.execute.apply(t);
- t.execute.apply(t);
- });
-
- desc('The foo:asdf task, has the same prereq twice.');
- task('asdf', ['foo:bar', 'foo:baz'], function () {
- console.log('foo:asdf task');
- });
-
-});
-
-namespace('bar', function () {
- desc('The bar:foo task, has no prerequisites, is async, returns Promise which resolves.');
- task('foo', async function () {
- return new Promise((resolve, reject) => {
- console.log('bar:foo task');
- resolve();
- });
- });
-
- desc('The bar:promise task has no prerequisites, is async, returns Q-based promise.');
- task('promise', function () {
- return Q()
- .then(function () {
- console.log('bar:promise task');
- return 123654;
- });
- });
-
- desc('The bar:dependOnpromise task waits for a promise based async test');
- task('dependOnpromise', ['promise'], function () {
- console.log('bar:dependOnpromise task saw value', jake.Task["bar:promise"].value);
- });
-
- desc('The bar:brokenPromise task is a failing Q-promise based async task.');
- task('brokenPromise', function () {
- return Q()
- .then(function () {
- throw new Error("nom nom nom");
- });
- });
-
- desc('The bar:bar task, has the async bar:foo task as a prerequisite.');
- task('bar', ['bar:foo'], function () {
- console.log('bar:bar task');
- });
-
-});
-
-namespace('hoge', function () {
- desc('The hoge:hoge task, has no prerequisites.');
- task('hoge', function () {
- console.log('hoge:hoge task');
- });
-
- desc('The hoge:piyo task, has no prerequisites.');
- task('piyo', function () {
- console.log('hoge:piyo task');
- });
-
- desc('The hoge:fuga task, has hoge:hoge and hoge:piyo as prerequisites.');
- task('fuga', ['hoge:hoge', 'hoge:piyo'], function () {
- console.log('hoge:fuga task');
- });
-
- desc('The hoge:charan task, has hoge:fuga as a prerequisite.');
- task('charan', ['hoge:fuga'], function () {
- console.log('hoge:charan task');
- });
-
- desc('The hoge:gero task, has hoge:fuga as a prerequisite.');
- task('gero', ['hoge:fuga'], function () {
- console.log('hoge:gero task');
- });
-
- desc('The hoge:kira task, has hoge:charan and hoge:gero as prerequisites.');
- task('kira', ['hoge:charan', 'hoge:gero'], function () {
- console.log('hoge:kira task');
- });
-
-});
-
-namespace('fileTest', function () {
- directory('foo');
-
- desc('File task, concatenating two files together');
- file('foo/concat.txt', ['fileTest:foo', 'fileTest:foo/src1.txt', 'fileTest:foo/src2.txt'], function () {
- console.log('fileTest:foo/concat.txt task');
- let data1 = fs.readFileSync('foo/src1.txt');
- let data2 = fs.readFileSync('foo/src2.txt');
- fs.writeFileSync('foo/concat.txt', data1 + data2);
- });
-
- desc('File task, async creation with writeFile');
- file('foo/src1.txt', function () {
- return new Promise(function (resolve, reject) {
- fs.writeFile('foo/src1.txt', 'src1', function (err) {
- if (err) {
- reject(err);
- }
- else {
- console.log('fileTest:foo/src1.txt task');
- resolve();
- }
- });
- });
- });
-
- desc('File task, sync creation with writeFileSync');
- file('foo/src2.txt', ['default'], function () {
- fs.writeFileSync('foo/src2.txt', 'src2');
- console.log('fileTest:foo/src2.txt task');
- });
-
- desc('File task, do not run unless the prereq file changes');
- file('foo/from-src1.txt', ['fileTest:foo', 'fileTest:foo/src1.txt'], function () {
- let data = fs.readFileSync('foo/src1.txt').toString();
- fs.writeFileSync('foo/from-src1.txt', data);
- console.log('fileTest:foo/from-src1.txt task');
- });
-
- desc('File task, run if the prereq file changes');
- task('touch-prereq', function () {
- fs.writeFileSync('foo/prereq.txt', 'UPDATED');
- })
-
- desc('File task, has a preexisting file (with no associated task) as a prereq');
- file('foo/from-prereq.txt', ['fileTest:foo', 'foo/prereq.txt'], function () {
- let data = fs.readFileSync('foo/prereq.txt');
- fs.writeFileSync('foo/from-prereq.txt', data);
- console.log('fileTest:foo/from-prereq.txt task');
- });
-
- directory('foo/bar/baz');
-
- desc('Write a file in a nested subdirectory');
- file('foo/bar/baz/bamf.txt', ['foo/bar/baz'], function () {
- fs.writeFileSync('foo/bar/baz/bamf.txt', 'w00t');
- });
-
-});
-
-task('blammo');
-// Define task
-task('voom', ['blammo'], function () {
- console.log(this.prereqs.length);
-});
-
-// Modify, add a prereq
-task('voom', ['noActionNoPrereqs']);
-
-namespace('vronk', function () {
- task('groo', function () {
- let t = jake.Task['vronk:zong'];
- t.addListener('error', function (e) {
- console.log(e.message);
- });
- t.invoke();
- });
- task('zong', function () {
- throw new Error('OMFGZONG');
- });
-});
-
-// define namespace
-namespace('one', function () {
- task('one', function () {
- console.log('one:one');
- });
-});
-
-// modify namespace (add task)
-namespace('one', function () {
- task('two', ['one:one'], function () {
- console.log('one:two');
- });
-});
-
-task('selfdepconst', [], function () {
- task('selfdep', ['selfdep'], function () {
- console.log("I made a task that depends on itself");
- });
-});
-task('selfdepdyn', function () {
- task('selfdeppar', [], {concurrency: 2}, function () {
- console.log("I will depend on myself and will fail at runtime");
- });
- task('selfdeppar', ['selfdeppar']);
- jake.Task['selfdeppar'].invoke();
-});
-
-namespace("large", function () {
- task("leaf", function () {
- console.log("large:leaf");
- });
-
- const same = [];
- for (let i = 0; i < 2000; i++) {
- same.push("leaf");
- }
-
- desc("Task with a large number of same prereqs");
- task("same", same, { concurrency: 2 }, function () {
- console.log("large:same");
- });
-
- const different = [];
- for (let i = 0; i < 2000; i++) {
- const name = "leaf-" + i;
- task(name, function () {
- if (name === "leaf-12" || name === "leaf-123") {
- console.log(name);
- }
- });
- different.push(name);
- }
-
- desc("Task with a large number of different prereqs");
- task("different", different, { concurrency: 2 } , function () {
- console.log("large:different")
- })
-});
diff --git a/Server/node_modules/jake/test/integration/jakelib/concurrent.jake.js b/Server/node_modules/jake/test/integration/jakelib/concurrent.jake.js
deleted file mode 100644
index 684c86f..0000000
--- a/Server/node_modules/jake/test/integration/jakelib/concurrent.jake.js
+++ /dev/null
@@ -1,113 +0,0 @@
-
-namespace('concurrent', function () {
- task('A', function () {
- console.log('Started A');
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- console.log('Finished A');
- resolve();
- }, 200);
- });
- });
-
- task('B', function () {
- console.log('Started B');
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- console.log('Finished B');
- resolve();
- }, 50);
- });
- });
-
- task('C', function () {
- console.log('Started C');
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- console.log('Finished C');
- resolve();
- }, 100);
- });
- });
-
- task('D', function () {
- console.log('Started D');
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- console.log('Finished D');
- resolve();
- }, 300);
- });
- });
-
- task('Ba', ['A'], function () {
- console.log('Started Ba');
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- console.log('Finished Ba');
- resolve();
- }, 50);
- });
- });
-
- task('Afail', function () {
- console.log('Started failing task');
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- console.log('Failing B with error');
- throw new Error('I failed');
- }, 50);
- });
- });
-
- task('simple1', ['A','B'], {concurrency: 2}, function () {
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- resolve();
- }, 50);
- });
- });
-
- task('simple2', ['C','D'], {concurrency: 2}, function () {
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- resolve();
- }, 50);
- });
- });
-
- task('seqconcurrent', ['simple1','simple2'], function () {
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- resolve();
- }, 50);
- });
- });
-
- task('concurrentconcurrent', ['simple1','simple2'], {concurrency: 2}, function () {
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- resolve();
- }, 50);
- });
- });
-
- task('subdep', ['A','Ba'], {concurrency: 2}, function () {
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- resolve();
- }, 50);
- });
- });
-
- task('fail', ['A', 'B', 'Afail'], {concurrency: 3}, function () {
- return new Promise((resolve, reject) => {
- setTimeout(() => {
- resolve();
- }, 50);
- });
- });
-
-});
-
-
diff --git a/Server/node_modules/jake/test/integration/jakelib/publish.jake.js b/Server/node_modules/jake/test/integration/jakelib/publish.jake.js
deleted file mode 100644
index 52dd04a..0000000
--- a/Server/node_modules/jake/test/integration/jakelib/publish.jake.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-const PROJECT_DIR = process.env.PROJECT_DIR;
-
-let fs = require('fs');
-let { publishTask, rmRf, mkdirP } = require(`${PROJECT_DIR}/lib/jake`);
-
-fs.writeFileSync('package.json', '{"version": "0.0.1"}');
-mkdirP('tmp_publish');
-fs.writeFileSync('tmp_publish/foo.txt', 'FOO');
-
-publishTask('zerb', function () {
- this.packageFiles.include([
- 'package.json'
- , 'tmp_publish/**'
- ]);
- this.publishCmd = 'node -p -e "\'%filename\'"';
- this.gitCmd = 'echo'
- this.scheduleDelay = 0;
-
- this._ensureRepoClean = function () {};
- this._getCurrentBranch = function () {
- return 'v0.0'
- };
-});
-
-jake.setTaskTimeout(5000);
-
-jake.Task['publish'].on('complete', function () {
- rmRf('tmp_publish', {silent: true});
- rmRf('package.json', {silent: true});
-});
-
diff --git a/Server/node_modules/jake/test/integration/jakelib/required_module.jake.js b/Server/node_modules/jake/test/integration/jakelib/required_module.jake.js
deleted file mode 100644
index c63751d..0000000
--- a/Server/node_modules/jake/test/integration/jakelib/required_module.jake.js
+++ /dev/null
@@ -1,10 +0,0 @@
-let { task, namespace } = require("jake");
-
-namespace('usingRequire', function () {
- task('test', () => {
- console.log('howdy test');
- });
-});
-
-
-
diff --git a/Server/node_modules/jake/test/integration/jakelib/rule.jake.js b/Server/node_modules/jake/test/integration/jakelib/rule.jake.js
deleted file mode 100644
index 8e977dd..0000000
--- a/Server/node_modules/jake/test/integration/jakelib/rule.jake.js
+++ /dev/null
@@ -1,222 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-const PROJECT_DIR = process.env.PROJECT_DIR;
-
-let exec = require('child_process').execSync;
-let fs = require('fs');
-let util = require('util');
-let { rule, rmRf } = require(`${PROJECT_DIR}/lib/jake`);
-
-directory('tmpsrc');
-directory('tmpbin');
-
-////////////////////////////////////////////////////////////
-// Simple Suffix Rule
-file('tmp', ['tmp_init', 'tmp_dep1.o', 'tmp_dep2.o'], function (params) {
- console.log('tmp task');
- let data1 = fs.readFileSync('tmp_dep1.o');
- let data2 = fs.readFileSync('tmp_dep2.o');
- fs.writeFileSync('tmp', data1 + data2);
-});
-
-rule('.o', '.c', function () {
- let cmd = util.format('cp %s %s', this.source, this.name);
- console.log(cmd + ' task');
- exec(cmd);
-});
-
-file('tmp_dep1.c', function () {
- fs.writeFileSync('tmp_dep1.c', 'src_1');
- console.log('tmp_dep1.c task');
-});
-
-// note that tmp_dep2.o depends on tmp_dep2.c, which is a
-// static file.
-task('tmp_init', function () {
- fs.writeFileSync('tmp_dep2.c', 'src_2');
- console.log('tmp_dep2.c task');
-});
-////////////////////////////////////////////////////////////
-
-////////////////////////////////////////////////////////////
-// Pattern Rule
-file('tmp_p', ['tmp_init', 'tmp_dep1.oo', 'tmp_dep2.oo'], function (params) {
- console.log('tmp pattern task');
- let data1 = fs.readFileSync('tmp_dep1.oo');
- let data2 = fs.readFileSync('tmp_dep2.oo');
- fs.writeFileSync('tmp_p', data1 + data2 + ' pattern');
-});
-
-rule('%.oo', '%.c', function () {
- let cmd = util.format('cp %s %s', this.source, this.name);
- console.log(cmd + ' task');
- exec(cmd);
-});
-////////////////////////////////////////////////////////////
-
-////////////////////////////////////////////////////////////
-// Pattern Rule with Folder
-// i.e. rule('tmpbin/%.oo', 'tmpsrc/%.c', ...
-file('tmp_pf', [
- 'tmp_src_init'
- , 'tmpbin'
- , 'tmpbin/tmp_dep1.oo'
- , 'tmpbin/tmp_dep2.oo' ], function (params) {
- console.log('tmp pattern folder task');
- let data1 = fs.readFileSync('tmpbin/tmp_dep1.oo');
- let data2 = fs.readFileSync('tmpbin/tmp_dep2.oo');
- fs.writeFileSync('tmp_pf', data1 + data2 + ' pattern folder');
-});
-
-rule('tmpbin/%.oo', 'tmpsrc/%.c', function () {
- let cmd = util.format('cp %s %s', this.source, this.name);
- console.log(cmd + ' task');
- exec(cmd);
-});
-
-file('tmpsrc/tmp_dep2.c',['tmpsrc'], function () {
- fs.writeFileSync('tmpsrc/tmp_dep2.c', 'src/src_2');
- console.log('tmpsrc/tmp_dep2.c task');
-});
-
-// Create static files in folder tmpsrc.
-task('tmp_src_init', ['tmpsrc'], function () {
- fs.writeFileSync('tmpsrc/tmp_dep1.c', 'src/src_1');
- console.log('tmpsrc/tmp_dep1.c task');
-});
-////////////////////////////////////////////////////////////
-
-
-////////////////////////////////////////////////////////////
-// Namespace Test. This is a Mixed Test.
-// Test for
-// - rules belonging to different namespace.
-// - rules with folder and pattern
-task('tmp_ns', [
- 'tmpbin'
- , 'rule:init'
- , 'tmpbin/tmp_dep2.oo' // *** This relies on a rule defined before.
- , 'rule:tmpbin/dep1.oo'
- , 'rule:tmpbin/file2.oo' ], function () {
- console.log('tmp pattern folder namespace task');
- let data1 = fs.readFileSync('tmpbin/dep1.oo');
- let data2 = fs.readFileSync('tmpbin/tmp_dep2.oo');
- let data3 = fs.readFileSync('tmpbin/file2.oo');
- fs.writeFileSync('tmp_ns', data1 + data2 + data3 + ' pattern folder namespace');
-});
-
-namespace('rule', function () {
- task('init', ['tmpsrc'], function () {
- fs.writeFileSync('tmpsrc/file2.c', 'src/src_3');
- console.log('tmpsrc/file2.c init task');
- });
-
- file('tmpsrc/dep1.c',['tmpsrc'], function () {
- fs.writeFileSync('tmpsrc/dep1.c', 'src/src_1');
- console.log('tmpsrc/dep1.c task');
- }, {async: true});
-
- rule('tmpbin/%.oo', 'tmpsrc/%.c', function () {
- let cmd = util.format('cp %s %s', this.source, this.name);
- console.log(cmd + ' ns task');
- exec(cmd);
- });
-});
-////////////////////////////////////////////////////////////
-
-////////////////////////////////////////////////////////////
-// Chain rule
-// rule('tmpbin/%.pdf', 'tmpbin/%.dvi', function() { ...
-// rule('tmpbin/%.dvi', 'tmpsrc/%.tex', ['tmpbin'], function() { ...
-task('tmp_cr', [
- 'chainrule:init'
- , 'chainrule:tmpbin/file1.pdf'
- , 'chainrule:tmpbin/file2.pdf' ], function () {
- console.log('tmp chainrule namespace task');
- let data1 = fs.readFileSync('tmpbin/file1.pdf');
- let data2 = fs.readFileSync('tmpbin/file2.pdf');
- fs.writeFileSync('tmp_cr', data1 + data2 + ' chainrule namespace');
-});
-
-namespace('chainrule', function () {
- task('init', ['tmpsrc', 'tmpbin'], function () {
- fs.writeFileSync('tmpsrc/file1.tex', 'tex1 ');
- fs.writeFileSync('tmpsrc/file2.tex', 'tex2 ');
- console.log('chainrule init task');
- });
-
- rule('tmpbin/%.pdf', 'tmpbin/%.dvi', function () {
- let cmd = util.format('cp %s %s', this.source, this.name);
- console.log(cmd + ' dvi->pdf task');
- exec(cmd);
- });
-
- rule('tmpbin/%.dvi', 'tmpsrc/%.tex', ['tmpbin'], function () {
- let cmd = util.format('cp %s %s', this.source, this.name);
- console.log(cmd + ' tex->dvi task');
- exec(cmd);
- });
-});
-////////////////////////////////////////////////////////////
-namespace('precedence', function () {
- task('test', ['foo.html'], function () {
- console.log('ran test');
- });
-
- rule('.html', '.txt', function () {
- console.log('created html');
- let data = fs.readFileSync(this.source);
- fs.writeFileSync(this.name, data.toString());
- });
-});
-
-namespace('regexPattern', function () {
- task('test', ['foo.html'], function () {
- console.log('ran test');
- });
-
- rule(/\.html$/, '.txt', function () {
- console.log('created html');
- let data = fs.readFileSync(this.source);
- fs.writeFileSync(this.name, data.toString());
- });
-});
-
-namespace('sourceFunction', function () {
-
- let srcFunc = function (taskName) {
- return taskName.replace(/\.[^.]+$/, '.txt');
- };
-
- task('test', ['foo.html'], function () {
- console.log('ran test');
- });
-
- rule('.html', srcFunc, function () {
- console.log('created html');
- let data = fs.readFileSync(this.source);
- fs.writeFileSync(this.name, data.toString());
- });
-});
-
-////////////////////////////////////////////////////////////
-task('clean', function () {
- rmRf('./foo');
- rmRf('./tmp');
-});
diff --git a/Server/node_modules/jake/test/integration/publish_task.js b/Server/node_modules/jake/test/integration/publish_task.js
deleted file mode 100644
index 034fd94..0000000
--- a/Server/node_modules/jake/test/integration/publish_task.js
+++ /dev/null
@@ -1,24 +0,0 @@
-let assert = require('assert');
-let exec = require('child_process').execSync;
-
-suite('publishTask', function () {
-
- this.timeout(7000);
-
- test('default task', function () {
- let out = exec('./node_modules/.bin/jake -q publish').toString().trim();
- let expected = [
- 'Fetched remote tags.'
- , 'On branch v0.0'
- , 'Bumped version number to v0.0.2.'
- , 'Created package for zerb v0.0.2'
- , 'Publishing zerb v0.0.2'
- , './pkg/zerb-v0.0.2.tar.gz'
- , 'BOOM! Published.'
- , 'Cleaned up package'
- ].join('\n');
- assert.equal(expected, out);
- });
-
-});
-
diff --git a/Server/node_modules/jake/test/integration/rule.js b/Server/node_modules/jake/test/integration/rule.js
deleted file mode 100644
index b837b1d..0000000
--- a/Server/node_modules/jake/test/integration/rule.js
+++ /dev/null
@@ -1,216 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-const PROJECT_DIR = process.env.PROJECT_DIR;
-
-let assert = require('assert');
-let exec = require('child_process').execSync;
-let fs = require('fs');
-let { Rule } = require(`${PROJECT_DIR}/lib/rule`);
-let { rmRf } = require(`${PROJECT_DIR}/lib/jake`);
-
-let cleanUpAndNext = function (callback) {
- // Gotta add globbing to file utils rmRf
- let tmpFiles = [
- 'tmp'
- , 'tmp_ns'
- , 'tmp_cr'
- , 'tmp_p'
- , 'tmp_pf'
- , 'tmpbin'
- , 'tmpsrc'
- , 'tmp_dep1.c'
- , 'tmp_dep1.o'
- , 'tmp_dep1.oo'
- , 'tmp_dep2.c'
- , 'tmp_dep2.o'
- , 'tmp_dep2.oo'
- , 'foo'
- , 'foo.html'
- ];
- tmpFiles.forEach(function (f) {
- rmRf(f, {
- silent: true
- });
- });
- callback && callback();
-};
-
-suite('rule', function () {
-
- this.timeout(7000);
-
- setup(function (next) {
- cleanUpAndNext(next);
- });
-
-
- // - name foo:bin/main.o
- // - pattern bin/%.o
- // - source src/%.c
- //
- // return {
- // 'dep' : 'foo:src/main.c',
- // 'file': 'src/main.c'
- // };
- test('Rule.getSource', function () {
- let src = Rule.getSource('foo:bin/main.o', 'bin/%.o', 'src/%.c');
- assert.equal('foo:src/main.c', src);
- });
-
- test('rule w/o pattern', function () {
- let out = exec( './node_modules/.bin/jake -q tmp').toString().trim();
- let output = [
- "tmp_dep2.c task"
- , "tmp_dep1.c task"
- , "cp tmp_dep1.c tmp_dep1.o task"
- , "cp tmp_dep2.c tmp_dep2.o task"
- , "tmp task"];
- assert.equal( output.join('\n'), out);
- let data = fs.readFileSync(process.cwd() + '/tmp');
- assert.equal('src_1src_2', data.toString());
- cleanUpAndNext();
- });
-
- test('rule w pattern w/o folder w/o namespace', function () {
- let out = exec( './node_modules/.bin/jake -q tmp_p').toString().trim();
- let output = [
- "tmp_dep2.c task"
- , "tmp_dep1.c task"
- , "cp tmp_dep1.c tmp_dep1.oo task"
- , "cp tmp_dep2.c tmp_dep2.oo task"
- , "tmp pattern task"];
- let data;
- assert.equal( output.join('\n'), out);
- data = fs.readFileSync(process.cwd() + '/tmp_p');
- assert.equal('src_1src_2 pattern', data.toString());
- cleanUpAndNext();
- });
-
- test('rule w pattern w folder w/o namespace', function () {
- let out = exec( './node_modules/.bin/jake -q tmp_pf').toString().trim();
- let output = [
- "tmpsrc/tmp_dep1.c task"
- , "cp tmpsrc/tmp_dep1.c tmpbin/tmp_dep1.oo task"
- , "tmpsrc/tmp_dep2.c task"
- , "cp tmpsrc/tmp_dep2.c tmpbin/tmp_dep2.oo task"
- , "tmp pattern folder task"];
- let data;
- assert.equal( output.join('\n'), out);
- data = fs.readFileSync(process.cwd() + '/tmp_pf');
- assert.equal('src/src_1src/src_2 pattern folder', data.toString());
- cleanUpAndNext();
- });
-
- test.skip('rule w pattern w folder w namespace', function () {
- let out = exec( './node_modules/.bin/jake -q tmp_ns').toString().trim();
- let output = [
- "tmpsrc/file2.c init task" // yes
- , "tmpsrc/tmp_dep2.c task" // no
- , "cp tmpsrc/tmp_dep2.c tmpbin/tmp_dep2.oo task" // no
- , "tmpsrc/dep1.c task" // no
- , "cp tmpsrc/dep1.c tmpbin/dep1.oo ns task" // no
- , "cp tmpsrc/file2.c tmpbin/file2.oo ns task" // yes
- , "tmp pattern folder namespace task"]; // yes
- let data;
- assert.equal( output.join('\n'), out);
- data = fs.readFileSync(process.cwd() + '/tmp_ns');
- assert.equal('src/src_1src/src_2src/src_3 pattern folder namespace', data.toString());
- cleanUpAndNext();
- });
-
- test.skip('rule w chain w pattern w folder w namespace', function () {
- let out = exec( './node_modules/.bin/jake -q tmp_cr').toString().trim();
- let output = [
- "chainrule init task"
- , "cp tmpsrc/file1.tex tmpbin/file1.dvi tex->dvi task"
- , "cp tmpbin/file1.dvi tmpbin/file1.pdf dvi->pdf task"
- , "cp tmpsrc/file2.tex tmpbin/file2.dvi tex->dvi task"
- , "cp tmpbin/file2.dvi tmpbin/file2.pdf dvi->pdf task"
- , "tmp chainrule namespace task"];
- let data;
- assert.equal( output.join('\n'), out);
- data = fs.readFileSync(process.cwd() + '/tmp_cr');
- assert.equal('tex1 tex2 chainrule namespace', data.toString());
- cleanUpAndNext();
- });
-
-
- ['precedence', 'regexPattern', 'sourceFunction'].forEach(function (key) {
-
- test('rule with source file not created yet (' + key + ')', function () {
- let write = process.stderr.write;
- process.stderr.write = () => {};
- rmRf('foo.txt', {silent: true});
- rmRf('foo.html', {silent: true});
- try {
- exec('./node_modules/.bin/jake ' + key + ':test');
- }
- catch(err) {
- // foo.txt prereq doesn't exist yet
- assert.ok(err.message.indexOf('Unknown task "foo.html"') > -1);
- }
- process.stderr.write = write;
- });
-
- test('rule with source file now created (' + key + ')', function () {
- fs.writeFileSync('foo.txt', '');
- let out = exec('./node_modules/.bin/jake -q ' + key + ':test').toString().trim();
- // Should run prereq and test task
- let output = [
- 'created html'
- , 'ran test'
- ];
- assert.equal(output.join('\n'), out);
- });
-
- test('rule with source file modified (' + key + ')', function (next) {
- setTimeout(function () {
- fs.writeFileSync('foo.txt', '');
- let out = exec('./node_modules/.bin/jake -q ' + key + ':test').toString().trim();
- // Should again run both prereq and test task
- let output = [
- 'created html'
- , 'ran test'
- ];
- assert.equal(output.join('\n'), out);
- //next();
- cleanUpAndNext(next);
- }, 1000); // Wait to do the touch to ensure mod-time is different
- });
-
- test('rule with existing objective file and no source ' +
- ' (should be normal file-task) (' + key + ')', function () {
- // Remove just the source file
- fs.writeFileSync('foo.html', '');
- rmRf('foo.txt', {silent: true});
- let out = exec('./node_modules/.bin/jake -q ' + key + ':test').toString().trim();
- // Should treat existing objective file as plain file-task,
- // and just run test-task
- let output = [
- 'ran test'
- ];
- assert.equal(output.join('\n'), out);
- cleanUpAndNext();
- });
-
- });
-
-});
-
-
diff --git a/Server/node_modules/jake/test/integration/selfdep.js b/Server/node_modules/jake/test/integration/selfdep.js
deleted file mode 100644
index 22d58d1..0000000
--- a/Server/node_modules/jake/test/integration/selfdep.js
+++ /dev/null
@@ -1,39 +0,0 @@
-let assert = require('assert');
-let exec = require('child_process').execSync;
-
-suite('selfDep', function () {
-
- this.timeout(7000);
-
- let origStderrWrite;
-
- setup(function () {
- origStderrWrite = process.stderr.write;
- process.stderr.write = function () {};
- });
-
- teardown(function () {
- process.stderr.write = origStderrWrite;
- });
-
- test('self dep const', function () {
- try {
- exec('./node_modules/.bin/jake selfdepconst');
- }
- catch(e) {
- assert(e.message.indexOf('dependency of itself') > -1)
- }
- });
-
- test('self dep dyn', function () {
- try {
- exec('./node_modules/.bin/jake selfdepdyn');
- }
- catch(e) {
- assert(e.message.indexOf('dependency of itself') > -1)
- }
- });
-
-});
-
-
diff --git a/Server/node_modules/jake/test/integration/task_base.js b/Server/node_modules/jake/test/integration/task_base.js
deleted file mode 100644
index 36e20e8..0000000
--- a/Server/node_modules/jake/test/integration/task_base.js
+++ /dev/null
@@ -1,164 +0,0 @@
-let assert = require('assert');
-let h = require('./helpers');
-let exec = require('child_process').execSync;
-
-suite('taskBase', function () {
-
- this.timeout(7000);
-
- test('default task', function () {
- let out;
- out = exec('./node_modules/.bin/jake -q').toString().trim();
- assert.equal(out, 'default task');
- out = exec('./node_modules/.bin/jake -q default').toString().trim();
- assert.equal(out, 'default task');
- });
-
- test('task with no action', function () {
- let out = exec('./node_modules/.bin/jake -q noAction').toString().trim();
- assert.equal(out, 'default task');
- });
-
- test('a task with no action and no prereqs', function () {
- exec('./node_modules/.bin/jake noActionNoPrereqs');
- });
-
- test('a task that exists at the top-level, and not in the specified namespace, should error', function () {
- let res = require('child_process').spawnSync('./node_modules/.bin/jake',
- ['asdfasdfasdf:zerbofrangazoomy']);
- let err = res.stderr.toString();
- assert.ok(err.indexOf('Unknown task' > -1));
- });
-
- test('passing args to a task', function () {
- let out = exec('./node_modules/.bin/jake -q argsEnvVars[foo,bar]').toString().trim();
- let parsed = h.parse(out);
- let args = parsed.args;
- assert.equal(args[0], 'foo');
- assert.equal(args[1], 'bar');
- });
-
- test('a task with environment vars', function () {
- let out = exec('./node_modules/.bin/jake -q argsEnvVars foo=bar baz=qux').toString().trim();
- let parsed = h.parse(out);
- let env = parsed.env;
- assert.equal(env.foo, 'bar');
- assert.equal(env.baz, 'qux');
- });
-
- test('passing args and using environment vars', function () {
- let out = exec('./node_modules/.bin/jake -q argsEnvVars[foo,bar] foo=bar baz=qux').toString().trim();
- let parsed = h.parse(out);
- let args = parsed.args;
- let env = parsed.env;
- assert.equal(args[0], 'foo');
- assert.equal(args[1], 'bar');
- assert.equal(env.foo, 'bar');
- assert.equal(env.baz, 'qux');
- });
-
- test('a simple prereq', function () {
- let out = exec('./node_modules/.bin/jake -q foo:baz').toString().trim();
- assert.equal(out, 'foo:bar task\nfoo:baz task');
- });
-
- test('a duplicate prereq only runs once', function () {
- let out = exec('./node_modules/.bin/jake -q foo:asdf').toString().trim();
- assert.equal(out, 'foo:bar task\nfoo:baz task\nfoo:asdf task');
- });
-
- test('a prereq with command-line args', function () {
- let out = exec('./node_modules/.bin/jake -q foo:qux').toString().trim();
- assert.equal(out, 'foo:bar[asdf,qwer] task\nfoo:qux task');
- });
-
- test('a prereq with args via invoke', function () {
- let out = exec('./node_modules/.bin/jake -q foo:frang[zxcv,uiop]').toString().trim();
- assert.equal(out, 'foo:bar[zxcv,uiop] task\nfoo:frang task');
- });
-
- test('a prereq with args via execute', function () {
- let out = exec('./node_modules/.bin/jake -q foo:zerb[zxcv,uiop]').toString().trim();
- assert.equal(out, 'foo:bar[zxcv,uiop] task\nfoo:zerb task');
- });
-
- test('repeating the task via execute', function () {
- let out = exec('./node_modules/.bin/jake -q foo:voom').toString().trim();
- assert.equal(out, 'foo:bar task\nfoo:bar task\ncomplete\ncomplete');
- });
-
- test('prereq execution-order', function () {
- let out = exec('./node_modules/.bin/jake -q hoge:fuga').toString().trim();
- assert.equal(out, 'hoge:hoge task\nhoge:piyo task\nhoge:fuga task');
- });
-
- test('basic async task', function () {
- let out = exec('./node_modules/.bin/jake -q bar:bar').toString().trim();
- assert.equal(out, 'bar:foo task\nbar:bar task');
- });
-
- test('promise async task', function () {
- let out = exec('./node_modules/.bin/jake -q bar:dependOnpromise').toString().trim();
- assert.equal(out, 'bar:promise task\nbar:dependOnpromise task saw value 123654');
- });
-
- test('failing promise async task', function () {
- try {
- exec('./node_modules/.bin/jake -q bar:brokenPromise');
- }
- catch(e) {
- assert(e.message.indexOf('Command failed') > -1);
- }
- });
-
- test('that current-prereq index gets reset', function () {
- let out = exec('./node_modules/.bin/jake -q hoge:kira').toString().trim();
- assert.equal(out, 'hoge:hoge task\nhoge:piyo task\nhoge:fuga task\n' +
- 'hoge:charan task\nhoge:gero task\nhoge:kira task');
- });
-
- test('modifying a task by adding prereq during execution', function () {
- let out = exec('./node_modules/.bin/jake -q voom').toString().trim();
- assert.equal(out, 2);
- });
-
- test('listening for task error-event', function () {
- try {
- exec('./node_modules/.bin/jake -q vronk:groo').toString().trim();
- }
- catch(e) {
- assert(e.message.indexOf('OMFGZONG') > -1);
- }
- });
-
- test('listening for jake error-event', function () {
- let out = exec('./node_modules/.bin/jake -q throwy').toString().trim();
- assert(out.indexOf('Emitted\nError: I am bad') > -1);
- });
-
- test('listening for jake unhandledRejection-event', function () {
- let out = exec('./node_modules/.bin/jake -q promiseRejecter').toString().trim();
- assert.equal(out, '<promise rejected on purpose>');
- });
-
- test('large number of same prereqs', function () {
- let out = exec('./node_modules/.bin/jake -q large:same').toString().trim();
- assert.equal(out, 'large:leaf\nlarge:same');
- });
-
- test('large number of different prereqs', function () {
- let out = exec('./node_modules/.bin/jake -q large:different').toString().trim();
- assert.equal(out, 'leaf-12\nleaf-123\nlarge:different');
- });
-
- test('large number of different prereqs', function () {
- let out = exec('./node_modules/.bin/jake -q usingRequire:test').toString().trim();
- assert.equal(out, 'howdy test');
- });
-
- test('modifying a namespace by adding a new task', function () {
- let out = exec('./node_modules/.bin/jake -q one:two').toString().trim();
- assert.equal('one:one\none:two', out);
- });
-
-});
diff --git a/Server/node_modules/jake/test/unit/jakefile.js b/Server/node_modules/jake/test/unit/jakefile.js
deleted file mode 100644
index 89ff523..0000000
--- a/Server/node_modules/jake/test/unit/jakefile.js
+++ /dev/null
@@ -1,36 +0,0 @@
-
-task('foo', function () {
- console.log('ran top-level foo');
-});
-
-task('bar', function () {
- console.log('ran top-level bar');
-});
-
-task('zerb', function () {
- console.log('ran zerb');
-});
-
-namespace('zooby', function () {
- task('zerp', function () {});
-
- task('derp', ['zerp'], function () {});
-
- namespace('frang', function () {
-
- namespace('w00t', function () {
- task('bar', function () {
- console.log('ran zooby:frang:w00t:bar');
- });
- });
-
- task('asdf', function () {});
- });
-
-});
-
-namespace('hurr', function () {
- namespace('durr');
-});
-
-
diff --git a/Server/node_modules/jake/test/unit/namespace.js b/Server/node_modules/jake/test/unit/namespace.js
deleted file mode 100644
index c6b3ff5..0000000
--- a/Server/node_modules/jake/test/unit/namespace.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-const PROJECT_DIR = process.env.PROJECT_DIR;
-
-// Load the jake global
-require(`${PROJECT_DIR}/lib/jake`);
-let { Namespace } = require(`${PROJECT_DIR}/lib/namespace`);
-
-require('./jakefile');
-
-let assert = require('assert');
-
-suite('namespace', function () {
-
- this.timeout(7000);
-
- test('resolve namespace by relative name', function () {
- let aaa, bbb, ccc;
- aaa = namespace('aaa', function () {
- bbb = namespace('bbb', function () {
- ccc = namespace('ccc', function () {
- });
- });
- });
-
- assert.ok(aaa, Namespace.ROOT_NAMESPACE.resolveNamespace('aaa'));
- assert.ok(bbb === aaa.resolveNamespace('bbb'));
- assert.ok(ccc === aaa.resolveNamespace('bbb:ccc'));
- });
-
- test('resolve task in sub-namespace by relative path', function () {
- let curr = Namespace.ROOT_NAMESPACE.resolveNamespace('zooby');
- let task = curr.resolveTask('frang:w00t:bar');
- assert.ok(task.action.toString().indexOf('zooby:frang:w00t:bar') > -1);
- });
-
- test('prefer local to top-level', function () {
- let curr = Namespace.ROOT_NAMESPACE.resolveNamespace('zooby:frang:w00t');
- let task = curr.resolveTask('bar');
- assert.ok(task.action.toString().indexOf('zooby:frang:w00t:bar') > -1);
- });
-
- test('does resolve top-level', function () {
- let curr = Namespace.ROOT_NAMESPACE.resolveNamespace('zooby:frang:w00t');
- let task = curr.resolveTask('foo');
- assert.ok(task.action.toString().indexOf('top-level foo') > -1);
- });
-
- test('absolute lookup works from sub-namespaces', function () {
- let curr = Namespace.ROOT_NAMESPACE.resolveNamespace('hurr:durr');
- let task = curr.resolveTask('zooby:frang:w00t:bar');
- assert.ok(task.action.toString().indexOf('zooby:frang:w00t:bar') > -1);
- });
-
- test('resolution miss with throw error', function () {
- let curr = Namespace.ROOT_NAMESPACE;
- let task = curr.resolveTask('asdf:qwer');
- assert.ok(!task);
- });
-
-});
diff --git a/Server/node_modules/jake/test/unit/parseargs.js b/Server/node_modules/jake/test/unit/parseargs.js
deleted file mode 100644
index 7a3ddd5..0000000
--- a/Server/node_modules/jake/test/unit/parseargs.js
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * Jake JavaScript build tool
- * Copyright 2112 Matthew Eernisse (mde@fleegix.org)
- *
- * 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.
- *
-*/
-
-const PROJECT_DIR = process.env.PROJECT_DIR;
-
-let parseargs = require(`${PROJECT_DIR}/lib/parseargs`);
-let assert = require('assert');
-let optsReg = [
- { full: 'directory',
- abbr: 'C',
- preempts: false,
- expectValue: true
- },
- { full: 'jakefile',
- abbr: 'f',
- preempts: false,
- expectValue: true
- },
- { full: 'tasks',
- abbr: 'T',
- preempts: true
- },
- { full: 'tasks',
- abbr: 'ls',
- preempts: true
- },
- { full: 'trace',
- abbr: 't',
- preempts: false,
- expectValue: false
- },
- { full: 'help',
- abbr: 'h',
- preempts: true
- },
- { full: 'version',
- abbr: 'V',
- preempts: true
- }
-];
-let p = new parseargs.Parser(optsReg);
-let z = function (s) { return s.split(' '); };
-let res;
-
-suite('parseargs', function () {
-
- test('long preemptive opt and val with equal-sign, ignore further opts', function () {
- res = p.parse(z('--tasks=foo --jakefile=asdf'));
- assert.equal('foo', res.opts.tasks);
- assert.equal(undefined, res.opts.jakefile);
- });
-
- test('long preemptive opt and val without equal-sign, ignore further opts', function () {
- res = p.parse(z('--tasks foo --jakefile=asdf'));
- assert.equal('foo', res.opts.tasks);
- assert.equal(undefined, res.opts.jakefile);
- });
-
- test('long preemptive opt and no val, ignore further opts', function () {
- res = p.parse(z('--tasks --jakefile=asdf'));
- assert.equal(true, res.opts.tasks);
- assert.equal(undefined, res.opts.jakefile);
- });
-
- test('preemptive opt with no val, should be true', function () {
- res = p.parse(z('-T'));
- assert.equal(true, res.opts.tasks);
- });
-
- test('preemptive opt with no val, should be true and ignore further opts', function () {
- res = p.parse(z('-T -f'));
- assert.equal(true, res.opts.tasks);
- assert.equal(undefined, res.opts.jakefile);
- });
-
- test('preemptive opt with val, should be val', function () {
- res = p.parse(z('-T zoobie -f foo/bar/baz'));
- assert.equal('zoobie', res.opts.tasks);
- assert.equal(undefined, res.opts.jakefile);
- });
-
- test('-f expects a value, -t does not (howdy is task-name)', function () {
- res = p.parse(z('-f zoobie -t howdy'));
- assert.equal('zoobie', res.opts.jakefile);
- assert.equal(true, res.opts.trace);
- assert.equal('howdy', res.taskNames[0]);
- });
-
- test('different order, -f expects a value, -t does not (howdy is task-name)', function () {
- res = p.parse(z('-f zoobie howdy -t'));
- assert.equal('zoobie', res.opts.jakefile);
- assert.equal(true, res.opts.trace);
- assert.equal('howdy', res.taskNames[0]);
- });
-
- test('-f expects a value, -t does not (foo=bar is env var)', function () {
- res = p.parse(z('-f zoobie -t foo=bar'));
- assert.equal('zoobie', res.opts.jakefile);
- assert.equal(true, res.opts.trace);
- assert.equal('bar', res.envVars.foo);
- assert.equal(undefined, res.taskNames[0]);
- });
-
- test('-f expects a value, -t does not (foo=bar is env-var, task-name follows)', function () {
- res = p.parse(z('-f zoobie -t howdy foo=bar'));
- assert.equal('zoobie', res.opts.jakefile);
- assert.equal(true, res.opts.trace);
- assert.equal('bar', res.envVars.foo);
- assert.equal('howdy', res.taskNames[0]);
- });
-
- test('-t does not expect a value, -f does (howdy is task-name)', function () {
- res = p.parse(z('-t howdy -f zoobie'));
- assert.equal(true, res.opts.trace);
- assert.equal('zoobie', res.opts.jakefile);
- assert.equal('howdy', res.taskNames[0]);
- });
-
- test('--trace does not expect a value, -f does (howdy is task-name)', function () {
- res = p.parse(z('--trace howdy --jakefile zoobie'));
- assert.equal(true, res.opts.trace);
- assert.equal('zoobie', res.opts.jakefile);
- assert.equal('howdy', res.taskNames[0]);
- });
-
- test('--trace does not expect a value (equal), -f does (throw howdy away)', function () {
- res = p.parse(z('--trace=howdy --jakefile=zoobie'));
- assert.equal(true, res.opts.trace);
- assert.equal('zoobie', res.opts.jakefile);
- assert.equal(undefined, res.taskNames[0]);
- });
-
- /*
-, test('task-name with positional args', function () {
- res = p.parse(z('foo:bar[asdf,qwer]'));
- assert.equal('asdf', p.taskArgs[0]);
- assert.equal('qwer', p.taskArgs[1]);
- }
-
-, test('opts, env vars, task-name with positional args', function () {
- res = p.parse(z('-f ./tests/Jakefile -t default[asdf,qwer] foo=bar'));
- assert.equal('./tests/Jakefile', res.opts.jakefile);
- assert.equal(true, res.opts.trace);
- assert.equal('bar', res.envVars.foo);
- assert.equal('default', res.taskName);
- assert.equal('asdf', p.taskArgs[0]);
- assert.equal('qwer', p.taskArgs[1]);
- }
-*/
-
-
-});
-
-
diff --git a/Server/node_modules/jake/usage.txt b/Server/node_modules/jake/usage.txt
deleted file mode 100644
index 392b6d8..0000000
--- a/Server/node_modules/jake/usage.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-Jake JavaScript build tool
-********************************************************************************
-If no flags are given, Jake looks for a Jakefile or Jakefile.js in the current directory.
-********************************************************************************
-{Usage}: jake [options ...] [env variables ...] target
-
-{Options}:
- -f, --jakefile FILE Use FILE as the Jakefile.
- -C, --directory DIRECTORY Change to DIRECTORY before running tasks.
- -B, --always-make Unconditionally make all targets.
- -T/ls, --tasks Display the tasks (matching optional PATTERN) with descriptions, then exit.
- -J, --jakelibdir JAKELIBDIR Auto-import any .jake files in JAKELIBDIR. (default is \'jakelib\')
- -h, --help Display this help message.
- -V/v, --version Display the Jake version.
- -ar, --allow-rejection Keep running even after unhandled promise rejection
-
diff --git a/Server/node_modules/media-typer/HISTORY.md b/Server/node_modules/media-typer/HISTORY.md
deleted file mode 100644
index 62c2003..0000000
--- a/Server/node_modules/media-typer/HISTORY.md
+++ /dev/null
@@ -1,22 +0,0 @@
-0.3.0 / 2014-09-07
-==================
-
- * Support Node.js 0.6
- * Throw error when parameter format invalid on parse
-
-0.2.0 / 2014-06-18
-==================
-
- * Add `typer.format()` to format media types
-
-0.1.0 / 2014-06-17
-==================
-
- * Accept `req` as argument to `parse`
- * Accept `res` as argument to `parse`
- * Parse media type with extra LWS between type and first parameter
-
-0.0.0 / 2014-06-13
-==================
-
- * Initial implementation
diff --git a/Server/node_modules/media-typer/LICENSE b/Server/node_modules/media-typer/LICENSE
deleted file mode 100644
index b7dce6c..0000000
--- a/Server/node_modules/media-typer/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/media-typer/README.md b/Server/node_modules/media-typer/README.md
deleted file mode 100644
index d8df623..0000000
--- a/Server/node_modules/media-typer/README.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# media-typer
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Simple RFC 6838 media type parser
-
-## Installation
-
-```sh
-$ npm install media-typer
-```
-
-## API
-
-```js
-var typer = require('media-typer')
-```
-
-### typer.parse(string)
-
-```js
-var obj = typer.parse('image/svg+xml; charset=utf-8')
-```
-
-Parse a media type string. This will return an object with the following
-properties (examples are shown for the string `'image/svg+xml; charset=utf-8'`):
-
- - `type`: The type of the media type (always lower case). Example: `'image'`
-
- - `subtype`: The subtype of the media type (always lower case). Example: `'svg'`
-
- - `suffix`: The suffix of the media type (always lower case). Example: `'xml'`
-
- - `parameters`: An object of the parameters in the media type (name of parameter always lower case). Example: `{charset: 'utf-8'}`
-
-### typer.parse(req)
-
-```js
-var obj = typer.parse(req)
-```
-
-Parse the `content-type` header from the given `req`. Short-cut for
-`typer.parse(req.headers['content-type'])`.
-
-### typer.parse(res)
-
-```js
-var obj = typer.parse(res)
-```
-
-Parse the `content-type` header set on the given `res`. Short-cut for
-`typer.parse(res.getHeader('content-type'))`.
-
-### typer.format(obj)
-
-```js
-var obj = typer.format({type: 'image', subtype: 'svg', suffix: 'xml'})
-```
-
-Format an object into a media type string. This will return a string of the
-mime type for the given object. For the properties of the object, see the
-documentation for `typer.parse(string)`.
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/media-typer.svg?style=flat
-[npm-url]: https://npmjs.org/package/media-typer
-[node-version-image]: https://img.shields.io/badge/node.js-%3E%3D_0.6-brightgreen.svg?style=flat
-[node-version-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/jshttp/media-typer.svg?style=flat
-[travis-url]: https://travis-ci.org/jshttp/media-typer
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/media-typer.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/jshttp/media-typer
-[downloads-image]: https://img.shields.io/npm/dm/media-typer.svg?style=flat
-[downloads-url]: https://npmjs.org/package/media-typer
diff --git a/Server/node_modules/media-typer/index.js b/Server/node_modules/media-typer/index.js
deleted file mode 100644
index 07f7295..0000000
--- a/Server/node_modules/media-typer/index.js
+++ /dev/null
@@ -1,270 +0,0 @@
-/*!
- * media-typer
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * RegExp to match *( ";" parameter ) in RFC 2616 sec 3.7
- *
- * parameter = token "=" ( token | quoted-string )
- * token = 1*<any CHAR except CTLs or separators>
- * separators = "(" | ")" | "<" | ">" | "@"
- * | "," | ";" | ":" | "\" | <">
- * | "/" | "[" | "]" | "?" | "="
- * | "{" | "}" | SP | HT
- * quoted-string = ( <"> *(qdtext | quoted-pair ) <"> )
- * qdtext = <any TEXT except <">>
- * quoted-pair = "\" CHAR
- * CHAR = <any US-ASCII character (octets 0 - 127)>
- * TEXT = <any OCTET except CTLs, but including LWS>
- * LWS = [CRLF] 1*( SP | HT )
- * CRLF = CR LF
- * CR = <US-ASCII CR, carriage return (13)>
- * LF = <US-ASCII LF, linefeed (10)>
- * SP = <US-ASCII SP, space (32)>
- * SHT = <US-ASCII HT, horizontal-tab (9)>
- * CTL = <any US-ASCII control character (octets 0 - 31) and DEL (127)>
- * OCTET = <any 8-bit sequence of data>
- */
-var paramRegExp = /; *([!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) *= *("(?:[ !\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u0020-\u007e])*"|[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) */g;
-var textRegExp = /^[\u0020-\u007e\u0080-\u00ff]+$/
-var tokenRegExp = /^[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+$/
-
-/**
- * RegExp to match quoted-pair in RFC 2616
- *
- * quoted-pair = "\" CHAR
- * CHAR = <any US-ASCII character (octets 0 - 127)>
- */
-var qescRegExp = /\\([\u0000-\u007f])/g;
-
-/**
- * RegExp to match chars that must be quoted-pair in RFC 2616
- */
-var quoteRegExp = /([\\"])/g;
-
-/**
- * RegExp to match type in RFC 6838
- *
- * type-name = restricted-name
- * subtype-name = restricted-name
- * restricted-name = restricted-name-first *126restricted-name-chars
- * restricted-name-first = ALPHA / DIGIT
- * restricted-name-chars = ALPHA / DIGIT / "!" / "#" /
- * "$" / "&" / "-" / "^" / "_"
- * restricted-name-chars =/ "." ; Characters before first dot always
- * ; specify a facet name
- * restricted-name-chars =/ "+" ; Characters after last plus always
- * ; specify a structured syntax suffix
- * ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
- * DIGIT = %x30-39 ; 0-9
- */
-var subtypeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/
-var typeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/
-var typeRegExp = /^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;
-
-/**
- * Module exports.
- */
-
-exports.format = format
-exports.parse = parse
-
-/**
- * Format object to media type.
- *
- * @param {object} obj
- * @return {string}
- * @api public
- */
-
-function format(obj) {
- if (!obj || typeof obj !== 'object') {
- throw new TypeError('argument obj is required')
- }
-
- var parameters = obj.parameters
- var subtype = obj.subtype
- var suffix = obj.suffix
- var type = obj.type
-
- if (!type || !typeNameRegExp.test(type)) {
- throw new TypeError('invalid type')
- }
-
- if (!subtype || !subtypeNameRegExp.test(subtype)) {
- throw new TypeError('invalid subtype')
- }
-
- // format as type/subtype
- var string = type + '/' + subtype
-
- // append +suffix
- if (suffix) {
- if (!typeNameRegExp.test(suffix)) {
- throw new TypeError('invalid suffix')
- }
-
- string += '+' + suffix
- }
-
- // append parameters
- if (parameters && typeof parameters === 'object') {
- var param
- var params = Object.keys(parameters).sort()
-
- for (var i = 0; i < params.length; i++) {
- param = params[i]
-
- if (!tokenRegExp.test(param)) {
- throw new TypeError('invalid parameter name')
- }
-
- string += '; ' + param + '=' + qstring(parameters[param])
- }
- }
-
- return string
-}
-
-/**
- * Parse media type to object.
- *
- * @param {string|object} string
- * @return {Object}
- * @api public
- */
-
-function parse(string) {
- if (!string) {
- throw new TypeError('argument string is required')
- }
-
- // support req/res-like objects as argument
- if (typeof string === 'object') {
- string = getcontenttype(string)
- }
-
- if (typeof string !== 'string') {
- throw new TypeError('argument string is required to be a string')
- }
-
- var index = string.indexOf(';')
- var type = index !== -1
- ? string.substr(0, index)
- : string
-
- var key
- var match
- var obj = splitType(type)
- var params = {}
- var value
-
- paramRegExp.lastIndex = index
-
- while (match = paramRegExp.exec(string)) {
- if (match.index !== index) {
- throw new TypeError('invalid parameter format')
- }
-
- index += match[0].length
- key = match[1].toLowerCase()
- value = match[2]
-
- if (value[0] === '"') {
- // remove quotes and escapes
- value = value
- .substr(1, value.length - 2)
- .replace(qescRegExp, '$1')
- }
-
- params[key] = value
- }
-
- if (index !== -1 && index !== string.length) {
- throw new TypeError('invalid parameter format')
- }
-
- obj.parameters = params
-
- return obj
-}
-
-/**
- * Get content-type from req/res objects.
- *
- * @param {object}
- * @return {Object}
- * @api private
- */
-
-function getcontenttype(obj) {
- if (typeof obj.getHeader === 'function') {
- // res-like
- return obj.getHeader('content-type')
- }
-
- if (typeof obj.headers === 'object') {
- // req-like
- return obj.headers && obj.headers['content-type']
- }
-}
-
-/**
- * Quote a string if necessary.
- *
- * @param {string} val
- * @return {string}
- * @api private
- */
-
-function qstring(val) {
- var str = String(val)
-
- // no need to quote tokens
- if (tokenRegExp.test(str)) {
- return str
- }
-
- if (str.length > 0 && !textRegExp.test(str)) {
- throw new TypeError('invalid parameter value')
- }
-
- return '"' + str.replace(quoteRegExp, '\\$1') + '"'
-}
-
-/**
- * Simply "type/subtype+siffx" into parts.
- *
- * @param {string} string
- * @return {Object}
- * @api private
- */
-
-function splitType(string) {
- var match = typeRegExp.exec(string.toLowerCase())
-
- if (!match) {
- throw new TypeError('invalid media type')
- }
-
- var type = match[1]
- var subtype = match[2]
- var suffix
-
- // suffix after last +
- var index = subtype.lastIndexOf('+')
- if (index !== -1) {
- suffix = subtype.substr(index + 1)
- subtype = subtype.substr(0, index)
- }
-
- var obj = {
- type: type,
- subtype: subtype,
- suffix: suffix
- }
-
- return obj
-}
diff --git a/Server/node_modules/media-typer/package.json b/Server/node_modules/media-typer/package.json
deleted file mode 100644
index 3ed0136..0000000
--- a/Server/node_modules/media-typer/package.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "_from": "media-typer@0.3.0",
- "_id": "media-typer@0.3.0",
- "_inBundle": false,
- "_integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
- "_location": "/media-typer",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "media-typer@0.3.0",
- "name": "media-typer",
- "escapedName": "media-typer",
- "rawSpec": "0.3.0",
- "saveSpec": null,
- "fetchSpec": "0.3.0"
- },
- "_requiredBy": [
- "/type-is"
- ],
- "_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "_shasum": "8710d7af0aa626f8fffa1ce00168545263255748",
- "_spec": "media-typer@0.3.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/type-is",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/media-typer/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Simple RFC 6838 media type parser and formatter",
- "devDependencies": {
- "istanbul": "0.3.2",
- "mocha": "~1.21.4",
- "should": "~4.0.4"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/media-typer#readme",
- "license": "MIT",
- "name": "media-typer",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/media-typer.git"
- },
- "scripts": {
- "test": "mocha --reporter spec --check-leaks --bail test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "0.3.0"
-}
diff --git a/Server/node_modules/merge-descriptors/HISTORY.md b/Server/node_modules/merge-descriptors/HISTORY.md
deleted file mode 100644
index 486771f..0000000
--- a/Server/node_modules/merge-descriptors/HISTORY.md
+++ /dev/null
@@ -1,21 +0,0 @@
-1.0.1 / 2016-01-17
-==================
-
- * perf: enable strict mode
-
-1.0.0 / 2015-03-01
-==================
-
- * Add option to only add new descriptors
- * Add simple argument validation
- * Add jsdoc to source file
-
-0.0.2 / 2013-12-14
-==================
-
- * Move repository to `component` organization
-
-0.0.1 / 2013-10-29
-==================
-
- * Initial release
diff --git a/Server/node_modules/merge-descriptors/LICENSE b/Server/node_modules/merge-descriptors/LICENSE
deleted file mode 100644
index 274bfd8..0000000
--- a/Server/node_modules/merge-descriptors/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2013 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/merge-descriptors/README.md b/Server/node_modules/merge-descriptors/README.md
deleted file mode 100644
index d593c0e..0000000
--- a/Server/node_modules/merge-descriptors/README.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# Merge Descriptors
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Merge objects using descriptors.
-
-```js
-var thing = {
- get name() {
- return 'jon'
- }
-}
-
-var animal = {
-
-}
-
-merge(animal, thing)
-
-animal.name === 'jon'
-```
-
-## API
-
-### merge(destination, source)
-
-Redefines `destination`'s descriptors with `source`'s.
-
-### merge(destination, source, false)
-
-Defines `source`'s descriptors on `destination` if `destination` does not have
-a descriptor by the same name.
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/merge-descriptors.svg
-[npm-url]: https://npmjs.org/package/merge-descriptors
-[travis-image]: https://img.shields.io/travis/component/merge-descriptors/master.svg
-[travis-url]: https://travis-ci.org/component/merge-descriptors
-[coveralls-image]: https://img.shields.io/coveralls/component/merge-descriptors/master.svg
-[coveralls-url]: https://coveralls.io/r/component/merge-descriptors?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/merge-descriptors.svg
-[downloads-url]: https://npmjs.org/package/merge-descriptors
diff --git a/Server/node_modules/merge-descriptors/index.js b/Server/node_modules/merge-descriptors/index.js
deleted file mode 100644
index 573b132..0000000
--- a/Server/node_modules/merge-descriptors/index.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/*!
- * merge-descriptors
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = merge
-
-/**
- * Module variables.
- * @private
- */
-
-var hasOwnProperty = Object.prototype.hasOwnProperty
-
-/**
- * Merge the property descriptors of `src` into `dest`
- *
- * @param {object} dest Object to add descriptors to
- * @param {object} src Object to clone descriptors from
- * @param {boolean} [redefine=true] Redefine `dest` properties with `src` properties
- * @returns {object} Reference to dest
- * @public
- */
-
-function merge(dest, src, redefine) {
- if (!dest) {
- throw new TypeError('argument dest is required')
- }
-
- if (!src) {
- throw new TypeError('argument src is required')
- }
-
- if (redefine === undefined) {
- // Default to true
- redefine = true
- }
-
- Object.getOwnPropertyNames(src).forEach(function forEachOwnPropertyName(name) {
- if (!redefine && hasOwnProperty.call(dest, name)) {
- // Skip desriptor
- return
- }
-
- // Copy descriptor
- var descriptor = Object.getOwnPropertyDescriptor(src, name)
- Object.defineProperty(dest, name, descriptor)
- })
-
- return dest
-}
diff --git a/Server/node_modules/merge-descriptors/package.json b/Server/node_modules/merge-descriptors/package.json
deleted file mode 100644
index 793e602..0000000
--- a/Server/node_modules/merge-descriptors/package.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "_from": "merge-descriptors@1.0.1",
- "_id": "merge-descriptors@1.0.1",
- "_inBundle": false,
- "_integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=",
- "_location": "/merge-descriptors",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "merge-descriptors@1.0.1",
- "name": "merge-descriptors",
- "escapedName": "merge-descriptors",
- "rawSpec": "1.0.1",
- "saveSpec": null,
- "fetchSpec": "1.0.1"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
- "_shasum": "b00aaa556dd8b44568150ec9d1b953f3f90cbb61",
- "_spec": "merge-descriptors@1.0.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- "bugs": {
- "url": "https://github.com/component/merge-descriptors/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Mike Grabowski",
- "email": "grabbou@gmail.com"
- }
- ],
- "deprecated": false,
- "description": "Merge objects using descriptors",
- "devDependencies": {
- "istanbul": "0.4.1",
- "mocha": "1.21.5"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/component/merge-descriptors#readme",
- "license": "MIT",
- "name": "merge-descriptors",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/component/merge-descriptors.git"
- },
- "scripts": {
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
- },
- "version": "1.0.1"
-}
diff --git a/Server/node_modules/methods/HISTORY.md b/Server/node_modules/methods/HISTORY.md
deleted file mode 100644
index c0ecf07..0000000
--- a/Server/node_modules/methods/HISTORY.md
+++ /dev/null
@@ -1,29 +0,0 @@
-1.1.2 / 2016-01-17
-==================
-
- * perf: enable strict mode
-
-1.1.1 / 2014-12-30
-==================
-
- * Improve `browserify` support
-
-1.1.0 / 2014-07-05
-==================
-
- * Add `CONNECT` method
-
-1.0.1 / 2014-06-02
-==================
-
- * Fix module to work with harmony transform
-
-1.0.0 / 2014-05-08
-==================
-
- * Add `PURGE` method
-
-0.1.0 / 2013-10-28
-==================
-
- * Add `http.METHODS` support
diff --git a/Server/node_modules/methods/LICENSE b/Server/node_modules/methods/LICENSE
deleted file mode 100644
index 220dc1a..0000000
--- a/Server/node_modules/methods/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2013-2014 TJ Holowaychuk <tj@vision-media.ca>
-Copyright (c) 2015-2016 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
-
diff --git a/Server/node_modules/methods/README.md b/Server/node_modules/methods/README.md
deleted file mode 100644
index 672a32b..0000000
--- a/Server/node_modules/methods/README.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# Methods
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-HTTP verbs that Node.js core's HTTP parser supports.
-
-This module provides an export that is just like `http.METHODS` from Node.js core,
-with the following differences:
-
- * All method names are lower-cased.
- * Contains a fallback list of methods for Node.js versions that do not have a
- `http.METHODS` export (0.10 and lower).
- * Provides the fallback list when using tools like `browserify` without pulling
- in the `http` shim module.
-
-## Install
-
-```bash
-$ npm install methods
-```
-
-## API
-
-```js
-var methods = require('methods')
-```
-
-### methods
-
-This is an array of lower-cased method names that Node.js supports. If Node.js
-provides the `http.METHODS` export, then this is the same array lower-cased,
-otherwise it is a snapshot of the verbs from Node.js 0.10.
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/methods.svg?style=flat
-[npm-url]: https://npmjs.org/package/methods
-[node-version-image]: https://img.shields.io/node/v/methods.svg?style=flat
-[node-version-url]: https://nodejs.org/en/download/
-[travis-image]: https://img.shields.io/travis/jshttp/methods.svg?style=flat
-[travis-url]: https://travis-ci.org/jshttp/methods
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/methods.svg?style=flat
-[coveralls-url]: https://coveralls.io/r/jshttp/methods?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/methods.svg?style=flat
-[downloads-url]: https://npmjs.org/package/methods
diff --git a/Server/node_modules/methods/index.js b/Server/node_modules/methods/index.js
deleted file mode 100644
index 667a50b..0000000
--- a/Server/node_modules/methods/index.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*!
- * methods
- * Copyright(c) 2013-2014 TJ Holowaychuk
- * Copyright(c) 2015-2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module dependencies.
- * @private
- */
-
-var http = require('http');
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = getCurrentNodeMethods() || getBasicNodeMethods();
-
-/**
- * Get the current Node.js methods.
- * @private
- */
-
-function getCurrentNodeMethods() {
- return http.METHODS && http.METHODS.map(function lowerCaseMethod(method) {
- return method.toLowerCase();
- });
-}
-
-/**
- * Get the "basic" Node.js methods, a snapshot from Node.js 0.10.
- * @private
- */
-
-function getBasicNodeMethods() {
- return [
- 'get',
- 'post',
- 'put',
- 'head',
- 'delete',
- 'options',
- 'trace',
- 'copy',
- 'lock',
- 'mkcol',
- 'move',
- 'purge',
- 'propfind',
- 'proppatch',
- 'unlock',
- 'report',
- 'mkactivity',
- 'checkout',
- 'merge',
- 'm-search',
- 'notify',
- 'subscribe',
- 'unsubscribe',
- 'patch',
- 'search',
- 'connect'
- ];
-}
diff --git a/Server/node_modules/methods/package.json b/Server/node_modules/methods/package.json
deleted file mode 100644
index 20708ea..0000000
--- a/Server/node_modules/methods/package.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "_from": "methods@~1.1.2",
- "_id": "methods@1.1.2",
- "_inBundle": false,
- "_integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=",
- "_location": "/methods",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "methods@~1.1.2",
- "name": "methods",
- "escapedName": "methods",
- "rawSpec": "~1.1.2",
- "saveSpec": null,
- "fetchSpec": "~1.1.2"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
- "_shasum": "5529a4d67654134edcc5266656835b0f851afcee",
- "_spec": "methods@~1.1.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "browser": {
- "http": false
- },
- "bugs": {
- "url": "https://github.com/jshttp/methods/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca",
- "url": "http://tjholowaychuk.com"
- }
- ],
- "deprecated": false,
- "description": "HTTP methods that node supports",
- "devDependencies": {
- "istanbul": "0.4.1",
- "mocha": "1.21.5"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "index.js",
- "HISTORY.md",
- "LICENSE"
- ],
- "homepage": "https://github.com/jshttp/methods#readme",
- "keywords": [
- "http",
- "methods"
- ],
- "license": "MIT",
- "name": "methods",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/methods.git"
- },
- "scripts": {
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "1.1.2"
-}
diff --git a/Server/node_modules/mime-db/HISTORY.md b/Server/node_modules/mime-db/HISTORY.md
deleted file mode 100644
index 85c0319..0000000
--- a/Server/node_modules/mime-db/HISTORY.md
+++ /dev/null
@@ -1,446 +0,0 @@
-1.44.0 / 2020-04-22
-===================
-
- * Add charsets from IANA
- * Add extension `.cjs` to `application/node`
- * Add new upstream MIME types
-
-1.43.0 / 2020-01-05
-===================
-
- * Add `application/x-keepass2` with extension `.kdbx`
- * Add extension `.mxmf` to `audio/mobile-xmf`
- * Add extensions from IANA for `application/*+xml` types
- * Add new upstream MIME types
-
-1.42.0 / 2019-09-25
-===================
-
- * Add `image/vnd.ms-dds` with extension `.dds`
- * Add new upstream MIME types
- * Remove compressible from `multipart/mixed`
-
-1.41.0 / 2019-08-30
-===================
-
- * Add new upstream MIME types
- * Add `application/toml` with extension `.toml`
- * Mark `font/ttf` as compressible
-
-1.40.0 / 2019-04-20
-===================
-
- * Add extensions from IANA for `model/*` types
- * Add `text/mdx` with extension `.mdx`
-
-1.39.0 / 2019-04-04
-===================
-
- * Add extensions `.siv` and `.sieve` to `application/sieve`
- * Add new upstream MIME types
-
-1.38.0 / 2019-02-04
-===================
-
- * Add extension `.nq` to `application/n-quads`
- * Add extension `.nt` to `application/n-triples`
- * Add new upstream MIME types
- * Mark `text/less` as compressible
-
-1.37.0 / 2018-10-19
-===================
-
- * Add extensions to HEIC image types
- * Add new upstream MIME types
-
-1.36.0 / 2018-08-20
-===================
-
- * Add Apple file extensions from IANA
- * Add extensions from IANA for `image/*` types
- * Add new upstream MIME types
-
-1.35.0 / 2018-07-15
-===================
-
- * Add extension `.owl` to `application/rdf+xml`
- * Add new upstream MIME types
- - Removes extension `.woff` from `application/font-woff`
-
-1.34.0 / 2018-06-03
-===================
-
- * Add extension `.csl` to `application/vnd.citationstyles.style+xml`
- * Add extension `.es` to `application/ecmascript`
- * Add new upstream MIME types
- * Add `UTF-8` as default charset for `text/turtle`
- * Mark all XML-derived types as compressible
-
-1.33.0 / 2018-02-15
-===================
-
- * Add extensions from IANA for `message/*` types
- * Add new upstream MIME types
- * Fix some incorrect OOXML types
- * Remove `application/font-woff2`
-
-1.32.0 / 2017-11-29
-===================
-
- * Add new upstream MIME types
- * Update `text/hjson` to registered `application/hjson`
- * Add `text/shex` with extension `.shex`
-
-1.31.0 / 2017-10-25
-===================
-
- * Add `application/raml+yaml` with extension `.raml`
- * Add `application/wasm` with extension `.wasm`
- * Add new `font` type from IANA
- * Add new upstream font extensions
- * Add new upstream MIME types
- * Add extensions for JPEG-2000 images
-
-1.30.0 / 2017-08-27
-===================
-
- * Add `application/vnd.ms-outlook`
- * Add `application/x-arj`
- * Add extension `.mjs` to `application/javascript`
- * Add glTF types and extensions
- * Add new upstream MIME types
- * Add `text/x-org`
- * Add VirtualBox MIME types
- * Fix `source` records for `video/*` types that are IANA
- * Update `font/opentype` to registered `font/otf`
-
-1.29.0 / 2017-07-10
-===================
-
- * Add `application/fido.trusted-apps+json`
- * Add extension `.wadl` to `application/vnd.sun.wadl+xml`
- * Add new upstream MIME types
- * Add `UTF-8` as default charset for `text/css`
-
-1.28.0 / 2017-05-14
-===================
-
- * Add new upstream MIME types
- * Add extension `.gz` to `application/gzip`
- * Update extensions `.md` and `.markdown` to be `text/markdown`
-
-1.27.0 / 2017-03-16
-===================
-
- * Add new upstream MIME types
- * Add `image/apng` with extension `.apng`
-
-1.26.0 / 2017-01-14
-===================
-
- * Add new upstream MIME types
- * Add extension `.geojson` to `application/geo+json`
-
-1.25.0 / 2016-11-11
-===================
-
- * Add new upstream MIME types
-
-1.24.0 / 2016-09-18
-===================
-
- * Add `audio/mp3`
- * Add new upstream MIME types
-
-1.23.0 / 2016-05-01
-===================
-
- * Add new upstream MIME types
- * Add extension `.3gpp` to `audio/3gpp`
-
-1.22.0 / 2016-02-15
-===================
-
- * Add `text/slim`
- * Add extension `.rng` to `application/xml`
- * Add new upstream MIME types
- * Fix extension of `application/dash+xml` to be `.mpd`
- * Update primary extension to `.m4a` for `audio/mp4`
-
-1.21.0 / 2016-01-06
-===================
-
- * Add Google document types
- * Add new upstream MIME types
-
-1.20.0 / 2015-11-10
-===================
-
- * Add `text/x-suse-ymp`
- * Add new upstream MIME types
-
-1.19.0 / 2015-09-17
-===================
-
- * Add `application/vnd.apple.pkpass`
- * Add new upstream MIME types
-
-1.18.0 / 2015-09-03
-===================
-
- * Add new upstream MIME types
-
-1.17.0 / 2015-08-13
-===================
-
- * Add `application/x-msdos-program`
- * Add `audio/g711-0`
- * Add `image/vnd.mozilla.apng`
- * Add extension `.exe` to `application/x-msdos-program`
-
-1.16.0 / 2015-07-29
-===================
-
- * Add `application/vnd.uri-map`
-
-1.15.0 / 2015-07-13
-===================
-
- * Add `application/x-httpd-php`
-
-1.14.0 / 2015-06-25
-===================
-
- * Add `application/scim+json`
- * Add `application/vnd.3gpp.ussd+xml`
- * Add `application/vnd.biopax.rdf+xml`
- * Add `text/x-processing`
-
-1.13.0 / 2015-06-07
-===================
-
- * Add nginx as a source
- * Add `application/x-cocoa`
- * Add `application/x-java-archive-diff`
- * Add `application/x-makeself`
- * Add `application/x-perl`
- * Add `application/x-pilot`
- * Add `application/x-redhat-package-manager`
- * Add `application/x-sea`
- * Add `audio/x-m4a`
- * Add `audio/x-realaudio`
- * Add `image/x-jng`
- * Add `text/mathml`
-
-1.12.0 / 2015-06-05
-===================
-
- * Add `application/bdoc`
- * Add `application/vnd.hyperdrive+json`
- * Add `application/x-bdoc`
- * Add extension `.rtf` to `text/rtf`
-
-1.11.0 / 2015-05-31
-===================
-
- * Add `audio/wav`
- * Add `audio/wave`
- * Add extension `.litcoffee` to `text/coffeescript`
- * Add extension `.sfd-hdstx` to `application/vnd.hydrostatix.sof-data`
- * Add extension `.n-gage` to `application/vnd.nokia.n-gage.symbian.install`
-
-1.10.0 / 2015-05-19
-===================
-
- * Add `application/vnd.balsamiq.bmpr`
- * Add `application/vnd.microsoft.portable-executable`
- * Add `application/x-ns-proxy-autoconfig`
-
-1.9.1 / 2015-04-19
-==================
-
- * Remove `.json` extension from `application/manifest+json`
- - This is causing bugs downstream
-
-1.9.0 / 2015-04-19
-==================
-
- * Add `application/manifest+json`
- * Add `application/vnd.micro+json`
- * Add `image/vnd.zbrush.pcx`
- * Add `image/x-ms-bmp`
-
-1.8.0 / 2015-03-13
-==================
-
- * Add `application/vnd.citationstyles.style+xml`
- * Add `application/vnd.fastcopy-disk-image`
- * Add `application/vnd.gov.sk.xmldatacontainer+xml`
- * Add extension `.jsonld` to `application/ld+json`
-
-1.7.0 / 2015-02-08
-==================
-
- * Add `application/vnd.gerber`
- * Add `application/vnd.msa-disk-image`
-
-1.6.1 / 2015-02-05
-==================
-
- * Community extensions ownership transferred from `node-mime`
-
-1.6.0 / 2015-01-29
-==================
-
- * Add `application/jose`
- * Add `application/jose+json`
- * Add `application/json-seq`
- * Add `application/jwk+json`
- * Add `application/jwk-set+json`
- * Add `application/jwt`
- * Add `application/rdap+json`
- * Add `application/vnd.gov.sk.e-form+xml`
- * Add `application/vnd.ims.imsccv1p3`
-
-1.5.0 / 2014-12-30
-==================
-
- * Add `application/vnd.oracle.resource+json`
- * Fix various invalid MIME type entries
- - `application/mbox+xml`
- - `application/oscp-response`
- - `application/vwg-multiplexed`
- - `audio/g721`
-
-1.4.0 / 2014-12-21
-==================
-
- * Add `application/vnd.ims.imsccv1p2`
- * Fix various invalid MIME type entries
- - `application/vnd-acucobol`
- - `application/vnd-curl`
- - `application/vnd-dart`
- - `application/vnd-dxr`
- - `application/vnd-fdf`
- - `application/vnd-mif`
- - `application/vnd-sema`
- - `application/vnd-wap-wmlc`
- - `application/vnd.adobe.flash-movie`
- - `application/vnd.dece-zip`
- - `application/vnd.dvb_service`
- - `application/vnd.micrografx-igx`
- - `application/vnd.sealed-doc`
- - `application/vnd.sealed-eml`
- - `application/vnd.sealed-mht`
- - `application/vnd.sealed-ppt`
- - `application/vnd.sealed-tiff`
- - `application/vnd.sealed-xls`
- - `application/vnd.sealedmedia.softseal-html`
- - `application/vnd.sealedmedia.softseal-pdf`
- - `application/vnd.wap-slc`
- - `application/vnd.wap-wbxml`
- - `audio/vnd.sealedmedia.softseal-mpeg`
- - `image/vnd-djvu`
- - `image/vnd-svf`
- - `image/vnd-wap-wbmp`
- - `image/vnd.sealed-png`
- - `image/vnd.sealedmedia.softseal-gif`
- - `image/vnd.sealedmedia.softseal-jpg`
- - `model/vnd-dwf`
- - `model/vnd.parasolid.transmit-binary`
- - `model/vnd.parasolid.transmit-text`
- - `text/vnd-a`
- - `text/vnd-curl`
- - `text/vnd.wap-wml`
- * Remove example template MIME types
- - `application/example`
- - `audio/example`
- - `image/example`
- - `message/example`
- - `model/example`
- - `multipart/example`
- - `text/example`
- - `video/example`
-
-1.3.1 / 2014-12-16
-==================
-
- * Fix missing extensions
- - `application/json5`
- - `text/hjson`
-
-1.3.0 / 2014-12-07
-==================
-
- * Add `application/a2l`
- * Add `application/aml`
- * Add `application/atfx`
- * Add `application/atxml`
- * Add `application/cdfx+xml`
- * Add `application/dii`
- * Add `application/json5`
- * Add `application/lxf`
- * Add `application/mf4`
- * Add `application/vnd.apache.thrift.compact`
- * Add `application/vnd.apache.thrift.json`
- * Add `application/vnd.coffeescript`
- * Add `application/vnd.enphase.envoy`
- * Add `application/vnd.ims.imsccv1p1`
- * Add `text/csv-schema`
- * Add `text/hjson`
- * Add `text/markdown`
- * Add `text/yaml`
-
-1.2.0 / 2014-11-09
-==================
-
- * Add `application/cea`
- * Add `application/dit`
- * Add `application/vnd.gov.sk.e-form+zip`
- * Add `application/vnd.tmd.mediaflex.api+xml`
- * Type `application/epub+zip` is now IANA-registered
-
-1.1.2 / 2014-10-23
-==================
-
- * Rebuild database for `application/x-www-form-urlencoded` change
-
-1.1.1 / 2014-10-20
-==================
-
- * Mark `application/x-www-form-urlencoded` as compressible.
-
-1.1.0 / 2014-09-28
-==================
-
- * Add `application/font-woff2`
-
-1.0.3 / 2014-09-25
-==================
-
- * Fix engine requirement in package
-
-1.0.2 / 2014-09-25
-==================
-
- * Add `application/coap-group+json`
- * Add `application/dcd`
- * Add `application/vnd.apache.thrift.binary`
- * Add `image/vnd.tencent.tap`
- * Mark all JSON-derived types as compressible
- * Update `text/vtt` data
-
-1.0.1 / 2014-08-30
-==================
-
- * Fix extension ordering
-
-1.0.0 / 2014-08-30
-==================
-
- * Add `application/atf`
- * Add `application/merge-patch+json`
- * Add `multipart/x-mixed-replace`
- * Add `source: 'apache'` metadata
- * Add `source: 'iana'` metadata
- * Remove badly-assumed charset data
diff --git a/Server/node_modules/mime-db/LICENSE b/Server/node_modules/mime-db/LICENSE
deleted file mode 100644
index a7ae8ee..0000000
--- a/Server/node_modules/mime-db/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-
-The MIT License (MIT)
-
-Copyright (c) 2014 Jonathan Ong me@jongleberry.com
-
-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.
diff --git a/Server/node_modules/mime-db/README.md b/Server/node_modules/mime-db/README.md
deleted file mode 100644
index d6a6f80..0000000
--- a/Server/node_modules/mime-db/README.md
+++ /dev/null
@@ -1,102 +0,0 @@
-# mime-db
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Coverage Status][coveralls-image]][coveralls-url]
-
-This is a database of all mime types.
-It consists of a single, public JSON file and does not include any logic,
-allowing it to remain as un-opinionated as possible with an API.
-It aggregates data from the following sources:
-
-- http://www.iana.org/assignments/media-types/media-types.xhtml
-- http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
-- http://hg.nginx.org/nginx/raw-file/default/conf/mime.types
-
-## Installation
-
-```bash
-npm install mime-db
-```
-
-### Database Download
-
-If you're crazy enough to use this in the browser, you can just grab the
-JSON file using [jsDelivr](https://www.jsdelivr.com/). It is recommended to
-replace `master` with [a release tag](https://github.com/jshttp/mime-db/tags)
-as the JSON format may change in the future.
-
-```
-https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json
-```
-
-## Usage
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var db = require('mime-db')
-
-// grab data on .js files
-var data = db['application/javascript']
-```
-
-## Data Structure
-
-The JSON file is a map lookup for lowercased mime types.
-Each mime type has the following properties:
-
-- `.source` - where the mime type is defined.
- If not set, it's probably a custom media type.
- - `apache` - [Apache common media types](http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)
- - `iana` - [IANA-defined media types](http://www.iana.org/assignments/media-types/media-types.xhtml)
- - `nginx` - [nginx media types](http://hg.nginx.org/nginx/raw-file/default/conf/mime.types)
-- `.extensions[]` - known extensions associated with this mime type.
-- `.compressible` - whether a file of this type can be gzipped.
-- `.charset` - the default charset associated with this type, if any.
-
-If unknown, every property could be `undefined`.
-
-## Contributing
-
-To edit the database, only make PRs against `src/custom.json` or
-`src/custom-suffix.json`.
-
-The `src/custom.json` file is a JSON object with the MIME type as the keys
-and the values being an object with the following keys:
-
-- `compressible` - leave out if you don't know, otherwise `true`/`false` to
- indicate whether the data represented by the type is typically compressible.
-- `extensions` - include an array of file extensions that are associated with
- the type.
-- `notes` - human-readable notes about the type, typically what the type is.
-- `sources` - include an array of URLs of where the MIME type and the associated
- extensions are sourced from. This needs to be a [primary source](https://en.wikipedia.org/wiki/Primary_source);
- links to type aggregating sites and Wikipedia are _not acceptable_.
-
-To update the build, run `npm run build`.
-
-### Adding Custom Media Types
-
-The best way to get new media types included in this library is to register
-them with the IANA. The community registration procedure is outlined in
-[RFC 6838 section 5](http://tools.ietf.org/html/rfc6838#section-5). Types
-registered with the IANA are automatically pulled into this library.
-
-If that is not possible / feasible, they can be added directly here as a
-"custom" type. To do this, it is required to have a primary source that
-definitively lists the media type. If an extension is going to be listed as
-associateed with this media type, the source must definitively link the
-media type and extension as well.
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-db/master
-[coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master
-[node-image]: https://badgen.net/npm/node/mime-db
-[node-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/mime-db
-[npm-url]: https://npmjs.org/package/mime-db
-[npm-version-image]: https://badgen.net/npm/v/mime-db
-[travis-image]: https://badgen.net/travis/jshttp/mime-db/master
-[travis-url]: https://travis-ci.org/jshttp/mime-db
diff --git a/Server/node_modules/mime-db/db.json b/Server/node_modules/mime-db/db.json
deleted file mode 100644
index e69f352..0000000
--- a/Server/node_modules/mime-db/db.json
+++ /dev/null
@@ -1,8176 +0,0 @@
-{
- "application/1d-interleaved-parityfec": {
- "source": "iana"
- },
- "application/3gpdash-qoe-report+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/3gpp-ims+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/a2l": {
- "source": "iana"
- },
- "application/activemessage": {
- "source": "iana"
- },
- "application/activity+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-costmap+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-costmapfilter+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-directory+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-endpointcost+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-endpointcostparams+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-endpointprop+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-endpointpropparams+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-error+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-networkmap+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-networkmapfilter+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-updatestreamcontrol+json": {
- "source": "iana",
- "compressible": true
- },
- "application/alto-updatestreamparams+json": {
- "source": "iana",
- "compressible": true
- },
- "application/aml": {
- "source": "iana"
- },
- "application/andrew-inset": {
- "source": "iana",
- "extensions": ["ez"]
- },
- "application/applefile": {
- "source": "iana"
- },
- "application/applixware": {
- "source": "apache",
- "extensions": ["aw"]
- },
- "application/atf": {
- "source": "iana"
- },
- "application/atfx": {
- "source": "iana"
- },
- "application/atom+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["atom"]
- },
- "application/atomcat+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["atomcat"]
- },
- "application/atomdeleted+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["atomdeleted"]
- },
- "application/atomicmail": {
- "source": "iana"
- },
- "application/atomsvc+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["atomsvc"]
- },
- "application/atsc-dwd+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["dwd"]
- },
- "application/atsc-dynamic-event-message": {
- "source": "iana"
- },
- "application/atsc-held+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["held"]
- },
- "application/atsc-rdt+json": {
- "source": "iana",
- "compressible": true
- },
- "application/atsc-rsat+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rsat"]
- },
- "application/atxml": {
- "source": "iana"
- },
- "application/auth-policy+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/bacnet-xdd+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/batch-smtp": {
- "source": "iana"
- },
- "application/bdoc": {
- "compressible": false,
- "extensions": ["bdoc"]
- },
- "application/beep+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/calendar+json": {
- "source": "iana",
- "compressible": true
- },
- "application/calendar+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xcs"]
- },
- "application/call-completion": {
- "source": "iana"
- },
- "application/cals-1840": {
- "source": "iana"
- },
- "application/cap+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/cbor": {
- "source": "iana"
- },
- "application/cbor-seq": {
- "source": "iana"
- },
- "application/cccex": {
- "source": "iana"
- },
- "application/ccmp+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/ccxml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["ccxml"]
- },
- "application/cdfx+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["cdfx"]
- },
- "application/cdmi-capability": {
- "source": "iana",
- "extensions": ["cdmia"]
- },
- "application/cdmi-container": {
- "source": "iana",
- "extensions": ["cdmic"]
- },
- "application/cdmi-domain": {
- "source": "iana",
- "extensions": ["cdmid"]
- },
- "application/cdmi-object": {
- "source": "iana",
- "extensions": ["cdmio"]
- },
- "application/cdmi-queue": {
- "source": "iana",
- "extensions": ["cdmiq"]
- },
- "application/cdni": {
- "source": "iana"
- },
- "application/cea": {
- "source": "iana"
- },
- "application/cea-2018+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/cellml+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/cfw": {
- "source": "iana"
- },
- "application/clue+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/clue_info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/cms": {
- "source": "iana"
- },
- "application/cnrp+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/coap-group+json": {
- "source": "iana",
- "compressible": true
- },
- "application/coap-payload": {
- "source": "iana"
- },
- "application/commonground": {
- "source": "iana"
- },
- "application/conference-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/cose": {
- "source": "iana"
- },
- "application/cose-key": {
- "source": "iana"
- },
- "application/cose-key-set": {
- "source": "iana"
- },
- "application/cpl+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/csrattrs": {
- "source": "iana"
- },
- "application/csta+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/cstadata+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/csvm+json": {
- "source": "iana",
- "compressible": true
- },
- "application/cu-seeme": {
- "source": "apache",
- "extensions": ["cu"]
- },
- "application/cwt": {
- "source": "iana"
- },
- "application/cybercash": {
- "source": "iana"
- },
- "application/dart": {
- "compressible": true
- },
- "application/dash+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mpd"]
- },
- "application/dashdelta": {
- "source": "iana"
- },
- "application/davmount+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["davmount"]
- },
- "application/dca-rft": {
- "source": "iana"
- },
- "application/dcd": {
- "source": "iana"
- },
- "application/dec-dx": {
- "source": "iana"
- },
- "application/dialog-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/dicom": {
- "source": "iana"
- },
- "application/dicom+json": {
- "source": "iana",
- "compressible": true
- },
- "application/dicom+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/dii": {
- "source": "iana"
- },
- "application/dit": {
- "source": "iana"
- },
- "application/dns": {
- "source": "iana"
- },
- "application/dns+json": {
- "source": "iana",
- "compressible": true
- },
- "application/dns-message": {
- "source": "iana"
- },
- "application/docbook+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["dbk"]
- },
- "application/dots+cbor": {
- "source": "iana"
- },
- "application/dskpp+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/dssc+der": {
- "source": "iana",
- "extensions": ["dssc"]
- },
- "application/dssc+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xdssc"]
- },
- "application/dvcs": {
- "source": "iana"
- },
- "application/ecmascript": {
- "source": "iana",
- "compressible": true,
- "extensions": ["ecma","es"]
- },
- "application/edi-consent": {
- "source": "iana"
- },
- "application/edi-x12": {
- "source": "iana",
- "compressible": false
- },
- "application/edifact": {
- "source": "iana",
- "compressible": false
- },
- "application/efi": {
- "source": "iana"
- },
- "application/emergencycalldata.comment+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/emergencycalldata.control+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/emergencycalldata.deviceinfo+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/emergencycalldata.ecall.msd": {
- "source": "iana"
- },
- "application/emergencycalldata.providerinfo+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/emergencycalldata.serviceinfo+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/emergencycalldata.subscriberinfo+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/emergencycalldata.veds+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/emma+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["emma"]
- },
- "application/emotionml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["emotionml"]
- },
- "application/encaprtp": {
- "source": "iana"
- },
- "application/epp+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/epub+zip": {
- "source": "iana",
- "compressible": false,
- "extensions": ["epub"]
- },
- "application/eshop": {
- "source": "iana"
- },
- "application/exi": {
- "source": "iana",
- "extensions": ["exi"]
- },
- "application/expect-ct-report+json": {
- "source": "iana",
- "compressible": true
- },
- "application/fastinfoset": {
- "source": "iana"
- },
- "application/fastsoap": {
- "source": "iana"
- },
- "application/fdt+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["fdt"]
- },
- "application/fhir+json": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/fhir+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/fido.trusted-apps+json": {
- "compressible": true
- },
- "application/fits": {
- "source": "iana"
- },
- "application/flexfec": {
- "source": "iana"
- },
- "application/font-sfnt": {
- "source": "iana"
- },
- "application/font-tdpfr": {
- "source": "iana",
- "extensions": ["pfr"]
- },
- "application/font-woff": {
- "source": "iana",
- "compressible": false
- },
- "application/framework-attributes+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/geo+json": {
- "source": "iana",
- "compressible": true,
- "extensions": ["geojson"]
- },
- "application/geo+json-seq": {
- "source": "iana"
- },
- "application/geopackage+sqlite3": {
- "source": "iana"
- },
- "application/geoxacml+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/gltf-buffer": {
- "source": "iana"
- },
- "application/gml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["gml"]
- },
- "application/gpx+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["gpx"]
- },
- "application/gxf": {
- "source": "apache",
- "extensions": ["gxf"]
- },
- "application/gzip": {
- "source": "iana",
- "compressible": false,
- "extensions": ["gz"]
- },
- "application/h224": {
- "source": "iana"
- },
- "application/held+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/hjson": {
- "extensions": ["hjson"]
- },
- "application/http": {
- "source": "iana"
- },
- "application/hyperstudio": {
- "source": "iana",
- "extensions": ["stk"]
- },
- "application/ibe-key-request+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/ibe-pkg-reply+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/ibe-pp-data": {
- "source": "iana"
- },
- "application/iges": {
- "source": "iana"
- },
- "application/im-iscomposing+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/index": {
- "source": "iana"
- },
- "application/index.cmd": {
- "source": "iana"
- },
- "application/index.obj": {
- "source": "iana"
- },
- "application/index.response": {
- "source": "iana"
- },
- "application/index.vnd": {
- "source": "iana"
- },
- "application/inkml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["ink","inkml"]
- },
- "application/iotp": {
- "source": "iana"
- },
- "application/ipfix": {
- "source": "iana",
- "extensions": ["ipfix"]
- },
- "application/ipp": {
- "source": "iana"
- },
- "application/isup": {
- "source": "iana"
- },
- "application/its+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["its"]
- },
- "application/java-archive": {
- "source": "apache",
- "compressible": false,
- "extensions": ["jar","war","ear"]
- },
- "application/java-serialized-object": {
- "source": "apache",
- "compressible": false,
- "extensions": ["ser"]
- },
- "application/java-vm": {
- "source": "apache",
- "compressible": false,
- "extensions": ["class"]
- },
- "application/javascript": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["js","mjs"]
- },
- "application/jf2feed+json": {
- "source": "iana",
- "compressible": true
- },
- "application/jose": {
- "source": "iana"
- },
- "application/jose+json": {
- "source": "iana",
- "compressible": true
- },
- "application/jrd+json": {
- "source": "iana",
- "compressible": true
- },
- "application/json": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["json","map"]
- },
- "application/json-patch+json": {
- "source": "iana",
- "compressible": true
- },
- "application/json-seq": {
- "source": "iana"
- },
- "application/json5": {
- "extensions": ["json5"]
- },
- "application/jsonml+json": {
- "source": "apache",
- "compressible": true,
- "extensions": ["jsonml"]
- },
- "application/jwk+json": {
- "source": "iana",
- "compressible": true
- },
- "application/jwk-set+json": {
- "source": "iana",
- "compressible": true
- },
- "application/jwt": {
- "source": "iana"
- },
- "application/kpml-request+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/kpml-response+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/ld+json": {
- "source": "iana",
- "compressible": true,
- "extensions": ["jsonld"]
- },
- "application/lgr+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["lgr"]
- },
- "application/link-format": {
- "source": "iana"
- },
- "application/load-control+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/lost+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["lostxml"]
- },
- "application/lostsync+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/lpf+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/lxf": {
- "source": "iana"
- },
- "application/mac-binhex40": {
- "source": "iana",
- "extensions": ["hqx"]
- },
- "application/mac-compactpro": {
- "source": "apache",
- "extensions": ["cpt"]
- },
- "application/macwriteii": {
- "source": "iana"
- },
- "application/mads+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mads"]
- },
- "application/manifest+json": {
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["webmanifest"]
- },
- "application/marc": {
- "source": "iana",
- "extensions": ["mrc"]
- },
- "application/marcxml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mrcx"]
- },
- "application/mathematica": {
- "source": "iana",
- "extensions": ["ma","nb","mb"]
- },
- "application/mathml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mathml"]
- },
- "application/mathml-content+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mathml-presentation+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-associated-procedure-description+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-deregister+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-envelope+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-msk+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-msk-response+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-protection-description+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-reception-report+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-register+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-register-response+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-schedule+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbms-user-service-description+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mbox": {
- "source": "iana",
- "extensions": ["mbox"]
- },
- "application/media-policy-dataset+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/media_control+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/mediaservercontrol+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mscml"]
- },
- "application/merge-patch+json": {
- "source": "iana",
- "compressible": true
- },
- "application/metalink+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["metalink"]
- },
- "application/metalink4+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["meta4"]
- },
- "application/mets+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mets"]
- },
- "application/mf4": {
- "source": "iana"
- },
- "application/mikey": {
- "source": "iana"
- },
- "application/mipc": {
- "source": "iana"
- },
- "application/mmt-aei+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["maei"]
- },
- "application/mmt-usd+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["musd"]
- },
- "application/mods+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mods"]
- },
- "application/moss-keys": {
- "source": "iana"
- },
- "application/moss-signature": {
- "source": "iana"
- },
- "application/mosskey-data": {
- "source": "iana"
- },
- "application/mosskey-request": {
- "source": "iana"
- },
- "application/mp21": {
- "source": "iana",
- "extensions": ["m21","mp21"]
- },
- "application/mp4": {
- "source": "iana",
- "extensions": ["mp4s","m4p"]
- },
- "application/mpeg4-generic": {
- "source": "iana"
- },
- "application/mpeg4-iod": {
- "source": "iana"
- },
- "application/mpeg4-iod-xmt": {
- "source": "iana"
- },
- "application/mrb-consumer+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xdf"]
- },
- "application/mrb-publish+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xdf"]
- },
- "application/msc-ivr+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/msc-mixer+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/msword": {
- "source": "iana",
- "compressible": false,
- "extensions": ["doc","dot"]
- },
- "application/mud+json": {
- "source": "iana",
- "compressible": true
- },
- "application/multipart-core": {
- "source": "iana"
- },
- "application/mxf": {
- "source": "iana",
- "extensions": ["mxf"]
- },
- "application/n-quads": {
- "source": "iana",
- "extensions": ["nq"]
- },
- "application/n-triples": {
- "source": "iana",
- "extensions": ["nt"]
- },
- "application/nasdata": {
- "source": "iana"
- },
- "application/news-checkgroups": {
- "source": "iana",
- "charset": "US-ASCII"
- },
- "application/news-groupinfo": {
- "source": "iana",
- "charset": "US-ASCII"
- },
- "application/news-transmission": {
- "source": "iana"
- },
- "application/nlsml+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/node": {
- "source": "iana",
- "extensions": ["cjs"]
- },
- "application/nss": {
- "source": "iana"
- },
- "application/ocsp-request": {
- "source": "iana"
- },
- "application/ocsp-response": {
- "source": "iana"
- },
- "application/octet-stream": {
- "source": "iana",
- "compressible": false,
- "extensions": ["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]
- },
- "application/oda": {
- "source": "iana",
- "extensions": ["oda"]
- },
- "application/odm+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/odx": {
- "source": "iana"
- },
- "application/oebps-package+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["opf"]
- },
- "application/ogg": {
- "source": "iana",
- "compressible": false,
- "extensions": ["ogx"]
- },
- "application/omdoc+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["omdoc"]
- },
- "application/onenote": {
- "source": "apache",
- "extensions": ["onetoc","onetoc2","onetmp","onepkg"]
- },
- "application/oscore": {
- "source": "iana"
- },
- "application/oxps": {
- "source": "iana",
- "extensions": ["oxps"]
- },
- "application/p2p-overlay+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["relo"]
- },
- "application/parityfec": {
- "source": "iana"
- },
- "application/passport": {
- "source": "iana"
- },
- "application/patch-ops-error+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xer"]
- },
- "application/pdf": {
- "source": "iana",
- "compressible": false,
- "extensions": ["pdf"]
- },
- "application/pdx": {
- "source": "iana"
- },
- "application/pem-certificate-chain": {
- "source": "iana"
- },
- "application/pgp-encrypted": {
- "source": "iana",
- "compressible": false,
- "extensions": ["pgp"]
- },
- "application/pgp-keys": {
- "source": "iana"
- },
- "application/pgp-signature": {
- "source": "iana",
- "extensions": ["asc","sig"]
- },
- "application/pics-rules": {
- "source": "apache",
- "extensions": ["prf"]
- },
- "application/pidf+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/pidf-diff+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/pkcs10": {
- "source": "iana",
- "extensions": ["p10"]
- },
- "application/pkcs12": {
- "source": "iana"
- },
- "application/pkcs7-mime": {
- "source": "iana",
- "extensions": ["p7m","p7c"]
- },
- "application/pkcs7-signature": {
- "source": "iana",
- "extensions": ["p7s"]
- },
- "application/pkcs8": {
- "source": "iana",
- "extensions": ["p8"]
- },
- "application/pkcs8-encrypted": {
- "source": "iana"
- },
- "application/pkix-attr-cert": {
- "source": "iana",
- "extensions": ["ac"]
- },
- "application/pkix-cert": {
- "source": "iana",
- "extensions": ["cer"]
- },
- "application/pkix-crl": {
- "source": "iana",
- "extensions": ["crl"]
- },
- "application/pkix-pkipath": {
- "source": "iana",
- "extensions": ["pkipath"]
- },
- "application/pkixcmp": {
- "source": "iana",
- "extensions": ["pki"]
- },
- "application/pls+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["pls"]
- },
- "application/poc-settings+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/postscript": {
- "source": "iana",
- "compressible": true,
- "extensions": ["ai","eps","ps"]
- },
- "application/ppsp-tracker+json": {
- "source": "iana",
- "compressible": true
- },
- "application/problem+json": {
- "source": "iana",
- "compressible": true
- },
- "application/problem+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/provenance+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["provx"]
- },
- "application/prs.alvestrand.titrax-sheet": {
- "source": "iana"
- },
- "application/prs.cww": {
- "source": "iana",
- "extensions": ["cww"]
- },
- "application/prs.hpub+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/prs.nprend": {
- "source": "iana"
- },
- "application/prs.plucker": {
- "source": "iana"
- },
- "application/prs.rdf-xml-crypt": {
- "source": "iana"
- },
- "application/prs.xsf+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/pskc+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["pskcxml"]
- },
- "application/pvd+json": {
- "source": "iana",
- "compressible": true
- },
- "application/qsig": {
- "source": "iana"
- },
- "application/raml+yaml": {
- "compressible": true,
- "extensions": ["raml"]
- },
- "application/raptorfec": {
- "source": "iana"
- },
- "application/rdap+json": {
- "source": "iana",
- "compressible": true
- },
- "application/rdf+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rdf","owl"]
- },
- "application/reginfo+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rif"]
- },
- "application/relax-ng-compact-syntax": {
- "source": "iana",
- "extensions": ["rnc"]
- },
- "application/remote-printing": {
- "source": "iana"
- },
- "application/reputon+json": {
- "source": "iana",
- "compressible": true
- },
- "application/resource-lists+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rl"]
- },
- "application/resource-lists-diff+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rld"]
- },
- "application/rfc+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/riscos": {
- "source": "iana"
- },
- "application/rlmi+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/rls-services+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rs"]
- },
- "application/route-apd+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rapd"]
- },
- "application/route-s-tsid+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["sls"]
- },
- "application/route-usd+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rusd"]
- },
- "application/rpki-ghostbusters": {
- "source": "iana",
- "extensions": ["gbr"]
- },
- "application/rpki-manifest": {
- "source": "iana",
- "extensions": ["mft"]
- },
- "application/rpki-publication": {
- "source": "iana"
- },
- "application/rpki-roa": {
- "source": "iana",
- "extensions": ["roa"]
- },
- "application/rpki-updown": {
- "source": "iana"
- },
- "application/rsd+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["rsd"]
- },
- "application/rss+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["rss"]
- },
- "application/rtf": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rtf"]
- },
- "application/rtploopback": {
- "source": "iana"
- },
- "application/rtx": {
- "source": "iana"
- },
- "application/samlassertion+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/samlmetadata+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/sbe": {
- "source": "iana"
- },
- "application/sbml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["sbml"]
- },
- "application/scaip+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/scim+json": {
- "source": "iana",
- "compressible": true
- },
- "application/scvp-cv-request": {
- "source": "iana",
- "extensions": ["scq"]
- },
- "application/scvp-cv-response": {
- "source": "iana",
- "extensions": ["scs"]
- },
- "application/scvp-vp-request": {
- "source": "iana",
- "extensions": ["spq"]
- },
- "application/scvp-vp-response": {
- "source": "iana",
- "extensions": ["spp"]
- },
- "application/sdp": {
- "source": "iana",
- "extensions": ["sdp"]
- },
- "application/secevent+jwt": {
- "source": "iana"
- },
- "application/senml+cbor": {
- "source": "iana"
- },
- "application/senml+json": {
- "source": "iana",
- "compressible": true
- },
- "application/senml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["senmlx"]
- },
- "application/senml-etch+cbor": {
- "source": "iana"
- },
- "application/senml-etch+json": {
- "source": "iana",
- "compressible": true
- },
- "application/senml-exi": {
- "source": "iana"
- },
- "application/sensml+cbor": {
- "source": "iana"
- },
- "application/sensml+json": {
- "source": "iana",
- "compressible": true
- },
- "application/sensml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["sensmlx"]
- },
- "application/sensml-exi": {
- "source": "iana"
- },
- "application/sep+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/sep-exi": {
- "source": "iana"
- },
- "application/session-info": {
- "source": "iana"
- },
- "application/set-payment": {
- "source": "iana"
- },
- "application/set-payment-initiation": {
- "source": "iana",
- "extensions": ["setpay"]
- },
- "application/set-registration": {
- "source": "iana"
- },
- "application/set-registration-initiation": {
- "source": "iana",
- "extensions": ["setreg"]
- },
- "application/sgml": {
- "source": "iana"
- },
- "application/sgml-open-catalog": {
- "source": "iana"
- },
- "application/shf+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["shf"]
- },
- "application/sieve": {
- "source": "iana",
- "extensions": ["siv","sieve"]
- },
- "application/simple-filter+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/simple-message-summary": {
- "source": "iana"
- },
- "application/simplesymbolcontainer": {
- "source": "iana"
- },
- "application/sipc": {
- "source": "iana"
- },
- "application/slate": {
- "source": "iana"
- },
- "application/smil": {
- "source": "iana"
- },
- "application/smil+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["smi","smil"]
- },
- "application/smpte336m": {
- "source": "iana"
- },
- "application/soap+fastinfoset": {
- "source": "iana"
- },
- "application/soap+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/sparql-query": {
- "source": "iana",
- "extensions": ["rq"]
- },
- "application/sparql-results+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["srx"]
- },
- "application/spirits-event+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/sql": {
- "source": "iana"
- },
- "application/srgs": {
- "source": "iana",
- "extensions": ["gram"]
- },
- "application/srgs+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["grxml"]
- },
- "application/sru+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["sru"]
- },
- "application/ssdl+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["ssdl"]
- },
- "application/ssml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["ssml"]
- },
- "application/stix+json": {
- "source": "iana",
- "compressible": true
- },
- "application/swid+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["swidtag"]
- },
- "application/tamp-apex-update": {
- "source": "iana"
- },
- "application/tamp-apex-update-confirm": {
- "source": "iana"
- },
- "application/tamp-community-update": {
- "source": "iana"
- },
- "application/tamp-community-update-confirm": {
- "source": "iana"
- },
- "application/tamp-error": {
- "source": "iana"
- },
- "application/tamp-sequence-adjust": {
- "source": "iana"
- },
- "application/tamp-sequence-adjust-confirm": {
- "source": "iana"
- },
- "application/tamp-status-query": {
- "source": "iana"
- },
- "application/tamp-status-response": {
- "source": "iana"
- },
- "application/tamp-update": {
- "source": "iana"
- },
- "application/tamp-update-confirm": {
- "source": "iana"
- },
- "application/tar": {
- "compressible": true
- },
- "application/taxii+json": {
- "source": "iana",
- "compressible": true
- },
- "application/td+json": {
- "source": "iana",
- "compressible": true
- },
- "application/tei+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["tei","teicorpus"]
- },
- "application/tetra_isi": {
- "source": "iana"
- },
- "application/thraud+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["tfi"]
- },
- "application/timestamp-query": {
- "source": "iana"
- },
- "application/timestamp-reply": {
- "source": "iana"
- },
- "application/timestamped-data": {
- "source": "iana",
- "extensions": ["tsd"]
- },
- "application/tlsrpt+gzip": {
- "source": "iana"
- },
- "application/tlsrpt+json": {
- "source": "iana",
- "compressible": true
- },
- "application/tnauthlist": {
- "source": "iana"
- },
- "application/toml": {
- "compressible": true,
- "extensions": ["toml"]
- },
- "application/trickle-ice-sdpfrag": {
- "source": "iana"
- },
- "application/trig": {
- "source": "iana"
- },
- "application/ttml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["ttml"]
- },
- "application/tve-trigger": {
- "source": "iana"
- },
- "application/tzif": {
- "source": "iana"
- },
- "application/tzif-leap": {
- "source": "iana"
- },
- "application/ulpfec": {
- "source": "iana"
- },
- "application/urc-grpsheet+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/urc-ressheet+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rsheet"]
- },
- "application/urc-targetdesc+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/urc-uisocketdesc+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vcard+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vcard+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vemmi": {
- "source": "iana"
- },
- "application/vividence.scriptfile": {
- "source": "apache"
- },
- "application/vnd.1000minds.decision-model+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["1km"]
- },
- "application/vnd.3gpp-prose+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp-prose-pc3ch+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp-v2x-local-service-information": {
- "source": "iana"
- },
- "application/vnd.3gpp.access-transfer-events+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.bsf+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.gmop+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mc-signalling-ear": {
- "source": "iana"
- },
- "application/vnd.3gpp.mcdata-affiliation-command+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcdata-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcdata-payload": {
- "source": "iana"
- },
- "application/vnd.3gpp.mcdata-service-config+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcdata-signalling": {
- "source": "iana"
- },
- "application/vnd.3gpp.mcdata-ue-config+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcdata-user-profile+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-affiliation-command+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-floor-request+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-location-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-mbms-usage-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-service-config+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-signed+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-ue-config+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-ue-init-config+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcptt-user-profile+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-affiliation-command+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-affiliation-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-location-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-mbms-usage-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-service-config+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-transmission-request+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-ue-config+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mcvideo-user-profile+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.mid-call+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.pic-bw-large": {
- "source": "iana",
- "extensions": ["plb"]
- },
- "application/vnd.3gpp.pic-bw-small": {
- "source": "iana",
- "extensions": ["psb"]
- },
- "application/vnd.3gpp.pic-bw-var": {
- "source": "iana",
- "extensions": ["pvb"]
- },
- "application/vnd.3gpp.sms": {
- "source": "iana"
- },
- "application/vnd.3gpp.sms+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.srvcc-ext+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.srvcc-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.state-and-event-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp.ussd+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp2.bcmcsinfo+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.3gpp2.sms": {
- "source": "iana"
- },
- "application/vnd.3gpp2.tcap": {
- "source": "iana",
- "extensions": ["tcap"]
- },
- "application/vnd.3lightssoftware.imagescal": {
- "source": "iana"
- },
- "application/vnd.3m.post-it-notes": {
- "source": "iana",
- "extensions": ["pwn"]
- },
- "application/vnd.accpac.simply.aso": {
- "source": "iana",
- "extensions": ["aso"]
- },
- "application/vnd.accpac.simply.imp": {
- "source": "iana",
- "extensions": ["imp"]
- },
- "application/vnd.acucobol": {
- "source": "iana",
- "extensions": ["acu"]
- },
- "application/vnd.acucorp": {
- "source": "iana",
- "extensions": ["atc","acutc"]
- },
- "application/vnd.adobe.air-application-installer-package+zip": {
- "source": "apache",
- "compressible": false,
- "extensions": ["air"]
- },
- "application/vnd.adobe.flash.movie": {
- "source": "iana"
- },
- "application/vnd.adobe.formscentral.fcdt": {
- "source": "iana",
- "extensions": ["fcdt"]
- },
- "application/vnd.adobe.fxp": {
- "source": "iana",
- "extensions": ["fxp","fxpl"]
- },
- "application/vnd.adobe.partial-upload": {
- "source": "iana"
- },
- "application/vnd.adobe.xdp+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xdp"]
- },
- "application/vnd.adobe.xfdf": {
- "source": "iana",
- "extensions": ["xfdf"]
- },
- "application/vnd.aether.imp": {
- "source": "iana"
- },
- "application/vnd.afpc.afplinedata": {
- "source": "iana"
- },
- "application/vnd.afpc.afplinedata-pagedef": {
- "source": "iana"
- },
- "application/vnd.afpc.foca-charset": {
- "source": "iana"
- },
- "application/vnd.afpc.foca-codedfont": {
- "source": "iana"
- },
- "application/vnd.afpc.foca-codepage": {
- "source": "iana"
- },
- "application/vnd.afpc.modca": {
- "source": "iana"
- },
- "application/vnd.afpc.modca-formdef": {
- "source": "iana"
- },
- "application/vnd.afpc.modca-mediummap": {
- "source": "iana"
- },
- "application/vnd.afpc.modca-objectcontainer": {
- "source": "iana"
- },
- "application/vnd.afpc.modca-overlay": {
- "source": "iana"
- },
- "application/vnd.afpc.modca-pagesegment": {
- "source": "iana"
- },
- "application/vnd.ah-barcode": {
- "source": "iana"
- },
- "application/vnd.ahead.space": {
- "source": "iana",
- "extensions": ["ahead"]
- },
- "application/vnd.airzip.filesecure.azf": {
- "source": "iana",
- "extensions": ["azf"]
- },
- "application/vnd.airzip.filesecure.azs": {
- "source": "iana",
- "extensions": ["azs"]
- },
- "application/vnd.amadeus+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.amazon.ebook": {
- "source": "apache",
- "extensions": ["azw"]
- },
- "application/vnd.amazon.mobi8-ebook": {
- "source": "iana"
- },
- "application/vnd.americandynamics.acc": {
- "source": "iana",
- "extensions": ["acc"]
- },
- "application/vnd.amiga.ami": {
- "source": "iana",
- "extensions": ["ami"]
- },
- "application/vnd.amundsen.maze+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.android.ota": {
- "source": "iana"
- },
- "application/vnd.android.package-archive": {
- "source": "apache",
- "compressible": false,
- "extensions": ["apk"]
- },
- "application/vnd.anki": {
- "source": "iana"
- },
- "application/vnd.anser-web-certificate-issue-initiation": {
- "source": "iana",
- "extensions": ["cii"]
- },
- "application/vnd.anser-web-funds-transfer-initiation": {
- "source": "apache",
- "extensions": ["fti"]
- },
- "application/vnd.antix.game-component": {
- "source": "iana",
- "extensions": ["atx"]
- },
- "application/vnd.apache.thrift.binary": {
- "source": "iana"
- },
- "application/vnd.apache.thrift.compact": {
- "source": "iana"
- },
- "application/vnd.apache.thrift.json": {
- "source": "iana"
- },
- "application/vnd.api+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.aplextor.warrp+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.apothekende.reservation+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.apple.installer+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mpkg"]
- },
- "application/vnd.apple.keynote": {
- "source": "iana",
- "extensions": ["keynote"]
- },
- "application/vnd.apple.mpegurl": {
- "source": "iana",
- "extensions": ["m3u8"]
- },
- "application/vnd.apple.numbers": {
- "source": "iana",
- "extensions": ["numbers"]
- },
- "application/vnd.apple.pages": {
- "source": "iana",
- "extensions": ["pages"]
- },
- "application/vnd.apple.pkpass": {
- "compressible": false,
- "extensions": ["pkpass"]
- },
- "application/vnd.arastra.swi": {
- "source": "iana"
- },
- "application/vnd.aristanetworks.swi": {
- "source": "iana",
- "extensions": ["swi"]
- },
- "application/vnd.artisan+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.artsquare": {
- "source": "iana"
- },
- "application/vnd.astraea-software.iota": {
- "source": "iana",
- "extensions": ["iota"]
- },
- "application/vnd.audiograph": {
- "source": "iana",
- "extensions": ["aep"]
- },
- "application/vnd.autopackage": {
- "source": "iana"
- },
- "application/vnd.avalon+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.avistar+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.balsamiq.bmml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["bmml"]
- },
- "application/vnd.balsamiq.bmpr": {
- "source": "iana"
- },
- "application/vnd.banana-accounting": {
- "source": "iana"
- },
- "application/vnd.bbf.usp.error": {
- "source": "iana"
- },
- "application/vnd.bbf.usp.msg": {
- "source": "iana"
- },
- "application/vnd.bbf.usp.msg+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.bekitzur-stech+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.bint.med-content": {
- "source": "iana"
- },
- "application/vnd.biopax.rdf+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.blink-idb-value-wrapper": {
- "source": "iana"
- },
- "application/vnd.blueice.multipass": {
- "source": "iana",
- "extensions": ["mpm"]
- },
- "application/vnd.bluetooth.ep.oob": {
- "source": "iana"
- },
- "application/vnd.bluetooth.le.oob": {
- "source": "iana"
- },
- "application/vnd.bmi": {
- "source": "iana",
- "extensions": ["bmi"]
- },
- "application/vnd.bpf": {
- "source": "iana"
- },
- "application/vnd.bpf3": {
- "source": "iana"
- },
- "application/vnd.businessobjects": {
- "source": "iana",
- "extensions": ["rep"]
- },
- "application/vnd.byu.uapi+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.cab-jscript": {
- "source": "iana"
- },
- "application/vnd.canon-cpdl": {
- "source": "iana"
- },
- "application/vnd.canon-lips": {
- "source": "iana"
- },
- "application/vnd.capasystems-pg+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.cendio.thinlinc.clientconf": {
- "source": "iana"
- },
- "application/vnd.century-systems.tcp_stream": {
- "source": "iana"
- },
- "application/vnd.chemdraw+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["cdxml"]
- },
- "application/vnd.chess-pgn": {
- "source": "iana"
- },
- "application/vnd.chipnuts.karaoke-mmd": {
- "source": "iana",
- "extensions": ["mmd"]
- },
- "application/vnd.ciedi": {
- "source": "iana"
- },
- "application/vnd.cinderella": {
- "source": "iana",
- "extensions": ["cdy"]
- },
- "application/vnd.cirpack.isdn-ext": {
- "source": "iana"
- },
- "application/vnd.citationstyles.style+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["csl"]
- },
- "application/vnd.claymore": {
- "source": "iana",
- "extensions": ["cla"]
- },
- "application/vnd.cloanto.rp9": {
- "source": "iana",
- "extensions": ["rp9"]
- },
- "application/vnd.clonk.c4group": {
- "source": "iana",
- "extensions": ["c4g","c4d","c4f","c4p","c4u"]
- },
- "application/vnd.cluetrust.cartomobile-config": {
- "source": "iana",
- "extensions": ["c11amc"]
- },
- "application/vnd.cluetrust.cartomobile-config-pkg": {
- "source": "iana",
- "extensions": ["c11amz"]
- },
- "application/vnd.coffeescript": {
- "source": "iana"
- },
- "application/vnd.collabio.xodocuments.document": {
- "source": "iana"
- },
- "application/vnd.collabio.xodocuments.document-template": {
- "source": "iana"
- },
- "application/vnd.collabio.xodocuments.presentation": {
- "source": "iana"
- },
- "application/vnd.collabio.xodocuments.presentation-template": {
- "source": "iana"
- },
- "application/vnd.collabio.xodocuments.spreadsheet": {
- "source": "iana"
- },
- "application/vnd.collabio.xodocuments.spreadsheet-template": {
- "source": "iana"
- },
- "application/vnd.collection+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.collection.doc+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.collection.next+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.comicbook+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.comicbook-rar": {
- "source": "iana"
- },
- "application/vnd.commerce-battelle": {
- "source": "iana"
- },
- "application/vnd.commonspace": {
- "source": "iana",
- "extensions": ["csp"]
- },
- "application/vnd.contact.cmsg": {
- "source": "iana",
- "extensions": ["cdbcmsg"]
- },
- "application/vnd.coreos.ignition+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.cosmocaller": {
- "source": "iana",
- "extensions": ["cmc"]
- },
- "application/vnd.crick.clicker": {
- "source": "iana",
- "extensions": ["clkx"]
- },
- "application/vnd.crick.clicker.keyboard": {
- "source": "iana",
- "extensions": ["clkk"]
- },
- "application/vnd.crick.clicker.palette": {
- "source": "iana",
- "extensions": ["clkp"]
- },
- "application/vnd.crick.clicker.template": {
- "source": "iana",
- "extensions": ["clkt"]
- },
- "application/vnd.crick.clicker.wordbank": {
- "source": "iana",
- "extensions": ["clkw"]
- },
- "application/vnd.criticaltools.wbs+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["wbs"]
- },
- "application/vnd.cryptii.pipe+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.crypto-shade-file": {
- "source": "iana"
- },
- "application/vnd.ctc-posml": {
- "source": "iana",
- "extensions": ["pml"]
- },
- "application/vnd.ctct.ws+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.cups-pdf": {
- "source": "iana"
- },
- "application/vnd.cups-postscript": {
- "source": "iana"
- },
- "application/vnd.cups-ppd": {
- "source": "iana",
- "extensions": ["ppd"]
- },
- "application/vnd.cups-raster": {
- "source": "iana"
- },
- "application/vnd.cups-raw": {
- "source": "iana"
- },
- "application/vnd.curl": {
- "source": "iana"
- },
- "application/vnd.curl.car": {
- "source": "apache",
- "extensions": ["car"]
- },
- "application/vnd.curl.pcurl": {
- "source": "apache",
- "extensions": ["pcurl"]
- },
- "application/vnd.cyan.dean.root+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.cybank": {
- "source": "iana"
- },
- "application/vnd.d2l.coursepackage1p0+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.dart": {
- "source": "iana",
- "compressible": true,
- "extensions": ["dart"]
- },
- "application/vnd.data-vision.rdz": {
- "source": "iana",
- "extensions": ["rdz"]
- },
- "application/vnd.datapackage+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dataresource+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dbf": {
- "source": "iana"
- },
- "application/vnd.debian.binary-package": {
- "source": "iana"
- },
- "application/vnd.dece.data": {
- "source": "iana",
- "extensions": ["uvf","uvvf","uvd","uvvd"]
- },
- "application/vnd.dece.ttml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["uvt","uvvt"]
- },
- "application/vnd.dece.unspecified": {
- "source": "iana",
- "extensions": ["uvx","uvvx"]
- },
- "application/vnd.dece.zip": {
- "source": "iana",
- "extensions": ["uvz","uvvz"]
- },
- "application/vnd.denovo.fcselayout-link": {
- "source": "iana",
- "extensions": ["fe_launch"]
- },
- "application/vnd.desmume.movie": {
- "source": "iana"
- },
- "application/vnd.dir-bi.plate-dl-nosuffix": {
- "source": "iana"
- },
- "application/vnd.dm.delegation+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dna": {
- "source": "iana",
- "extensions": ["dna"]
- },
- "application/vnd.document+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dolby.mlp": {
- "source": "apache",
- "extensions": ["mlp"]
- },
- "application/vnd.dolby.mobile.1": {
- "source": "iana"
- },
- "application/vnd.dolby.mobile.2": {
- "source": "iana"
- },
- "application/vnd.doremir.scorecloud-binary-document": {
- "source": "iana"
- },
- "application/vnd.dpgraph": {
- "source": "iana",
- "extensions": ["dpg"]
- },
- "application/vnd.dreamfactory": {
- "source": "iana",
- "extensions": ["dfac"]
- },
- "application/vnd.drive+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ds-keypoint": {
- "source": "apache",
- "extensions": ["kpxx"]
- },
- "application/vnd.dtg.local": {
- "source": "iana"
- },
- "application/vnd.dtg.local.flash": {
- "source": "iana"
- },
- "application/vnd.dtg.local.html": {
- "source": "iana"
- },
- "application/vnd.dvb.ait": {
- "source": "iana",
- "extensions": ["ait"]
- },
- "application/vnd.dvb.dvbisl+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dvb.dvbj": {
- "source": "iana"
- },
- "application/vnd.dvb.esgcontainer": {
- "source": "iana"
- },
- "application/vnd.dvb.ipdcdftnotifaccess": {
- "source": "iana"
- },
- "application/vnd.dvb.ipdcesgaccess": {
- "source": "iana"
- },
- "application/vnd.dvb.ipdcesgaccess2": {
- "source": "iana"
- },
- "application/vnd.dvb.ipdcesgpdd": {
- "source": "iana"
- },
- "application/vnd.dvb.ipdcroaming": {
- "source": "iana"
- },
- "application/vnd.dvb.iptv.alfec-base": {
- "source": "iana"
- },
- "application/vnd.dvb.iptv.alfec-enhancement": {
- "source": "iana"
- },
- "application/vnd.dvb.notif-aggregate-root+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dvb.notif-container+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dvb.notif-generic+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dvb.notif-ia-msglist+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dvb.notif-ia-registration-request+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dvb.notif-ia-registration-response+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dvb.notif-init+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.dvb.pfr": {
- "source": "iana"
- },
- "application/vnd.dvb.service": {
- "source": "iana",
- "extensions": ["svc"]
- },
- "application/vnd.dxr": {
- "source": "iana"
- },
- "application/vnd.dynageo": {
- "source": "iana",
- "extensions": ["geo"]
- },
- "application/vnd.dzr": {
- "source": "iana"
- },
- "application/vnd.easykaraoke.cdgdownload": {
- "source": "iana"
- },
- "application/vnd.ecdis-update": {
- "source": "iana"
- },
- "application/vnd.ecip.rlp": {
- "source": "iana"
- },
- "application/vnd.ecowin.chart": {
- "source": "iana",
- "extensions": ["mag"]
- },
- "application/vnd.ecowin.filerequest": {
- "source": "iana"
- },
- "application/vnd.ecowin.fileupdate": {
- "source": "iana"
- },
- "application/vnd.ecowin.series": {
- "source": "iana"
- },
- "application/vnd.ecowin.seriesrequest": {
- "source": "iana"
- },
- "application/vnd.ecowin.seriesupdate": {
- "source": "iana"
- },
- "application/vnd.efi.img": {
- "source": "iana"
- },
- "application/vnd.efi.iso": {
- "source": "iana"
- },
- "application/vnd.emclient.accessrequest+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.enliven": {
- "source": "iana",
- "extensions": ["nml"]
- },
- "application/vnd.enphase.envoy": {
- "source": "iana"
- },
- "application/vnd.eprints.data+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.epson.esf": {
- "source": "iana",
- "extensions": ["esf"]
- },
- "application/vnd.epson.msf": {
- "source": "iana",
- "extensions": ["msf"]
- },
- "application/vnd.epson.quickanime": {
- "source": "iana",
- "extensions": ["qam"]
- },
- "application/vnd.epson.salt": {
- "source": "iana",
- "extensions": ["slt"]
- },
- "application/vnd.epson.ssf": {
- "source": "iana",
- "extensions": ["ssf"]
- },
- "application/vnd.ericsson.quickcall": {
- "source": "iana"
- },
- "application/vnd.espass-espass+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.eszigno3+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["es3","et3"]
- },
- "application/vnd.etsi.aoc+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.asic-e+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.etsi.asic-s+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.etsi.cug+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvcommand+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvdiscovery+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvprofile+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvsad-bc+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvsad-cod+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvsad-npvr+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvservice+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvsync+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.iptvueprofile+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.mcid+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.mheg5": {
- "source": "iana"
- },
- "application/vnd.etsi.overload-control-policy-dataset+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.pstn+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.sci+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.simservs+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.timestamp-token": {
- "source": "iana"
- },
- "application/vnd.etsi.tsl+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.etsi.tsl.der": {
- "source": "iana"
- },
- "application/vnd.eudora.data": {
- "source": "iana"
- },
- "application/vnd.evolv.ecig.profile": {
- "source": "iana"
- },
- "application/vnd.evolv.ecig.settings": {
- "source": "iana"
- },
- "application/vnd.evolv.ecig.theme": {
- "source": "iana"
- },
- "application/vnd.exstream-empower+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.exstream-package": {
- "source": "iana"
- },
- "application/vnd.ezpix-album": {
- "source": "iana",
- "extensions": ["ez2"]
- },
- "application/vnd.ezpix-package": {
- "source": "iana",
- "extensions": ["ez3"]
- },
- "application/vnd.f-secure.mobile": {
- "source": "iana"
- },
- "application/vnd.fastcopy-disk-image": {
- "source": "iana"
- },
- "application/vnd.fdf": {
- "source": "iana",
- "extensions": ["fdf"]
- },
- "application/vnd.fdsn.mseed": {
- "source": "iana",
- "extensions": ["mseed"]
- },
- "application/vnd.fdsn.seed": {
- "source": "iana",
- "extensions": ["seed","dataless"]
- },
- "application/vnd.ffsns": {
- "source": "iana"
- },
- "application/vnd.ficlab.flb+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.filmit.zfc": {
- "source": "iana"
- },
- "application/vnd.fints": {
- "source": "iana"
- },
- "application/vnd.firemonkeys.cloudcell": {
- "source": "iana"
- },
- "application/vnd.flographit": {
- "source": "iana",
- "extensions": ["gph"]
- },
- "application/vnd.fluxtime.clip": {
- "source": "iana",
- "extensions": ["ftc"]
- },
- "application/vnd.font-fontforge-sfd": {
- "source": "iana"
- },
- "application/vnd.framemaker": {
- "source": "iana",
- "extensions": ["fm","frame","maker","book"]
- },
- "application/vnd.frogans.fnc": {
- "source": "iana",
- "extensions": ["fnc"]
- },
- "application/vnd.frogans.ltf": {
- "source": "iana",
- "extensions": ["ltf"]
- },
- "application/vnd.fsc.weblaunch": {
- "source": "iana",
- "extensions": ["fsc"]
- },
- "application/vnd.fujitsu.oasys": {
- "source": "iana",
- "extensions": ["oas"]
- },
- "application/vnd.fujitsu.oasys2": {
- "source": "iana",
- "extensions": ["oa2"]
- },
- "application/vnd.fujitsu.oasys3": {
- "source": "iana",
- "extensions": ["oa3"]
- },
- "application/vnd.fujitsu.oasysgp": {
- "source": "iana",
- "extensions": ["fg5"]
- },
- "application/vnd.fujitsu.oasysprs": {
- "source": "iana",
- "extensions": ["bh2"]
- },
- "application/vnd.fujixerox.art-ex": {
- "source": "iana"
- },
- "application/vnd.fujixerox.art4": {
- "source": "iana"
- },
- "application/vnd.fujixerox.ddd": {
- "source": "iana",
- "extensions": ["ddd"]
- },
- "application/vnd.fujixerox.docuworks": {
- "source": "iana",
- "extensions": ["xdw"]
- },
- "application/vnd.fujixerox.docuworks.binder": {
- "source": "iana",
- "extensions": ["xbd"]
- },
- "application/vnd.fujixerox.docuworks.container": {
- "source": "iana"
- },
- "application/vnd.fujixerox.hbpl": {
- "source": "iana"
- },
- "application/vnd.fut-misnet": {
- "source": "iana"
- },
- "application/vnd.futoin+cbor": {
- "source": "iana"
- },
- "application/vnd.futoin+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.fuzzysheet": {
- "source": "iana",
- "extensions": ["fzs"]
- },
- "application/vnd.genomatix.tuxedo": {
- "source": "iana",
- "extensions": ["txd"]
- },
- "application/vnd.gentics.grd+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.geo+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.geocube+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.geogebra.file": {
- "source": "iana",
- "extensions": ["ggb"]
- },
- "application/vnd.geogebra.tool": {
- "source": "iana",
- "extensions": ["ggt"]
- },
- "application/vnd.geometry-explorer": {
- "source": "iana",
- "extensions": ["gex","gre"]
- },
- "application/vnd.geonext": {
- "source": "iana",
- "extensions": ["gxt"]
- },
- "application/vnd.geoplan": {
- "source": "iana",
- "extensions": ["g2w"]
- },
- "application/vnd.geospace": {
- "source": "iana",
- "extensions": ["g3w"]
- },
- "application/vnd.gerber": {
- "source": "iana"
- },
- "application/vnd.globalplatform.card-content-mgt": {
- "source": "iana"
- },
- "application/vnd.globalplatform.card-content-mgt-response": {
- "source": "iana"
- },
- "application/vnd.gmx": {
- "source": "iana",
- "extensions": ["gmx"]
- },
- "application/vnd.google-apps.document": {
- "compressible": false,
- "extensions": ["gdoc"]
- },
- "application/vnd.google-apps.presentation": {
- "compressible": false,
- "extensions": ["gslides"]
- },
- "application/vnd.google-apps.spreadsheet": {
- "compressible": false,
- "extensions": ["gsheet"]
- },
- "application/vnd.google-earth.kml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["kml"]
- },
- "application/vnd.google-earth.kmz": {
- "source": "iana",
- "compressible": false,
- "extensions": ["kmz"]
- },
- "application/vnd.gov.sk.e-form+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.gov.sk.e-form+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.gov.sk.xmldatacontainer+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.grafeq": {
- "source": "iana",
- "extensions": ["gqf","gqs"]
- },
- "application/vnd.gridmp": {
- "source": "iana"
- },
- "application/vnd.groove-account": {
- "source": "iana",
- "extensions": ["gac"]
- },
- "application/vnd.groove-help": {
- "source": "iana",
- "extensions": ["ghf"]
- },
- "application/vnd.groove-identity-message": {
- "source": "iana",
- "extensions": ["gim"]
- },
- "application/vnd.groove-injector": {
- "source": "iana",
- "extensions": ["grv"]
- },
- "application/vnd.groove-tool-message": {
- "source": "iana",
- "extensions": ["gtm"]
- },
- "application/vnd.groove-tool-template": {
- "source": "iana",
- "extensions": ["tpl"]
- },
- "application/vnd.groove-vcard": {
- "source": "iana",
- "extensions": ["vcg"]
- },
- "application/vnd.hal+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.hal+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["hal"]
- },
- "application/vnd.handheld-entertainment+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["zmm"]
- },
- "application/vnd.hbci": {
- "source": "iana",
- "extensions": ["hbci"]
- },
- "application/vnd.hc+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.hcl-bireports": {
- "source": "iana"
- },
- "application/vnd.hdt": {
- "source": "iana"
- },
- "application/vnd.heroku+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.hhe.lesson-player": {
- "source": "iana",
- "extensions": ["les"]
- },
- "application/vnd.hp-hpgl": {
- "source": "iana",
- "extensions": ["hpgl"]
- },
- "application/vnd.hp-hpid": {
- "source": "iana",
- "extensions": ["hpid"]
- },
- "application/vnd.hp-hps": {
- "source": "iana",
- "extensions": ["hps"]
- },
- "application/vnd.hp-jlyt": {
- "source": "iana",
- "extensions": ["jlt"]
- },
- "application/vnd.hp-pcl": {
- "source": "iana",
- "extensions": ["pcl"]
- },
- "application/vnd.hp-pclxl": {
- "source": "iana",
- "extensions": ["pclxl"]
- },
- "application/vnd.httphone": {
- "source": "iana"
- },
- "application/vnd.hydrostatix.sof-data": {
- "source": "iana",
- "extensions": ["sfd-hdstx"]
- },
- "application/vnd.hyper+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.hyper-item+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.hyperdrive+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.hzn-3d-crossword": {
- "source": "iana"
- },
- "application/vnd.ibm.afplinedata": {
- "source": "iana"
- },
- "application/vnd.ibm.electronic-media": {
- "source": "iana"
- },
- "application/vnd.ibm.minipay": {
- "source": "iana",
- "extensions": ["mpy"]
- },
- "application/vnd.ibm.modcap": {
- "source": "iana",
- "extensions": ["afp","listafp","list3820"]
- },
- "application/vnd.ibm.rights-management": {
- "source": "iana",
- "extensions": ["irm"]
- },
- "application/vnd.ibm.secure-container": {
- "source": "iana",
- "extensions": ["sc"]
- },
- "application/vnd.iccprofile": {
- "source": "iana",
- "extensions": ["icc","icm"]
- },
- "application/vnd.ieee.1905": {
- "source": "iana"
- },
- "application/vnd.igloader": {
- "source": "iana",
- "extensions": ["igl"]
- },
- "application/vnd.imagemeter.folder+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.imagemeter.image+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.immervision-ivp": {
- "source": "iana",
- "extensions": ["ivp"]
- },
- "application/vnd.immervision-ivu": {
- "source": "iana",
- "extensions": ["ivu"]
- },
- "application/vnd.ims.imsccv1p1": {
- "source": "iana"
- },
- "application/vnd.ims.imsccv1p2": {
- "source": "iana"
- },
- "application/vnd.ims.imsccv1p3": {
- "source": "iana"
- },
- "application/vnd.ims.lis.v2.result+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ims.lti.v2.toolconsumerprofile+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ims.lti.v2.toolproxy+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ims.lti.v2.toolproxy.id+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ims.lti.v2.toolsettings+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ims.lti.v2.toolsettings.simple+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.informedcontrol.rms+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.informix-visionary": {
- "source": "iana"
- },
- "application/vnd.infotech.project": {
- "source": "iana"
- },
- "application/vnd.infotech.project+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.innopath.wamp.notification": {
- "source": "iana"
- },
- "application/vnd.insors.igm": {
- "source": "iana",
- "extensions": ["igm"]
- },
- "application/vnd.intercon.formnet": {
- "source": "iana",
- "extensions": ["xpw","xpx"]
- },
- "application/vnd.intergeo": {
- "source": "iana",
- "extensions": ["i2g"]
- },
- "application/vnd.intertrust.digibox": {
- "source": "iana"
- },
- "application/vnd.intertrust.nncp": {
- "source": "iana"
- },
- "application/vnd.intu.qbo": {
- "source": "iana",
- "extensions": ["qbo"]
- },
- "application/vnd.intu.qfx": {
- "source": "iana",
- "extensions": ["qfx"]
- },
- "application/vnd.iptc.g2.catalogitem+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.iptc.g2.conceptitem+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.iptc.g2.knowledgeitem+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.iptc.g2.newsitem+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.iptc.g2.newsmessage+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.iptc.g2.packageitem+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.iptc.g2.planningitem+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ipunplugged.rcprofile": {
- "source": "iana",
- "extensions": ["rcprofile"]
- },
- "application/vnd.irepository.package+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["irp"]
- },
- "application/vnd.is-xpr": {
- "source": "iana",
- "extensions": ["xpr"]
- },
- "application/vnd.isac.fcs": {
- "source": "iana",
- "extensions": ["fcs"]
- },
- "application/vnd.iso11783-10+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.jam": {
- "source": "iana",
- "extensions": ["jam"]
- },
- "application/vnd.japannet-directory-service": {
- "source": "iana"
- },
- "application/vnd.japannet-jpnstore-wakeup": {
- "source": "iana"
- },
- "application/vnd.japannet-payment-wakeup": {
- "source": "iana"
- },
- "application/vnd.japannet-registration": {
- "source": "iana"
- },
- "application/vnd.japannet-registration-wakeup": {
- "source": "iana"
- },
- "application/vnd.japannet-setstore-wakeup": {
- "source": "iana"
- },
- "application/vnd.japannet-verification": {
- "source": "iana"
- },
- "application/vnd.japannet-verification-wakeup": {
- "source": "iana"
- },
- "application/vnd.jcp.javame.midlet-rms": {
- "source": "iana",
- "extensions": ["rms"]
- },
- "application/vnd.jisp": {
- "source": "iana",
- "extensions": ["jisp"]
- },
- "application/vnd.joost.joda-archive": {
- "source": "iana",
- "extensions": ["joda"]
- },
- "application/vnd.jsk.isdn-ngn": {
- "source": "iana"
- },
- "application/vnd.kahootz": {
- "source": "iana",
- "extensions": ["ktz","ktr"]
- },
- "application/vnd.kde.karbon": {
- "source": "iana",
- "extensions": ["karbon"]
- },
- "application/vnd.kde.kchart": {
- "source": "iana",
- "extensions": ["chrt"]
- },
- "application/vnd.kde.kformula": {
- "source": "iana",
- "extensions": ["kfo"]
- },
- "application/vnd.kde.kivio": {
- "source": "iana",
- "extensions": ["flw"]
- },
- "application/vnd.kde.kontour": {
- "source": "iana",
- "extensions": ["kon"]
- },
- "application/vnd.kde.kpresenter": {
- "source": "iana",
- "extensions": ["kpr","kpt"]
- },
- "application/vnd.kde.kspread": {
- "source": "iana",
- "extensions": ["ksp"]
- },
- "application/vnd.kde.kword": {
- "source": "iana",
- "extensions": ["kwd","kwt"]
- },
- "application/vnd.kenameaapp": {
- "source": "iana",
- "extensions": ["htke"]
- },
- "application/vnd.kidspiration": {
- "source": "iana",
- "extensions": ["kia"]
- },
- "application/vnd.kinar": {
- "source": "iana",
- "extensions": ["kne","knp"]
- },
- "application/vnd.koan": {
- "source": "iana",
- "extensions": ["skp","skd","skt","skm"]
- },
- "application/vnd.kodak-descriptor": {
- "source": "iana",
- "extensions": ["sse"]
- },
- "application/vnd.las": {
- "source": "iana"
- },
- "application/vnd.las.las+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.las.las+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["lasxml"]
- },
- "application/vnd.laszip": {
- "source": "iana"
- },
- "application/vnd.leap+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.liberty-request+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.llamagraphics.life-balance.desktop": {
- "source": "iana",
- "extensions": ["lbd"]
- },
- "application/vnd.llamagraphics.life-balance.exchange+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["lbe"]
- },
- "application/vnd.logipipe.circuit+zip": {
- "source": "iana",
- "compressible": false
- },
- "application/vnd.loom": {
- "source": "iana"
- },
- "application/vnd.lotus-1-2-3": {
- "source": "iana",
- "extensions": ["123"]
- },
- "application/vnd.lotus-approach": {
- "source": "iana",
- "extensions": ["apr"]
- },
- "application/vnd.lotus-freelance": {
- "source": "iana",
- "extensions": ["pre"]
- },
- "application/vnd.lotus-notes": {
- "source": "iana",
- "extensions": ["nsf"]
- },
- "application/vnd.lotus-organizer": {
- "source": "iana",
- "extensions": ["org"]
- },
- "application/vnd.lotus-screencam": {
- "source": "iana",
- "extensions": ["scm"]
- },
- "application/vnd.lotus-wordpro": {
- "source": "iana",
- "extensions": ["lwp"]
- },
- "application/vnd.macports.portpkg": {
- "source": "iana",
- "extensions": ["portpkg"]
- },
- "application/vnd.mapbox-vector-tile": {
- "source": "iana"
- },
- "application/vnd.marlin.drm.actiontoken+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.marlin.drm.conftoken+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.marlin.drm.license+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.marlin.drm.mdcf": {
- "source": "iana"
- },
- "application/vnd.mason+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.maxmind.maxmind-db": {
- "source": "iana"
- },
- "application/vnd.mcd": {
- "source": "iana",
- "extensions": ["mcd"]
- },
- "application/vnd.medcalcdata": {
- "source": "iana",
- "extensions": ["mc1"]
- },
- "application/vnd.mediastation.cdkey": {
- "source": "iana",
- "extensions": ["cdkey"]
- },
- "application/vnd.meridian-slingshot": {
- "source": "iana"
- },
- "application/vnd.mfer": {
- "source": "iana",
- "extensions": ["mwf"]
- },
- "application/vnd.mfmp": {
- "source": "iana",
- "extensions": ["mfm"]
- },
- "application/vnd.micro+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.micrografx.flo": {
- "source": "iana",
- "extensions": ["flo"]
- },
- "application/vnd.micrografx.igx": {
- "source": "iana",
- "extensions": ["igx"]
- },
- "application/vnd.microsoft.portable-executable": {
- "source": "iana"
- },
- "application/vnd.microsoft.windows.thumbnail-cache": {
- "source": "iana"
- },
- "application/vnd.miele+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.mif": {
- "source": "iana",
- "extensions": ["mif"]
- },
- "application/vnd.minisoft-hp3000-save": {
- "source": "iana"
- },
- "application/vnd.mitsubishi.misty-guard.trustweb": {
- "source": "iana"
- },
- "application/vnd.mobius.daf": {
- "source": "iana",
- "extensions": ["daf"]
- },
- "application/vnd.mobius.dis": {
- "source": "iana",
- "extensions": ["dis"]
- },
- "application/vnd.mobius.mbk": {
- "source": "iana",
- "extensions": ["mbk"]
- },
- "application/vnd.mobius.mqy": {
- "source": "iana",
- "extensions": ["mqy"]
- },
- "application/vnd.mobius.msl": {
- "source": "iana",
- "extensions": ["msl"]
- },
- "application/vnd.mobius.plc": {
- "source": "iana",
- "extensions": ["plc"]
- },
- "application/vnd.mobius.txf": {
- "source": "iana",
- "extensions": ["txf"]
- },
- "application/vnd.mophun.application": {
- "source": "iana",
- "extensions": ["mpn"]
- },
- "application/vnd.mophun.certificate": {
- "source": "iana",
- "extensions": ["mpc"]
- },
- "application/vnd.motorola.flexsuite": {
- "source": "iana"
- },
- "application/vnd.motorola.flexsuite.adsi": {
- "source": "iana"
- },
- "application/vnd.motorola.flexsuite.fis": {
- "source": "iana"
- },
- "application/vnd.motorola.flexsuite.gotap": {
- "source": "iana"
- },
- "application/vnd.motorola.flexsuite.kmr": {
- "source": "iana"
- },
- "application/vnd.motorola.flexsuite.ttc": {
- "source": "iana"
- },
- "application/vnd.motorola.flexsuite.wem": {
- "source": "iana"
- },
- "application/vnd.motorola.iprm": {
- "source": "iana"
- },
- "application/vnd.mozilla.xul+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xul"]
- },
- "application/vnd.ms-3mfdocument": {
- "source": "iana"
- },
- "application/vnd.ms-artgalry": {
- "source": "iana",
- "extensions": ["cil"]
- },
- "application/vnd.ms-asf": {
- "source": "iana"
- },
- "application/vnd.ms-cab-compressed": {
- "source": "iana",
- "extensions": ["cab"]
- },
- "application/vnd.ms-color.iccprofile": {
- "source": "apache"
- },
- "application/vnd.ms-excel": {
- "source": "iana",
- "compressible": false,
- "extensions": ["xls","xlm","xla","xlc","xlt","xlw"]
- },
- "application/vnd.ms-excel.addin.macroenabled.12": {
- "source": "iana",
- "extensions": ["xlam"]
- },
- "application/vnd.ms-excel.sheet.binary.macroenabled.12": {
- "source": "iana",
- "extensions": ["xlsb"]
- },
- "application/vnd.ms-excel.sheet.macroenabled.12": {
- "source": "iana",
- "extensions": ["xlsm"]
- },
- "application/vnd.ms-excel.template.macroenabled.12": {
- "source": "iana",
- "extensions": ["xltm"]
- },
- "application/vnd.ms-fontobject": {
- "source": "iana",
- "compressible": true,
- "extensions": ["eot"]
- },
- "application/vnd.ms-htmlhelp": {
- "source": "iana",
- "extensions": ["chm"]
- },
- "application/vnd.ms-ims": {
- "source": "iana",
- "extensions": ["ims"]
- },
- "application/vnd.ms-lrm": {
- "source": "iana",
- "extensions": ["lrm"]
- },
- "application/vnd.ms-office.activex+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ms-officetheme": {
- "source": "iana",
- "extensions": ["thmx"]
- },
- "application/vnd.ms-opentype": {
- "source": "apache",
- "compressible": true
- },
- "application/vnd.ms-outlook": {
- "compressible": false,
- "extensions": ["msg"]
- },
- "application/vnd.ms-package.obfuscated-opentype": {
- "source": "apache"
- },
- "application/vnd.ms-pki.seccat": {
- "source": "apache",
- "extensions": ["cat"]
- },
- "application/vnd.ms-pki.stl": {
- "source": "apache",
- "extensions": ["stl"]
- },
- "application/vnd.ms-playready.initiator+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ms-powerpoint": {
- "source": "iana",
- "compressible": false,
- "extensions": ["ppt","pps","pot"]
- },
- "application/vnd.ms-powerpoint.addin.macroenabled.12": {
- "source": "iana",
- "extensions": ["ppam"]
- },
- "application/vnd.ms-powerpoint.presentation.macroenabled.12": {
- "source": "iana",
- "extensions": ["pptm"]
- },
- "application/vnd.ms-powerpoint.slide.macroenabled.12": {
- "source": "iana",
- "extensions": ["sldm"]
- },
- "application/vnd.ms-powerpoint.slideshow.macroenabled.12": {
- "source": "iana",
- "extensions": ["ppsm"]
- },
- "application/vnd.ms-powerpoint.template.macroenabled.12": {
- "source": "iana",
- "extensions": ["potm"]
- },
- "application/vnd.ms-printdevicecapabilities+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ms-printing.printticket+xml": {
- "source": "apache",
- "compressible": true
- },
- "application/vnd.ms-printschematicket+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.ms-project": {
- "source": "iana",
- "extensions": ["mpp","mpt"]
- },
- "application/vnd.ms-tnef": {
- "source": "iana"
- },
- "application/vnd.ms-windows.devicepairing": {
- "source": "iana"
- },
- "application/vnd.ms-windows.nwprinting.oob": {
- "source": "iana"
- },
- "application/vnd.ms-windows.printerpairing": {
- "source": "iana"
- },
- "application/vnd.ms-windows.wsd.oob": {
- "source": "iana"
- },
- "application/vnd.ms-wmdrm.lic-chlg-req": {
- "source": "iana"
- },
- "application/vnd.ms-wmdrm.lic-resp": {
- "source": "iana"
- },
- "application/vnd.ms-wmdrm.meter-chlg-req": {
- "source": "iana"
- },
- "application/vnd.ms-wmdrm.meter-resp": {
- "source": "iana"
- },
- "application/vnd.ms-word.document.macroenabled.12": {
- "source": "iana",
- "extensions": ["docm"]
- },
- "application/vnd.ms-word.template.macroenabled.12": {
- "source": "iana",
- "extensions": ["dotm"]
- },
- "application/vnd.ms-works": {
- "source": "iana",
- "extensions": ["wps","wks","wcm","wdb"]
- },
- "application/vnd.ms-wpl": {
- "source": "iana",
- "extensions": ["wpl"]
- },
- "application/vnd.ms-xpsdocument": {
- "source": "iana",
- "compressible": false,
- "extensions": ["xps"]
- },
- "application/vnd.msa-disk-image": {
- "source": "iana"
- },
- "application/vnd.mseq": {
- "source": "iana",
- "extensions": ["mseq"]
- },
- "application/vnd.msign": {
- "source": "iana"
- },
- "application/vnd.multiad.creator": {
- "source": "iana"
- },
- "application/vnd.multiad.creator.cif": {
- "source": "iana"
- },
- "application/vnd.music-niff": {
- "source": "iana"
- },
- "application/vnd.musician": {
- "source": "iana",
- "extensions": ["mus"]
- },
- "application/vnd.muvee.style": {
- "source": "iana",
- "extensions": ["msty"]
- },
- "application/vnd.mynfc": {
- "source": "iana",
- "extensions": ["taglet"]
- },
- "application/vnd.ncd.control": {
- "source": "iana"
- },
- "application/vnd.ncd.reference": {
- "source": "iana"
- },
- "application/vnd.nearst.inv+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.nervana": {
- "source": "iana"
- },
- "application/vnd.netfpx": {
- "source": "iana"
- },
- "application/vnd.neurolanguage.nlu": {
- "source": "iana",
- "extensions": ["nlu"]
- },
- "application/vnd.nimn": {
- "source": "iana"
- },
- "application/vnd.nintendo.nitro.rom": {
- "source": "iana"
- },
- "application/vnd.nintendo.snes.rom": {
- "source": "iana"
- },
- "application/vnd.nitf": {
- "source": "iana",
- "extensions": ["ntf","nitf"]
- },
- "application/vnd.noblenet-directory": {
- "source": "iana",
- "extensions": ["nnd"]
- },
- "application/vnd.noblenet-sealer": {
- "source": "iana",
- "extensions": ["nns"]
- },
- "application/vnd.noblenet-web": {
- "source": "iana",
- "extensions": ["nnw"]
- },
- "application/vnd.nokia.catalogs": {
- "source": "iana"
- },
- "application/vnd.nokia.conml+wbxml": {
- "source": "iana"
- },
- "application/vnd.nokia.conml+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.nokia.iptv.config+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.nokia.isds-radio-presets": {
- "source": "iana"
- },
- "application/vnd.nokia.landmark+wbxml": {
- "source": "iana"
- },
- "application/vnd.nokia.landmark+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.nokia.landmarkcollection+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.nokia.n-gage.ac+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["ac"]
- },
- "application/vnd.nokia.n-gage.data": {
- "source": "iana",
- "extensions": ["ngdat"]
- },
- "application/vnd.nokia.n-gage.symbian.install": {
- "source": "iana",
- "extensions": ["n-gage"]
- },
- "application/vnd.nokia.ncd": {
- "source": "iana"
- },
- "application/vnd.nokia.pcd+wbxml": {
- "source": "iana"
- },
- "application/vnd.nokia.pcd+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.nokia.radio-preset": {
- "source": "iana",
- "extensions": ["rpst"]
- },
- "application/vnd.nokia.radio-presets": {
- "source": "iana",
- "extensions": ["rpss"]
- },
- "application/vnd.novadigm.edm": {
- "source": "iana",
- "extensions": ["edm"]
- },
- "application/vnd.novadigm.edx": {
- "source": "iana",
- "extensions": ["edx"]
- },
- "application/vnd.novadigm.ext": {
- "source": "iana",
- "extensions": ["ext"]
- },
- "application/vnd.ntt-local.content-share": {
- "source": "iana"
- },
- "application/vnd.ntt-local.file-transfer": {
- "source": "iana"
- },
- "application/vnd.ntt-local.ogw_remote-access": {
- "source": "iana"
- },
- "application/vnd.ntt-local.sip-ta_remote": {
- "source": "iana"
- },
- "application/vnd.ntt-local.sip-ta_tcp_stream": {
- "source": "iana"
- },
- "application/vnd.oasis.opendocument.chart": {
- "source": "iana",
- "extensions": ["odc"]
- },
- "application/vnd.oasis.opendocument.chart-template": {
- "source": "iana",
- "extensions": ["otc"]
- },
- "application/vnd.oasis.opendocument.database": {
- "source": "iana",
- "extensions": ["odb"]
- },
- "application/vnd.oasis.opendocument.formula": {
- "source": "iana",
- "extensions": ["odf"]
- },
- "application/vnd.oasis.opendocument.formula-template": {
- "source": "iana",
- "extensions": ["odft"]
- },
- "application/vnd.oasis.opendocument.graphics": {
- "source": "iana",
- "compressible": false,
- "extensions": ["odg"]
- },
- "application/vnd.oasis.opendocument.graphics-template": {
- "source": "iana",
- "extensions": ["otg"]
- },
- "application/vnd.oasis.opendocument.image": {
- "source": "iana",
- "extensions": ["odi"]
- },
- "application/vnd.oasis.opendocument.image-template": {
- "source": "iana",
- "extensions": ["oti"]
- },
- "application/vnd.oasis.opendocument.presentation": {
- "source": "iana",
- "compressible": false,
- "extensions": ["odp"]
- },
- "application/vnd.oasis.opendocument.presentation-template": {
- "source": "iana",
- "extensions": ["otp"]
- },
- "application/vnd.oasis.opendocument.spreadsheet": {
- "source": "iana",
- "compressible": false,
- "extensions": ["ods"]
- },
- "application/vnd.oasis.opendocument.spreadsheet-template": {
- "source": "iana",
- "extensions": ["ots"]
- },
- "application/vnd.oasis.opendocument.text": {
- "source": "iana",
- "compressible": false,
- "extensions": ["odt"]
- },
- "application/vnd.oasis.opendocument.text-master": {
- "source": "iana",
- "extensions": ["odm"]
- },
- "application/vnd.oasis.opendocument.text-template": {
- "source": "iana",
- "extensions": ["ott"]
- },
- "application/vnd.oasis.opendocument.text-web": {
- "source": "iana",
- "extensions": ["oth"]
- },
- "application/vnd.obn": {
- "source": "iana"
- },
- "application/vnd.ocf+cbor": {
- "source": "iana"
- },
- "application/vnd.oci.image.manifest.v1+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oftn.l10n+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.contentaccessdownload+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.contentaccessstreaming+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.cspg-hexbinary": {
- "source": "iana"
- },
- "application/vnd.oipf.dae.svg+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.dae.xhtml+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.mippvcontrolmessage+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.pae.gem": {
- "source": "iana"
- },
- "application/vnd.oipf.spdiscovery+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.spdlist+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.ueprofile+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oipf.userprofile+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.olpc-sugar": {
- "source": "iana",
- "extensions": ["xo"]
- },
- "application/vnd.oma-scws-config": {
- "source": "iana"
- },
- "application/vnd.oma-scws-http-request": {
- "source": "iana"
- },
- "application/vnd.oma-scws-http-response": {
- "source": "iana"
- },
- "application/vnd.oma.bcast.associated-procedure-parameter+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.bcast.drm-trigger+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.bcast.imd+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.bcast.ltkm": {
- "source": "iana"
- },
- "application/vnd.oma.bcast.notification+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.bcast.provisioningtrigger": {
- "source": "iana"
- },
- "application/vnd.oma.bcast.sgboot": {
- "source": "iana"
- },
- "application/vnd.oma.bcast.sgdd+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.bcast.sgdu": {
- "source": "iana"
- },
- "application/vnd.oma.bcast.simple-symbol-container": {
- "source": "iana"
- },
- "application/vnd.oma.bcast.smartcard-trigger+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.bcast.sprov+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.bcast.stkm": {
- "source": "iana"
- },
- "application/vnd.oma.cab-address-book+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.cab-feature-handler+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.cab-pcc+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.cab-subs-invite+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.cab-user-prefs+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.dcd": {
- "source": "iana"
- },
- "application/vnd.oma.dcdc": {
- "source": "iana"
- },
- "application/vnd.oma.dd2+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["dd2"]
- },
- "application/vnd.oma.drm.risd+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.group-usage-list+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.lwm2m+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.lwm2m+tlv": {
- "source": "iana"
- },
- "application/vnd.oma.pal+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.poc.detailed-progress-report+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.poc.final-report+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.poc.groups+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.poc.invocation-descriptor+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.poc.optimized-progress-report+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.push": {
- "source": "iana"
- },
- "application/vnd.oma.scidm.messages+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oma.xcap-directory+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.omads-email+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/vnd.omads-file+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/vnd.omads-folder+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/vnd.omaloc-supl-init": {
- "source": "iana"
- },
- "application/vnd.onepager": {
- "source": "iana"
- },
- "application/vnd.onepagertamp": {
- "source": "iana"
- },
- "application/vnd.onepagertamx": {
- "source": "iana"
- },
- "application/vnd.onepagertat": {
- "source": "iana"
- },
- "application/vnd.onepagertatp": {
- "source": "iana"
- },
- "application/vnd.onepagertatx": {
- "source": "iana"
- },
- "application/vnd.openblox.game+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["obgx"]
- },
- "application/vnd.openblox.game-binary": {
- "source": "iana"
- },
- "application/vnd.openeye.oeb": {
- "source": "iana"
- },
- "application/vnd.openofficeorg.extension": {
- "source": "apache",
- "extensions": ["oxt"]
- },
- "application/vnd.openstreetmap.data+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["osm"]
- },
- "application/vnd.openxmlformats-officedocument.custom-properties+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.customxmlproperties+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.drawing+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.extended-properties+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.comments+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.presentation": {
- "source": "iana",
- "compressible": false,
- "extensions": ["pptx"]
- },
- "application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.presprops+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.slide": {
- "source": "iana",
- "extensions": ["sldx"]
- },
- "application/vnd.openxmlformats-officedocument.presentationml.slide+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.slideshow": {
- "source": "iana",
- "extensions": ["ppsx"]
- },
- "application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.tags+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.template": {
- "source": "iana",
- "extensions": ["potx"]
- },
- "application/vnd.openxmlformats-officedocument.presentationml.template.main+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
- "source": "iana",
- "compressible": false,
- "extensions": ["xlsx"]
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.template": {
- "source": "iana",
- "extensions": ["xltx"]
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.theme+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.themeoverride+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.vmldrawing": {
- "source": "iana"
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": {
- "source": "iana",
- "compressible": false,
- "extensions": ["docx"]
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.template": {
- "source": "iana",
- "extensions": ["dotx"]
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-package.core-properties+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.openxmlformats-package.relationships+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oracle.resource+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.orange.indata": {
- "source": "iana"
- },
- "application/vnd.osa.netdeploy": {
- "source": "iana"
- },
- "application/vnd.osgeo.mapguide.package": {
- "source": "iana",
- "extensions": ["mgp"]
- },
- "application/vnd.osgi.bundle": {
- "source": "iana"
- },
- "application/vnd.osgi.dp": {
- "source": "iana",
- "extensions": ["dp"]
- },
- "application/vnd.osgi.subsystem": {
- "source": "iana",
- "extensions": ["esa"]
- },
- "application/vnd.otps.ct-kip+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.oxli.countgraph": {
- "source": "iana"
- },
- "application/vnd.pagerduty+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.palm": {
- "source": "iana",
- "extensions": ["pdb","pqa","oprc"]
- },
- "application/vnd.panoply": {
- "source": "iana"
- },
- "application/vnd.paos.xml": {
- "source": "iana"
- },
- "application/vnd.patentdive": {
- "source": "iana"
- },
- "application/vnd.patientecommsdoc": {
- "source": "iana"
- },
- "application/vnd.pawaafile": {
- "source": "iana",
- "extensions": ["paw"]
- },
- "application/vnd.pcos": {
- "source": "iana"
- },
- "application/vnd.pg.format": {
- "source": "iana",
- "extensions": ["str"]
- },
- "application/vnd.pg.osasli": {
- "source": "iana",
- "extensions": ["ei6"]
- },
- "application/vnd.piaccess.application-licence": {
- "source": "iana"
- },
- "application/vnd.picsel": {
- "source": "iana",
- "extensions": ["efif"]
- },
- "application/vnd.pmi.widget": {
- "source": "iana",
- "extensions": ["wg"]
- },
- "application/vnd.poc.group-advertisement+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.pocketlearn": {
- "source": "iana",
- "extensions": ["plf"]
- },
- "application/vnd.powerbuilder6": {
- "source": "iana",
- "extensions": ["pbd"]
- },
- "application/vnd.powerbuilder6-s": {
- "source": "iana"
- },
- "application/vnd.powerbuilder7": {
- "source": "iana"
- },
- "application/vnd.powerbuilder7-s": {
- "source": "iana"
- },
- "application/vnd.powerbuilder75": {
- "source": "iana"
- },
- "application/vnd.powerbuilder75-s": {
- "source": "iana"
- },
- "application/vnd.preminet": {
- "source": "iana"
- },
- "application/vnd.previewsystems.box": {
- "source": "iana",
- "extensions": ["box"]
- },
- "application/vnd.proteus.magazine": {
- "source": "iana",
- "extensions": ["mgz"]
- },
- "application/vnd.psfs": {
- "source": "iana"
- },
- "application/vnd.publishare-delta-tree": {
- "source": "iana",
- "extensions": ["qps"]
- },
- "application/vnd.pvi.ptid1": {
- "source": "iana",
- "extensions": ["ptid"]
- },
- "application/vnd.pwg-multiplexed": {
- "source": "iana"
- },
- "application/vnd.pwg-xhtml-print+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.qualcomm.brew-app-res": {
- "source": "iana"
- },
- "application/vnd.quarantainenet": {
- "source": "iana"
- },
- "application/vnd.quark.quarkxpress": {
- "source": "iana",
- "extensions": ["qxd","qxt","qwd","qwt","qxl","qxb"]
- },
- "application/vnd.quobject-quoxdocument": {
- "source": "iana"
- },
- "application/vnd.radisys.moml+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-audit+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-audit-conf+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-audit-conn+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-audit-dialog+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-audit-stream+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-conf+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-dialog+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-dialog-base+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-dialog-fax-detect+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-dialog-fax-sendrecv+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-dialog-group+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-dialog-speech+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.radisys.msml-dialog-transform+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.rainstor.data": {
- "source": "iana"
- },
- "application/vnd.rapid": {
- "source": "iana"
- },
- "application/vnd.rar": {
- "source": "iana"
- },
- "application/vnd.realvnc.bed": {
- "source": "iana",
- "extensions": ["bed"]
- },
- "application/vnd.recordare.musicxml": {
- "source": "iana",
- "extensions": ["mxl"]
- },
- "application/vnd.recordare.musicxml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["musicxml"]
- },
- "application/vnd.renlearn.rlprint": {
- "source": "iana"
- },
- "application/vnd.restful+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.rig.cryptonote": {
- "source": "iana",
- "extensions": ["cryptonote"]
- },
- "application/vnd.rim.cod": {
- "source": "apache",
- "extensions": ["cod"]
- },
- "application/vnd.rn-realmedia": {
- "source": "apache",
- "extensions": ["rm"]
- },
- "application/vnd.rn-realmedia-vbr": {
- "source": "apache",
- "extensions": ["rmvb"]
- },
- "application/vnd.route66.link66+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["link66"]
- },
- "application/vnd.rs-274x": {
- "source": "iana"
- },
- "application/vnd.ruckus.download": {
- "source": "iana"
- },
- "application/vnd.s3sms": {
- "source": "iana"
- },
- "application/vnd.sailingtracker.track": {
- "source": "iana",
- "extensions": ["st"]
- },
- "application/vnd.sar": {
- "source": "iana"
- },
- "application/vnd.sbm.cid": {
- "source": "iana"
- },
- "application/vnd.sbm.mid2": {
- "source": "iana"
- },
- "application/vnd.scribus": {
- "source": "iana"
- },
- "application/vnd.sealed.3df": {
- "source": "iana"
- },
- "application/vnd.sealed.csf": {
- "source": "iana"
- },
- "application/vnd.sealed.doc": {
- "source": "iana"
- },
- "application/vnd.sealed.eml": {
- "source": "iana"
- },
- "application/vnd.sealed.mht": {
- "source": "iana"
- },
- "application/vnd.sealed.net": {
- "source": "iana"
- },
- "application/vnd.sealed.ppt": {
- "source": "iana"
- },
- "application/vnd.sealed.tiff": {
- "source": "iana"
- },
- "application/vnd.sealed.xls": {
- "source": "iana"
- },
- "application/vnd.sealedmedia.softseal.html": {
- "source": "iana"
- },
- "application/vnd.sealedmedia.softseal.pdf": {
- "source": "iana"
- },
- "application/vnd.seemail": {
- "source": "iana",
- "extensions": ["see"]
- },
- "application/vnd.sema": {
- "source": "iana",
- "extensions": ["sema"]
- },
- "application/vnd.semd": {
- "source": "iana",
- "extensions": ["semd"]
- },
- "application/vnd.semf": {
- "source": "iana",
- "extensions": ["semf"]
- },
- "application/vnd.shade-save-file": {
- "source": "iana"
- },
- "application/vnd.shana.informed.formdata": {
- "source": "iana",
- "extensions": ["ifm"]
- },
- "application/vnd.shana.informed.formtemplate": {
- "source": "iana",
- "extensions": ["itp"]
- },
- "application/vnd.shana.informed.interchange": {
- "source": "iana",
- "extensions": ["iif"]
- },
- "application/vnd.shana.informed.package": {
- "source": "iana",
- "extensions": ["ipk"]
- },
- "application/vnd.shootproof+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.shopkick+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.shp": {
- "source": "iana"
- },
- "application/vnd.shx": {
- "source": "iana"
- },
- "application/vnd.sigrok.session": {
- "source": "iana"
- },
- "application/vnd.simtech-mindmapper": {
- "source": "iana",
- "extensions": ["twd","twds"]
- },
- "application/vnd.siren+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.smaf": {
- "source": "iana",
- "extensions": ["mmf"]
- },
- "application/vnd.smart.notebook": {
- "source": "iana"
- },
- "application/vnd.smart.teacher": {
- "source": "iana",
- "extensions": ["teacher"]
- },
- "application/vnd.snesdev-page-table": {
- "source": "iana"
- },
- "application/vnd.software602.filler.form+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["fo"]
- },
- "application/vnd.software602.filler.form-xml-zip": {
- "source": "iana"
- },
- "application/vnd.solent.sdkm+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["sdkm","sdkd"]
- },
- "application/vnd.spotfire.dxp": {
- "source": "iana",
- "extensions": ["dxp"]
- },
- "application/vnd.spotfire.sfs": {
- "source": "iana",
- "extensions": ["sfs"]
- },
- "application/vnd.sqlite3": {
- "source": "iana"
- },
- "application/vnd.sss-cod": {
- "source": "iana"
- },
- "application/vnd.sss-dtf": {
- "source": "iana"
- },
- "application/vnd.sss-ntf": {
- "source": "iana"
- },
- "application/vnd.stardivision.calc": {
- "source": "apache",
- "extensions": ["sdc"]
- },
- "application/vnd.stardivision.draw": {
- "source": "apache",
- "extensions": ["sda"]
- },
- "application/vnd.stardivision.impress": {
- "source": "apache",
- "extensions": ["sdd"]
- },
- "application/vnd.stardivision.math": {
- "source": "apache",
- "extensions": ["smf"]
- },
- "application/vnd.stardivision.writer": {
- "source": "apache",
- "extensions": ["sdw","vor"]
- },
- "application/vnd.stardivision.writer-global": {
- "source": "apache",
- "extensions": ["sgl"]
- },
- "application/vnd.stepmania.package": {
- "source": "iana",
- "extensions": ["smzip"]
- },
- "application/vnd.stepmania.stepchart": {
- "source": "iana",
- "extensions": ["sm"]
- },
- "application/vnd.street-stream": {
- "source": "iana"
- },
- "application/vnd.sun.wadl+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["wadl"]
- },
- "application/vnd.sun.xml.calc": {
- "source": "apache",
- "extensions": ["sxc"]
- },
- "application/vnd.sun.xml.calc.template": {
- "source": "apache",
- "extensions": ["stc"]
- },
- "application/vnd.sun.xml.draw": {
- "source": "apache",
- "extensions": ["sxd"]
- },
- "application/vnd.sun.xml.draw.template": {
- "source": "apache",
- "extensions": ["std"]
- },
- "application/vnd.sun.xml.impress": {
- "source": "apache",
- "extensions": ["sxi"]
- },
- "application/vnd.sun.xml.impress.template": {
- "source": "apache",
- "extensions": ["sti"]
- },
- "application/vnd.sun.xml.math": {
- "source": "apache",
- "extensions": ["sxm"]
- },
- "application/vnd.sun.xml.writer": {
- "source": "apache",
- "extensions": ["sxw"]
- },
- "application/vnd.sun.xml.writer.global": {
- "source": "apache",
- "extensions": ["sxg"]
- },
- "application/vnd.sun.xml.writer.template": {
- "source": "apache",
- "extensions": ["stw"]
- },
- "application/vnd.sus-calendar": {
- "source": "iana",
- "extensions": ["sus","susp"]
- },
- "application/vnd.svd": {
- "source": "iana",
- "extensions": ["svd"]
- },
- "application/vnd.swiftview-ics": {
- "source": "iana"
- },
- "application/vnd.symbian.install": {
- "source": "apache",
- "extensions": ["sis","sisx"]
- },
- "application/vnd.syncml+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["xsm"]
- },
- "application/vnd.syncml.dm+wbxml": {
- "source": "iana",
- "charset": "UTF-8",
- "extensions": ["bdm"]
- },
- "application/vnd.syncml.dm+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["xdm"]
- },
- "application/vnd.syncml.dm.notification": {
- "source": "iana"
- },
- "application/vnd.syncml.dmddf+wbxml": {
- "source": "iana"
- },
- "application/vnd.syncml.dmddf+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["ddf"]
- },
- "application/vnd.syncml.dmtnds+wbxml": {
- "source": "iana"
- },
- "application/vnd.syncml.dmtnds+xml": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true
- },
- "application/vnd.syncml.ds.notification": {
- "source": "iana"
- },
- "application/vnd.tableschema+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.tao.intent-module-archive": {
- "source": "iana",
- "extensions": ["tao"]
- },
- "application/vnd.tcpdump.pcap": {
- "source": "iana",
- "extensions": ["pcap","cap","dmp"]
- },
- "application/vnd.think-cell.ppttc+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.tmd.mediaflex.api+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.tml": {
- "source": "iana"
- },
- "application/vnd.tmobile-livetv": {
- "source": "iana",
- "extensions": ["tmo"]
- },
- "application/vnd.tri.onesource": {
- "source": "iana"
- },
- "application/vnd.trid.tpt": {
- "source": "iana",
- "extensions": ["tpt"]
- },
- "application/vnd.triscape.mxs": {
- "source": "iana",
- "extensions": ["mxs"]
- },
- "application/vnd.trueapp": {
- "source": "iana",
- "extensions": ["tra"]
- },
- "application/vnd.truedoc": {
- "source": "iana"
- },
- "application/vnd.ubisoft.webplayer": {
- "source": "iana"
- },
- "application/vnd.ufdl": {
- "source": "iana",
- "extensions": ["ufd","ufdl"]
- },
- "application/vnd.uiq.theme": {
- "source": "iana",
- "extensions": ["utz"]
- },
- "application/vnd.umajin": {
- "source": "iana",
- "extensions": ["umj"]
- },
- "application/vnd.unity": {
- "source": "iana",
- "extensions": ["unityweb"]
- },
- "application/vnd.uoml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["uoml"]
- },
- "application/vnd.uplanet.alert": {
- "source": "iana"
- },
- "application/vnd.uplanet.alert-wbxml": {
- "source": "iana"
- },
- "application/vnd.uplanet.bearer-choice": {
- "source": "iana"
- },
- "application/vnd.uplanet.bearer-choice-wbxml": {
- "source": "iana"
- },
- "application/vnd.uplanet.cacheop": {
- "source": "iana"
- },
- "application/vnd.uplanet.cacheop-wbxml": {
- "source": "iana"
- },
- "application/vnd.uplanet.channel": {
- "source": "iana"
- },
- "application/vnd.uplanet.channel-wbxml": {
- "source": "iana"
- },
- "application/vnd.uplanet.list": {
- "source": "iana"
- },
- "application/vnd.uplanet.list-wbxml": {
- "source": "iana"
- },
- "application/vnd.uplanet.listcmd": {
- "source": "iana"
- },
- "application/vnd.uplanet.listcmd-wbxml": {
- "source": "iana"
- },
- "application/vnd.uplanet.signal": {
- "source": "iana"
- },
- "application/vnd.uri-map": {
- "source": "iana"
- },
- "application/vnd.valve.source.material": {
- "source": "iana"
- },
- "application/vnd.vcx": {
- "source": "iana",
- "extensions": ["vcx"]
- },
- "application/vnd.vd-study": {
- "source": "iana"
- },
- "application/vnd.vectorworks": {
- "source": "iana"
- },
- "application/vnd.vel+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.verimatrix.vcas": {
- "source": "iana"
- },
- "application/vnd.veryant.thin": {
- "source": "iana"
- },
- "application/vnd.ves.encrypted": {
- "source": "iana"
- },
- "application/vnd.vidsoft.vidconference": {
- "source": "iana"
- },
- "application/vnd.visio": {
- "source": "iana",
- "extensions": ["vsd","vst","vss","vsw"]
- },
- "application/vnd.visionary": {
- "source": "iana",
- "extensions": ["vis"]
- },
- "application/vnd.vividence.scriptfile": {
- "source": "iana"
- },
- "application/vnd.vsf": {
- "source": "iana",
- "extensions": ["vsf"]
- },
- "application/vnd.wap.sic": {
- "source": "iana"
- },
- "application/vnd.wap.slc": {
- "source": "iana"
- },
- "application/vnd.wap.wbxml": {
- "source": "iana",
- "charset": "UTF-8",
- "extensions": ["wbxml"]
- },
- "application/vnd.wap.wmlc": {
- "source": "iana",
- "extensions": ["wmlc"]
- },
- "application/vnd.wap.wmlscriptc": {
- "source": "iana",
- "extensions": ["wmlsc"]
- },
- "application/vnd.webturbo": {
- "source": "iana",
- "extensions": ["wtb"]
- },
- "application/vnd.wfa.p2p": {
- "source": "iana"
- },
- "application/vnd.wfa.wsc": {
- "source": "iana"
- },
- "application/vnd.windows.devicepairing": {
- "source": "iana"
- },
- "application/vnd.wmc": {
- "source": "iana"
- },
- "application/vnd.wmf.bootstrap": {
- "source": "iana"
- },
- "application/vnd.wolfram.mathematica": {
- "source": "iana"
- },
- "application/vnd.wolfram.mathematica.package": {
- "source": "iana"
- },
- "application/vnd.wolfram.player": {
- "source": "iana",
- "extensions": ["nbp"]
- },
- "application/vnd.wordperfect": {
- "source": "iana",
- "extensions": ["wpd"]
- },
- "application/vnd.wqd": {
- "source": "iana",
- "extensions": ["wqd"]
- },
- "application/vnd.wrq-hp3000-labelled": {
- "source": "iana"
- },
- "application/vnd.wt.stf": {
- "source": "iana",
- "extensions": ["stf"]
- },
- "application/vnd.wv.csp+wbxml": {
- "source": "iana"
- },
- "application/vnd.wv.csp+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.wv.ssp+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.xacml+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.xara": {
- "source": "iana",
- "extensions": ["xar"]
- },
- "application/vnd.xfdl": {
- "source": "iana",
- "extensions": ["xfdl"]
- },
- "application/vnd.xfdl.webform": {
- "source": "iana"
- },
- "application/vnd.xmi+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/vnd.xmpie.cpkg": {
- "source": "iana"
- },
- "application/vnd.xmpie.dpkg": {
- "source": "iana"
- },
- "application/vnd.xmpie.plan": {
- "source": "iana"
- },
- "application/vnd.xmpie.ppkg": {
- "source": "iana"
- },
- "application/vnd.xmpie.xlim": {
- "source": "iana"
- },
- "application/vnd.yamaha.hv-dic": {
- "source": "iana",
- "extensions": ["hvd"]
- },
- "application/vnd.yamaha.hv-script": {
- "source": "iana",
- "extensions": ["hvs"]
- },
- "application/vnd.yamaha.hv-voice": {
- "source": "iana",
- "extensions": ["hvp"]
- },
- "application/vnd.yamaha.openscoreformat": {
- "source": "iana",
- "extensions": ["osf"]
- },
- "application/vnd.yamaha.openscoreformat.osfpvg+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["osfpvg"]
- },
- "application/vnd.yamaha.remote-setup": {
- "source": "iana"
- },
- "application/vnd.yamaha.smaf-audio": {
- "source": "iana",
- "extensions": ["saf"]
- },
- "application/vnd.yamaha.smaf-phrase": {
- "source": "iana",
- "extensions": ["spf"]
- },
- "application/vnd.yamaha.through-ngn": {
- "source": "iana"
- },
- "application/vnd.yamaha.tunnel-udpencap": {
- "source": "iana"
- },
- "application/vnd.yaoweme": {
- "source": "iana"
- },
- "application/vnd.yellowriver-custom-menu": {
- "source": "iana",
- "extensions": ["cmp"]
- },
- "application/vnd.youtube.yt": {
- "source": "iana"
- },
- "application/vnd.zul": {
- "source": "iana",
- "extensions": ["zir","zirz"]
- },
- "application/vnd.zzazz.deck+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["zaz"]
- },
- "application/voicexml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["vxml"]
- },
- "application/voucher-cms+json": {
- "source": "iana",
- "compressible": true
- },
- "application/vq-rtcpxr": {
- "source": "iana"
- },
- "application/wasm": {
- "compressible": true,
- "extensions": ["wasm"]
- },
- "application/watcherinfo+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/webpush-options+json": {
- "source": "iana",
- "compressible": true
- },
- "application/whoispp-query": {
- "source": "iana"
- },
- "application/whoispp-response": {
- "source": "iana"
- },
- "application/widget": {
- "source": "iana",
- "extensions": ["wgt"]
- },
- "application/winhlp": {
- "source": "apache",
- "extensions": ["hlp"]
- },
- "application/wita": {
- "source": "iana"
- },
- "application/wordperfect5.1": {
- "source": "iana"
- },
- "application/wsdl+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["wsdl"]
- },
- "application/wspolicy+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["wspolicy"]
- },
- "application/x-7z-compressed": {
- "source": "apache",
- "compressible": false,
- "extensions": ["7z"]
- },
- "application/x-abiword": {
- "source": "apache",
- "extensions": ["abw"]
- },
- "application/x-ace-compressed": {
- "source": "apache",
- "extensions": ["ace"]
- },
- "application/x-amf": {
- "source": "apache"
- },
- "application/x-apple-diskimage": {
- "source": "apache",
- "extensions": ["dmg"]
- },
- "application/x-arj": {
- "compressible": false,
- "extensions": ["arj"]
- },
- "application/x-authorware-bin": {
- "source": "apache",
- "extensions": ["aab","x32","u32","vox"]
- },
- "application/x-authorware-map": {
- "source": "apache",
- "extensions": ["aam"]
- },
- "application/x-authorware-seg": {
- "source": "apache",
- "extensions": ["aas"]
- },
- "application/x-bcpio": {
- "source": "apache",
- "extensions": ["bcpio"]
- },
- "application/x-bdoc": {
- "compressible": false,
- "extensions": ["bdoc"]
- },
- "application/x-bittorrent": {
- "source": "apache",
- "extensions": ["torrent"]
- },
- "application/x-blorb": {
- "source": "apache",
- "extensions": ["blb","blorb"]
- },
- "application/x-bzip": {
- "source": "apache",
- "compressible": false,
- "extensions": ["bz"]
- },
- "application/x-bzip2": {
- "source": "apache",
- "compressible": false,
- "extensions": ["bz2","boz"]
- },
- "application/x-cbr": {
- "source": "apache",
- "extensions": ["cbr","cba","cbt","cbz","cb7"]
- },
- "application/x-cdlink": {
- "source": "apache",
- "extensions": ["vcd"]
- },
- "application/x-cfs-compressed": {
- "source": "apache",
- "extensions": ["cfs"]
- },
- "application/x-chat": {
- "source": "apache",
- "extensions": ["chat"]
- },
- "application/x-chess-pgn": {
- "source": "apache",
- "extensions": ["pgn"]
- },
- "application/x-chrome-extension": {
- "extensions": ["crx"]
- },
- "application/x-cocoa": {
- "source": "nginx",
- "extensions": ["cco"]
- },
- "application/x-compress": {
- "source": "apache"
- },
- "application/x-conference": {
- "source": "apache",
- "extensions": ["nsc"]
- },
- "application/x-cpio": {
- "source": "apache",
- "extensions": ["cpio"]
- },
- "application/x-csh": {
- "source": "apache",
- "extensions": ["csh"]
- },
- "application/x-deb": {
- "compressible": false
- },
- "application/x-debian-package": {
- "source": "apache",
- "extensions": ["deb","udeb"]
- },
- "application/x-dgc-compressed": {
- "source": "apache",
- "extensions": ["dgc"]
- },
- "application/x-director": {
- "source": "apache",
- "extensions": ["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]
- },
- "application/x-doom": {
- "source": "apache",
- "extensions": ["wad"]
- },
- "application/x-dtbncx+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["ncx"]
- },
- "application/x-dtbook+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["dtb"]
- },
- "application/x-dtbresource+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["res"]
- },
- "application/x-dvi": {
- "source": "apache",
- "compressible": false,
- "extensions": ["dvi"]
- },
- "application/x-envoy": {
- "source": "apache",
- "extensions": ["evy"]
- },
- "application/x-eva": {
- "source": "apache",
- "extensions": ["eva"]
- },
- "application/x-font-bdf": {
- "source": "apache",
- "extensions": ["bdf"]
- },
- "application/x-font-dos": {
- "source": "apache"
- },
- "application/x-font-framemaker": {
- "source": "apache"
- },
- "application/x-font-ghostscript": {
- "source": "apache",
- "extensions": ["gsf"]
- },
- "application/x-font-libgrx": {
- "source": "apache"
- },
- "application/x-font-linux-psf": {
- "source": "apache",
- "extensions": ["psf"]
- },
- "application/x-font-pcf": {
- "source": "apache",
- "extensions": ["pcf"]
- },
- "application/x-font-snf": {
- "source": "apache",
- "extensions": ["snf"]
- },
- "application/x-font-speedo": {
- "source": "apache"
- },
- "application/x-font-sunos-news": {
- "source": "apache"
- },
- "application/x-font-type1": {
- "source": "apache",
- "extensions": ["pfa","pfb","pfm","afm"]
- },
- "application/x-font-vfont": {
- "source": "apache"
- },
- "application/x-freearc": {
- "source": "apache",
- "extensions": ["arc"]
- },
- "application/x-futuresplash": {
- "source": "apache",
- "extensions": ["spl"]
- },
- "application/x-gca-compressed": {
- "source": "apache",
- "extensions": ["gca"]
- },
- "application/x-glulx": {
- "source": "apache",
- "extensions": ["ulx"]
- },
- "application/x-gnumeric": {
- "source": "apache",
- "extensions": ["gnumeric"]
- },
- "application/x-gramps-xml": {
- "source": "apache",
- "extensions": ["gramps"]
- },
- "application/x-gtar": {
- "source": "apache",
- "extensions": ["gtar"]
- },
- "application/x-gzip": {
- "source": "apache"
- },
- "application/x-hdf": {
- "source": "apache",
- "extensions": ["hdf"]
- },
- "application/x-httpd-php": {
- "compressible": true,
- "extensions": ["php"]
- },
- "application/x-install-instructions": {
- "source": "apache",
- "extensions": ["install"]
- },
- "application/x-iso9660-image": {
- "source": "apache",
- "extensions": ["iso"]
- },
- "application/x-java-archive-diff": {
- "source": "nginx",
- "extensions": ["jardiff"]
- },
- "application/x-java-jnlp-file": {
- "source": "apache",
- "compressible": false,
- "extensions": ["jnlp"]
- },
- "application/x-javascript": {
- "compressible": true
- },
- "application/x-keepass2": {
- "extensions": ["kdbx"]
- },
- "application/x-latex": {
- "source": "apache",
- "compressible": false,
- "extensions": ["latex"]
- },
- "application/x-lua-bytecode": {
- "extensions": ["luac"]
- },
- "application/x-lzh-compressed": {
- "source": "apache",
- "extensions": ["lzh","lha"]
- },
- "application/x-makeself": {
- "source": "nginx",
- "extensions": ["run"]
- },
- "application/x-mie": {
- "source": "apache",
- "extensions": ["mie"]
- },
- "application/x-mobipocket-ebook": {
- "source": "apache",
- "extensions": ["prc","mobi"]
- },
- "application/x-mpegurl": {
- "compressible": false
- },
- "application/x-ms-application": {
- "source": "apache",
- "extensions": ["application"]
- },
- "application/x-ms-shortcut": {
- "source": "apache",
- "extensions": ["lnk"]
- },
- "application/x-ms-wmd": {
- "source": "apache",
- "extensions": ["wmd"]
- },
- "application/x-ms-wmz": {
- "source": "apache",
- "extensions": ["wmz"]
- },
- "application/x-ms-xbap": {
- "source": "apache",
- "extensions": ["xbap"]
- },
- "application/x-msaccess": {
- "source": "apache",
- "extensions": ["mdb"]
- },
- "application/x-msbinder": {
- "source": "apache",
- "extensions": ["obd"]
- },
- "application/x-mscardfile": {
- "source": "apache",
- "extensions": ["crd"]
- },
- "application/x-msclip": {
- "source": "apache",
- "extensions": ["clp"]
- },
- "application/x-msdos-program": {
- "extensions": ["exe"]
- },
- "application/x-msdownload": {
- "source": "apache",
- "extensions": ["exe","dll","com","bat","msi"]
- },
- "application/x-msmediaview": {
- "source": "apache",
- "extensions": ["mvb","m13","m14"]
- },
- "application/x-msmetafile": {
- "source": "apache",
- "extensions": ["wmf","wmz","emf","emz"]
- },
- "application/x-msmoney": {
- "source": "apache",
- "extensions": ["mny"]
- },
- "application/x-mspublisher": {
- "source": "apache",
- "extensions": ["pub"]
- },
- "application/x-msschedule": {
- "source": "apache",
- "extensions": ["scd"]
- },
- "application/x-msterminal": {
- "source": "apache",
- "extensions": ["trm"]
- },
- "application/x-mswrite": {
- "source": "apache",
- "extensions": ["wri"]
- },
- "application/x-netcdf": {
- "source": "apache",
- "extensions": ["nc","cdf"]
- },
- "application/x-ns-proxy-autoconfig": {
- "compressible": true,
- "extensions": ["pac"]
- },
- "application/x-nzb": {
- "source": "apache",
- "extensions": ["nzb"]
- },
- "application/x-perl": {
- "source": "nginx",
- "extensions": ["pl","pm"]
- },
- "application/x-pilot": {
- "source": "nginx",
- "extensions": ["prc","pdb"]
- },
- "application/x-pkcs12": {
- "source": "apache",
- "compressible": false,
- "extensions": ["p12","pfx"]
- },
- "application/x-pkcs7-certificates": {
- "source": "apache",
- "extensions": ["p7b","spc"]
- },
- "application/x-pkcs7-certreqresp": {
- "source": "apache",
- "extensions": ["p7r"]
- },
- "application/x-pki-message": {
- "source": "iana"
- },
- "application/x-rar-compressed": {
- "source": "apache",
- "compressible": false,
- "extensions": ["rar"]
- },
- "application/x-redhat-package-manager": {
- "source": "nginx",
- "extensions": ["rpm"]
- },
- "application/x-research-info-systems": {
- "source": "apache",
- "extensions": ["ris"]
- },
- "application/x-sea": {
- "source": "nginx",
- "extensions": ["sea"]
- },
- "application/x-sh": {
- "source": "apache",
- "compressible": true,
- "extensions": ["sh"]
- },
- "application/x-shar": {
- "source": "apache",
- "extensions": ["shar"]
- },
- "application/x-shockwave-flash": {
- "source": "apache",
- "compressible": false,
- "extensions": ["swf"]
- },
- "application/x-silverlight-app": {
- "source": "apache",
- "extensions": ["xap"]
- },
- "application/x-sql": {
- "source": "apache",
- "extensions": ["sql"]
- },
- "application/x-stuffit": {
- "source": "apache",
- "compressible": false,
- "extensions": ["sit"]
- },
- "application/x-stuffitx": {
- "source": "apache",
- "extensions": ["sitx"]
- },
- "application/x-subrip": {
- "source": "apache",
- "extensions": ["srt"]
- },
- "application/x-sv4cpio": {
- "source": "apache",
- "extensions": ["sv4cpio"]
- },
- "application/x-sv4crc": {
- "source": "apache",
- "extensions": ["sv4crc"]
- },
- "application/x-t3vm-image": {
- "source": "apache",
- "extensions": ["t3"]
- },
- "application/x-tads": {
- "source": "apache",
- "extensions": ["gam"]
- },
- "application/x-tar": {
- "source": "apache",
- "compressible": true,
- "extensions": ["tar"]
- },
- "application/x-tcl": {
- "source": "apache",
- "extensions": ["tcl","tk"]
- },
- "application/x-tex": {
- "source": "apache",
- "extensions": ["tex"]
- },
- "application/x-tex-tfm": {
- "source": "apache",
- "extensions": ["tfm"]
- },
- "application/x-texinfo": {
- "source": "apache",
- "extensions": ["texinfo","texi"]
- },
- "application/x-tgif": {
- "source": "apache",
- "extensions": ["obj"]
- },
- "application/x-ustar": {
- "source": "apache",
- "extensions": ["ustar"]
- },
- "application/x-virtualbox-hdd": {
- "compressible": true,
- "extensions": ["hdd"]
- },
- "application/x-virtualbox-ova": {
- "compressible": true,
- "extensions": ["ova"]
- },
- "application/x-virtualbox-ovf": {
- "compressible": true,
- "extensions": ["ovf"]
- },
- "application/x-virtualbox-vbox": {
- "compressible": true,
- "extensions": ["vbox"]
- },
- "application/x-virtualbox-vbox-extpack": {
- "compressible": false,
- "extensions": ["vbox-extpack"]
- },
- "application/x-virtualbox-vdi": {
- "compressible": true,
- "extensions": ["vdi"]
- },
- "application/x-virtualbox-vhd": {
- "compressible": true,
- "extensions": ["vhd"]
- },
- "application/x-virtualbox-vmdk": {
- "compressible": true,
- "extensions": ["vmdk"]
- },
- "application/x-wais-source": {
- "source": "apache",
- "extensions": ["src"]
- },
- "application/x-web-app-manifest+json": {
- "compressible": true,
- "extensions": ["webapp"]
- },
- "application/x-www-form-urlencoded": {
- "source": "iana",
- "compressible": true
- },
- "application/x-x509-ca-cert": {
- "source": "iana",
- "extensions": ["der","crt","pem"]
- },
- "application/x-x509-ca-ra-cert": {
- "source": "iana"
- },
- "application/x-x509-next-ca-cert": {
- "source": "iana"
- },
- "application/x-xfig": {
- "source": "apache",
- "extensions": ["fig"]
- },
- "application/x-xliff+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["xlf"]
- },
- "application/x-xpinstall": {
- "source": "apache",
- "compressible": false,
- "extensions": ["xpi"]
- },
- "application/x-xz": {
- "source": "apache",
- "extensions": ["xz"]
- },
- "application/x-zmachine": {
- "source": "apache",
- "extensions": ["z1","z2","z3","z4","z5","z6","z7","z8"]
- },
- "application/x400-bp": {
- "source": "iana"
- },
- "application/xacml+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/xaml+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["xaml"]
- },
- "application/xcap-att+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xav"]
- },
- "application/xcap-caps+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xca"]
- },
- "application/xcap-diff+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xdf"]
- },
- "application/xcap-el+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xel"]
- },
- "application/xcap-error+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xer"]
- },
- "application/xcap-ns+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xns"]
- },
- "application/xcon-conference-info+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/xcon-conference-info-diff+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/xenc+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xenc"]
- },
- "application/xhtml+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xhtml","xht"]
- },
- "application/xhtml-voice+xml": {
- "source": "apache",
- "compressible": true
- },
- "application/xliff+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xlf"]
- },
- "application/xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xml","xsl","xsd","rng"]
- },
- "application/xml-dtd": {
- "source": "iana",
- "compressible": true,
- "extensions": ["dtd"]
- },
- "application/xml-external-parsed-entity": {
- "source": "iana"
- },
- "application/xml-patch+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/xmpp+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/xop+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xop"]
- },
- "application/xproc+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["xpl"]
- },
- "application/xslt+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xslt"]
- },
- "application/xspf+xml": {
- "source": "apache",
- "compressible": true,
- "extensions": ["xspf"]
- },
- "application/xv+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["mxml","xhvml","xvml","xvm"]
- },
- "application/yang": {
- "source": "iana",
- "extensions": ["yang"]
- },
- "application/yang-data+json": {
- "source": "iana",
- "compressible": true
- },
- "application/yang-data+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/yang-patch+json": {
- "source": "iana",
- "compressible": true
- },
- "application/yang-patch+xml": {
- "source": "iana",
- "compressible": true
- },
- "application/yin+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["yin"]
- },
- "application/zip": {
- "source": "iana",
- "compressible": false,
- "extensions": ["zip"]
- },
- "application/zlib": {
- "source": "iana"
- },
- "application/zstd": {
- "source": "iana"
- },
- "audio/1d-interleaved-parityfec": {
- "source": "iana"
- },
- "audio/32kadpcm": {
- "source": "iana"
- },
- "audio/3gpp": {
- "source": "iana",
- "compressible": false,
- "extensions": ["3gpp"]
- },
- "audio/3gpp2": {
- "source": "iana"
- },
- "audio/aac": {
- "source": "iana"
- },
- "audio/ac3": {
- "source": "iana"
- },
- "audio/adpcm": {
- "source": "apache",
- "extensions": ["adp"]
- },
- "audio/amr": {
- "source": "iana"
- },
- "audio/amr-wb": {
- "source": "iana"
- },
- "audio/amr-wb+": {
- "source": "iana"
- },
- "audio/aptx": {
- "source": "iana"
- },
- "audio/asc": {
- "source": "iana"
- },
- "audio/atrac-advanced-lossless": {
- "source": "iana"
- },
- "audio/atrac-x": {
- "source": "iana"
- },
- "audio/atrac3": {
- "source": "iana"
- },
- "audio/basic": {
- "source": "iana",
- "compressible": false,
- "extensions": ["au","snd"]
- },
- "audio/bv16": {
- "source": "iana"
- },
- "audio/bv32": {
- "source": "iana"
- },
- "audio/clearmode": {
- "source": "iana"
- },
- "audio/cn": {
- "source": "iana"
- },
- "audio/dat12": {
- "source": "iana"
- },
- "audio/dls": {
- "source": "iana"
- },
- "audio/dsr-es201108": {
- "source": "iana"
- },
- "audio/dsr-es202050": {
- "source": "iana"
- },
- "audio/dsr-es202211": {
- "source": "iana"
- },
- "audio/dsr-es202212": {
- "source": "iana"
- },
- "audio/dv": {
- "source": "iana"
- },
- "audio/dvi4": {
- "source": "iana"
- },
- "audio/eac3": {
- "source": "iana"
- },
- "audio/encaprtp": {
- "source": "iana"
- },
- "audio/evrc": {
- "source": "iana"
- },
- "audio/evrc-qcp": {
- "source": "iana"
- },
- "audio/evrc0": {
- "source": "iana"
- },
- "audio/evrc1": {
- "source": "iana"
- },
- "audio/evrcb": {
- "source": "iana"
- },
- "audio/evrcb0": {
- "source": "iana"
- },
- "audio/evrcb1": {
- "source": "iana"
- },
- "audio/evrcnw": {
- "source": "iana"
- },
- "audio/evrcnw0": {
- "source": "iana"
- },
- "audio/evrcnw1": {
- "source": "iana"
- },
- "audio/evrcwb": {
- "source": "iana"
- },
- "audio/evrcwb0": {
- "source": "iana"
- },
- "audio/evrcwb1": {
- "source": "iana"
- },
- "audio/evs": {
- "source": "iana"
- },
- "audio/flexfec": {
- "source": "iana"
- },
- "audio/fwdred": {
- "source": "iana"
- },
- "audio/g711-0": {
- "source": "iana"
- },
- "audio/g719": {
- "source": "iana"
- },
- "audio/g722": {
- "source": "iana"
- },
- "audio/g7221": {
- "source": "iana"
- },
- "audio/g723": {
- "source": "iana"
- },
- "audio/g726-16": {
- "source": "iana"
- },
- "audio/g726-24": {
- "source": "iana"
- },
- "audio/g726-32": {
- "source": "iana"
- },
- "audio/g726-40": {
- "source": "iana"
- },
- "audio/g728": {
- "source": "iana"
- },
- "audio/g729": {
- "source": "iana"
- },
- "audio/g7291": {
- "source": "iana"
- },
- "audio/g729d": {
- "source": "iana"
- },
- "audio/g729e": {
- "source": "iana"
- },
- "audio/gsm": {
- "source": "iana"
- },
- "audio/gsm-efr": {
- "source": "iana"
- },
- "audio/gsm-hr-08": {
- "source": "iana"
- },
- "audio/ilbc": {
- "source": "iana"
- },
- "audio/ip-mr_v2.5": {
- "source": "iana"
- },
- "audio/isac": {
- "source": "apache"
- },
- "audio/l16": {
- "source": "iana"
- },
- "audio/l20": {
- "source": "iana"
- },
- "audio/l24": {
- "source": "iana",
- "compressible": false
- },
- "audio/l8": {
- "source": "iana"
- },
- "audio/lpc": {
- "source": "iana"
- },
- "audio/melp": {
- "source": "iana"
- },
- "audio/melp1200": {
- "source": "iana"
- },
- "audio/melp2400": {
- "source": "iana"
- },
- "audio/melp600": {
- "source": "iana"
- },
- "audio/mhas": {
- "source": "iana"
- },
- "audio/midi": {
- "source": "apache",
- "extensions": ["mid","midi","kar","rmi"]
- },
- "audio/mobile-xmf": {
- "source": "iana",
- "extensions": ["mxmf"]
- },
- "audio/mp3": {
- "compressible": false,
- "extensions": ["mp3"]
- },
- "audio/mp4": {
- "source": "iana",
- "compressible": false,
- "extensions": ["m4a","mp4a"]
- },
- "audio/mp4a-latm": {
- "source": "iana"
- },
- "audio/mpa": {
- "source": "iana"
- },
- "audio/mpa-robust": {
- "source": "iana"
- },
- "audio/mpeg": {
- "source": "iana",
- "compressible": false,
- "extensions": ["mpga","mp2","mp2a","mp3","m2a","m3a"]
- },
- "audio/mpeg4-generic": {
- "source": "iana"
- },
- "audio/musepack": {
- "source": "apache"
- },
- "audio/ogg": {
- "source": "iana",
- "compressible": false,
- "extensions": ["oga","ogg","spx"]
- },
- "audio/opus": {
- "source": "iana"
- },
- "audio/parityfec": {
- "source": "iana"
- },
- "audio/pcma": {
- "source": "iana"
- },
- "audio/pcma-wb": {
- "source": "iana"
- },
- "audio/pcmu": {
- "source": "iana"
- },
- "audio/pcmu-wb": {
- "source": "iana"
- },
- "audio/prs.sid": {
- "source": "iana"
- },
- "audio/qcelp": {
- "source": "iana"
- },
- "audio/raptorfec": {
- "source": "iana"
- },
- "audio/red": {
- "source": "iana"
- },
- "audio/rtp-enc-aescm128": {
- "source": "iana"
- },
- "audio/rtp-midi": {
- "source": "iana"
- },
- "audio/rtploopback": {
- "source": "iana"
- },
- "audio/rtx": {
- "source": "iana"
- },
- "audio/s3m": {
- "source": "apache",
- "extensions": ["s3m"]
- },
- "audio/silk": {
- "source": "apache",
- "extensions": ["sil"]
- },
- "audio/smv": {
- "source": "iana"
- },
- "audio/smv-qcp": {
- "source": "iana"
- },
- "audio/smv0": {
- "source": "iana"
- },
- "audio/sp-midi": {
- "source": "iana"
- },
- "audio/speex": {
- "source": "iana"
- },
- "audio/t140c": {
- "source": "iana"
- },
- "audio/t38": {
- "source": "iana"
- },
- "audio/telephone-event": {
- "source": "iana"
- },
- "audio/tetra_acelp": {
- "source": "iana"
- },
- "audio/tetra_acelp_bb": {
- "source": "iana"
- },
- "audio/tone": {
- "source": "iana"
- },
- "audio/uemclip": {
- "source": "iana"
- },
- "audio/ulpfec": {
- "source": "iana"
- },
- "audio/usac": {
- "source": "iana"
- },
- "audio/vdvi": {
- "source": "iana"
- },
- "audio/vmr-wb": {
- "source": "iana"
- },
- "audio/vnd.3gpp.iufp": {
- "source": "iana"
- },
- "audio/vnd.4sb": {
- "source": "iana"
- },
- "audio/vnd.audiokoz": {
- "source": "iana"
- },
- "audio/vnd.celp": {
- "source": "iana"
- },
- "audio/vnd.cisco.nse": {
- "source": "iana"
- },
- "audio/vnd.cmles.radio-events": {
- "source": "iana"
- },
- "audio/vnd.cns.anp1": {
- "source": "iana"
- },
- "audio/vnd.cns.inf1": {
- "source": "iana"
- },
- "audio/vnd.dece.audio": {
- "source": "iana",
- "extensions": ["uva","uvva"]
- },
- "audio/vnd.digital-winds": {
- "source": "iana",
- "extensions": ["eol"]
- },
- "audio/vnd.dlna.adts": {
- "source": "iana"
- },
- "audio/vnd.dolby.heaac.1": {
- "source": "iana"
- },
- "audio/vnd.dolby.heaac.2": {
- "source": "iana"
- },
- "audio/vnd.dolby.mlp": {
- "source": "iana"
- },
- "audio/vnd.dolby.mps": {
- "source": "iana"
- },
- "audio/vnd.dolby.pl2": {
- "source": "iana"
- },
- "audio/vnd.dolby.pl2x": {
- "source": "iana"
- },
- "audio/vnd.dolby.pl2z": {
- "source": "iana"
- },
- "audio/vnd.dolby.pulse.1": {
- "source": "iana"
- },
- "audio/vnd.dra": {
- "source": "iana",
- "extensions": ["dra"]
- },
- "audio/vnd.dts": {
- "source": "iana",
- "extensions": ["dts"]
- },
- "audio/vnd.dts.hd": {
- "source": "iana",
- "extensions": ["dtshd"]
- },
- "audio/vnd.dts.uhd": {
- "source": "iana"
- },
- "audio/vnd.dvb.file": {
- "source": "iana"
- },
- "audio/vnd.everad.plj": {
- "source": "iana"
- },
- "audio/vnd.hns.audio": {
- "source": "iana"
- },
- "audio/vnd.lucent.voice": {
- "source": "iana",
- "extensions": ["lvp"]
- },
- "audio/vnd.ms-playready.media.pya": {
- "source": "iana",
- "extensions": ["pya"]
- },
- "audio/vnd.nokia.mobile-xmf": {
- "source": "iana"
- },
- "audio/vnd.nortel.vbk": {
- "source": "iana"
- },
- "audio/vnd.nuera.ecelp4800": {
- "source": "iana",
- "extensions": ["ecelp4800"]
- },
- "audio/vnd.nuera.ecelp7470": {
- "source": "iana",
- "extensions": ["ecelp7470"]
- },
- "audio/vnd.nuera.ecelp9600": {
- "source": "iana",
- "extensions": ["ecelp9600"]
- },
- "audio/vnd.octel.sbc": {
- "source": "iana"
- },
- "audio/vnd.presonus.multitrack": {
- "source": "iana"
- },
- "audio/vnd.qcelp": {
- "source": "iana"
- },
- "audio/vnd.rhetorex.32kadpcm": {
- "source": "iana"
- },
- "audio/vnd.rip": {
- "source": "iana",
- "extensions": ["rip"]
- },
- "audio/vnd.rn-realaudio": {
- "compressible": false
- },
- "audio/vnd.sealedmedia.softseal.mpeg": {
- "source": "iana"
- },
- "audio/vnd.vmx.cvsd": {
- "source": "iana"
- },
- "audio/vnd.wave": {
- "compressible": false
- },
- "audio/vorbis": {
- "source": "iana",
- "compressible": false
- },
- "audio/vorbis-config": {
- "source": "iana"
- },
- "audio/wav": {
- "compressible": false,
- "extensions": ["wav"]
- },
- "audio/wave": {
- "compressible": false,
- "extensions": ["wav"]
- },
- "audio/webm": {
- "source": "apache",
- "compressible": false,
- "extensions": ["weba"]
- },
- "audio/x-aac": {
- "source": "apache",
- "compressible": false,
- "extensions": ["aac"]
- },
- "audio/x-aiff": {
- "source": "apache",
- "extensions": ["aif","aiff","aifc"]
- },
- "audio/x-caf": {
- "source": "apache",
- "compressible": false,
- "extensions": ["caf"]
- },
- "audio/x-flac": {
- "source": "apache",
- "extensions": ["flac"]
- },
- "audio/x-m4a": {
- "source": "nginx",
- "extensions": ["m4a"]
- },
- "audio/x-matroska": {
- "source": "apache",
- "extensions": ["mka"]
- },
- "audio/x-mpegurl": {
- "source": "apache",
- "extensions": ["m3u"]
- },
- "audio/x-ms-wax": {
- "source": "apache",
- "extensions": ["wax"]
- },
- "audio/x-ms-wma": {
- "source": "apache",
- "extensions": ["wma"]
- },
- "audio/x-pn-realaudio": {
- "source": "apache",
- "extensions": ["ram","ra"]
- },
- "audio/x-pn-realaudio-plugin": {
- "source": "apache",
- "extensions": ["rmp"]
- },
- "audio/x-realaudio": {
- "source": "nginx",
- "extensions": ["ra"]
- },
- "audio/x-tta": {
- "source": "apache"
- },
- "audio/x-wav": {
- "source": "apache",
- "extensions": ["wav"]
- },
- "audio/xm": {
- "source": "apache",
- "extensions": ["xm"]
- },
- "chemical/x-cdx": {
- "source": "apache",
- "extensions": ["cdx"]
- },
- "chemical/x-cif": {
- "source": "apache",
- "extensions": ["cif"]
- },
- "chemical/x-cmdf": {
- "source": "apache",
- "extensions": ["cmdf"]
- },
- "chemical/x-cml": {
- "source": "apache",
- "extensions": ["cml"]
- },
- "chemical/x-csml": {
- "source": "apache",
- "extensions": ["csml"]
- },
- "chemical/x-pdb": {
- "source": "apache"
- },
- "chemical/x-xyz": {
- "source": "apache",
- "extensions": ["xyz"]
- },
- "font/collection": {
- "source": "iana",
- "extensions": ["ttc"]
- },
- "font/otf": {
- "source": "iana",
- "compressible": true,
- "extensions": ["otf"]
- },
- "font/sfnt": {
- "source": "iana"
- },
- "font/ttf": {
- "source": "iana",
- "compressible": true,
- "extensions": ["ttf"]
- },
- "font/woff": {
- "source": "iana",
- "extensions": ["woff"]
- },
- "font/woff2": {
- "source": "iana",
- "extensions": ["woff2"]
- },
- "image/aces": {
- "source": "iana",
- "extensions": ["exr"]
- },
- "image/apng": {
- "compressible": false,
- "extensions": ["apng"]
- },
- "image/avci": {
- "source": "iana"
- },
- "image/avcs": {
- "source": "iana"
- },
- "image/bmp": {
- "source": "iana",
- "compressible": true,
- "extensions": ["bmp"]
- },
- "image/cgm": {
- "source": "iana",
- "extensions": ["cgm"]
- },
- "image/dicom-rle": {
- "source": "iana",
- "extensions": ["drle"]
- },
- "image/emf": {
- "source": "iana",
- "extensions": ["emf"]
- },
- "image/fits": {
- "source": "iana",
- "extensions": ["fits"]
- },
- "image/g3fax": {
- "source": "iana",
- "extensions": ["g3"]
- },
- "image/gif": {
- "source": "iana",
- "compressible": false,
- "extensions": ["gif"]
- },
- "image/heic": {
- "source": "iana",
- "extensions": ["heic"]
- },
- "image/heic-sequence": {
- "source": "iana",
- "extensions": ["heics"]
- },
- "image/heif": {
- "source": "iana",
- "extensions": ["heif"]
- },
- "image/heif-sequence": {
- "source": "iana",
- "extensions": ["heifs"]
- },
- "image/hej2k": {
- "source": "iana",
- "extensions": ["hej2"]
- },
- "image/hsj2": {
- "source": "iana",
- "extensions": ["hsj2"]
- },
- "image/ief": {
- "source": "iana",
- "extensions": ["ief"]
- },
- "image/jls": {
- "source": "iana",
- "extensions": ["jls"]
- },
- "image/jp2": {
- "source": "iana",
- "compressible": false,
- "extensions": ["jp2","jpg2"]
- },
- "image/jpeg": {
- "source": "iana",
- "compressible": false,
- "extensions": ["jpeg","jpg","jpe"]
- },
- "image/jph": {
- "source": "iana",
- "extensions": ["jph"]
- },
- "image/jphc": {
- "source": "iana",
- "extensions": ["jhc"]
- },
- "image/jpm": {
- "source": "iana",
- "compressible": false,
- "extensions": ["jpm"]
- },
- "image/jpx": {
- "source": "iana",
- "compressible": false,
- "extensions": ["jpx","jpf"]
- },
- "image/jxr": {
- "source": "iana",
- "extensions": ["jxr"]
- },
- "image/jxra": {
- "source": "iana",
- "extensions": ["jxra"]
- },
- "image/jxrs": {
- "source": "iana",
- "extensions": ["jxrs"]
- },
- "image/jxs": {
- "source": "iana",
- "extensions": ["jxs"]
- },
- "image/jxsc": {
- "source": "iana",
- "extensions": ["jxsc"]
- },
- "image/jxsi": {
- "source": "iana",
- "extensions": ["jxsi"]
- },
- "image/jxss": {
- "source": "iana",
- "extensions": ["jxss"]
- },
- "image/ktx": {
- "source": "iana",
- "extensions": ["ktx"]
- },
- "image/naplps": {
- "source": "iana"
- },
- "image/pjpeg": {
- "compressible": false
- },
- "image/png": {
- "source": "iana",
- "compressible": false,
- "extensions": ["png"]
- },
- "image/prs.btif": {
- "source": "iana",
- "extensions": ["btif"]
- },
- "image/prs.pti": {
- "source": "iana",
- "extensions": ["pti"]
- },
- "image/pwg-raster": {
- "source": "iana"
- },
- "image/sgi": {
- "source": "apache",
- "extensions": ["sgi"]
- },
- "image/svg+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["svg","svgz"]
- },
- "image/t38": {
- "source": "iana",
- "extensions": ["t38"]
- },
- "image/tiff": {
- "source": "iana",
- "compressible": false,
- "extensions": ["tif","tiff"]
- },
- "image/tiff-fx": {
- "source": "iana",
- "extensions": ["tfx"]
- },
- "image/vnd.adobe.photoshop": {
- "source": "iana",
- "compressible": true,
- "extensions": ["psd"]
- },
- "image/vnd.airzip.accelerator.azv": {
- "source": "iana",
- "extensions": ["azv"]
- },
- "image/vnd.cns.inf2": {
- "source": "iana"
- },
- "image/vnd.dece.graphic": {
- "source": "iana",
- "extensions": ["uvi","uvvi","uvg","uvvg"]
- },
- "image/vnd.djvu": {
- "source": "iana",
- "extensions": ["djvu","djv"]
- },
- "image/vnd.dvb.subtitle": {
- "source": "iana",
- "extensions": ["sub"]
- },
- "image/vnd.dwg": {
- "source": "iana",
- "extensions": ["dwg"]
- },
- "image/vnd.dxf": {
- "source": "iana",
- "extensions": ["dxf"]
- },
- "image/vnd.fastbidsheet": {
- "source": "iana",
- "extensions": ["fbs"]
- },
- "image/vnd.fpx": {
- "source": "iana",
- "extensions": ["fpx"]
- },
- "image/vnd.fst": {
- "source": "iana",
- "extensions": ["fst"]
- },
- "image/vnd.fujixerox.edmics-mmr": {
- "source": "iana",
- "extensions": ["mmr"]
- },
- "image/vnd.fujixerox.edmics-rlc": {
- "source": "iana",
- "extensions": ["rlc"]
- },
- "image/vnd.globalgraphics.pgb": {
- "source": "iana"
- },
- "image/vnd.microsoft.icon": {
- "source": "iana",
- "extensions": ["ico"]
- },
- "image/vnd.mix": {
- "source": "iana"
- },
- "image/vnd.mozilla.apng": {
- "source": "iana"
- },
- "image/vnd.ms-dds": {
- "extensions": ["dds"]
- },
- "image/vnd.ms-modi": {
- "source": "iana",
- "extensions": ["mdi"]
- },
- "image/vnd.ms-photo": {
- "source": "apache",
- "extensions": ["wdp"]
- },
- "image/vnd.net-fpx": {
- "source": "iana",
- "extensions": ["npx"]
- },
- "image/vnd.radiance": {
- "source": "iana"
- },
- "image/vnd.sealed.png": {
- "source": "iana"
- },
- "image/vnd.sealedmedia.softseal.gif": {
- "source": "iana"
- },
- "image/vnd.sealedmedia.softseal.jpg": {
- "source": "iana"
- },
- "image/vnd.svf": {
- "source": "iana"
- },
- "image/vnd.tencent.tap": {
- "source": "iana",
- "extensions": ["tap"]
- },
- "image/vnd.valve.source.texture": {
- "source": "iana",
- "extensions": ["vtf"]
- },
- "image/vnd.wap.wbmp": {
- "source": "iana",
- "extensions": ["wbmp"]
- },
- "image/vnd.xiff": {
- "source": "iana",
- "extensions": ["xif"]
- },
- "image/vnd.zbrush.pcx": {
- "source": "iana",
- "extensions": ["pcx"]
- },
- "image/webp": {
- "source": "apache",
- "extensions": ["webp"]
- },
- "image/wmf": {
- "source": "iana",
- "extensions": ["wmf"]
- },
- "image/x-3ds": {
- "source": "apache",
- "extensions": ["3ds"]
- },
- "image/x-cmu-raster": {
- "source": "apache",
- "extensions": ["ras"]
- },
- "image/x-cmx": {
- "source": "apache",
- "extensions": ["cmx"]
- },
- "image/x-freehand": {
- "source": "apache",
- "extensions": ["fh","fhc","fh4","fh5","fh7"]
- },
- "image/x-icon": {
- "source": "apache",
- "compressible": true,
- "extensions": ["ico"]
- },
- "image/x-jng": {
- "source": "nginx",
- "extensions": ["jng"]
- },
- "image/x-mrsid-image": {
- "source": "apache",
- "extensions": ["sid"]
- },
- "image/x-ms-bmp": {
- "source": "nginx",
- "compressible": true,
- "extensions": ["bmp"]
- },
- "image/x-pcx": {
- "source": "apache",
- "extensions": ["pcx"]
- },
- "image/x-pict": {
- "source": "apache",
- "extensions": ["pic","pct"]
- },
- "image/x-portable-anymap": {
- "source": "apache",
- "extensions": ["pnm"]
- },
- "image/x-portable-bitmap": {
- "source": "apache",
- "extensions": ["pbm"]
- },
- "image/x-portable-graymap": {
- "source": "apache",
- "extensions": ["pgm"]
- },
- "image/x-portable-pixmap": {
- "source": "apache",
- "extensions": ["ppm"]
- },
- "image/x-rgb": {
- "source": "apache",
- "extensions": ["rgb"]
- },
- "image/x-tga": {
- "source": "apache",
- "extensions": ["tga"]
- },
- "image/x-xbitmap": {
- "source": "apache",
- "extensions": ["xbm"]
- },
- "image/x-xcf": {
- "compressible": false
- },
- "image/x-xpixmap": {
- "source": "apache",
- "extensions": ["xpm"]
- },
- "image/x-xwindowdump": {
- "source": "apache",
- "extensions": ["xwd"]
- },
- "message/cpim": {
- "source": "iana"
- },
- "message/delivery-status": {
- "source": "iana"
- },
- "message/disposition-notification": {
- "source": "iana",
- "extensions": [
- "disposition-notification"
- ]
- },
- "message/external-body": {
- "source": "iana"
- },
- "message/feedback-report": {
- "source": "iana"
- },
- "message/global": {
- "source": "iana",
- "extensions": ["u8msg"]
- },
- "message/global-delivery-status": {
- "source": "iana",
- "extensions": ["u8dsn"]
- },
- "message/global-disposition-notification": {
- "source": "iana",
- "extensions": ["u8mdn"]
- },
- "message/global-headers": {
- "source": "iana",
- "extensions": ["u8hdr"]
- },
- "message/http": {
- "source": "iana",
- "compressible": false
- },
- "message/imdn+xml": {
- "source": "iana",
- "compressible": true
- },
- "message/news": {
- "source": "iana"
- },
- "message/partial": {
- "source": "iana",
- "compressible": false
- },
- "message/rfc822": {
- "source": "iana",
- "compressible": true,
- "extensions": ["eml","mime"]
- },
- "message/s-http": {
- "source": "iana"
- },
- "message/sip": {
- "source": "iana"
- },
- "message/sipfrag": {
- "source": "iana"
- },
- "message/tracking-status": {
- "source": "iana"
- },
- "message/vnd.si.simp": {
- "source": "iana"
- },
- "message/vnd.wfa.wsc": {
- "source": "iana",
- "extensions": ["wsc"]
- },
- "model/3mf": {
- "source": "iana",
- "extensions": ["3mf"]
- },
- "model/gltf+json": {
- "source": "iana",
- "compressible": true,
- "extensions": ["gltf"]
- },
- "model/gltf-binary": {
- "source": "iana",
- "compressible": true,
- "extensions": ["glb"]
- },
- "model/iges": {
- "source": "iana",
- "compressible": false,
- "extensions": ["igs","iges"]
- },
- "model/mesh": {
- "source": "iana",
- "compressible": false,
- "extensions": ["msh","mesh","silo"]
- },
- "model/mtl": {
- "source": "iana",
- "extensions": ["mtl"]
- },
- "model/obj": {
- "source": "iana",
- "extensions": ["obj"]
- },
- "model/stl": {
- "source": "iana",
- "extensions": ["stl"]
- },
- "model/vnd.collada+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["dae"]
- },
- "model/vnd.dwf": {
- "source": "iana",
- "extensions": ["dwf"]
- },
- "model/vnd.flatland.3dml": {
- "source": "iana"
- },
- "model/vnd.gdl": {
- "source": "iana",
- "extensions": ["gdl"]
- },
- "model/vnd.gs-gdl": {
- "source": "apache"
- },
- "model/vnd.gs.gdl": {
- "source": "iana"
- },
- "model/vnd.gtw": {
- "source": "iana",
- "extensions": ["gtw"]
- },
- "model/vnd.moml+xml": {
- "source": "iana",
- "compressible": true
- },
- "model/vnd.mts": {
- "source": "iana",
- "extensions": ["mts"]
- },
- "model/vnd.opengex": {
- "source": "iana",
- "extensions": ["ogex"]
- },
- "model/vnd.parasolid.transmit.binary": {
- "source": "iana",
- "extensions": ["x_b"]
- },
- "model/vnd.parasolid.transmit.text": {
- "source": "iana",
- "extensions": ["x_t"]
- },
- "model/vnd.rosette.annotated-data-model": {
- "source": "iana"
- },
- "model/vnd.usdz+zip": {
- "source": "iana",
- "compressible": false,
- "extensions": ["usdz"]
- },
- "model/vnd.valve.source.compiled-map": {
- "source": "iana",
- "extensions": ["bsp"]
- },
- "model/vnd.vtu": {
- "source": "iana",
- "extensions": ["vtu"]
- },
- "model/vrml": {
- "source": "iana",
- "compressible": false,
- "extensions": ["wrl","vrml"]
- },
- "model/x3d+binary": {
- "source": "apache",
- "compressible": false,
- "extensions": ["x3db","x3dbz"]
- },
- "model/x3d+fastinfoset": {
- "source": "iana",
- "extensions": ["x3db"]
- },
- "model/x3d+vrml": {
- "source": "apache",
- "compressible": false,
- "extensions": ["x3dv","x3dvz"]
- },
- "model/x3d+xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["x3d","x3dz"]
- },
- "model/x3d-vrml": {
- "source": "iana",
- "extensions": ["x3dv"]
- },
- "multipart/alternative": {
- "source": "iana",
- "compressible": false
- },
- "multipart/appledouble": {
- "source": "iana"
- },
- "multipart/byteranges": {
- "source": "iana"
- },
- "multipart/digest": {
- "source": "iana"
- },
- "multipart/encrypted": {
- "source": "iana",
- "compressible": false
- },
- "multipart/form-data": {
- "source": "iana",
- "compressible": false
- },
- "multipart/header-set": {
- "source": "iana"
- },
- "multipart/mixed": {
- "source": "iana"
- },
- "multipart/multilingual": {
- "source": "iana"
- },
- "multipart/parallel": {
- "source": "iana"
- },
- "multipart/related": {
- "source": "iana",
- "compressible": false
- },
- "multipart/report": {
- "source": "iana"
- },
- "multipart/signed": {
- "source": "iana",
- "compressible": false
- },
- "multipart/vnd.bint.med-plus": {
- "source": "iana"
- },
- "multipart/voice-message": {
- "source": "iana"
- },
- "multipart/x-mixed-replace": {
- "source": "iana"
- },
- "text/1d-interleaved-parityfec": {
- "source": "iana"
- },
- "text/cache-manifest": {
- "source": "iana",
- "compressible": true,
- "extensions": ["appcache","manifest"]
- },
- "text/calendar": {
- "source": "iana",
- "extensions": ["ics","ifb"]
- },
- "text/calender": {
- "compressible": true
- },
- "text/cmd": {
- "compressible": true
- },
- "text/coffeescript": {
- "extensions": ["coffee","litcoffee"]
- },
- "text/css": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["css"]
- },
- "text/csv": {
- "source": "iana",
- "compressible": true,
- "extensions": ["csv"]
- },
- "text/csv-schema": {
- "source": "iana"
- },
- "text/directory": {
- "source": "iana"
- },
- "text/dns": {
- "source": "iana"
- },
- "text/ecmascript": {
- "source": "iana"
- },
- "text/encaprtp": {
- "source": "iana"
- },
- "text/enriched": {
- "source": "iana"
- },
- "text/flexfec": {
- "source": "iana"
- },
- "text/fwdred": {
- "source": "iana"
- },
- "text/grammar-ref-list": {
- "source": "iana"
- },
- "text/html": {
- "source": "iana",
- "compressible": true,
- "extensions": ["html","htm","shtml"]
- },
- "text/jade": {
- "extensions": ["jade"]
- },
- "text/javascript": {
- "source": "iana",
- "compressible": true
- },
- "text/jcr-cnd": {
- "source": "iana"
- },
- "text/jsx": {
- "compressible": true,
- "extensions": ["jsx"]
- },
- "text/less": {
- "compressible": true,
- "extensions": ["less"]
- },
- "text/markdown": {
- "source": "iana",
- "compressible": true,
- "extensions": ["markdown","md"]
- },
- "text/mathml": {
- "source": "nginx",
- "extensions": ["mml"]
- },
- "text/mdx": {
- "compressible": true,
- "extensions": ["mdx"]
- },
- "text/mizar": {
- "source": "iana"
- },
- "text/n3": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["n3"]
- },
- "text/parameters": {
- "source": "iana",
- "charset": "UTF-8"
- },
- "text/parityfec": {
- "source": "iana"
- },
- "text/plain": {
- "source": "iana",
- "compressible": true,
- "extensions": ["txt","text","conf","def","list","log","in","ini"]
- },
- "text/provenance-notation": {
- "source": "iana",
- "charset": "UTF-8"
- },
- "text/prs.fallenstein.rst": {
- "source": "iana"
- },
- "text/prs.lines.tag": {
- "source": "iana",
- "extensions": ["dsc"]
- },
- "text/prs.prop.logic": {
- "source": "iana"
- },
- "text/raptorfec": {
- "source": "iana"
- },
- "text/red": {
- "source": "iana"
- },
- "text/rfc822-headers": {
- "source": "iana"
- },
- "text/richtext": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rtx"]
- },
- "text/rtf": {
- "source": "iana",
- "compressible": true,
- "extensions": ["rtf"]
- },
- "text/rtp-enc-aescm128": {
- "source": "iana"
- },
- "text/rtploopback": {
- "source": "iana"
- },
- "text/rtx": {
- "source": "iana"
- },
- "text/sgml": {
- "source": "iana",
- "extensions": ["sgml","sgm"]
- },
- "text/shex": {
- "extensions": ["shex"]
- },
- "text/slim": {
- "extensions": ["slim","slm"]
- },
- "text/strings": {
- "source": "iana"
- },
- "text/stylus": {
- "extensions": ["stylus","styl"]
- },
- "text/t140": {
- "source": "iana"
- },
- "text/tab-separated-values": {
- "source": "iana",
- "compressible": true,
- "extensions": ["tsv"]
- },
- "text/troff": {
- "source": "iana",
- "extensions": ["t","tr","roff","man","me","ms"]
- },
- "text/turtle": {
- "source": "iana",
- "charset": "UTF-8",
- "extensions": ["ttl"]
- },
- "text/ulpfec": {
- "source": "iana"
- },
- "text/uri-list": {
- "source": "iana",
- "compressible": true,
- "extensions": ["uri","uris","urls"]
- },
- "text/vcard": {
- "source": "iana",
- "compressible": true,
- "extensions": ["vcard"]
- },
- "text/vnd.a": {
- "source": "iana"
- },
- "text/vnd.abc": {
- "source": "iana"
- },
- "text/vnd.ascii-art": {
- "source": "iana"
- },
- "text/vnd.curl": {
- "source": "iana",
- "extensions": ["curl"]
- },
- "text/vnd.curl.dcurl": {
- "source": "apache",
- "extensions": ["dcurl"]
- },
- "text/vnd.curl.mcurl": {
- "source": "apache",
- "extensions": ["mcurl"]
- },
- "text/vnd.curl.scurl": {
- "source": "apache",
- "extensions": ["scurl"]
- },
- "text/vnd.debian.copyright": {
- "source": "iana",
- "charset": "UTF-8"
- },
- "text/vnd.dmclientscript": {
- "source": "iana"
- },
- "text/vnd.dvb.subtitle": {
- "source": "iana",
- "extensions": ["sub"]
- },
- "text/vnd.esmertec.theme-descriptor": {
- "source": "iana",
- "charset": "UTF-8"
- },
- "text/vnd.ficlab.flt": {
- "source": "iana"
- },
- "text/vnd.fly": {
- "source": "iana",
- "extensions": ["fly"]
- },
- "text/vnd.fmi.flexstor": {
- "source": "iana",
- "extensions": ["flx"]
- },
- "text/vnd.gml": {
- "source": "iana"
- },
- "text/vnd.graphviz": {
- "source": "iana",
- "extensions": ["gv"]
- },
- "text/vnd.hgl": {
- "source": "iana"
- },
- "text/vnd.in3d.3dml": {
- "source": "iana",
- "extensions": ["3dml"]
- },
- "text/vnd.in3d.spot": {
- "source": "iana",
- "extensions": ["spot"]
- },
- "text/vnd.iptc.newsml": {
- "source": "iana"
- },
- "text/vnd.iptc.nitf": {
- "source": "iana"
- },
- "text/vnd.latex-z": {
- "source": "iana"
- },
- "text/vnd.motorola.reflex": {
- "source": "iana"
- },
- "text/vnd.ms-mediapackage": {
- "source": "iana"
- },
- "text/vnd.net2phone.commcenter.command": {
- "source": "iana"
- },
- "text/vnd.radisys.msml-basic-layout": {
- "source": "iana"
- },
- "text/vnd.senx.warpscript": {
- "source": "iana"
- },
- "text/vnd.si.uricatalogue": {
- "source": "iana"
- },
- "text/vnd.sosi": {
- "source": "iana"
- },
- "text/vnd.sun.j2me.app-descriptor": {
- "source": "iana",
- "charset": "UTF-8",
- "extensions": ["jad"]
- },
- "text/vnd.trolltech.linguist": {
- "source": "iana",
- "charset": "UTF-8"
- },
- "text/vnd.wap.si": {
- "source": "iana"
- },
- "text/vnd.wap.sl": {
- "source": "iana"
- },
- "text/vnd.wap.wml": {
- "source": "iana",
- "extensions": ["wml"]
- },
- "text/vnd.wap.wmlscript": {
- "source": "iana",
- "extensions": ["wmls"]
- },
- "text/vtt": {
- "source": "iana",
- "charset": "UTF-8",
- "compressible": true,
- "extensions": ["vtt"]
- },
- "text/x-asm": {
- "source": "apache",
- "extensions": ["s","asm"]
- },
- "text/x-c": {
- "source": "apache",
- "extensions": ["c","cc","cxx","cpp","h","hh","dic"]
- },
- "text/x-component": {
- "source": "nginx",
- "extensions": ["htc"]
- },
- "text/x-fortran": {
- "source": "apache",
- "extensions": ["f","for","f77","f90"]
- },
- "text/x-gwt-rpc": {
- "compressible": true
- },
- "text/x-handlebars-template": {
- "extensions": ["hbs"]
- },
- "text/x-java-source": {
- "source": "apache",
- "extensions": ["java"]
- },
- "text/x-jquery-tmpl": {
- "compressible": true
- },
- "text/x-lua": {
- "extensions": ["lua"]
- },
- "text/x-markdown": {
- "compressible": true,
- "extensions": ["mkd"]
- },
- "text/x-nfo": {
- "source": "apache",
- "extensions": ["nfo"]
- },
- "text/x-opml": {
- "source": "apache",
- "extensions": ["opml"]
- },
- "text/x-org": {
- "compressible": true,
- "extensions": ["org"]
- },
- "text/x-pascal": {
- "source": "apache",
- "extensions": ["p","pas"]
- },
- "text/x-processing": {
- "compressible": true,
- "extensions": ["pde"]
- },
- "text/x-sass": {
- "extensions": ["sass"]
- },
- "text/x-scss": {
- "extensions": ["scss"]
- },
- "text/x-setext": {
- "source": "apache",
- "extensions": ["etx"]
- },
- "text/x-sfv": {
- "source": "apache",
- "extensions": ["sfv"]
- },
- "text/x-suse-ymp": {
- "compressible": true,
- "extensions": ["ymp"]
- },
- "text/x-uuencode": {
- "source": "apache",
- "extensions": ["uu"]
- },
- "text/x-vcalendar": {
- "source": "apache",
- "extensions": ["vcs"]
- },
- "text/x-vcard": {
- "source": "apache",
- "extensions": ["vcf"]
- },
- "text/xml": {
- "source": "iana",
- "compressible": true,
- "extensions": ["xml"]
- },
- "text/xml-external-parsed-entity": {
- "source": "iana"
- },
- "text/yaml": {
- "extensions": ["yaml","yml"]
- },
- "video/1d-interleaved-parityfec": {
- "source": "iana"
- },
- "video/3gpp": {
- "source": "iana",
- "extensions": ["3gp","3gpp"]
- },
- "video/3gpp-tt": {
- "source": "iana"
- },
- "video/3gpp2": {
- "source": "iana",
- "extensions": ["3g2"]
- },
- "video/bmpeg": {
- "source": "iana"
- },
- "video/bt656": {
- "source": "iana"
- },
- "video/celb": {
- "source": "iana"
- },
- "video/dv": {
- "source": "iana"
- },
- "video/encaprtp": {
- "source": "iana"
- },
- "video/flexfec": {
- "source": "iana"
- },
- "video/h261": {
- "source": "iana",
- "extensions": ["h261"]
- },
- "video/h263": {
- "source": "iana",
- "extensions": ["h263"]
- },
- "video/h263-1998": {
- "source": "iana"
- },
- "video/h263-2000": {
- "source": "iana"
- },
- "video/h264": {
- "source": "iana",
- "extensions": ["h264"]
- },
- "video/h264-rcdo": {
- "source": "iana"
- },
- "video/h264-svc": {
- "source": "iana"
- },
- "video/h265": {
- "source": "iana"
- },
- "video/iso.segment": {
- "source": "iana"
- },
- "video/jpeg": {
- "source": "iana",
- "extensions": ["jpgv"]
- },
- "video/jpeg2000": {
- "source": "iana"
- },
- "video/jpm": {
- "source": "apache",
- "extensions": ["jpm","jpgm"]
- },
- "video/mj2": {
- "source": "iana",
- "extensions": ["mj2","mjp2"]
- },
- "video/mp1s": {
- "source": "iana"
- },
- "video/mp2p": {
- "source": "iana"
- },
- "video/mp2t": {
- "source": "iana",
- "extensions": ["ts"]
- },
- "video/mp4": {
- "source": "iana",
- "compressible": false,
- "extensions": ["mp4","mp4v","mpg4"]
- },
- "video/mp4v-es": {
- "source": "iana"
- },
- "video/mpeg": {
- "source": "iana",
- "compressible": false,
- "extensions": ["mpeg","mpg","mpe","m1v","m2v"]
- },
- "video/mpeg4-generic": {
- "source": "iana"
- },
- "video/mpv": {
- "source": "iana"
- },
- "video/nv": {
- "source": "iana"
- },
- "video/ogg": {
- "source": "iana",
- "compressible": false,
- "extensions": ["ogv"]
- },
- "video/parityfec": {
- "source": "iana"
- },
- "video/pointer": {
- "source": "iana"
- },
- "video/quicktime": {
- "source": "iana",
- "compressible": false,
- "extensions": ["qt","mov"]
- },
- "video/raptorfec": {
- "source": "iana"
- },
- "video/raw": {
- "source": "iana"
- },
- "video/rtp-enc-aescm128": {
- "source": "iana"
- },
- "video/rtploopback": {
- "source": "iana"
- },
- "video/rtx": {
- "source": "iana"
- },
- "video/smpte291": {
- "source": "iana"
- },
- "video/smpte292m": {
- "source": "iana"
- },
- "video/ulpfec": {
- "source": "iana"
- },
- "video/vc1": {
- "source": "iana"
- },
- "video/vc2": {
- "source": "iana"
- },
- "video/vnd.cctv": {
- "source": "iana"
- },
- "video/vnd.dece.hd": {
- "source": "iana",
- "extensions": ["uvh","uvvh"]
- },
- "video/vnd.dece.mobile": {
- "source": "iana",
- "extensions": ["uvm","uvvm"]
- },
- "video/vnd.dece.mp4": {
- "source": "iana"
- },
- "video/vnd.dece.pd": {
- "source": "iana",
- "extensions": ["uvp","uvvp"]
- },
- "video/vnd.dece.sd": {
- "source": "iana",
- "extensions": ["uvs","uvvs"]
- },
- "video/vnd.dece.video": {
- "source": "iana",
- "extensions": ["uvv","uvvv"]
- },
- "video/vnd.directv.mpeg": {
- "source": "iana"
- },
- "video/vnd.directv.mpeg-tts": {
- "source": "iana"
- },
- "video/vnd.dlna.mpeg-tts": {
- "source": "iana"
- },
- "video/vnd.dvb.file": {
- "source": "iana",
- "extensions": ["dvb"]
- },
- "video/vnd.fvt": {
- "source": "iana",
- "extensions": ["fvt"]
- },
- "video/vnd.hns.video": {
- "source": "iana"
- },
- "video/vnd.iptvforum.1dparityfec-1010": {
- "source": "iana"
- },
- "video/vnd.iptvforum.1dparityfec-2005": {
- "source": "iana"
- },
- "video/vnd.iptvforum.2dparityfec-1010": {
- "source": "iana"
- },
- "video/vnd.iptvforum.2dparityfec-2005": {
- "source": "iana"
- },
- "video/vnd.iptvforum.ttsavc": {
- "source": "iana"
- },
- "video/vnd.iptvforum.ttsmpeg2": {
- "source": "iana"
- },
- "video/vnd.motorola.video": {
- "source": "iana"
- },
- "video/vnd.motorola.videop": {
- "source": "iana"
- },
- "video/vnd.mpegurl": {
- "source": "iana",
- "extensions": ["mxu","m4u"]
- },
- "video/vnd.ms-playready.media.pyv": {
- "source": "iana",
- "extensions": ["pyv"]
- },
- "video/vnd.nokia.interleaved-multimedia": {
- "source": "iana"
- },
- "video/vnd.nokia.mp4vr": {
- "source": "iana"
- },
- "video/vnd.nokia.videovoip": {
- "source": "iana"
- },
- "video/vnd.objectvideo": {
- "source": "iana"
- },
- "video/vnd.radgamettools.bink": {
- "source": "iana"
- },
- "video/vnd.radgamettools.smacker": {
- "source": "iana"
- },
- "video/vnd.sealed.mpeg1": {
- "source": "iana"
- },
- "video/vnd.sealed.mpeg4": {
- "source": "iana"
- },
- "video/vnd.sealed.swf": {
- "source": "iana"
- },
- "video/vnd.sealedmedia.softseal.mov": {
- "source": "iana"
- },
- "video/vnd.uvvu.mp4": {
- "source": "iana",
- "extensions": ["uvu","uvvu"]
- },
- "video/vnd.vivo": {
- "source": "iana",
- "extensions": ["viv"]
- },
- "video/vnd.youtube.yt": {
- "source": "iana"
- },
- "video/vp8": {
- "source": "iana"
- },
- "video/webm": {
- "source": "apache",
- "compressible": false,
- "extensions": ["webm"]
- },
- "video/x-f4v": {
- "source": "apache",
- "extensions": ["f4v"]
- },
- "video/x-fli": {
- "source": "apache",
- "extensions": ["fli"]
- },
- "video/x-flv": {
- "source": "apache",
- "compressible": false,
- "extensions": ["flv"]
- },
- "video/x-m4v": {
- "source": "apache",
- "extensions": ["m4v"]
- },
- "video/x-matroska": {
- "source": "apache",
- "compressible": false,
- "extensions": ["mkv","mk3d","mks"]
- },
- "video/x-mng": {
- "source": "apache",
- "extensions": ["mng"]
- },
- "video/x-ms-asf": {
- "source": "apache",
- "extensions": ["asf","asx"]
- },
- "video/x-ms-vob": {
- "source": "apache",
- "extensions": ["vob"]
- },
- "video/x-ms-wm": {
- "source": "apache",
- "extensions": ["wm"]
- },
- "video/x-ms-wmv": {
- "source": "apache",
- "compressible": false,
- "extensions": ["wmv"]
- },
- "video/x-ms-wmx": {
- "source": "apache",
- "extensions": ["wmx"]
- },
- "video/x-ms-wvx": {
- "source": "apache",
- "extensions": ["wvx"]
- },
- "video/x-msvideo": {
- "source": "apache",
- "extensions": ["avi"]
- },
- "video/x-sgi-movie": {
- "source": "apache",
- "extensions": ["movie"]
- },
- "video/x-smv": {
- "source": "apache",
- "extensions": ["smv"]
- },
- "x-conference/x-cooltalk": {
- "source": "apache",
- "extensions": ["ice"]
- },
- "x-shader/x-fragment": {
- "compressible": true
- },
- "x-shader/x-vertex": {
- "compressible": true
- }
-}
diff --git a/Server/node_modules/mime-db/index.js b/Server/node_modules/mime-db/index.js
deleted file mode 100644
index 551031f..0000000
--- a/Server/node_modules/mime-db/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/*!
- * mime-db
- * Copyright(c) 2014 Jonathan Ong
- * MIT Licensed
- */
-
-/**
- * Module exports.
- */
-
-module.exports = require('./db.json')
diff --git a/Server/node_modules/mime-db/package.json b/Server/node_modules/mime-db/package.json
deleted file mode 100644
index baaf6ed..0000000
--- a/Server/node_modules/mime-db/package.json
+++ /dev/null
@@ -1,102 +0,0 @@
-{
- "_from": "mime-db@1.44.0",
- "_id": "mime-db@1.44.0",
- "_inBundle": false,
- "_integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==",
- "_location": "/mime-db",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "mime-db@1.44.0",
- "name": "mime-db",
- "escapedName": "mime-db",
- "rawSpec": "1.44.0",
- "saveSpec": null,
- "fetchSpec": "1.44.0"
- },
- "_requiredBy": [
- "/mime-types"
- ],
- "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
- "_shasum": "fa11c5eb0aca1334b4233cb4d52f10c5a6272f92",
- "_spec": "mime-db@1.44.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/mime-types",
- "bugs": {
- "url": "https://github.com/jshttp/mime-db/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- {
- "name": "Robert Kieffer",
- "email": "robert@broofa.com",
- "url": "http://github.com/broofa"
- }
- ],
- "deprecated": false,
- "description": "Media Type Database",
- "devDependencies": {
- "bluebird": "3.7.2",
- "co": "4.6.0",
- "cogent": "1.0.1",
- "csv-parse": "4.8.9",
- "eslint": "6.8.0",
- "eslint-config-standard": "14.1.1",
- "eslint-plugin-import": "2.20.2",
- "eslint-plugin-markdown": "1.0.2",
- "eslint-plugin-node": "11.1.0",
- "eslint-plugin-promise": "4.2.1",
- "eslint-plugin-standard": "4.0.1",
- "gnode": "0.1.2",
- "mocha": "7.1.1",
- "nyc": "15.0.1",
- "raw-body": "2.4.1",
- "stream-to-array": "2.3.0"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "README.md",
- "db.json",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/mime-db#readme",
- "keywords": [
- "mime",
- "db",
- "type",
- "types",
- "database",
- "charset",
- "charsets"
- ],
- "license": "MIT",
- "name": "mime-db",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/mime-db.git"
- },
- "scripts": {
- "build": "node scripts/build",
- "fetch": "node scripts/fetch-apache && gnode scripts/fetch-iana && node scripts/fetch-nginx",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "nyc --reporter=html --reporter=text npm test",
- "test-travis": "nyc --reporter=text npm test",
- "update": "npm run fetch && npm run build",
- "version": "node scripts/version-history.js && git add HISTORY.md"
- },
- "version": "1.44.0"
-}
diff --git a/Server/node_modules/mime-types/HISTORY.md b/Server/node_modules/mime-types/HISTORY.md
deleted file mode 100644
index e93149a..0000000
--- a/Server/node_modules/mime-types/HISTORY.md
+++ /dev/null
@@ -1,333 +0,0 @@
-2.1.27 / 2020-04-23
-===================
-
- * deps: mime-db@1.44.0
- - Add charsets from IANA
- - Add extension `.cjs` to `application/node`
- - Add new upstream MIME types
-
-2.1.26 / 2020-01-05
-===================
-
- * deps: mime-db@1.43.0
- - Add `application/x-keepass2` with extension `.kdbx`
- - Add extension `.mxmf` to `audio/mobile-xmf`
- - Add extensions from IANA for `application/*+xml` types
- - Add new upstream MIME types
-
-2.1.25 / 2019-11-12
-===================
-
- * deps: mime-db@1.42.0
- - Add new upstream MIME types
- - Add `application/toml` with extension `.toml`
- - Add `image/vnd.ms-dds` with extension `.dds`
-
-2.1.24 / 2019-04-20
-===================
-
- * deps: mime-db@1.40.0
- - Add extensions from IANA for `model/*` types
- - Add `text/mdx` with extension `.mdx`
-
-2.1.23 / 2019-04-17
-===================
-
- * deps: mime-db@~1.39.0
- - Add extensions `.siv` and `.sieve` to `application/sieve`
- - Add new upstream MIME types
-
-2.1.22 / 2019-02-14
-===================
-
- * deps: mime-db@~1.38.0
- - Add extension `.nq` to `application/n-quads`
- - Add extension `.nt` to `application/n-triples`
- - Add new upstream MIME types
- - Mark `text/less` as compressible
-
-2.1.21 / 2018-10-19
-===================
-
- * deps: mime-db@~1.37.0
- - Add extensions to HEIC image types
- - Add new upstream MIME types
-
-2.1.20 / 2018-08-26
-===================
-
- * deps: mime-db@~1.36.0
- - Add Apple file extensions from IANA
- - Add extensions from IANA for `image/*` types
- - Add new upstream MIME types
-
-2.1.19 / 2018-07-17
-===================
-
- * deps: mime-db@~1.35.0
- - Add extension `.csl` to `application/vnd.citationstyles.style+xml`
- - Add extension `.es` to `application/ecmascript`
- - Add extension `.owl` to `application/rdf+xml`
- - Add new upstream MIME types
- - Add UTF-8 as default charset for `text/turtle`
-
-2.1.18 / 2018-02-16
-===================
-
- * deps: mime-db@~1.33.0
- - Add `application/raml+yaml` with extension `.raml`
- - Add `application/wasm` with extension `.wasm`
- - Add `text/shex` with extension `.shex`
- - Add extensions for JPEG-2000 images
- - Add extensions from IANA for `message/*` types
- - Add new upstream MIME types
- - Update font MIME types
- - Update `text/hjson` to registered `application/hjson`
-
-2.1.17 / 2017-09-01
-===================
-
- * deps: mime-db@~1.30.0
- - Add `application/vnd.ms-outlook`
- - Add `application/x-arj`
- - Add extension `.mjs` to `application/javascript`
- - Add glTF types and extensions
- - Add new upstream MIME types
- - Add `text/x-org`
- - Add VirtualBox MIME types
- - Fix `source` records for `video/*` types that are IANA
- - Update `font/opentype` to registered `font/otf`
-
-2.1.16 / 2017-07-24
-===================
-
- * deps: mime-db@~1.29.0
- - Add `application/fido.trusted-apps+json`
- - Add extension `.wadl` to `application/vnd.sun.wadl+xml`
- - Add extension `.gz` to `application/gzip`
- - Add new upstream MIME types
- - Update extensions `.md` and `.markdown` to be `text/markdown`
-
-2.1.15 / 2017-03-23
-===================
-
- * deps: mime-db@~1.27.0
- - Add new mime types
- - Add `image/apng`
-
-2.1.14 / 2017-01-14
-===================
-
- * deps: mime-db@~1.26.0
- - Add new mime types
-
-2.1.13 / 2016-11-18
-===================
-
- * deps: mime-db@~1.25.0
- - Add new mime types
-
-2.1.12 / 2016-09-18
-===================
-
- * deps: mime-db@~1.24.0
- - Add new mime types
- - Add `audio/mp3`
-
-2.1.11 / 2016-05-01
-===================
-
- * deps: mime-db@~1.23.0
- - Add new mime types
-
-2.1.10 / 2016-02-15
-===================
-
- * deps: mime-db@~1.22.0
- - Add new mime types
- - Fix extension of `application/dash+xml`
- - Update primary extension for `audio/mp4`
-
-2.1.9 / 2016-01-06
-==================
-
- * deps: mime-db@~1.21.0
- - Add new mime types
-
-2.1.8 / 2015-11-30
-==================
-
- * deps: mime-db@~1.20.0
- - Add new mime types
-
-2.1.7 / 2015-09-20
-==================
-
- * deps: mime-db@~1.19.0
- - Add new mime types
-
-2.1.6 / 2015-09-03
-==================
-
- * deps: mime-db@~1.18.0
- - Add new mime types
-
-2.1.5 / 2015-08-20
-==================
-
- * deps: mime-db@~1.17.0
- - Add new mime types
-
-2.1.4 / 2015-07-30
-==================
-
- * deps: mime-db@~1.16.0
- - Add new mime types
-
-2.1.3 / 2015-07-13
-==================
-
- * deps: mime-db@~1.15.0
- - Add new mime types
-
-2.1.2 / 2015-06-25
-==================
-
- * deps: mime-db@~1.14.0
- - Add new mime types
-
-2.1.1 / 2015-06-08
-==================
-
- * perf: fix deopt during mapping
-
-2.1.0 / 2015-06-07
-==================
-
- * Fix incorrectly treating extension-less file name as extension
- - i.e. `'path/to/json'` will no longer return `application/json`
- * Fix `.charset(type)` to accept parameters
- * Fix `.charset(type)` to match case-insensitive
- * Improve generation of extension to MIME mapping
- * Refactor internals for readability and no argument reassignment
- * Prefer `application/*` MIME types from the same source
- * Prefer any type over `application/octet-stream`
- * deps: mime-db@~1.13.0
- - Add nginx as a source
- - Add new mime types
-
-2.0.14 / 2015-06-06
-===================
-
- * deps: mime-db@~1.12.0
- - Add new mime types
-
-2.0.13 / 2015-05-31
-===================
-
- * deps: mime-db@~1.11.0
- - Add new mime types
-
-2.0.12 / 2015-05-19
-===================
-
- * deps: mime-db@~1.10.0
- - Add new mime types
-
-2.0.11 / 2015-05-05
-===================
-
- * deps: mime-db@~1.9.1
- - Add new mime types
-
-2.0.10 / 2015-03-13
-===================
-
- * deps: mime-db@~1.8.0
- - Add new mime types
-
-2.0.9 / 2015-02-09
-==================
-
- * deps: mime-db@~1.7.0
- - Add new mime types
- - Community extensions ownership transferred from `node-mime`
-
-2.0.8 / 2015-01-29
-==================
-
- * deps: mime-db@~1.6.0
- - Add new mime types
-
-2.0.7 / 2014-12-30
-==================
-
- * deps: mime-db@~1.5.0
- - Add new mime types
- - Fix various invalid MIME type entries
-
-2.0.6 / 2014-12-30
-==================
-
- * deps: mime-db@~1.4.0
- - Add new mime types
- - Fix various invalid MIME type entries
- - Remove example template MIME types
-
-2.0.5 / 2014-12-29
-==================
-
- * deps: mime-db@~1.3.1
- - Fix missing extensions
-
-2.0.4 / 2014-12-10
-==================
-
- * deps: mime-db@~1.3.0
- - Add new mime types
-
-2.0.3 / 2014-11-09
-==================
-
- * deps: mime-db@~1.2.0
- - Add new mime types
-
-2.0.2 / 2014-09-28
-==================
-
- * deps: mime-db@~1.1.0
- - Add new mime types
- - Add additional compressible
- - Update charsets
-
-2.0.1 / 2014-09-07
-==================
-
- * Support Node.js 0.6
-
-2.0.0 / 2014-09-02
-==================
-
- * Use `mime-db`
- * Remove `.define()`
-
-1.0.2 / 2014-08-04
-==================
-
- * Set charset=utf-8 for `text/javascript`
-
-1.0.1 / 2014-06-24
-==================
-
- * Add `text/jsx` type
-
-1.0.0 / 2014-05-12
-==================
-
- * Return `false` for unknown types
- * Set charset=utf-8 for `application/json`
-
-0.1.0 / 2014-05-02
-==================
-
- * Initial release
diff --git a/Server/node_modules/mime-types/LICENSE b/Server/node_modules/mime-types/LICENSE
deleted file mode 100644
index 0616607..0000000
--- a/Server/node_modules/mime-types/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/mime-types/README.md b/Server/node_modules/mime-types/README.md
deleted file mode 100644
index 3863339..0000000
--- a/Server/node_modules/mime-types/README.md
+++ /dev/null
@@ -1,123 +0,0 @@
-# mime-types
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-The ultimate javascript content-type utility.
-
-Similar to [the `mime@1.x` module](https://www.npmjs.com/package/mime), except:
-
-- __No fallbacks.__ Instead of naively returning the first available type,
- `mime-types` simply returns `false`, so do
- `var type = mime.lookup('unrecognized') || 'application/octet-stream'`.
-- No `new Mime()` business, so you could do `var lookup = require('mime-types').lookup`.
-- No `.define()` functionality
-- Bug fixes for `.lookup(path)`
-
-Otherwise, the API is compatible with `mime` 1.x.
-
-## Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install mime-types
-```
-
-## Adding Types
-
-All mime types are based on [mime-db](https://www.npmjs.com/package/mime-db),
-so open a PR there if you'd like to add mime types.
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var mime = require('mime-types')
-```
-
-All functions return `false` if input is invalid or not found.
-
-### mime.lookup(path)
-
-Lookup the content-type associated with a file.
-
-<!-- eslint-disable no-undef -->
-
-```js
-mime.lookup('json') // 'application/json'
-mime.lookup('.md') // 'text/markdown'
-mime.lookup('file.html') // 'text/html'
-mime.lookup('folder/file.js') // 'application/javascript'
-mime.lookup('folder/.htaccess') // false
-
-mime.lookup('cats') // false
-```
-
-### mime.contentType(type)
-
-Create a full content-type header given a content-type or extension.
-When given an extension, `mime.lookup` is used to get the matching
-content-type, otherwise the given content-type is used. Then if the
-content-type does not already have a `charset` parameter, `mime.charset`
-is used to get the default charset and add to the returned content-type.
-
-<!-- eslint-disable no-undef -->
-
-```js
-mime.contentType('markdown') // 'text/x-markdown; charset=utf-8'
-mime.contentType('file.json') // 'application/json; charset=utf-8'
-mime.contentType('text/html') // 'text/html; charset=utf-8'
-mime.contentType('text/html; charset=iso-8859-1') // 'text/html; charset=iso-8859-1'
-
-// from a full path
-mime.contentType(path.extname('/path/to/file.json')) // 'application/json; charset=utf-8'
-```
-
-### mime.extension(type)
-
-Get the default extension for a content-type.
-
-<!-- eslint-disable no-undef -->
-
-```js
-mime.extension('application/octet-stream') // 'bin'
-```
-
-### mime.charset(type)
-
-Lookup the implied default charset of a content-type.
-
-<!-- eslint-disable no-undef -->
-
-```js
-mime.charset('text/markdown') // 'UTF-8'
-```
-
-### var type = mime.types[extension]
-
-A map of content-types by extension.
-
-### [extensions...] = mime.extensions[type]
-
-A map of extensions by content-type.
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/mime-types/master
-[coveralls-url]: https://coveralls.io/r/jshttp/mime-types?branch=master
-[node-version-image]: https://badgen.net/npm/node/mime-types
-[node-version-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/mime-types
-[npm-url]: https://npmjs.org/package/mime-types
-[npm-version-image]: https://badgen.net/npm/v/mime-types
-[travis-image]: https://badgen.net/travis/jshttp/mime-types/master
-[travis-url]: https://travis-ci.org/jshttp/mime-types
diff --git a/Server/node_modules/mime-types/index.js b/Server/node_modules/mime-types/index.js
deleted file mode 100644
index b9f34d5..0000000
--- a/Server/node_modules/mime-types/index.js
+++ /dev/null
@@ -1,188 +0,0 @@
-/*!
- * mime-types
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var db = require('mime-db')
-var extname = require('path').extname
-
-/**
- * Module variables.
- * @private
- */
-
-var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/
-var TEXT_TYPE_REGEXP = /^text\//i
-
-/**
- * Module exports.
- * @public
- */
-
-exports.charset = charset
-exports.charsets = { lookup: charset }
-exports.contentType = contentType
-exports.extension = extension
-exports.extensions = Object.create(null)
-exports.lookup = lookup
-exports.types = Object.create(null)
-
-// Populate the extensions/types maps
-populateMaps(exports.extensions, exports.types)
-
-/**
- * Get the default charset for a MIME type.
- *
- * @param {string} type
- * @return {boolean|string}
- */
-
-function charset (type) {
- if (!type || typeof type !== 'string') {
- return false
- }
-
- // TODO: use media-typer
- var match = EXTRACT_TYPE_REGEXP.exec(type)
- var mime = match && db[match[1].toLowerCase()]
-
- if (mime && mime.charset) {
- return mime.charset
- }
-
- // default text/* to utf-8
- if (match && TEXT_TYPE_REGEXP.test(match[1])) {
- return 'UTF-8'
- }
-
- return false
-}
-
-/**
- * Create a full Content-Type header given a MIME type or extension.
- *
- * @param {string} str
- * @return {boolean|string}
- */
-
-function contentType (str) {
- // TODO: should this even be in this module?
- if (!str || typeof str !== 'string') {
- return false
- }
-
- var mime = str.indexOf('/') === -1
- ? exports.lookup(str)
- : str
-
- if (!mime) {
- return false
- }
-
- // TODO: use content-type or other module
- if (mime.indexOf('charset') === -1) {
- var charset = exports.charset(mime)
- if (charset) mime += '; charset=' + charset.toLowerCase()
- }
-
- return mime
-}
-
-/**
- * Get the default extension for a MIME type.
- *
- * @param {string} type
- * @return {boolean|string}
- */
-
-function extension (type) {
- if (!type || typeof type !== 'string') {
- return false
- }
-
- // TODO: use media-typer
- var match = EXTRACT_TYPE_REGEXP.exec(type)
-
- // get extensions
- var exts = match && exports.extensions[match[1].toLowerCase()]
-
- if (!exts || !exts.length) {
- return false
- }
-
- return exts[0]
-}
-
-/**
- * Lookup the MIME type for a file path/extension.
- *
- * @param {string} path
- * @return {boolean|string}
- */
-
-function lookup (path) {
- if (!path || typeof path !== 'string') {
- return false
- }
-
- // get the extension ("ext" or ".ext" or full path)
- var extension = extname('x.' + path)
- .toLowerCase()
- .substr(1)
-
- if (!extension) {
- return false
- }
-
- return exports.types[extension] || false
-}
-
-/**
- * Populate the extensions and types maps.
- * @private
- */
-
-function populateMaps (extensions, types) {
- // source preference (least -> most)
- var preference = ['nginx', 'apache', undefined, 'iana']
-
- Object.keys(db).forEach(function forEachMimeType (type) {
- var mime = db[type]
- var exts = mime.extensions
-
- if (!exts || !exts.length) {
- return
- }
-
- // mime -> extensions
- extensions[type] = exts
-
- // extension -> mime
- for (var i = 0; i < exts.length; i++) {
- var extension = exts[i]
-
- if (types[extension]) {
- var from = preference.indexOf(db[types[extension]].source)
- var to = preference.indexOf(mime.source)
-
- if (types[extension] !== 'application/octet-stream' &&
- (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) {
- // skip the remapping
- continue
- }
- }
-
- // set the extension -> mime
- types[extension] = type
- }
- })
-}
diff --git a/Server/node_modules/mime-types/package.json b/Server/node_modules/mime-types/package.json
deleted file mode 100644
index f928290..0000000
--- a/Server/node_modules/mime-types/package.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "_from": "mime-types@~2.1.24",
- "_id": "mime-types@2.1.27",
- "_inBundle": false,
- "_integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
- "_location": "/mime-types",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "mime-types@~2.1.24",
- "name": "mime-types",
- "escapedName": "mime-types",
- "rawSpec": "~2.1.24",
- "saveSpec": null,
- "fetchSpec": "~2.1.24"
- },
- "_requiredBy": [
- "/accepts",
- "/type-is"
- ],
- "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
- "_shasum": "47949f98e279ea53119f5722e0f34e529bec009f",
- "_spec": "mime-types@~2.1.24",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/type-is",
- "bugs": {
- "url": "https://github.com/jshttp/mime-types/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jeremiah Senkpiel",
- "email": "fishrock123@rocketmail.com",
- "url": "https://searchbeam.jit.su"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "dependencies": {
- "mime-db": "1.44.0"
- },
- "deprecated": false,
- "description": "The ultimate javascript content-type utility.",
- "devDependencies": {
- "eslint": "6.8.0",
- "eslint-config-standard": "14.1.1",
- "eslint-plugin-import": "2.20.2",
- "eslint-plugin-markdown": "1.0.2",
- "eslint-plugin-node": "11.1.0",
- "eslint-plugin-promise": "4.2.1",
- "eslint-plugin-standard": "4.0.1",
- "mocha": "7.1.1",
- "nyc": "15.0.1"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/mime-types#readme",
- "keywords": [
- "mime",
- "types"
- ],
- "license": "MIT",
- "name": "mime-types",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/mime-types.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec test/test.js",
- "test-cov": "nyc --reporter=html --reporter=text npm test",
- "test-travis": "nyc --reporter=text npm test"
- },
- "version": "2.1.27"
-}
diff --git a/Server/node_modules/mime/.npmignore b/Server/node_modules/mime/.npmignore
deleted file mode 100644
index e69de29..0000000
diff --git a/Server/node_modules/mime/CHANGELOG.md b/Server/node_modules/mime/CHANGELOG.md
deleted file mode 100644
index f127535..0000000
--- a/Server/node_modules/mime/CHANGELOG.md
+++ /dev/null
@@ -1,164 +0,0 @@
-# Changelog
-
-## v1.6.0 (24/11/2017)
-*No changelog for this release.*
-
----
-
-## v2.0.4 (24/11/2017)
-- [**closed**] Switch to mime-score module for resolving extension contention issues. [#182](https://github.com/broofa/node-mime/issues/182)
-- [**closed**] Update mime-db to 1.31.0 in v1.x branch [#181](https://github.com/broofa/node-mime/issues/181)
-
----
-
-## v1.5.0 (22/11/2017)
-- [**closed**] need ES5 version ready in npm package [#179](https://github.com/broofa/node-mime/issues/179)
-- [**closed**] mime-db no trace of iWork - pages / numbers / etc. [#178](https://github.com/broofa/node-mime/issues/178)
-- [**closed**] How it works in brownser ? [#176](https://github.com/broofa/node-mime/issues/176)
-- [**closed**] Missing `./Mime` [#175](https://github.com/broofa/node-mime/issues/175)
-- [**closed**] Vulnerable Regular Expression [#167](https://github.com/broofa/node-mime/issues/167)
-
----
-
-## v2.0.3 (25/09/2017)
-*No changelog for this release.*
-
----
-
-## v1.4.1 (25/09/2017)
-- [**closed**] Issue when bundling with webpack [#172](https://github.com/broofa/node-mime/issues/172)
-
----
-
-## v2.0.2 (15/09/2017)
-- [**V2**] fs.readFileSync is not a function [#165](https://github.com/broofa/node-mime/issues/165)
-- [**closed**] The extension for video/quicktime should map to .mov, not .qt [#164](https://github.com/broofa/node-mime/issues/164)
-- [**V2**] [v2 Feedback request] Mime class API [#163](https://github.com/broofa/node-mime/issues/163)
-- [**V2**] [v2 Feedback request] Resolving conflicts over extensions [#162](https://github.com/broofa/node-mime/issues/162)
-- [**V2**] Allow callers to load module with official, full, or no defined types. [#161](https://github.com/broofa/node-mime/issues/161)
-- [**V2**] Use "facets" to resolve extension conflicts [#160](https://github.com/broofa/node-mime/issues/160)
-- [**V2**] Remove fs and path dependencies [#152](https://github.com/broofa/node-mime/issues/152)
-- [**V2**] Default content-type should not be application/octet-stream [#139](https://github.com/broofa/node-mime/issues/139)
-- [**V2**] reset mime-types [#124](https://github.com/broofa/node-mime/issues/124)
-- [**V2**] Extensionless paths should return null or false [#113](https://github.com/broofa/node-mime/issues/113)
-
----
-
-## v2.0.1 (14/09/2017)
-- [**closed**] Changelog for v2.0 does not mention breaking changes [#171](https://github.com/broofa/node-mime/issues/171)
-- [**closed**] MIME breaking with 'class' declaration as it is without 'use strict mode' [#170](https://github.com/broofa/node-mime/issues/170)
-
----
-
-## v2.0.0 (12/09/2017)
-- [**closed**] woff and woff2 [#168](https://github.com/broofa/node-mime/issues/168)
-
----
-
-## v1.4.0 (28/08/2017)
-- [**closed**] support for ac3 voc files [#159](https://github.com/broofa/node-mime/issues/159)
-- [**closed**] Help understanding change from application/xml to text/xml [#158](https://github.com/broofa/node-mime/issues/158)
-- [**closed**] no longer able to override mimetype [#157](https://github.com/broofa/node-mime/issues/157)
-- [**closed**] application/vnd.adobe.photoshop [#147](https://github.com/broofa/node-mime/issues/147)
-- [**closed**] Directories should appear as something other than application/octet-stream [#135](https://github.com/broofa/node-mime/issues/135)
-- [**closed**] requested features [#131](https://github.com/broofa/node-mime/issues/131)
-- [**closed**] Make types.json loading optional? [#129](https://github.com/broofa/node-mime/issues/129)
-- [**closed**] Cannot find module './types.json' [#120](https://github.com/broofa/node-mime/issues/120)
-- [**V2**] .wav files show up as "audio/x-wav" instead of "audio/x-wave" [#118](https://github.com/broofa/node-mime/issues/118)
-- [**closed**] Don't be a pain in the ass for node community [#108](https://github.com/broofa/node-mime/issues/108)
-- [**closed**] don't make default_type global [#78](https://github.com/broofa/node-mime/issues/78)
-- [**closed**] mime.extension() fails if the content-type is parameterized [#74](https://github.com/broofa/node-mime/issues/74)
-
----
-
-## v1.3.6 (11/05/2017)
-- [**closed**] .md should be text/markdown as of March 2016 [#154](https://github.com/broofa/node-mime/issues/154)
-- [**closed**] Error while installing mime [#153](https://github.com/broofa/node-mime/issues/153)
-- [**closed**] application/manifest+json [#149](https://github.com/broofa/node-mime/issues/149)
-- [**closed**] Dynamic adaptive streaming over HTTP (DASH) file extension typo [#141](https://github.com/broofa/node-mime/issues/141)
-- [**closed**] charsets image/png undefined [#140](https://github.com/broofa/node-mime/issues/140)
-- [**closed**] Mime-db dependency out of date [#130](https://github.com/broofa/node-mime/issues/130)
-- [**closed**] how to support plist? [#126](https://github.com/broofa/node-mime/issues/126)
-- [**closed**] how does .types file format look like? [#123](https://github.com/broofa/node-mime/issues/123)
-- [**closed**] Feature: support for expanding MIME patterns [#121](https://github.com/broofa/node-mime/issues/121)
-- [**closed**] DEBUG_MIME doesn't work [#117](https://github.com/broofa/node-mime/issues/117)
-
----
-
-## v1.3.4 (06/02/2015)
-*No changelog for this release.*
-
----
-
-## v1.3.3 (06/02/2015)
-*No changelog for this release.*
-
----
-
-## v1.3.1 (05/02/2015)
-- [**closed**] Consider adding support for Handlebars .hbs file ending [#111](https://github.com/broofa/node-mime/issues/111)
-- [**closed**] Consider adding support for hjson. [#110](https://github.com/broofa/node-mime/issues/110)
-- [**closed**] Add mime type for Opus audio files [#94](https://github.com/broofa/node-mime/issues/94)
-- [**closed**] Consider making the `Requesting New Types` information more visible [#77](https://github.com/broofa/node-mime/issues/77)
-
----
-
-## v1.3.0 (05/02/2015)
-- [**closed**] Add common name? [#114](https://github.com/broofa/node-mime/issues/114)
-- [**closed**] application/x-yaml [#104](https://github.com/broofa/node-mime/issues/104)
-- [**closed**] Add mime type for WOFF file format 2.0 [#102](https://github.com/broofa/node-mime/issues/102)
-- [**closed**] application/x-msi for .msi [#99](https://github.com/broofa/node-mime/issues/99)
-- [**closed**] Add mimetype for gettext translation files [#98](https://github.com/broofa/node-mime/issues/98)
-- [**closed**] collaborators [#88](https://github.com/broofa/node-mime/issues/88)
-- [**closed**] getting errot in installation of mime module...any1 can help? [#87](https://github.com/broofa/node-mime/issues/87)
-- [**closed**] should application/json's charset be utf8? [#86](https://github.com/broofa/node-mime/issues/86)
-- [**closed**] Add "license" and "licenses" to package.json [#81](https://github.com/broofa/node-mime/issues/81)
-- [**closed**] lookup with extension-less file on Windows returns wrong type [#68](https://github.com/broofa/node-mime/issues/68)
-
----
-
-## v1.2.11 (15/08/2013)
-- [**closed**] Update mime.types [#65](https://github.com/broofa/node-mime/issues/65)
-- [**closed**] Publish a new version [#63](https://github.com/broofa/node-mime/issues/63)
-- [**closed**] README should state upfront that "application/octet-stream" is default for unknown extension [#55](https://github.com/broofa/node-mime/issues/55)
-- [**closed**] Suggested improvement to the charset API [#52](https://github.com/broofa/node-mime/issues/52)
-
----
-
-## v1.2.10 (25/07/2013)
-- [**closed**] Mime type for woff files should be application/font-woff and not application/x-font-woff [#62](https://github.com/broofa/node-mime/issues/62)
-- [**closed**] node.types in conflict with mime.types [#51](https://github.com/broofa/node-mime/issues/51)
-
----
-
-## v1.2.9 (17/01/2013)
-- [**closed**] Please update "mime" NPM [#49](https://github.com/broofa/node-mime/issues/49)
-- [**closed**] Please add semicolon [#46](https://github.com/broofa/node-mime/issues/46)
-- [**closed**] parse full mime types [#43](https://github.com/broofa/node-mime/issues/43)
-
----
-
-## v1.2.8 (10/01/2013)
-- [**closed**] /js directory mime is application/javascript. Is it correct? [#47](https://github.com/broofa/node-mime/issues/47)
-- [**closed**] Add mime types for lua code. [#45](https://github.com/broofa/node-mime/issues/45)
-
----
-
-## v1.2.7 (19/10/2012)
-- [**closed**] cannot install 1.2.7 via npm [#41](https://github.com/broofa/node-mime/issues/41)
-- [**closed**] Transfer ownership to @broofa [#36](https://github.com/broofa/node-mime/issues/36)
-- [**closed**] it's wrong to set charset to UTF-8 for text [#30](https://github.com/broofa/node-mime/issues/30)
-- [**closed**] Allow multiple instances of MIME types container [#27](https://github.com/broofa/node-mime/issues/27)
-
----
-
-## v1.2.5 (16/02/2012)
-- [**closed**] When looking up a types, check hasOwnProperty [#23](https://github.com/broofa/node-mime/issues/23)
-- [**closed**] Bump version to 1.2.2 [#18](https://github.com/broofa/node-mime/issues/18)
-- [**closed**] No license [#16](https://github.com/broofa/node-mime/issues/16)
-- [**closed**] Some types missing that are used by html5/css3 [#13](https://github.com/broofa/node-mime/issues/13)
-- [**closed**] npm install fails for 1.2.1 [#12](https://github.com/broofa/node-mime/issues/12)
-- [**closed**] image/pjpeg + image/x-png [#10](https://github.com/broofa/node-mime/issues/10)
-- [**closed**] symlink [#8](https://github.com/broofa/node-mime/issues/8)
-- [**closed**] gzip [#2](https://github.com/broofa/node-mime/issues/2)
-- [**closed**] ALL CAPS filenames return incorrect mime type [#1](https://github.com/broofa/node-mime/issues/1)
diff --git a/Server/node_modules/mime/LICENSE b/Server/node_modules/mime/LICENSE
deleted file mode 100644
index d3f46f7..0000000
--- a/Server/node_modules/mime/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
-
-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.
diff --git a/Server/node_modules/mime/README.md b/Server/node_modules/mime/README.md
deleted file mode 100644
index 506fbe5..0000000
--- a/Server/node_modules/mime/README.md
+++ /dev/null
@@ -1,90 +0,0 @@
-# mime
-
-Comprehensive MIME type mapping API based on mime-db module.
-
-## Install
-
-Install with [npm](http://github.com/isaacs/npm):
-
- npm install mime
-
-## Contributing / Testing
-
- npm run test
-
-## Command Line
-
- mime [path_string]
-
-E.g.
-
- > mime scripts/jquery.js
- application/javascript
-
-## API - Queries
-
-### mime.lookup(path)
-Get the mime type associated with a file, if no mime type is found `application/octet-stream` is returned. Performs a case-insensitive lookup using the extension in `path` (the substring after the last '/' or '.'). E.g.
-
-```js
-var mime = require('mime');
-
-mime.lookup('/path/to/file.txt'); // => 'text/plain'
-mime.lookup('file.txt'); // => 'text/plain'
-mime.lookup('.TXT'); // => 'text/plain'
-mime.lookup('htm'); // => 'text/html'
-```
-
-### mime.default_type
-Sets the mime type returned when `mime.lookup` fails to find the extension searched for. (Default is `application/octet-stream`.)
-
-### mime.extension(type)
-Get the default extension for `type`
-
-```js
-mime.extension('text/html'); // => 'html'
-mime.extension('application/octet-stream'); // => 'bin'
-```
-
-### mime.charsets.lookup()
-
-Map mime-type to charset
-
-```js
-mime.charsets.lookup('text/plain'); // => 'UTF-8'
-```
-
-(The logic for charset lookups is pretty rudimentary. Feel free to suggest improvements.)
-
-## API - Defining Custom Types
-
-Custom type mappings can be added on a per-project basis via the following APIs.
-
-### mime.define()
-
-Add custom mime/extension mappings
-
-```js
-mime.define({
- 'text/x-some-format': ['x-sf', 'x-sft', 'x-sfml'],
- 'application/x-my-type': ['x-mt', 'x-mtt'],
- // etc ...
-});
-
-mime.lookup('x-sft'); // => 'text/x-some-format'
-```
-
-The first entry in the extensions array is returned by `mime.extension()`. E.g.
-
-```js
-mime.extension('text/x-some-format'); // => 'x-sf'
-```
-
-### mime.load(filepath)
-
-Load mappings from an Apache ".types" format file
-
-```js
-mime.load('./my_project.types');
-```
-The .types file format is simple - See the `types` dir for examples.
diff --git a/Server/node_modules/mime/cli.js b/Server/node_modules/mime/cli.js
deleted file mode 100755
index 20b1ffe..0000000
--- a/Server/node_modules/mime/cli.js
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env node
-
-var mime = require('./mime.js');
-var file = process.argv[2];
-var type = mime.lookup(file);
-
-process.stdout.write(type + '\n');
-
diff --git a/Server/node_modules/mime/mime.js b/Server/node_modules/mime/mime.js
deleted file mode 100644
index d7efbde..0000000
--- a/Server/node_modules/mime/mime.js
+++ /dev/null
@@ -1,108 +0,0 @@
-var path = require('path');
-var fs = require('fs');
-
-function Mime() {
- // Map of extension -> mime type
- this.types = Object.create(null);
-
- // Map of mime type -> extension
- this.extensions = Object.create(null);
-}
-
-/**
- * Define mimetype -> extension mappings. Each key is a mime-type that maps
- * to an array of extensions associated with the type. The first extension is
- * used as the default extension for the type.
- *
- * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']});
- *
- * @param map (Object) type definitions
- */
-Mime.prototype.define = function (map) {
- for (var type in map) {
- var exts = map[type];
- for (var i = 0; i < exts.length; i++) {
- if (process.env.DEBUG_MIME && this.types[exts[i]]) {
- console.warn((this._loading || "define()").replace(/.*\//, ''), 'changes "' + exts[i] + '" extension type from ' +
- this.types[exts[i]] + ' to ' + type);
- }
-
- this.types[exts[i]] = type;
- }
-
- // Default extension is the first one we encounter
- if (!this.extensions[type]) {
- this.extensions[type] = exts[0];
- }
- }
-};
-
-/**
- * Load an Apache2-style ".types" file
- *
- * This may be called multiple times (it's expected). Where files declare
- * overlapping types/extensions, the last file wins.
- *
- * @param file (String) path of file to load.
- */
-Mime.prototype.load = function(file) {
- this._loading = file;
- // Read file and split into lines
- var map = {},
- content = fs.readFileSync(file, 'ascii'),
- lines = content.split(/[\r\n]+/);
-
- lines.forEach(function(line) {
- // Clean up whitespace/comments, and split into fields
- var fields = line.replace(/\s*#.*|^\s*|\s*$/g, '').split(/\s+/);
- map[fields.shift()] = fields;
- });
-
- this.define(map);
-
- this._loading = null;
-};
-
-/**
- * Lookup a mime type based on extension
- */
-Mime.prototype.lookup = function(path, fallback) {
- var ext = path.replace(/^.*[\.\/\\]/, '').toLowerCase();
-
- return this.types[ext] || fallback || this.default_type;
-};
-
-/**
- * Return file extension associated with a mime type
- */
-Mime.prototype.extension = function(mimeType) {
- var type = mimeType.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase();
- return this.extensions[type];
-};
-
-// Default instance
-var mime = new Mime();
-
-// Define built-in types
-mime.define(require('./types.json'));
-
-// Default type
-mime.default_type = mime.lookup('bin');
-
-//
-// Additional API specific to the default instance
-//
-
-mime.Mime = Mime;
-
-/**
- * Lookup a charset based on mime type.
- */
-mime.charsets = {
- lookup: function(mimeType, fallback) {
- // Assume text types are utf8
- return (/^text\/|^application\/(javascript|json)/).test(mimeType) ? 'UTF-8' : fallback;
- }
-};
-
-module.exports = mime;
diff --git a/Server/node_modules/mime/package.json b/Server/node_modules/mime/package.json
deleted file mode 100644
index 63f0447..0000000
--- a/Server/node_modules/mime/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "_from": "mime@1.6.0",
- "_id": "mime@1.6.0",
- "_inBundle": false,
- "_integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
- "_location": "/mime",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "mime@1.6.0",
- "name": "mime",
- "escapedName": "mime",
- "rawSpec": "1.6.0",
- "saveSpec": null,
- "fetchSpec": "1.6.0"
- },
- "_requiredBy": [
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "_shasum": "32cd9e5c64553bd58d19a568af452acff04981b1",
- "_spec": "mime@1.6.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/send",
- "author": {
- "name": "Robert Kieffer",
- "email": "robert@broofa.com",
- "url": "http://github.com/broofa"
- },
- "bin": {
- "mime": "cli.js"
- },
- "bugs": {
- "url": "https://github.com/broofa/node-mime/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Benjamin Thomas",
- "email": "benjamin@benjaminthomas.org",
- "url": "http://github.com/bentomas"
- }
- ],
- "dependencies": {},
- "deprecated": false,
- "description": "A comprehensive library for mime-type mapping",
- "devDependencies": {
- "github-release-notes": "0.13.1",
- "mime-db": "1.31.0",
- "mime-score": "1.1.0"
- },
- "engines": {
- "node": ">=4"
- },
- "homepage": "https://github.com/broofa/node-mime#readme",
- "keywords": [
- "util",
- "mime"
- ],
- "license": "MIT",
- "main": "mime.js",
- "name": "mime",
- "repository": {
- "url": "git+https://github.com/broofa/node-mime.git",
- "type": "git"
- },
- "scripts": {
- "changelog": "gren changelog --tags=all --generate --override",
- "prepare": "node src/build.js",
- "test": "node src/test.js"
- },
- "version": "1.6.0"
-}
diff --git a/Server/node_modules/mime/src/build.js b/Server/node_modules/mime/src/build.js
deleted file mode 100755
index 4928e48..0000000
--- a/Server/node_modules/mime/src/build.js
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env node
-
-'use strict';
-
-const fs = require('fs');
-const path = require('path');
-const mimeScore = require('mime-score');
-
-let db = require('mime-db');
-let chalk = require('chalk');
-
-const STANDARD_FACET_SCORE = 900;
-
-const byExtension = {};
-
-// Clear out any conflict extensions in mime-db
-for (let type in db) {
- let entry = db[type];
- entry.type = type;
-
- if (!entry.extensions) continue;
-
- entry.extensions.forEach(ext => {
- if (ext in byExtension) {
- const e0 = entry;
- const e1 = byExtension[ext];
- e0.pri = mimeScore(e0.type, e0.source);
- e1.pri = mimeScore(e1.type, e1.source);
-
- let drop = e0.pri < e1.pri ? e0 : e1;
- let keep = e0.pri >= e1.pri ? e0 : e1;
- drop.extensions = drop.extensions.filter(e => e !== ext);
-
- console.log(`${ext}: Keeping ${chalk.green(keep.type)} (${keep.pri}), dropping ${chalk.red(drop.type)} (${drop.pri})`);
- }
- byExtension[ext] = entry;
- });
-}
-
-function writeTypesFile(types, path) {
- fs.writeFileSync(path, JSON.stringify(types));
-}
-
-// Segregate into standard and non-standard types based on facet per
-// https://tools.ietf.org/html/rfc6838#section-3.1
-const types = {};
-
-Object.keys(db).sort().forEach(k => {
- const entry = db[k];
- types[entry.type] = entry.extensions;
-});
-
-writeTypesFile(types, path.join(__dirname, '..', 'types.json'));
diff --git a/Server/node_modules/mime/src/test.js b/Server/node_modules/mime/src/test.js
deleted file mode 100644
index 42958a2..0000000
--- a/Server/node_modules/mime/src/test.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * Usage: node test.js
- */
-
-var mime = require('../mime');
-var assert = require('assert');
-var path = require('path');
-
-//
-// Test mime lookups
-//
-
-assert.equal('text/plain', mime.lookup('text.txt')); // normal file
-assert.equal('text/plain', mime.lookup('TEXT.TXT')); // uppercase
-assert.equal('text/plain', mime.lookup('dir/text.txt')); // dir + file
-assert.equal('text/plain', mime.lookup('.text.txt')); // hidden file
-assert.equal('text/plain', mime.lookup('.txt')); // nameless
-assert.equal('text/plain', mime.lookup('txt')); // extension-only
-assert.equal('text/plain', mime.lookup('/txt')); // extension-less ()
-assert.equal('text/plain', mime.lookup('\\txt')); // Windows, extension-less
-assert.equal('application/octet-stream', mime.lookup('text.nope')); // unrecognized
-assert.equal('fallback', mime.lookup('text.fallback', 'fallback')); // alternate default
-
-//
-// Test extensions
-//
-
-assert.equal('txt', mime.extension(mime.types.text));
-assert.equal('html', mime.extension(mime.types.htm));
-assert.equal('bin', mime.extension('application/octet-stream'));
-assert.equal('bin', mime.extension('application/octet-stream '));
-assert.equal('html', mime.extension(' text/html; charset=UTF-8'));
-assert.equal('html', mime.extension('text/html; charset=UTF-8 '));
-assert.equal('html', mime.extension('text/html; charset=UTF-8'));
-assert.equal('html', mime.extension('text/html ; charset=UTF-8'));
-assert.equal('html', mime.extension('text/html;charset=UTF-8'));
-assert.equal('html', mime.extension('text/Html;charset=UTF-8'));
-assert.equal(undefined, mime.extension('unrecognized'));
-
-//
-// Test node.types lookups
-//
-
-assert.equal('font/woff', mime.lookup('file.woff'));
-assert.equal('application/octet-stream', mime.lookup('file.buffer'));
-// TODO: Uncomment once #157 is resolved
-// assert.equal('audio/mp4', mime.lookup('file.m4a'));
-assert.equal('font/otf', mime.lookup('file.otf'));
-
-//
-// Test charsets
-//
-
-assert.equal('UTF-8', mime.charsets.lookup('text/plain'));
-assert.equal('UTF-8', mime.charsets.lookup(mime.types.js));
-assert.equal('UTF-8', mime.charsets.lookup(mime.types.json));
-assert.equal(undefined, mime.charsets.lookup(mime.types.bin));
-assert.equal('fallback', mime.charsets.lookup('application/octet-stream', 'fallback'));
-
-console.log('\nAll tests passed');
diff --git a/Server/node_modules/mime/types.json b/Server/node_modules/mime/types.json
deleted file mode 100644
index bec78ab..0000000
--- a/Server/node_modules/mime/types.json
+++ /dev/null
@@ -1 +0,0 @@
-{"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":[],"application/font-woff2":[],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/prs.cww":["cww"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"audio/xm":["xm"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/ktx":["ktx"],"image/png":["png"],"image/prs.btif":["btif"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/webp":["webp"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/prs.lines.tag":["dsc"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/vtt":["vtt"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/webm":["webm"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}
\ No newline at end of file
diff --git a/Server/node_modules/minimatch/LICENSE b/Server/node_modules/minimatch/LICENSE
deleted file mode 100644
index 19129e3..0000000
--- a/Server/node_modules/minimatch/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/Server/node_modules/minimatch/README.md b/Server/node_modules/minimatch/README.md
deleted file mode 100644
index ad72b81..0000000
--- a/Server/node_modules/minimatch/README.md
+++ /dev/null
@@ -1,209 +0,0 @@
-# minimatch
-
-A minimal matching utility.
-
-[![Build Status](https://secure.travis-ci.org/isaacs/minimatch.svg)](http://travis-ci.org/isaacs/minimatch)
-
-
-This is the matching library used internally by npm.
-
-It works by converting glob expressions into JavaScript `RegExp`
-objects.
-
-## Usage
-
-```javascript
-var minimatch = require("minimatch")
-
-minimatch("bar.foo", "*.foo") // true!
-minimatch("bar.foo", "*.bar") // false!
-minimatch("bar.foo", "*.+(bar|foo)", { debug: true }) // true, and noisy!
-```
-
-## Features
-
-Supports these glob features:
-
-* Brace Expansion
-* Extended glob matching
-* "Globstar" `**` matching
-
-See:
-
-* `man sh`
-* `man bash`
-* `man 3 fnmatch`
-* `man 5 gitignore`
-
-## Minimatch Class
-
-Create a minimatch object by instantiating the `minimatch.Minimatch` class.
-
-```javascript
-var Minimatch = require("minimatch").Minimatch
-var mm = new Minimatch(pattern, options)
-```
-
-### Properties
-
-* `pattern` The original pattern the minimatch object represents.
-* `options` The options supplied to the constructor.
-* `set` A 2-dimensional array of regexp or string expressions.
- Each row in the
- array corresponds to a brace-expanded pattern. Each item in the row
- corresponds to a single path-part. For example, the pattern
- `{a,b/c}/d` would expand to a set of patterns like:
-
- [ [ a, d ]
- , [ b, c, d ] ]
-
- If a portion of the pattern doesn't have any "magic" in it
- (that is, it's something like `"foo"` rather than `fo*o?`), then it
- will be left as a string rather than converted to a regular
- expression.
-
-* `regexp` Created by the `makeRe` method. A single regular expression
- expressing the entire pattern. This is useful in cases where you wish
- to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.
-* `negate` True if the pattern is negated.
-* `comment` True if the pattern is a comment.
-* `empty` True if the pattern is `""`.
-
-### Methods
-
-* `makeRe` Generate the `regexp` member if necessary, and return it.
- Will return `false` if the pattern is invalid.
-* `match(fname)` Return true if the filename matches the pattern, or
- false otherwise.
-* `matchOne(fileArray, patternArray, partial)` Take a `/`-split
- filename, and match it against a single row in the `regExpSet`. This
- method is mainly for internal use, but is exposed so that it can be
- used by a glob-walker that needs to avoid excessive filesystem calls.
-
-All other methods are internal, and will be called as necessary.
-
-### minimatch(path, pattern, options)
-
-Main export. Tests a path against the pattern using the options.
-
-```javascript
-var isJS = minimatch(file, "*.js", { matchBase: true })
-```
-
-### minimatch.filter(pattern, options)
-
-Returns a function that tests its
-supplied argument, suitable for use with `Array.filter`. Example:
-
-```javascript
-var javascripts = fileList.filter(minimatch.filter("*.js", {matchBase: true}))
-```
-
-### minimatch.match(list, pattern, options)
-
-Match against the list of
-files, in the style of fnmatch or glob. If nothing is matched, and
-options.nonull is set, then return a list containing the pattern itself.
-
-```javascript
-var javascripts = minimatch.match(fileList, "*.js", {matchBase: true}))
-```
-
-### minimatch.makeRe(pattern, options)
-
-Make a regular expression object from the pattern.
-
-## Options
-
-All options are `false` by default.
-
-### debug
-
-Dump a ton of stuff to stderr.
-
-### nobrace
-
-Do not expand `{a,b}` and `{1..3}` brace sets.
-
-### noglobstar
-
-Disable `**` matching against multiple folder names.
-
-### dot
-
-Allow patterns to match filenames starting with a period, even if
-the pattern does not explicitly have a period in that spot.
-
-Note that by default, `a/**/b` will **not** match `a/.d/b`, unless `dot`
-is set.
-
-### noext
-
-Disable "extglob" style patterns like `+(a|b)`.
-
-### nocase
-
-Perform a case-insensitive match.
-
-### nonull
-
-When a match is not found by `minimatch.match`, return a list containing
-the pattern itself if this option is set. When not set, an empty list
-is returned if there are no matches.
-
-### matchBase
-
-If set, then patterns without slashes will be matched
-against the basename of the path if it contains slashes. For example,
-`a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`.
-
-### nocomment
-
-Suppress the behavior of treating `#` at the start of a pattern as a
-comment.
-
-### nonegate
-
-Suppress the behavior of treating a leading `!` character as negation.
-
-### flipNegate
-
-Returns from negate expressions the same as if they were not negated.
-(Ie, true on a hit, false on a miss.)
-
-
-## Comparisons to other fnmatch/glob implementations
-
-While strict compliance with the existing standards is a worthwhile
-goal, some discrepancies exist between minimatch and other
-implementations, and are intentional.
-
-If the pattern starts with a `!` character, then it is negated. Set the
-`nonegate` flag to suppress this behavior, and treat leading `!`
-characters normally. This is perhaps relevant if you wish to start the
-pattern with a negative extglob pattern like `!(a|B)`. Multiple `!`
-characters at the start of a pattern will negate the pattern multiple
-times.
-
-If a pattern starts with `#`, then it is treated as a comment, and
-will not match anything. Use `\#` to match a literal `#` at the
-start of a line, or set the `nocomment` flag to suppress this behavior.
-
-The double-star character `**` is supported by default, unless the
-`noglobstar` flag is set. This is supported in the manner of bsdglob
-and bash 4.1, where `**` only has special significance if it is the only
-thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
-`a/**b` will not.
-
-If an escaped pattern has no matches, and the `nonull` flag is set,
-then minimatch.match returns the pattern as-provided, rather than
-interpreting the character escapes. For example,
-`minimatch.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
-`"*a?"`. This is akin to setting the `nullglob` option in bash, except
-that it does not resolve escaped pattern characters.
-
-If brace expansion is not disabled, then it is performed before any
-other interpretation of the glob pattern. Thus, a pattern like
-`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
-**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
-checked for validity. Since those two are valid, matching proceeds.
diff --git a/Server/node_modules/minimatch/minimatch.js b/Server/node_modules/minimatch/minimatch.js
deleted file mode 100644
index 5b5f8cf..0000000
--- a/Server/node_modules/minimatch/minimatch.js
+++ /dev/null
@@ -1,923 +0,0 @@
-module.exports = minimatch
-minimatch.Minimatch = Minimatch
-
-var path = { sep: '/' }
-try {
- path = require('path')
-} catch (er) {}
-
-var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
-var expand = require('brace-expansion')
-
-var plTypes = {
- '!': { open: '(?:(?!(?:', close: '))[^/]*?)'},
- '?': { open: '(?:', close: ')?' },
- '+': { open: '(?:', close: ')+' },
- '*': { open: '(?:', close: ')*' },
- '@': { open: '(?:', close: ')' }
-}
-
-// any single thing other than /
-// don't need to escape / when using new RegExp()
-var qmark = '[^/]'
-
-// * => any number of characters
-var star = qmark + '*?'
-
-// ** when dots are allowed. Anything goes, except .. and .
-// not (^ or / followed by one or two dots followed by $ or /),
-// followed by anything, any number of times.
-var twoStarDot = '(?:(?!(?:\\\/|^)(?:\\.{1,2})($|\\\/)).)*?'
-
-// not a ^ or / followed by a dot,
-// followed by anything, any number of times.
-var twoStarNoDot = '(?:(?!(?:\\\/|^)\\.).)*?'
-
-// characters that need to be escaped in RegExp.
-var reSpecials = charSet('().*{}+?[]^$\\!')
-
-// "abc" -> { a:true, b:true, c:true }
-function charSet (s) {
- return s.split('').reduce(function (set, c) {
- set[c] = true
- return set
- }, {})
-}
-
-// normalizes slashes.
-var slashSplit = /\/+/
-
-minimatch.filter = filter
-function filter (pattern, options) {
- options = options || {}
- return function (p, i, list) {
- return minimatch(p, pattern, options)
- }
-}
-
-function ext (a, b) {
- a = a || {}
- b = b || {}
- var t = {}
- Object.keys(b).forEach(function (k) {
- t[k] = b[k]
- })
- Object.keys(a).forEach(function (k) {
- t[k] = a[k]
- })
- return t
-}
-
-minimatch.defaults = function (def) {
- if (!def || !Object.keys(def).length) return minimatch
-
- var orig = minimatch
-
- var m = function minimatch (p, pattern, options) {
- return orig.minimatch(p, pattern, ext(def, options))
- }
-
- m.Minimatch = function Minimatch (pattern, options) {
- return new orig.Minimatch(pattern, ext(def, options))
- }
-
- return m
-}
-
-Minimatch.defaults = function (def) {
- if (!def || !Object.keys(def).length) return Minimatch
- return minimatch.defaults(def).Minimatch
-}
-
-function minimatch (p, pattern, options) {
- if (typeof pattern !== 'string') {
- throw new TypeError('glob pattern string required')
- }
-
- if (!options) options = {}
-
- // shortcut: comments match nothing.
- if (!options.nocomment && pattern.charAt(0) === '#') {
- return false
- }
-
- // "" only matches ""
- if (pattern.trim() === '') return p === ''
-
- return new Minimatch(pattern, options).match(p)
-}
-
-function Minimatch (pattern, options) {
- if (!(this instanceof Minimatch)) {
- return new Minimatch(pattern, options)
- }
-
- if (typeof pattern !== 'string') {
- throw new TypeError('glob pattern string required')
- }
-
- if (!options) options = {}
- pattern = pattern.trim()
-
- // windows support: need to use /, not \
- if (path.sep !== '/') {
- pattern = pattern.split(path.sep).join('/')
- }
-
- this.options = options
- this.set = []
- this.pattern = pattern
- this.regexp = null
- this.negate = false
- this.comment = false
- this.empty = false
-
- // make the set of regexps etc.
- this.make()
-}
-
-Minimatch.prototype.debug = function () {}
-
-Minimatch.prototype.make = make
-function make () {
- // don't do it more than once.
- if (this._made) return
-
- var pattern = this.pattern
- var options = this.options
-
- // empty patterns and comments match nothing.
- if (!options.nocomment && pattern.charAt(0) === '#') {
- this.comment = true
- return
- }
- if (!pattern) {
- this.empty = true
- return
- }
-
- // step 1: figure out negation, etc.
- this.parseNegate()
-
- // step 2: expand braces
- var set = this.globSet = this.braceExpand()
-
- if (options.debug) this.debug = console.error
-
- this.debug(this.pattern, set)
-
- // step 3: now we have a set, so turn each one into a series of path-portion
- // matching patterns.
- // These will be regexps, except in the case of "**", which is
- // set to the GLOBSTAR object for globstar behavior,
- // and will not contain any / characters
- set = this.globParts = set.map(function (s) {
- return s.split(slashSplit)
- })
-
- this.debug(this.pattern, set)
-
- // glob --> regexps
- set = set.map(function (s, si, set) {
- return s.map(this.parse, this)
- }, this)
-
- this.debug(this.pattern, set)
-
- // filter out everything that didn't compile properly.
- set = set.filter(function (s) {
- return s.indexOf(false) === -1
- })
-
- this.debug(this.pattern, set)
-
- this.set = set
-}
-
-Minimatch.prototype.parseNegate = parseNegate
-function parseNegate () {
- var pattern = this.pattern
- var negate = false
- var options = this.options
- var negateOffset = 0
-
- if (options.nonegate) return
-
- for (var i = 0, l = pattern.length
- ; i < l && pattern.charAt(i) === '!'
- ; i++) {
- negate = !negate
- negateOffset++
- }
-
- if (negateOffset) this.pattern = pattern.substr(negateOffset)
- this.negate = negate
-}
-
-// Brace expansion:
-// a{b,c}d -> abd acd
-// a{b,}c -> abc ac
-// a{0..3}d -> a0d a1d a2d a3d
-// a{b,c{d,e}f}g -> abg acdfg acefg
-// a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
-//
-// Invalid sets are not expanded.
-// a{2..}b -> a{2..}b
-// a{b}c -> a{b}c
-minimatch.braceExpand = function (pattern, options) {
- return braceExpand(pattern, options)
-}
-
-Minimatch.prototype.braceExpand = braceExpand
-
-function braceExpand (pattern, options) {
- if (!options) {
- if (this instanceof Minimatch) {
- options = this.options
- } else {
- options = {}
- }
- }
-
- pattern = typeof pattern === 'undefined'
- ? this.pattern : pattern
-
- if (typeof pattern === 'undefined') {
- throw new TypeError('undefined pattern')
- }
-
- if (options.nobrace ||
- !pattern.match(/\{.*\}/)) {
- // shortcut. no need to expand.
- return [pattern]
- }
-
- return expand(pattern)
-}
-
-// parse a component of the expanded set.
-// At this point, no pattern may contain "/" in it
-// so we're going to return a 2d array, where each entry is the full
-// pattern, split on '/', and then turned into a regular expression.
-// A regexp is made at the end which joins each array with an
-// escaped /, and another full one which joins each regexp with |.
-//
-// Following the lead of Bash 4.1, note that "**" only has special meaning
-// when it is the *only* thing in a path portion. Otherwise, any series
-// of * is equivalent to a single *. Globstar behavior is enabled by
-// default, and can be disabled by setting options.noglobstar.
-Minimatch.prototype.parse = parse
-var SUBPARSE = {}
-function parse (pattern, isSub) {
- if (pattern.length > 1024 * 64) {
- throw new TypeError('pattern is too long')
- }
-
- var options = this.options
-
- // shortcuts
- if (!options.noglobstar && pattern === '**') return GLOBSTAR
- if (pattern === '') return ''
-
- var re = ''
- var hasMagic = !!options.nocase
- var escaping = false
- // ? => one single character
- var patternListStack = []
- var negativeLists = []
- var stateChar
- var inClass = false
- var reClassStart = -1
- var classStart = -1
- // . and .. never match anything that doesn't start with .,
- // even when options.dot is set.
- var patternStart = pattern.charAt(0) === '.' ? '' // anything
- // not (start or / followed by . or .. followed by / or end)
- : options.dot ? '(?!(?:^|\\\/)\\.{1,2}(?:$|\\\/))'
- : '(?!\\.)'
- var self = this
-
- function clearStateChar () {
- if (stateChar) {
- // we had some state-tracking character
- // that wasn't consumed by this pass.
- switch (stateChar) {
- case '*':
- re += star
- hasMagic = true
- break
- case '?':
- re += qmark
- hasMagic = true
- break
- default:
- re += '\\' + stateChar
- break
- }
- self.debug('clearStateChar %j %j', stateChar, re)
- stateChar = false
- }
- }
-
- for (var i = 0, len = pattern.length, c
- ; (i < len) && (c = pattern.charAt(i))
- ; i++) {
- this.debug('%s\t%s %s %j', pattern, i, re, c)
-
- // skip over any that are escaped.
- if (escaping && reSpecials[c]) {
- re += '\\' + c
- escaping = false
- continue
- }
-
- switch (c) {
- case '/':
- // completely not allowed, even escaped.
- // Should already be path-split by now.
- return false
-
- case '\\':
- clearStateChar()
- escaping = true
- continue
-
- // the various stateChar values
- // for the "extglob" stuff.
- case '?':
- case '*':
- case '+':
- case '@':
- case '!':
- this.debug('%s\t%s %s %j <-- stateChar', pattern, i, re, c)
-
- // all of those are literals inside a class, except that
- // the glob [!a] means [^a] in regexp
- if (inClass) {
- this.debug(' in class')
- if (c === '!' && i === classStart + 1) c = '^'
- re += c
- continue
- }
-
- // if we already have a stateChar, then it means
- // that there was something like ** or +? in there.
- // Handle the stateChar, then proceed with this one.
- self.debug('call clearStateChar %j', stateChar)
- clearStateChar()
- stateChar = c
- // if extglob is disabled, then +(asdf|foo) isn't a thing.
- // just clear the statechar *now*, rather than even diving into
- // the patternList stuff.
- if (options.noext) clearStateChar()
- continue
-
- case '(':
- if (inClass) {
- re += '('
- continue
- }
-
- if (!stateChar) {
- re += '\\('
- continue
- }
-
- patternListStack.push({
- type: stateChar,
- start: i - 1,
- reStart: re.length,
- open: plTypes[stateChar].open,
- close: plTypes[stateChar].close
- })
- // negation is (?:(?!js)[^/]*)
- re += stateChar === '!' ? '(?:(?!(?:' : '(?:'
- this.debug('plType %j %j', stateChar, re)
- stateChar = false
- continue
-
- case ')':
- if (inClass || !patternListStack.length) {
- re += '\\)'
- continue
- }
-
- clearStateChar()
- hasMagic = true
- var pl = patternListStack.pop()
- // negation is (?:(?!js)[^/]*)
- // The others are (?:<pattern>)<type>
- re += pl.close
- if (pl.type === '!') {
- negativeLists.push(pl)
- }
- pl.reEnd = re.length
- continue
-
- case '|':
- if (inClass || !patternListStack.length || escaping) {
- re += '\\|'
- escaping = false
- continue
- }
-
- clearStateChar()
- re += '|'
- continue
-
- // these are mostly the same in regexp and glob
- case '[':
- // swallow any state-tracking char before the [
- clearStateChar()
-
- if (inClass) {
- re += '\\' + c
- continue
- }
-
- inClass = true
- classStart = i
- reClassStart = re.length
- re += c
- continue
-
- case ']':
- // a right bracket shall lose its special
- // meaning and represent itself in
- // a bracket expression if it occurs
- // first in the list. -- POSIX.2 2.8.3.2
- if (i === classStart + 1 || !inClass) {
- re += '\\' + c
- escaping = false
- continue
- }
-
- // handle the case where we left a class open.
- // "[z-a]" is valid, equivalent to "\[z-a\]"
- if (inClass) {
- // split where the last [ was, make sure we don't have
- // an invalid re. if so, re-walk the contents of the
- // would-be class to re-translate any characters that
- // were passed through as-is
- // TODO: It would probably be faster to determine this
- // without a try/catch and a new RegExp, but it's tricky
- // to do safely. For now, this is safe and works.
- var cs = pattern.substring(classStart + 1, i)
- try {
- RegExp('[' + cs + ']')
- } catch (er) {
- // not a valid class!
- var sp = this.parse(cs, SUBPARSE)
- re = re.substr(0, reClassStart) + '\\[' + sp[0] + '\\]'
- hasMagic = hasMagic || sp[1]
- inClass = false
- continue
- }
- }
-
- // finish up the class.
- hasMagic = true
- inClass = false
- re += c
- continue
-
- default:
- // swallow any state char that wasn't consumed
- clearStateChar()
-
- if (escaping) {
- // no need
- escaping = false
- } else if (reSpecials[c]
- && !(c === '^' && inClass)) {
- re += '\\'
- }
-
- re += c
-
- } // switch
- } // for
-
- // handle the case where we left a class open.
- // "[abc" is valid, equivalent to "\[abc"
- if (inClass) {
- // split where the last [ was, and escape it
- // this is a huge pita. We now have to re-walk
- // the contents of the would-be class to re-translate
- // any characters that were passed through as-is
- cs = pattern.substr(classStart + 1)
- sp = this.parse(cs, SUBPARSE)
- re = re.substr(0, reClassStart) + '\\[' + sp[0]
- hasMagic = hasMagic || sp[1]
- }
-
- // handle the case where we had a +( thing at the *end*
- // of the pattern.
- // each pattern list stack adds 3 chars, and we need to go through
- // and escape any | chars that were passed through as-is for the regexp.
- // Go through and escape them, taking care not to double-escape any
- // | chars that were already escaped.
- for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
- var tail = re.slice(pl.reStart + pl.open.length)
- this.debug('setting tail', re, pl)
- // maybe some even number of \, then maybe 1 \, followed by a |
- tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, function (_, $1, $2) {
- if (!$2) {
- // the | isn't already escaped, so escape it.
- $2 = '\\'
- }
-
- // need to escape all those slashes *again*, without escaping the
- // one that we need for escaping the | character. As it works out,
- // escaping an even number of slashes can be done by simply repeating
- // it exactly after itself. That's why this trick works.
- //
- // I am sorry that you have to see this.
- return $1 + $1 + $2 + '|'
- })
-
- this.debug('tail=%j\n %s', tail, tail, pl, re)
- var t = pl.type === '*' ? star
- : pl.type === '?' ? qmark
- : '\\' + pl.type
-
- hasMagic = true
- re = re.slice(0, pl.reStart) + t + '\\(' + tail
- }
-
- // handle trailing things that only matter at the very end.
- clearStateChar()
- if (escaping) {
- // trailing \\
- re += '\\\\'
- }
-
- // only need to apply the nodot start if the re starts with
- // something that could conceivably capture a dot
- var addPatternStart = false
- switch (re.charAt(0)) {
- case '.':
- case '[':
- case '(': addPatternStart = true
- }
-
- // Hack to work around lack of negative lookbehind in JS
- // A pattern like: *.!(x).!(y|z) needs to ensure that a name
- // like 'a.xyz.yz' doesn't match. So, the first negative
- // lookahead, has to look ALL the way ahead, to the end of
- // the pattern.
- for (var n = negativeLists.length - 1; n > -1; n--) {
- var nl = negativeLists[n]
-
- var nlBefore = re.slice(0, nl.reStart)
- var nlFirst = re.slice(nl.reStart, nl.reEnd - 8)
- var nlLast = re.slice(nl.reEnd - 8, nl.reEnd)
- var nlAfter = re.slice(nl.reEnd)
-
- nlLast += nlAfter
-
- // Handle nested stuff like *(*.js|!(*.json)), where open parens
- // mean that we should *not* include the ) in the bit that is considered
- // "after" the negated section.
- var openParensBefore = nlBefore.split('(').length - 1
- var cleanAfter = nlAfter
- for (i = 0; i < openParensBefore; i++) {
- cleanAfter = cleanAfter.replace(/\)[+*?]?/, '')
- }
- nlAfter = cleanAfter
-
- var dollar = ''
- if (nlAfter === '' && isSub !== SUBPARSE) {
- dollar = '$'
- }
- var newRe = nlBefore + nlFirst + nlAfter + dollar + nlLast
- re = newRe
- }
-
- // if the re is not "" at this point, then we need to make sure
- // it doesn't match against an empty path part.
- // Otherwise a/* will match a/, which it should not.
- if (re !== '' && hasMagic) {
- re = '(?=.)' + re
- }
-
- if (addPatternStart) {
- re = patternStart + re
- }
-
- // parsing just a piece of a larger pattern.
- if (isSub === SUBPARSE) {
- return [re, hasMagic]
- }
-
- // skip the regexp for non-magical patterns
- // unescape anything in it, though, so that it'll be
- // an exact match against a file etc.
- if (!hasMagic) {
- return globUnescape(pattern)
- }
-
- var flags = options.nocase ? 'i' : ''
- try {
- var regExp = new RegExp('^' + re + '$', flags)
- } catch (er) {
- // If it was an invalid regular expression, then it can't match
- // anything. This trick looks for a character after the end of
- // the string, which is of course impossible, except in multi-line
- // mode, but it's not a /m regex.
- return new RegExp('$.')
- }
-
- regExp._glob = pattern
- regExp._src = re
-
- return regExp
-}
-
-minimatch.makeRe = function (pattern, options) {
- return new Minimatch(pattern, options || {}).makeRe()
-}
-
-Minimatch.prototype.makeRe = makeRe
-function makeRe () {
- if (this.regexp || this.regexp === false) return this.regexp
-
- // at this point, this.set is a 2d array of partial
- // pattern strings, or "**".
- //
- // It's better to use .match(). This function shouldn't
- // be used, really, but it's pretty convenient sometimes,
- // when you just want to work with a regex.
- var set = this.set
-
- if (!set.length) {
- this.regexp = false
- return this.regexp
- }
- var options = this.options
-
- var twoStar = options.noglobstar ? star
- : options.dot ? twoStarDot
- : twoStarNoDot
- var flags = options.nocase ? 'i' : ''
-
- var re = set.map(function (pattern) {
- return pattern.map(function (p) {
- return (p === GLOBSTAR) ? twoStar
- : (typeof p === 'string') ? regExpEscape(p)
- : p._src
- }).join('\\\/')
- }).join('|')
-
- // must match entire pattern
- // ending in a * or ** will make it less strict.
- re = '^(?:' + re + ')$'
-
- // can match anything, as long as it's not this.
- if (this.negate) re = '^(?!' + re + ').*$'
-
- try {
- this.regexp = new RegExp(re, flags)
- } catch (ex) {
- this.regexp = false
- }
- return this.regexp
-}
-
-minimatch.match = function (list, pattern, options) {
- options = options || {}
- var mm = new Minimatch(pattern, options)
- list = list.filter(function (f) {
- return mm.match(f)
- })
- if (mm.options.nonull && !list.length) {
- list.push(pattern)
- }
- return list
-}
-
-Minimatch.prototype.match = match
-function match (f, partial) {
- this.debug('match', f, this.pattern)
- // short-circuit in the case of busted things.
- // comments, etc.
- if (this.comment) return false
- if (this.empty) return f === ''
-
- if (f === '/' && partial) return true
-
- var options = this.options
-
- // windows: need to use /, not \
- if (path.sep !== '/') {
- f = f.split(path.sep).join('/')
- }
-
- // treat the test path as a set of pathparts.
- f = f.split(slashSplit)
- this.debug(this.pattern, 'split', f)
-
- // just ONE of the pattern sets in this.set needs to match
- // in order for it to be valid. If negating, then just one
- // match means that we have failed.
- // Either way, return on the first hit.
-
- var set = this.set
- this.debug(this.pattern, 'set', set)
-
- // Find the basename of the path by looking for the last non-empty segment
- var filename
- var i
- for (i = f.length - 1; i >= 0; i--) {
- filename = f[i]
- if (filename) break
- }
-
- for (i = 0; i < set.length; i++) {
- var pattern = set[i]
- var file = f
- if (options.matchBase && pattern.length === 1) {
- file = [filename]
- }
- var hit = this.matchOne(file, pattern, partial)
- if (hit) {
- if (options.flipNegate) return true
- return !this.negate
- }
- }
-
- // didn't get any hits. this is success if it's a negative
- // pattern, failure otherwise.
- if (options.flipNegate) return false
- return this.negate
-}
-
-// set partial to true to test if, for example,
-// "/a/b" matches the start of "/*/b/*/d"
-// Partial means, if you run out of file before you run
-// out of pattern, then that's fine, as long as all
-// the parts match.
-Minimatch.prototype.matchOne = function (file, pattern, partial) {
- var options = this.options
-
- this.debug('matchOne',
- { 'this': this, file: file, pattern: pattern })
-
- this.debug('matchOne', file.length, pattern.length)
-
- for (var fi = 0,
- pi = 0,
- fl = file.length,
- pl = pattern.length
- ; (fi < fl) && (pi < pl)
- ; fi++, pi++) {
- this.debug('matchOne loop')
- var p = pattern[pi]
- var f = file[fi]
-
- this.debug(pattern, p, f)
-
- // should be impossible.
- // some invalid regexp stuff in the set.
- if (p === false) return false
-
- if (p === GLOBSTAR) {
- this.debug('GLOBSTAR', [pattern, p, f])
-
- // "**"
- // a/**/b/**/c would match the following:
- // a/b/x/y/z/c
- // a/x/y/z/b/c
- // a/b/x/b/x/c
- // a/b/c
- // To do this, take the rest of the pattern after
- // the **, and see if it would match the file remainder.
- // If so, return success.
- // If not, the ** "swallows" a segment, and try again.
- // This is recursively awful.
- //
- // a/**/b/**/c matching a/b/x/y/z/c
- // - a matches a
- // - doublestar
- // - matchOne(b/x/y/z/c, b/**/c)
- // - b matches b
- // - doublestar
- // - matchOne(x/y/z/c, c) -> no
- // - matchOne(y/z/c, c) -> no
- // - matchOne(z/c, c) -> no
- // - matchOne(c, c) yes, hit
- var fr = fi
- var pr = pi + 1
- if (pr === pl) {
- this.debug('** at the end')
- // a ** at the end will just swallow the rest.
- // We have found a match.
- // however, it will not swallow /.x, unless
- // options.dot is set.
- // . and .. are *never* matched by **, for explosively
- // exponential reasons.
- for (; fi < fl; fi++) {
- if (file[fi] === '.' || file[fi] === '..' ||
- (!options.dot && file[fi].charAt(0) === '.')) return false
- }
- return true
- }
-
- // ok, let's see if we can swallow whatever we can.
- while (fr < fl) {
- var swallowee = file[fr]
-
- this.debug('\nglobstar while', file, fr, pattern, pr, swallowee)
-
- // XXX remove this slice. Just pass the start index.
- if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
- this.debug('globstar found match!', fr, fl, swallowee)
- // found a match.
- return true
- } else {
- // can't swallow "." or ".." ever.
- // can only swallow ".foo" when explicitly asked.
- if (swallowee === '.' || swallowee === '..' ||
- (!options.dot && swallowee.charAt(0) === '.')) {
- this.debug('dot detected!', file, fr, pattern, pr)
- break
- }
-
- // ** swallows a segment, and continue.
- this.debug('globstar swallow a segment, and continue')
- fr++
- }
- }
-
- // no match was found.
- // However, in partial mode, we can't say this is necessarily over.
- // If there's more *pattern* left, then
- if (partial) {
- // ran out of file
- this.debug('\n>>> no match, partial?', file, fr, pattern, pr)
- if (fr === fl) return true
- }
- return false
- }
-
- // something other than **
- // non-magic patterns just have to match exactly
- // patterns with magic have been turned into regexps.
- var hit
- if (typeof p === 'string') {
- if (options.nocase) {
- hit = f.toLowerCase() === p.toLowerCase()
- } else {
- hit = f === p
- }
- this.debug('string match', p, f, hit)
- } else {
- hit = f.match(p)
- this.debug('pattern match', p, f, hit)
- }
-
- if (!hit) return false
- }
-
- // Note: ending in / means that we'll get a final ""
- // at the end of the pattern. This can only match a
- // corresponding "" at the end of the file.
- // If the file ends in /, then it can only match a
- // a pattern that ends in /, unless the pattern just
- // doesn't have any more for it. But, a/b/ should *not*
- // match "a/b/*", even though "" matches against the
- // [^/]*? pattern, except in partial mode, where it might
- // simply not be reached yet.
- // However, a/b/ should still satisfy a/*
-
- // now either we fell off the end of the pattern, or we're done.
- if (fi === fl && pi === pl) {
- // ran out of pattern and filename at the same time.
- // an exact hit!
- return true
- } else if (fi === fl) {
- // ran out of file, but still had pattern left.
- // this is ok if we're doing the match as part of
- // a glob fs traversal.
- return partial
- } else if (pi === pl) {
- // ran out of pattern, still have file left.
- // this is only acceptable if we're on the very last
- // empty segment of a file with a trailing slash.
- // a/* should match a/b/
- var emptyFileEnd = (fi === fl - 1) && (file[fi] === '')
- return emptyFileEnd
- }
-
- // should be unreachable.
- throw new Error('wtf?')
-}
-
-// replace stuff like \* with *
-function globUnescape (s) {
- return s.replace(/\\(.)/g, '$1')
-}
-
-function regExpEscape (s) {
- return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')
-}
diff --git a/Server/node_modules/minimatch/package.json b/Server/node_modules/minimatch/package.json
deleted file mode 100644
index a6f554a..0000000
--- a/Server/node_modules/minimatch/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "_from": "minimatch@^3.0.4",
- "_id": "minimatch@3.0.4",
- "_inBundle": false,
- "_integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
- "_location": "/minimatch",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "minimatch@^3.0.4",
- "name": "minimatch",
- "escapedName": "minimatch",
- "rawSpec": "^3.0.4",
- "saveSpec": null,
- "fetchSpec": "^3.0.4"
- },
- "_requiredBy": [
- "/filelist",
- "/jake"
- ],
- "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
- "_shasum": "5166e286457f03306064be5497e8dbb0c3d32083",
- "_spec": "minimatch@^3.0.4",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/jake",
- "author": {
- "name": "Isaac Z. Schlueter",
- "email": "i@izs.me",
- "url": "http://blog.izs.me"
- },
- "bugs": {
- "url": "https://github.com/isaacs/minimatch/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "deprecated": false,
- "description": "a glob matcher in javascript",
- "devDependencies": {
- "tap": "^10.3.2"
- },
- "engines": {
- "node": "*"
- },
- "files": [
- "minimatch.js"
- ],
- "homepage": "https://github.com/isaacs/minimatch#readme",
- "license": "ISC",
- "main": "minimatch.js",
- "name": "minimatch",
- "repository": {
- "type": "git",
- "url": "git://github.com/isaacs/minimatch.git"
- },
- "scripts": {
- "postpublish": "git push origin --all; git push origin --tags",
- "postversion": "npm publish",
- "preversion": "npm test",
- "test": "tap test/*.js --cov"
- },
- "version": "3.0.4"
-}
diff --git a/Server/node_modules/ms/index.js b/Server/node_modules/ms/index.js
deleted file mode 100644
index 6a522b1..0000000
--- a/Server/node_modules/ms/index.js
+++ /dev/null
@@ -1,152 +0,0 @@
-/**
- * Helpers.
- */
-
-var s = 1000;
-var m = s * 60;
-var h = m * 60;
-var d = h * 24;
-var y = d * 365.25;
-
-/**
- * Parse or format the given `val`.
- *
- * Options:
- *
- * - `long` verbose formatting [false]
- *
- * @param {String|Number} val
- * @param {Object} [options]
- * @throws {Error} throw an error if val is not a non-empty string or a number
- * @return {String|Number}
- * @api public
- */
-
-module.exports = function(val, options) {
- options = options || {};
- var type = typeof val;
- if (type === 'string' && val.length > 0) {
- return parse(val);
- } else if (type === 'number' && isNaN(val) === false) {
- return options.long ? fmtLong(val) : fmtShort(val);
- }
- throw new Error(
- 'val is not a non-empty string or a valid number. val=' +
- JSON.stringify(val)
- );
-};
-
-/**
- * Parse the given `str` and return milliseconds.
- *
- * @param {String} str
- * @return {Number}
- * @api private
- */
-
-function parse(str) {
- str = String(str);
- if (str.length > 100) {
- return;
- }
- var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
- str
- );
- if (!match) {
- return;
- }
- var n = parseFloat(match[1]);
- var type = (match[2] || 'ms').toLowerCase();
- switch (type) {
- case 'years':
- case 'year':
- case 'yrs':
- case 'yr':
- case 'y':
- return n * y;
- case 'days':
- case 'day':
- case 'd':
- return n * d;
- case 'hours':
- case 'hour':
- case 'hrs':
- case 'hr':
- case 'h':
- return n * h;
- case 'minutes':
- case 'minute':
- case 'mins':
- case 'min':
- case 'm':
- return n * m;
- case 'seconds':
- case 'second':
- case 'secs':
- case 'sec':
- case 's':
- return n * s;
- case 'milliseconds':
- case 'millisecond':
- case 'msecs':
- case 'msec':
- case 'ms':
- return n;
- default:
- return undefined;
- }
-}
-
-/**
- * Short format for `ms`.
- *
- * @param {Number} ms
- * @return {String}
- * @api private
- */
-
-function fmtShort(ms) {
- if (ms >= d) {
- return Math.round(ms / d) + 'd';
- }
- if (ms >= h) {
- return Math.round(ms / h) + 'h';
- }
- if (ms >= m) {
- return Math.round(ms / m) + 'm';
- }
- if (ms >= s) {
- return Math.round(ms / s) + 's';
- }
- return ms + 'ms';
-}
-
-/**
- * Long format for `ms`.
- *
- * @param {Number} ms
- * @return {String}
- * @api private
- */
-
-function fmtLong(ms) {
- return plural(ms, d, 'day') ||
- plural(ms, h, 'hour') ||
- plural(ms, m, 'minute') ||
- plural(ms, s, 'second') ||
- ms + ' ms';
-}
-
-/**
- * Pluralization helper.
- */
-
-function plural(ms, n, name) {
- if (ms < n) {
- return;
- }
- if (ms < n * 1.5) {
- return Math.floor(ms / n) + ' ' + name;
- }
- return Math.ceil(ms / n) + ' ' + name + 's';
-}
diff --git a/Server/node_modules/ms/license.md b/Server/node_modules/ms/license.md
deleted file mode 100644
index 69b6125..0000000
--- a/Server/node_modules/ms/license.md
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016 Zeit, Inc.
-
-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.
diff --git a/Server/node_modules/ms/package.json b/Server/node_modules/ms/package.json
deleted file mode 100644
index b7d5651..0000000
--- a/Server/node_modules/ms/package.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "_from": "ms@2.0.0",
- "_id": "ms@2.0.0",
- "_inBundle": false,
- "_integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
- "_location": "/ms",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "ms@2.0.0",
- "name": "ms",
- "escapedName": "ms",
- "rawSpec": "2.0.0",
- "saveSpec": null,
- "fetchSpec": "2.0.0"
- },
- "_requiredBy": [
- "/debug"
- ],
- "_resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "_shasum": "5608aeadfc00be6c2901df5f9861788de0d597c8",
- "_spec": "ms@2.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/debug",
- "bugs": {
- "url": "https://github.com/zeit/ms/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Tiny milisecond conversion utility",
- "devDependencies": {
- "eslint": "3.19.0",
- "expect.js": "0.3.1",
- "husky": "0.13.3",
- "lint-staged": "3.4.1",
- "mocha": "3.4.1"
- },
- "eslintConfig": {
- "extends": "eslint:recommended",
- "env": {
- "node": true,
- "es6": true
- }
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/zeit/ms#readme",
- "license": "MIT",
- "lint-staged": {
- "*.js": [
- "npm run lint",
- "prettier --single-quote --write",
- "git add"
- ]
- },
- "main": "./index",
- "name": "ms",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/zeit/ms.git"
- },
- "scripts": {
- "lint": "eslint lib/* bin/*",
- "precommit": "lint-staged",
- "test": "mocha tests.js"
- },
- "version": "2.0.0"
-}
diff --git a/Server/node_modules/ms/readme.md b/Server/node_modules/ms/readme.md
deleted file mode 100644
index 84a9974..0000000
--- a/Server/node_modules/ms/readme.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# ms
-
-[![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms)
-[![Slack Channel](http://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/)
-
-Use this package to easily convert various time formats to milliseconds.
-
-## Examples
-
-```js
-ms('2 days') // 172800000
-ms('1d') // 86400000
-ms('10h') // 36000000
-ms('2.5 hrs') // 9000000
-ms('2h') // 7200000
-ms('1m') // 60000
-ms('5s') // 5000
-ms('1y') // 31557600000
-ms('100') // 100
-```
-
-### Convert from milliseconds
-
-```js
-ms(60000) // "1m"
-ms(2 * 60000) // "2m"
-ms(ms('10 hours')) // "10h"
-```
-
-### Time format written-out
-
-```js
-ms(60000, { long: true }) // "1 minute"
-ms(2 * 60000, { long: true }) // "2 minutes"
-ms(ms('10 hours'), { long: true }) // "10 hours"
-```
-
-## Features
-
-- Works both in [node](https://nodejs.org) and in the browser.
-- If a number is supplied to `ms`, a string with a unit is returned.
-- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`).
-- If you pass a string with a number and a valid unit, the number of equivalent ms is returned.
-
-## Caught a bug?
-
-1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device
-2. Link the package to the global module directory: `npm link`
-3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, node will now use your clone of ms!
-
-As always, you can run the tests using: `npm test`
diff --git a/Server/node_modules/mysql/Changes.md b/Server/node_modules/mysql/Changes.md
deleted file mode 100644
index 73e549c..0000000
--- a/Server/node_modules/mysql/Changes.md
+++ /dev/null
@@ -1,569 +0,0 @@
-# Changes
-
-This file is a manually maintained list of changes for each release. Feel free
-to add your changes here when sending pull requests. Also send corrections if
-you spot any mistakes.
-
-## v2.18.1 (2020-01-23)
-
-* Fix Amazon RDS profile for yaSSL MySQL servers with 2019 CA #2292
-
-## v2.18.0 (2020-01-21)
-
-* Add `localInfile` option to control `LOAD DATA LOCAL INFILE`
-* Add new Amazon RDS Root 2019 CA to Amazon RDS SSL profile #2280
-* Add new error codes up to MySQL 5.7.29
-* Fix early detection of bad callback to `connection.query`
-* Support Node.js 12.x #2211
-* Support Node.js 13.x
-* Support non-enumerable properties in object argument to `connection.query` #2253
-* Update `bignumber.js` to 9.0.0
-* Update `readable-stream` to 2.3.7
-
-## v2.17.1 (2019-04-18)
-
-* Update `bignumber.js` to 7.2.1 #2206
- - Fix npm deprecation warning
-
-## v2.17.0 (2019-04-17)
-
-* Add reverse type lookup for small performance gain #2170
-* Fix `connection.threadId` missing on handshake failure
-* Fix duplicate packet name in debug output
-* Fix no password support for old password protocol
-* Remove special case for handshake in determine packet code
-* Small performance improvement starting command sequence
-* Support auth switch in change user flow #1776
-* Support Node.js 11.x
-* Update `bignumber.js` to 6.0.0
-
-## v2.16.0 (2018-07-17)
-
-* Add Amazon RDS GovCloud SSL certificates #1876
-* Add new error codes up to MySQL 5.7.21
-* Include connection ID in debug output
-* Support Node.js 9.x
-* Support Node.js 10.x #2003 #2024 #2026 #2034
-* Update Amazon RDS SSL certificates
-* Update `bignumber.js` to 4.1.0
-* Update `readable-stream` to 2.3.6
-* Update `sqlstring` to 2.3.1
- - Fix incorrectly replacing non-placeholders in SQL
-
-## v2.15.0 (2017-10-05)
-
-* Add new Amazon RDS ca-central-1 certificate CA to Amazon RDS SSL profile #1809
-* Add new error codes up to MySQL 5.7.19
-* Add `mysql.raw()` to generate pre-escaped values #877 #1821
-* Fix "changedRows" to work on non-English servers #1819
-* Fix error when server sends RST on `QUIT` #1811
-* Fix typo in insecure auth error message
-* Support `mysql_native_password` auth switch request for Azure #1396 #1729 #1730
-* Update `sqlstring` to 2.3.0
- - Add `.toSqlString()` escape overriding
- - Small performance improvement on `escapeId`
-* Update `bignumber.js` to 4.0.4
-
-## v2.14.1 (2017-08-01)
-
-* Fix holding first closure for lifetime of connection #1785
-
-## v2.14.0 (2017-07-25)
-
-* Add new Amazon RDS ap-south-1 certificate CA to Amazon RDS SSL profile #1780
-* Add new Amazon RDS eu-west-2 certificate CA to Amazon RDS SSL profile #1770
-* Add `sql` property to query `Error` objects #1462 #1628 #1629
-* Add `sqlMessage` property to `Error` objects #1714
-* Fix the MySQL 5.7.17 error codes
-* Support Node.js 8.x
-* Update `bignumber.js` to 4.0.2
-* Update `readable-stream` to 2.3.3
-* Use `safe-buffer` for improved Buffer API
-
-## v2.13.0 (2017-01-24)
-
-* Accept regular expression as pool cluster pattern #1572
-* Accept wildcard anywhere in pool cluster pattern #1570
-* Add `acquire` and `release` events to `Pool` for tracking #1366 #1449 #1528 #1625
-* Add new error codes up to MySQL 5.7.17
-* Fix edge cases when determing Query result packets #1547
-* Fix memory leak when using long-running domains #1619 #1620
-* Remove unnecessary buffer copies when receiving large packets
-* Update `bignumber.js` to 3.1.2
-* Use a simple buffer list to improve performance #566 #1590
-
-## v2.12.0 (2016-11-02)
-
-* Accept array of type names to `dateStrings` option #605 #1481
-* Add `query` method to `PoolNamespace` #1256 #1505 #1506
- - Used as `cluster.of(...).query(...)`
-* Add new error codes up to MySQL 5.7.16
-* Fix edge cases writing certain length coded values
-* Fix typo in `HANDSHAKE_NO_SSL_SUPPORT` error message #1534
-* Support Node.js 7.x
-* Update `bignumber.js` to 2.4.0
-* Update `sqlstring` to 2.2.0
- - Accept numbers and other value types in `escapeId`
- - Escape invalid `Date` objects as `NULL`
- - Run `buffer.toString()` through escaping
-
-## v2.11.1 (2016-06-07)
-
-* Fix writing truncated packets starting with large string/buffer #1438
-
-## v2.11.0 (2016-06-06)
-
-* Add `POOL_CLOSED` code to "Pool is closed." error
-* Add `POOL_CONNLIMIT` code to "No connections available." error #1332
-* Bind underlying connections in pool to same domain as pool #1242
-* Bind underlying socket to same domain as connection #1243
-* Fix allocation errors receiving many result rows #918 #1265 #1324 #1415
-* Fix edge cases constructing long stack traces #1387
-* Fix handshake inactivity timeout on Node.js v4.2.0 #1223 #1236 #1239 #1240 #1241 #1252
-* Fix Query stream to emit close after ending #1349 #1350
-* Fix type cast for BIGINT columns when number is negative #1376
-* Performance improvements for array/object escaping in SqlString #1331
-* Performance improvements for formatting in SqlString #1431
-* Performance improvements for string escaping in SqlString #1390
-* Performance improvements for writing packets to network
-* Support Node.js 6.x
-* Update `bignumber.js` to 2.3.0
-* Update `readable-stream` to 1.1.14
-* Use the `sqlstring` module for SQL escaping and formatting
-
-## v2.10.2 (2016-01-12)
-
-* Fix exception/hang from certain SSL connection errors #1153
-* Update `bignumber.js` to 2.1.4
-
-## v2.10.1 (2016-01-11)
-
-* Add new Amazon RDS ap-northeast-2 certificate CA to Amazon RDS SSL profile #1329
-
-## v2.10.0 (2015-12-15)
-
-* Add new error codes up to MySQL 5.7.9 #1294
-* Add new JSON type constant #1295
-* Add types for fractional seconds support
-* Fix `connection.destroy()` on pool connection creating sequences #1291
-* Fix error code 139 `HA_ERR_TO_BIG_ROW` to be `HA_ERR_TOO_BIG_ROW`
-* Fix error when call site error is missing stack #1179
-* Fix reading password from MySQL URL that has bare colon #1278
-* Handle MySQL servers not closing TCP connection after QUIT -> OK exchange #1277
-* Minor SqlString Date to string performance improvement #1233
-* Support Node.js 4.x
-* Support Node.js 5.x
-* Update `bignumber.js` to 2.1.2
-
-## v2.9.0 (2015-08-19)
-
-* Accept the `ciphers` property in connection `ssl` option #1185
-* Fix bad timezone conversion from `Date` to string for certain times #1045 #1155
-
-## v2.8.0 (2015-07-13)
-
-* Add `connect` event to `Connection` #1129
-* Default `timeout` for `connection.end` to 30 seconds #1057
-* Fix a sync callback when sequence enqueue fails #1147
-* Provide static require analysis
-* Re-use connection from pool after `conn.changeUser` is used #837 #1088
-
-## v2.7.0 (2015-05-27)
-
-* Destroy/end connections removed from the pool on error
-* Delay implied connect until after `.query` argument validation
-* Do not remove connections with non-fatal errors from the pool
-* Error early if `callback` argument to `.query` is not a function #1060
-* Lazy-load modules from many entry point; reduced memory use
-
-## v2.6.2 (2015-04-14)
-
-* Fix `Connection.createQuery` for no SQL #1058
-* Update `bignumber.js` to 2.0.7
-
-## v2.6.1 (2015-03-26)
-
-* Update `bignumber.js` to 2.0.5 #1037 #1038
-
-## v2.6.0 (2015-03-24)
-
-* Add `poolCluster.remove` to remove pools from the cluster #1006 #1007
-* Add optional callback to `poolCluster.end`
-* Add `restoreNodeTimeout` option to `PoolCluster` #880 #906
-* Fix LOAD DATA INFILE handling in multiple statements #1036
-* Fix `poolCluster.add` to throw if `PoolCluster` has been closed
-* Fix `poolCluster.add` to throw if `id` already defined
-* Fix un-catchable error from `PoolCluster` when MySQL server offline #1033
-* Improve speed formatting SQL #1019
-* Support io.js
-
-## v2.5.5 (2015-02-23)
-
-* Store SSL presets in JS instead of JSON #959
-* Support Node.js 0.12
-* Update Amazon RDS SSL certificates #1001
-
-## v2.5.4 (2014-12-16)
-
-* Fix error if falsy error thrown in callback handler #960
-* Fix various error code strings #954
-
-## v2.5.3 (2014-11-06)
-
-* Fix `pool.query` streaming interface not emitting connection errors #941
-
-## v2.5.2 (2014-10-10)
-
-* Fix receiving large text fields #922
-
-## v2.5.1 (2014-09-22)
-
-* Fix `pool.end` race conditions #915
-* Fix `pool.getConnection` race conditions
-
-## v2.5.0 (2014-09-07)
-
-* Add code `POOL_ENQUEUELIMIT` to error reaching `queueLimit`
-* Add `enqueue` event to pool #716
-* Add `enqueue` event to protocol and connection #381
-* Blacklist unsupported connection flags #881
-* Make only column names enumerable in `RowDataPacket` #549 #895
-* Support Node.js 0.6 #718
-
-## v2.4.3 (2014-08-25)
-
-* Fix `pool.query` to use `typeCast` configuration
-
-## v2.4.2 (2014-08-03)
-
-* Fix incorrect sequence packet errors to be catchable #867
-* Fix stray protocol packet errors to be catchable #867
-* Fix timing of fatal protocol errors bubbling to user #879
-
-## v2.4.1 (2014-07-17)
-
-* Fix `pool.query` not invoking callback on connection error #872
-
-## v2.4.0 (2014-07-13)
-
-* Add code `POOL_NOEXIST` in PoolCluster error #846
-* Add `acquireTimeout` pool option to specify a timeout for acquiring a connection #821 #854
-* Add `connection.escapeId`
-* Add `pool.escapeId`
-* Add `timeout` option to all sequences #855 #863
-* Default `connectTimeout` to 10 seconds
-* Fix domain binding with `conn.connect`
-* Fix `packet.default` to actually be a string
-* Fix `PARSER_*` errors to be catchable
-* Fix `PROTOCOL_PACKETS_OUT_OF_ORDER` error to be catchable #844
-* Include packets that failed parsing under `debug`
-* Return `Query` object from `pool.query` like `conn.query` #830
-* Use `EventEmitter.listenerCount` when possible for faster counting
-
-## v2.3.2 (2014-05-29)
-
-* Fix pool leaking connections after `conn.changeUser` #833
-
-## v2.3.1 (2014-05-26)
-
-* Add database errors to error constants
-* Add global errors to error constants
-* Throw when calling `conn.release` multiple times #824 #827
-* Update known error codes
-
-## v2.3.0 (2014-05-16)
-
-* Accept MySQL charset (like `UTF8` or `UTF8MB4`) in `charset` option #808
-* Accept pool options in connection string to `mysql.createPool` #811
-* Clone connection config for new pool connections
-* Default `connectTimeout` to 2 minutes
-* Reject unauthorized SSL connections (use `ssl.rejectUnauthorized` to override) #816
-* Return last error when PoolCluster exhausts connection retries #818
-* Remove connection from pool after `conn.changeUser` is released #806
-* Throw on unknown SSL profile name #817
-* User newer TLS functions when available #809
-
-## v2.2.0 (2014-04-27)
-
-* Use indexOf instead of for loops removing conn from pool #611
-* Make callback to `pool.query` optional like `conn.query` #585
-* Prevent enqueuing sequences after fatal error #400
-* Fix geometry parser for empty fields #742
-* Accept lower-case charset option
-* Throw on unknown charset option #789
-* Update known charsets
-* Remove console.warn from PoolCluster #744
-* Fix `pool.end` to handle queued connections #797
-* Fix `pool.releaseConnection` to keep connection queue flowing #797
-* Fix SSL handshake error to be catchable #800
-* Add `connection.threadId` to get MySQL connection ID #602
-* Ensure `pool.getConnection` retrieves good connections #434 #557 #778
-* Fix pool cluster wildcard matching #627
-* Pass query values through to `SqlString.format` #590
-
-## v2.1.1 (2014-03-13)
-
-* fix authentication w/password failure for node.js 0.10.5 #746 #752
-* fix authentication w/password TypeError exception for node.js 0.10.0-0.10.4 #747
-* fix specifying `values` in `conn.query({...}).on(...)` pattern #755
-* fix long stack trace to include the `pool.query(...)` call #715
-
-## v2.1.0 (2014-02-20)
-
-* crypto.createHash fix for node.js < 11 #735
-* Add `connectTimeout` option to specify a timeout for establishing a connection #726
-* SSL support #481
-
-## v2.0.1
-
-* internal parser speed improvement #702
-* domains support
-* 'trace' connection option to control if long stack traces are generated #713 #710 #439
-
-## v2.0.0 (2014-01-09)
-
-* stream improvements:
- - node 0.8 support #692
- - Emit 'close' events from query streams #688
-* encoding fix in streaming LOAD DATA LOCAL INFILE #670
-* Doc improvements
-
-## v2.0.0-rc2 (2013-12-07)
-
-* Streaming LOAD DATA LOCAL INFILE #668
-* Doc improvements
-
-## v2.0.0-rc1 (2013-11-30)
-
-* Transaction support
-* Expose SqlString.format as mysql.format()
-* Many bug fixes
-* Better support for dates in local time zone
-* Doc improvements
-
-## v2.0.0-alpha9 (2013-08-27)
-
-* Add query to pool to execute queries directly using the pool
-* Add `sqlState` property to `Error` objects #556
-* Pool option to set queue limit
-* Pool sends 'connection' event when it opens a new connection
-* Added stringifyObjects option to treat input as strings rather than objects (#501)
-* Support for poolClusters
-* Datetime improvements
-* Bug fixes
-
-## v2.0.0-alpha8 (2013-04-30)
-
-* Switch to old mode for Streams 2 (Node.js v 0.10.x)
-* Add stream method to Query Wraps events from the query object into a node v0.10.x Readable stream
-* DECIMAL should also be treated as big number
-* Removed slow unnecessary stack access
-* Added charsets
-* Added bigNumberStrings option for forcing BIGINT columns as strings
-* Changes date parsing to return String if not a valid JS Date
-* Adds support for ?? escape sequence to escape identifiers
-* Changes Auth.token() to force password to be in binary, not utf8 (#378)
-* Restrict debugging by packet types
-* Add 'multipleStatements' option tracking to ConnectionConfig. Fixes GH-408
-* Changes Pool to handle 'error' events and dispose connection
-* Allows db.query({ sql: "..." }, [ val1, ... ], cb); (#390)
-* Improved documentation
-* Bug fixes
-
-## v2.0.0-alpha7 (2013-02-03)
-
-* Add connection pooling (#351)
-
-## v2.0.0-alpha6 (2013-01-31)
-
-* Add supportBigNumbers option (#381, #382)
-* Accept prebuilt Query object in connection.query
-* Bug fixes
-
-## v2.0.0-alpha5 (2012-12-03)
-
-* Add mysql.escapeId to escape identifiers (closes #342)
-* Allow custom escaping mode (config.queryFormat)
-* Convert DATE columns to configured timezone instead of UTC (#332)
-* Convert LONGLONG and NEWDECIMAL to numbers (#333)
-* Fix Connection.escape() (fixes #330)
-* Changed Readme ambiguity about custom type cast fallback
-* Change typeCast to receive Connection instead of Connection.config.timezone
-* Fix drain event having useless err parameter
-* Add Connection.statistics() back from v0.9
-* Add Connection.ping() back from v0.9
-
-## v2.0.0-alpha4 (2012-10-03)
-
-* Fix some OOB errors on resume()
-* Fix quick pause() / resume() usage
-* Properly parse host denied / similar errors
-* Add Connection.ChangeUser functionality
-* Make sure changeUser errors are fatal
-* Enable formatting nested arrays for bulk inserts
-* Add Connection.escape functionality
-* Renamed 'close' to 'end' event
-* Return parsed object instead of Buffer for GEOMETRY types
-* Allow nestTables inline (using a string instead of a boolean)
-* Check for ZEROFILL_FLAG and format number accordingly
-* Add timezone support (default: local)
-* Add custom typeCast functionality
-* Export mysql column types
-* Add connection flags functionality (#237)
-* Exports drain event when queue finishes processing (#272, #271, #306)
-
-## v2.0.0-alpha3 (2012-06-12)
-
-* Implement support for `LOAD DATA LOCAL INFILE` queries (#182).
-* Support OLD\_PASSWORD() accounts like 0.9.x did. You should still upgrade any
- user accounts in your your MySQL user table that has short (16 byte) Password
- values. Connecting to those accounts is not secure. (#204)
-* Ignore function values when escaping objects, allows to use RowDataPacket
- objects as query arguments. (Alex Gorbatchev, #213)
-* Handle initial error packets from server such as `ER_HOST_NOT_PRIVILEGED`.
-* Treat `utf8\_bin` as a String, not Buffer. (#214)
-* Handle empty strings in first row column value. (#222)
-* Honor Connection#nestTables setting for queries. (#221)
-* Remove `CLIENT_INTERACTIVE` flag from config. Improves #225.
-* Improve docs for connections settings.
-* Implement url string support for Connection configs.
-
-## v2.0.0-alpha2 (2012-05-31)
-
-* Specify escaping before for NaN / Infinity (they are as unquoted constants).
-* Support for unix domain socket connections (use: {socketPath: '...'}).
-* Fix type casting for NULL values for Date/Number fields
-* Add `fields` argument to `query()` as well as `'fields'` event. This is
- similar to what was available in 0.9.x.
-* Support connecting to the sphinx searchd daemon as well as MariaDB (#199).
-* Implement long stack trace support, will be removed / disabled if the node
- core ever supports it natively.
-* Implement `nestTables` option for queries, allows fetching JOIN result sets
- with overlapping column names.
-* Fix ? placeholder mechanism for values containing '?' characters (#205).
-* Detect when `connect()` is called more than once on a connection and provide
- the user with a good error message for it (#204).
-* Switch to `UTF8_GENERAL_CI` (previously `UTF8_UNICODE_CI`) as the default
- charset for all connections to avoid strange MySQL performance issues (#200),
- and also make the charset user configurable.
-* Fix BLOB type casting for `TINY_BLOB`, `MEDIUM_BLOB` and `LONG_BLOB`.
-* Add support for sending and receiving large (> 16 MB) packets.
-
-## v2.0.0-alpha (2012-05-15)
-
-This release is a rewrite. You should carefully test your application after
-upgrading to avoid problems. This release features many improvements, most
-importantly:
-
-* ~5x faster than v0.9.x for parsing query results
-* Support for pause() / resume() (for streaming rows)
-* Support for multiple statement queries
-* Support for stored procedures
-* Support for transactions
-* Support for binary columns (as blobs)
-* Consistent & well documented error handling
-* A new Connection class that has well defined semantics (unlike the old Client class).
-* Convenient escaping of objects / arrays that allows for simpler query construction
-* A significantly simpler code base
-* Many bug fixes & other small improvements (Closed 62 out of 66 GitHub issues)
-
-Below are a few notes on the upgrade process itself:
-
-The first thing you will run into is that the old `Client` class is gone and
-has been replaced with a less ambitious `Connection` class. So instead of
-`mysql.createClient()`, you now have to:
-
-```js
-var mysql = require('mysql');
-var connection = mysql.createConnection({
- host : 'localhost',
- user : 'me',
- password : 'secret',
-});
-
-connection.query('SELECT 1', function(err, rows) {
- if (err) throw err;
-
- console.log('Query result: ', rows);
-});
-
-connection.end();
-```
-
-The new `Connection` class does not try to handle re-connects, please study the
-`Server disconnects` section in the new Readme.
-
-Other than that, the interface has stayed very similar. Here are a few things
-to check out so:
-
-* BIGINT's are now cast into strings
-* Binary data is now cast to buffers
-* The `'row'` event on the `Query` object is now called `'result'` and will
- also be emitted for queries that produce an OK/Error response.
-* Error handling is consistently defined now, check the Readme
-* Escaping has become more powerful which may break your code if you are
- currently using objects to fill query placeholders.
-* Connections can now be established explicitly again, so you may wish to do so
- if you want to handle connection errors specifically.
-
-That should be most of it, if you run into anything else, please send a patch
-or open an issue to improve this document.
-
-## v0.9.6 (2012-03-12)
-
-* Escape array values so they produce sql arrays (Roger Castells, Colin Smith)
-* docs: mention mysql transaction stop gap solution (Blake Miner)
-* docs: Mention affectedRows in FAQ (Michael Baldwin)
-
-## v0.9.5 (2011-11-26)
-
-* Fix #142 Driver stalls upon reconnect attempt that's immediately closed
-* Add travis build
-* Switch to urun as a test runner
-* Switch to utest for unit tests
-* Remove fast-or-slow dependency for tests
-* Split integration tests into individual files again
-
-## v0.9.4 (2011-08-31)
-
-* Expose package.json as `mysql.PACKAGE` (#104)
-
-## v0.9.3 (2011-08-22)
-
-* Set default `client.user` to root
-* Fix #91: Client#format should not mutate params array
-* Fix #94: TypeError in client.js
-* Parse decimals as string (vadimg)
-
-## v0.9.2 (2011-08-07)
-
-* The underlaying socket connection is now managed implicitly rather than explicitly.
-* Check the [upgrading guide][] for a full list of changes.
-
-## v0.9.1 (2011-02-20)
-
-* Fix issue #49 / `client.escape()` throwing exceptions on objects. (Nick Payne)
-* Drop < v0.4.x compatibility. From now on you need node v0.4.x to use this module.
-
-## Older releases
-
-These releases were done before maintaining this file:
-
-* [v0.9.0](https://github.com/mysqljs/mysql/compare/v0.8.0...v0.9.0)
- (2011-01-04)
-* [v0.8.0](https://github.com/mysqljs/mysql/compare/v0.7.0...v0.8.0)
- (2010-10-30)
-* [v0.7.0](https://github.com/mysqljs/mysql/compare/v0.6.0...v0.7.0)
- (2010-10-14)
-* [v0.6.0](https://github.com/mysqljs/mysql/compare/v0.5.0...v0.6.0)
- (2010-09-28)
-* [v0.5.0](https://github.com/mysqljs/mysql/compare/v0.4.0...v0.5.0)
- (2010-09-17)
-* [v0.4.0](https://github.com/mysqljs/mysql/compare/v0.3.0...v0.4.0)
- (2010-09-02)
-* [v0.3.0](https://github.com/mysqljs/mysql/compare/v0.2.0...v0.3.0)
- (2010-08-25)
-* [v0.2.0](https://github.com/mysqljs/mysql/compare/v0.1.0...v0.2.0)
- (2010-08-22)
-* [v0.1.0](https://github.com/mysqljs/mysql/commits/v0.1.0)
- (2010-08-22)
diff --git a/Server/node_modules/mysql/License b/Server/node_modules/mysql/License
deleted file mode 100644
index c7ff12a..0000000
--- a/Server/node_modules/mysql/License
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
-
- 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.
diff --git a/Server/node_modules/mysql/Readme.md b/Server/node_modules/mysql/Readme.md
deleted file mode 100644
index d7c9aa2..0000000
--- a/Server/node_modules/mysql/Readme.md
+++ /dev/null
@@ -1,1548 +0,0 @@
-# mysql
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-image]][node-url]
-[![Linux Build][travis-image]][travis-url]
-[![Windows Build][appveyor-image]][appveyor-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-## Table of Contents
-
-- [Install](#install)
-- [Introduction](#introduction)
-- [Contributors](#contributors)
-- [Sponsors](#sponsors)
-- [Community](#community)
-- [Establishing connections](#establishing-connections)
-- [Connection options](#connection-options)
- - [SSL options](#ssl-options)
- - [Connection flags](#connection-flags)
-- [Terminating connections](#terminating-connections)
-- [Pooling connections](#pooling-connections)
-- [Pool options](#pool-options)
-- [Pool events](#pool-events)
- - [acquire](#acquire)
- - [connection](#connection)
- - [enqueue](#enqueue)
- - [release](#release)
-- [Closing all the connections in a pool](#closing-all-the-connections-in-a-pool)
-- [PoolCluster](#poolcluster)
- - [PoolCluster options](#poolcluster-options)
-- [Switching users and altering connection state](#switching-users-and-altering-connection-state)
-- [Server disconnects](#server-disconnects)
-- [Performing queries](#performing-queries)
-- [Escaping query values](#escaping-query-values)
-- [Escaping query identifiers](#escaping-query-identifiers)
- - [Preparing Queries](#preparing-queries)
- - [Custom format](#custom-format)
-- [Getting the id of an inserted row](#getting-the-id-of-an-inserted-row)
-- [Getting the number of affected rows](#getting-the-number-of-affected-rows)
-- [Getting the number of changed rows](#getting-the-number-of-changed-rows)
-- [Getting the connection ID](#getting-the-connection-id)
-- [Executing queries in parallel](#executing-queries-in-parallel)
-- [Streaming query rows](#streaming-query-rows)
- - [Piping results with Streams](#piping-results-with-streams)
-- [Multiple statement queries](#multiple-statement-queries)
-- [Stored procedures](#stored-procedures)
-- [Joins with overlapping column names](#joins-with-overlapping-column-names)
-- [Transactions](#transactions)
-- [Ping](#ping)
-- [Timeouts](#timeouts)
-- [Error handling](#error-handling)
-- [Exception Safety](#exception-safety)
-- [Type casting](#type-casting)
- - [Number](#number)
- - [Date](#date)
- - [Buffer](#buffer)
- - [String](#string)
- - [Custom type casting](#custom-type-casting)
-- [Debugging and reporting problems](#debugging-and-reporting-problems)
-- [Security issues](#security-issues)
-- [Contributing](#contributing)
-- [Running tests](#running-tests)
- - [Running unit tests](#running-unit-tests)
- - [Running integration tests](#running-integration-tests)
-- [Todo](#todo)
-
-## Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/).
-
-Before installing, [download and install Node.js](https://nodejs.org/en/download/).
-Node.js 0.6 or higher is required.
-
-Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install mysql
-```
-
-For information about the previous 0.9.x releases, visit the [v0.9 branch][].
-
-Sometimes I may also ask you to install the latest version from Github to check
-if a bugfix is working. In this case, please do:
-
-```sh
-$ npm install mysqljs/mysql
-```
-
-[v0.9 branch]: https://github.com/mysqljs/mysql/tree/v0.9
-
-## Introduction
-
-This is a node.js driver for mysql. It is written in JavaScript, does not
-require compiling, and is 100% MIT licensed.
-
-Here is an example on how to use it:
-
-```js
-var mysql = require('mysql');
-var connection = mysql.createConnection({
- host : 'localhost',
- user : 'me',
- password : 'secret',
- database : 'my_db'
-});
-
-connection.connect();
-
-connection.query('SELECT 1 + 1 AS solution', function (error, results, fields) {
- if (error) throw error;
- console.log('The solution is: ', results[0].solution);
-});
-
-connection.end();
-```
-
-From this example, you can learn the following:
-
-* Every method you invoke on a connection is queued and executed in sequence.
-* Closing the connection is done using `end()` which makes sure all remaining
- queries are executed before sending a quit packet to the mysql server.
-
-## Contributors
-
-Thanks goes to the people who have contributed code to this module, see the
-[GitHub Contributors page][].
-
-[GitHub Contributors page]: https://github.com/mysqljs/mysql/graphs/contributors
-
-Additionally I'd like to thank the following people:
-
-* [Andrey Hristov][] (Oracle) - for helping me with protocol questions.
-* [Ulf Wendel][] (Oracle) - for helping me with protocol questions.
-
-[Ulf Wendel]: http://blog.ulf-wendel.de/
-[Andrey Hristov]: http://andrey.hristov.com/
-
-## Sponsors
-
-The following companies have supported this project financially, allowing me to
-spend more time on it (ordered by time of contribution):
-
-* [Transloadit](http://transloadit.com) (my startup, we do file uploading &
- video encoding as a service, check it out)
-* [Joyent](http://www.joyent.com/)
-* [pinkbike.com](http://pinkbike.com/)
-* [Holiday Extras](http://www.holidayextras.co.uk/) (they are [hiring](http://join.holidayextras.co.uk/))
-* [Newscope](http://newscope.com/) (they are [hiring](https://newscope.com/unternehmen/jobs/))
-
-## Community
-
-If you'd like to discuss this module, or ask questions about it, please use one
-of the following:
-
-* **Mailing list**: https://groups.google.com/forum/#!forum/node-mysql
-* **IRC Channel**: #node.js (on freenode.net, I pay attention to any message
- including the term `mysql`)
-
-## Establishing connections
-
-The recommended way to establish a connection is this:
-
-```js
-var mysql = require('mysql');
-var connection = mysql.createConnection({
- host : 'example.org',
- user : 'bob',
- password : 'secret'
-});
-
-connection.connect(function(err) {
- if (err) {
- console.error('error connecting: ' + err.stack);
- return;
- }
-
- console.log('connected as id ' + connection.threadId);
-});
-```
-
-However, a connection can also be implicitly established by invoking a query:
-
-```js
-var mysql = require('mysql');
-var connection = mysql.createConnection(...);
-
-connection.query('SELECT 1', function (error, results, fields) {
- if (error) throw error;
- // connected!
-});
-```
-
-Depending on how you like to handle your errors, either method may be
-appropriate. Any type of connection error (handshake or network) is considered
-a fatal error, see the [Error Handling](#error-handling) section for more
-information.
-
-## Connection options
-
-When establishing a connection, you can set the following options:
-
-* `host`: The hostname of the database you are connecting to. (Default:
- `localhost`)
-* `port`: The port number to connect to. (Default: `3306`)
-* `localAddress`: The source IP address to use for TCP connection. (Optional)
-* `socketPath`: The path to a unix domain socket to connect to. When used `host`
- and `port` are ignored.
-* `user`: The MySQL user to authenticate as.
-* `password`: The password of that MySQL user.
-* `database`: Name of the database to use for this connection (Optional).
-* `charset`: The charset for the connection. This is called "collation" in the SQL-level
- of MySQL (like `utf8_general_ci`). If a SQL-level charset is specified (like `utf8mb4`)
- then the default collation for that charset is used. (Default: `'UTF8_GENERAL_CI'`)
-* `timezone`: The timezone configured on the MySQL server. This is used to type cast server date/time values to JavaScript `Date` object and vice versa. This can be `'local'`, `'Z'`, or an offset in the form `+HH:MM` or `-HH:MM`. (Default: `'local'`)
-* `connectTimeout`: The milliseconds before a timeout occurs during the initial connection
- to the MySQL server. (Default: `10000`)
-* `stringifyObjects`: Stringify objects instead of converting to values. See
-issue [#501](https://github.com/mysqljs/mysql/issues/501). (Default: `false`)
-* `insecureAuth`: Allow connecting to MySQL instances that ask for the old
- (insecure) authentication method. (Default: `false`)
-* `typeCast`: Determines if column values should be converted to native
- JavaScript types. (Default: `true`)
-* `queryFormat`: A custom query format function. See [Custom format](#custom-format).
-* `supportBigNumbers`: When dealing with big numbers (BIGINT and DECIMAL columns) in the database,
- you should enable this option (Default: `false`).
-* `bigNumberStrings`: Enabling both `supportBigNumbers` and `bigNumberStrings` forces big numbers
- (BIGINT and DECIMAL columns) to be always returned as JavaScript String objects (Default: `false`).
- Enabling `supportBigNumbers` but leaving `bigNumberStrings` disabled will return big numbers as String
- objects only when they cannot be accurately represented with [JavaScript Number objects] (http://ecma262-5.com/ELS5_HTML.htm#Section_8.5)
- (which happens when they exceed the [-2^53, +2^53] range), otherwise they will be returned as
- Number objects. This option is ignored if `supportBigNumbers` is disabled.
-* `dateStrings`: Force date types (TIMESTAMP, DATETIME, DATE) to be returned as strings rather than
- inflated into JavaScript Date objects. Can be `true`/`false` or an array of type names to keep as
- strings. (Default: `false`)
-* `debug`: Prints protocol details to stdout. Can be `true`/`false` or an array of packet type names
- that should be printed. (Default: `false`)
-* `trace`: Generates stack traces on `Error` to include call site of library
- entrance ("long stack traces"). Slight performance penalty for most calls.
- (Default: `true`)
-* `localInfile`: Allow `LOAD DATA INFILE` to use the `LOCAL` modifier. (Default: `true`)
-* `multipleStatements`: Allow multiple mysql statements per query. Be careful
- with this, it could increase the scope of SQL injection attacks. (Default: `false`)
-* `flags`: List of connection flags to use other than the default ones. It is
- also possible to blacklist default ones. For more information, check
- [Connection Flags](#connection-flags).
-* `ssl`: object with ssl parameters or a string containing name of ssl profile. See [SSL options](#ssl-options).
-
-
-In addition to passing these options as an object, you can also use a url
-string. For example:
-
-```js
-var connection = mysql.createConnection('mysql://user:pass@host/db?debug=true&charset=BIG5_CHINESE_CI&timezone=-0700');
-```
-
-Note: The query values are first attempted to be parsed as JSON, and if that
-fails assumed to be plaintext strings.
-
-### SSL options
-
-The `ssl` option in the connection options takes a string or an object. When given a string,
-it uses one of the predefined SSL profiles included. The following profiles are included:
-
-* `"Amazon RDS"`: this profile is for connecting to an Amazon RDS server and contains the
- certificates from https://rds.amazonaws.com/doc/rds-ssl-ca-cert.pem and
- https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem
-
-When connecting to other servers, you will need to provide an object of options, in the
-same format as [tls.createSecureContext](https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options).
-Please note the arguments expect a string of the certificate, not a file name to the
-certificate. Here is a simple example:
-
-```js
-var connection = mysql.createConnection({
- host : 'localhost',
- ssl : {
- ca : fs.readFileSync(__dirname + '/mysql-ca.crt')
- }
-});
-```
-
-You can also connect to a MySQL server without properly providing the appropriate
-CA to trust. _You should not do this_.
-
-```js
-var connection = mysql.createConnection({
- host : 'localhost',
- ssl : {
- // DO NOT DO THIS
- // set up your ca correctly to trust the connection
- rejectUnauthorized: false
- }
-});
-```
-
-### Connection flags
-
-If, for any reason, you would like to change the default connection flags, you
-can use the connection option `flags`. Pass a string with a comma separated list
-of items to add to the default flags. If you don't want a default flag to be used
-prepend the flag with a minus sign. To add a flag that is not in the default list,
-just write the flag name, or prefix it with a plus (case insensitive).
-
-```js
-var connection = mysql.createConnection({
- // disable FOUND_ROWS flag, enable IGNORE_SPACE flag
- flags: '-FOUND_ROWS,IGNORE_SPACE'
-});
-```
-
-The following flags are available:
-
-- `COMPRESS` - Enable protocol compression. This feature is not currently supported
- by the Node.js implementation so cannot be turned on. (Default off)
-- `CONNECT_WITH_DB` - Ability to specify the database on connection. (Default on)
-- `FOUND_ROWS` - Send the found rows instead of the affected rows as `affectedRows`.
- (Default on)
-- `IGNORE_SIGPIPE` - Don't issue SIGPIPE if network failures. This flag has no effect
- on this Node.js implementation. (Default on)
-- `IGNORE_SPACE` - Let the parser ignore spaces before the `(` in queries. (Default on)
-- `INTERACTIVE` - Indicates to the MySQL server this is an "interactive" client. This
- will use the interactive timeouts on the MySQL server and report as interactive in
- the process list. (Default off)
-- `LOCAL_FILES` - Can use `LOAD DATA LOCAL`. This flag is controlled by the connection
- option `localInfile`. (Default on)
-- `LONG_FLAG` - Longer flags in Protocol::ColumnDefinition320. (Default on)
-- `LONG_PASSWORD` - Use the improved version of Old Password Authentication.
- (Default on)
-- `MULTI_RESULTS` - Can handle multiple resultsets for queries. (Default on)
-- `MULTI_STATEMENTS` - The client may send multiple statement per query or
- statement prepare (separated by `;`). This flag is controlled by the connection
- option `multipleStatements`. (Default off)
-- `NO_SCHEMA`
-- `ODBC` Special handling of ODBC behaviour. This flag has no effect on this Node.js
- implementation. (Default on)
-- `PLUGIN_AUTH` - Uses the plugin authentication mechanism when connecting to the
- MySQL server. This feature is not currently supported by the Node.js implementation
- so cannot be turned on. (Default off)
-- `PROTOCOL_41` - Uses the 4.1 protocol. (Default on)
-- `PS_MULTI_RESULTS` - Can handle multiple resultsets for execute. (Default on)
-- `REMEMBER_OPTIONS` - This is specific to the C client, and has no effect on this
- Node.js implementation. (Default off)
-- `RESERVED` - Old flag for the 4.1 protocol. (Default on)
-- `SECURE_CONNECTION` - Support native 4.1 authentication. (Default on)
-- `SSL` - Use SSL after handshake to encrypt data in transport. This feature is
- controlled though the `ssl` connection option, so the flag has no effect.
- (Default off)
-- `SSL_VERIFY_SERVER_CERT` - Verify the server certificate during SSL set up. This
- feature is controlled though the `ssl.rejectUnauthorized` connection option, so
- the flag has no effect. (Default off)
-- `TRANSACTIONS` - Asks for the transaction status flags. (Default on)
-
-## Terminating connections
-
-There are two ways to end a connection. Terminating a connection gracefully is
-done by calling the `end()` method:
-
-```js
-connection.end(function(err) {
- // The connection is terminated now
-});
-```
-
-This will make sure all previously enqueued queries are still before sending a
-`COM_QUIT` packet to the MySQL server. If a fatal error occurs before the
-`COM_QUIT` packet can be sent, an `err` argument will be provided to the
-callback, but the connection will be terminated regardless of that.
-
-An alternative way to end the connection is to call the `destroy()` method.
-This will cause an immediate termination of the underlying socket.
-Additionally `destroy()` guarantees that no more events or callbacks will be
-triggered for the connection.
-
-```js
-connection.destroy();
-```
-
-Unlike `end()` the `destroy()` method does not take a callback argument.
-
-## Pooling connections
-
-Rather than creating and managing connections one-by-one, this module also
-provides built-in connection pooling using `mysql.createPool(config)`.
-[Read more about connection pooling](https://en.wikipedia.org/wiki/Connection_pool).
-
-Create a pool and use it directly:
-
-```js
-var mysql = require('mysql');
-var pool = mysql.createPool({
- connectionLimit : 10,
- host : 'example.org',
- user : 'bob',
- password : 'secret',
- database : 'my_db'
-});
-
-pool.query('SELECT 1 + 1 AS solution', function (error, results, fields) {
- if (error) throw error;
- console.log('The solution is: ', results[0].solution);
-});
-```
-
-This is a shortcut for the `pool.getConnection()` -> `connection.query()` ->
-`connection.release()` code flow. Using `pool.getConnection()` is useful to
-share connection state for subsequent queries. This is because two calls to
-`pool.query()` may use two different connections and run in parallel. This is
-the basic structure:
-
-```js
-var mysql = require('mysql');
-var pool = mysql.createPool(...);
-
-pool.getConnection(function(err, connection) {
- if (err) throw err; // not connected!
-
- // Use the connection
- connection.query('SELECT something FROM sometable', function (error, results, fields) {
- // When done with the connection, release it.
- connection.release();
-
- // Handle error after the release.
- if (error) throw error;
-
- // Don't use the connection here, it has been returned to the pool.
- });
-});
-```
-
-If you would like to close the connection and remove it from the pool, use
-`connection.destroy()` instead. The pool will create a new connection the next
-time one is needed.
-
-Connections are lazily created by the pool. If you configure the pool to allow
-up to 100 connections, but only ever use 5 simultaneously, only 5 connections
-will be made. Connections are also cycled round-robin style, with connections
-being taken from the top of the pool and returning to the bottom.
-
-When a previous connection is retrieved from the pool, a ping packet is sent
-to the server to check if the connection is still good.
-
-## Pool options
-
-Pools accept all the same [options as a connection](#connection-options).
-When creating a new connection, the options are simply passed to the connection
-constructor. In addition to those options pools accept a few extras:
-
-* `acquireTimeout`: The milliseconds before a timeout occurs during the connection
- acquisition. This is slightly different from `connectTimeout`, because acquiring
- a pool connection does not always involve making a connection. If a connection
- request is queued, the time the request spends in the queue does not count
- towards this timeout. (Default: `10000`)
-* `waitForConnections`: Determines the pool's action when no connections are
- available and the limit has been reached. If `true`, the pool will queue the
- connection request and call it when one becomes available. If `false`, the
- pool will immediately call back with an error. (Default: `true`)
-* `connectionLimit`: The maximum number of connections to create at once.
- (Default: `10`)
-* `queueLimit`: The maximum number of connection requests the pool will queue
- before returning an error from `getConnection`. If set to `0`, there is no
- limit to the number of queued connection requests. (Default: `0`)
-
-## Pool events
-
-### acquire
-
-The pool will emit an `acquire` event when a connection is acquired from the pool.
-This is called after all acquiring activity has been performed on the connection,
-right before the connection is handed to the callback of the acquiring code.
-
-```js
-pool.on('acquire', function (connection) {
- console.log('Connection %d acquired', connection.threadId);
-});
-```
-
-### connection
-
-The pool will emit a `connection` event when a new connection is made within the pool.
-If you need to set session variables on the connection before it gets used, you can
-listen to the `connection` event.
-
-```js
-pool.on('connection', function (connection) {
- connection.query('SET SESSION auto_increment_increment=1')
-});
-```
-
-### enqueue
-
-The pool will emit an `enqueue` event when a callback has been queued to wait for
-an available connection.
-
-```js
-pool.on('enqueue', function () {
- console.log('Waiting for available connection slot');
-});
-```
-
-### release
-
-The pool will emit a `release` event when a connection is released back to the
-pool. This is called after all release activity has been performed on the connection,
-so the connection will be listed as free at the time of the event.
-
-```js
-pool.on('release', function (connection) {
- console.log('Connection %d released', connection.threadId);
-});
-```
-
-## Closing all the connections in a pool
-
-When you are done using the pool, you have to end all the connections or the
-Node.js event loop will stay active until the connections are closed by the
-MySQL server. This is typically done if the pool is used in a script or when
-trying to gracefully shutdown a server. To end all the connections in the
-pool, use the `end` method on the pool:
-
-```js
-pool.end(function (err) {
- // all connections in the pool have ended
-});
-```
-
-The `end` method takes an _optional_ callback that you can use to know when
-all the connections are ended.
-
-**Once `pool.end` is called, `pool.getConnection` and other operations
-can no longer be performed.** Wait until all connections in the pool are
-released before calling `pool.end`. If you use the shortcut method
-`pool.query`, in place of `pool.getConnection` → `connection.query` →
-`connection.release`, wait until it completes.
-
-`pool.end` calls `connection.end` on every active connection in the pool.
-This queues a `QUIT` packet on the connection and sets a flag to prevent
-`pool.getConnection` from creating new connections. All commands / queries
-already in progress will complete, but new commands won't execute.
-
-## PoolCluster
-
-PoolCluster provides multiple hosts connection. (group & retry & selector)
-
-```js
-// create
-var poolCluster = mysql.createPoolCluster();
-
-// add configurations (the config is a pool config object)
-poolCluster.add(config); // add configuration with automatic name
-poolCluster.add('MASTER', masterConfig); // add a named configuration
-poolCluster.add('SLAVE1', slave1Config);
-poolCluster.add('SLAVE2', slave2Config);
-
-// remove configurations
-poolCluster.remove('SLAVE2'); // By nodeId
-poolCluster.remove('SLAVE*'); // By target group : SLAVE1-2
-
-// Target Group : ALL(anonymous, MASTER, SLAVE1-2), Selector : round-robin(default)
-poolCluster.getConnection(function (err, connection) {});
-
-// Target Group : MASTER, Selector : round-robin
-poolCluster.getConnection('MASTER', function (err, connection) {});
-
-// Target Group : SLAVE1-2, Selector : order
-// If can't connect to SLAVE1, return SLAVE2. (remove SLAVE1 in the cluster)
-poolCluster.on('remove', function (nodeId) {
- console.log('REMOVED NODE : ' + nodeId); // nodeId = SLAVE1
-});
-
-// A pattern can be passed with * as wildcard
-poolCluster.getConnection('SLAVE*', 'ORDER', function (err, connection) {});
-
-// The pattern can also be a regular expression
-poolCluster.getConnection(/^SLAVE[12]$/, function (err, connection) {});
-
-// of namespace : of(pattern, selector)
-poolCluster.of('*').getConnection(function (err, connection) {});
-
-var pool = poolCluster.of('SLAVE*', 'RANDOM');
-pool.getConnection(function (err, connection) {});
-pool.getConnection(function (err, connection) {});
-pool.query(function (error, results, fields) {});
-
-// close all connections
-poolCluster.end(function (err) {
- // all connections in the pool cluster have ended
-});
-```
-
-### PoolCluster options
-
-* `canRetry`: If `true`, `PoolCluster` will attempt to reconnect when connection fails. (Default: `true`)
-* `removeNodeErrorCount`: If connection fails, node's `errorCount` increases.
- When `errorCount` is greater than `removeNodeErrorCount`, remove a node in the `PoolCluster`. (Default: `5`)
-* `restoreNodeTimeout`: If connection fails, specifies the number of milliseconds
- before another connection attempt will be made. If set to `0`, then node will be
- removed instead and never re-used. (Default: `0`)
-* `defaultSelector`: The default selector. (Default: `RR`)
- * `RR`: Select one alternately. (Round-Robin)
- * `RANDOM`: Select the node by random function.
- * `ORDER`: Select the first node available unconditionally.
-
-```js
-var clusterConfig = {
- removeNodeErrorCount: 1, // Remove the node immediately when connection fails.
- defaultSelector: 'ORDER'
-};
-
-var poolCluster = mysql.createPoolCluster(clusterConfig);
-```
-
-## Switching users and altering connection state
-
-MySQL offers a changeUser command that allows you to alter the current user and
-other aspects of the connection without shutting down the underlying socket:
-
-```js
-connection.changeUser({user : 'john'}, function(err) {
- if (err) throw err;
-});
-```
-
-The available options for this feature are:
-
-* `user`: The name of the new user (defaults to the previous one).
-* `password`: The password of the new user (defaults to the previous one).
-* `charset`: The new charset (defaults to the previous one).
-* `database`: The new database (defaults to the previous one).
-
-A sometimes useful side effect of this functionality is that this function also
-resets any connection state (variables, transactions, etc.).
-
-Errors encountered during this operation are treated as fatal connection errors
-by this module.
-
-## Server disconnects
-
-You may lose the connection to a MySQL server due to network problems, the
-server timing you out, the server being restarted, or crashing. All of these
-events are considered fatal errors, and will have the `err.code =
-'PROTOCOL_CONNECTION_LOST'`. See the [Error Handling](#error-handling) section
-for more information.
-
-Re-connecting a connection is done by establishing a new connection. Once
-terminated, an existing connection object cannot be re-connected by design.
-
-With Pool, disconnected connections will be removed from the pool freeing up
-space for a new connection to be created on the next getConnection call.
-
-With PoolCluster, disconnected connections will count as errors against the
-related node, incrementing the error code for that node. Once there are more than
-`removeNodeErrorCount` errors on a given node, it is removed from the cluster.
-When this occurs, the PoolCluster may emit a `POOL_NONEONLINE` error if there are
-no longer any matching nodes for the pattern. The `restoreNodeTimeout` config can
-be set to restore offline nodes after a given timeout.
-
-## Performing queries
-
-The most basic way to perform a query is to call the `.query()` method on an object
-(like a `Connection`, `Pool`, or `PoolNamespace` instance).
-
-The simplest form of .`query()` is `.query(sqlString, callback)`, where a SQL string
-is the first argument and the second is a callback:
-
-```js
-connection.query('SELECT * FROM `books` WHERE `author` = "David"', function (error, results, fields) {
- // error will be an Error if one occurred during the query
- // results will contain the results of the query
- // fields will contain information about the returned results fields (if any)
-});
-```
-
-The second form `.query(sqlString, values, callback)` comes when using
-placeholder values (see [escaping query values](#escaping-query-values)):
-
-```js
-connection.query('SELECT * FROM `books` WHERE `author` = ?', ['David'], function (error, results, fields) {
- // error will be an Error if one occurred during the query
- // results will contain the results of the query
- // fields will contain information about the returned results fields (if any)
-});
-```
-
-The third form `.query(options, callback)` comes when using various advanced
-options on the query, like [escaping query values](#escaping-query-values),
-[joins with overlapping column names](#joins-with-overlapping-column-names),
-[timeouts](#timeout), and [type casting](#type-casting).
-
-```js
-connection.query({
- sql: 'SELECT * FROM `books` WHERE `author` = ?',
- timeout: 40000, // 40s
- values: ['David']
-}, function (error, results, fields) {
- // error will be an Error if one occurred during the query
- // results will contain the results of the query
- // fields will contain information about the returned results fields (if any)
-});
-```
-
-Note that a combination of the second and third forms can be used where the
-placeholder values are passed as an argument and not in the options object.
-The `values` argument will override the `values` in the option object.
-
-```js
-connection.query({
- sql: 'SELECT * FROM `books` WHERE `author` = ?',
- timeout: 40000, // 40s
- },
- ['David'],
- function (error, results, fields) {
- // error will be an Error if one occurred during the query
- // results will contain the results of the query
- // fields will contain information about the returned results fields (if any)
- }
-);
-```
-
-If the query only has a single replacement character (`?`), and the value is
-not `null`, `undefined`, or an array, it can be passed directly as the second
-argument to `.query`:
-
-```js
-connection.query(
- 'SELECT * FROM `books` WHERE `author` = ?',
- 'David',
- function (error, results, fields) {
- // error will be an Error if one occurred during the query
- // results will contain the results of the query
- // fields will contain information about the returned results fields (if any)
- }
-);
-```
-
-## Escaping query values
-
-**Caution** These methods of escaping values only works when the
-[NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes)
-SQL mode is disabled (which is the default state for MySQL servers).
-
-In order to avoid SQL Injection attacks, you should always escape any user
-provided data before using it inside a SQL query. You can do so using the
-`mysql.escape()`, `connection.escape()` or `pool.escape()` methods:
-
-```js
-var userId = 'some user provided value';
-var sql = 'SELECT * FROM users WHERE id = ' + connection.escape(userId);
-connection.query(sql, function (error, results, fields) {
- if (error) throw error;
- // ...
-});
-```
-
-Alternatively, you can use `?` characters as placeholders for values you would
-like to have escaped like this:
-
-```js
-connection.query('SELECT * FROM users WHERE id = ?', [userId], function (error, results, fields) {
- if (error) throw error;
- // ...
-});
-```
-
-Multiple placeholders are mapped to values in the same order as passed. For example,
-in the following query `foo` equals `a`, `bar` equals `b`, `baz` equals `c`, and
-`id` will be `userId`:
-
-```js
-connection.query('UPDATE users SET foo = ?, bar = ?, baz = ? WHERE id = ?', ['a', 'b', 'c', userId], function (error, results, fields) {
- if (error) throw error;
- // ...
-});
-```
-
-This looks similar to prepared statements in MySQL, however it really just uses
-the same `connection.escape()` method internally.
-
-**Caution** This also differs from prepared statements in that all `?` are
-replaced, even those contained in comments and strings.
-
-Different value types are escaped differently, here is how:
-
-* Numbers are left untouched
-* Booleans are converted to `true` / `false`
-* Date objects are converted to `'YYYY-mm-dd HH:ii:ss'` strings
-* Buffers are converted to hex strings, e.g. `X'0fa5'`
-* Strings are safely escaped
-* Arrays are turned into list, e.g. `['a', 'b']` turns into `'a', 'b'`
-* Nested arrays are turned into grouped lists (for bulk inserts), e.g. `[['a',
- 'b'], ['c', 'd']]` turns into `('a', 'b'), ('c', 'd')`
-* Objects that have a `toSqlString` method will have `.toSqlString()` called
- and the returned value is used as the raw SQL.
-* Objects are turned into `key = 'val'` pairs for each enumerable property on
- the object. If the property's value is a function, it is skipped; if the
- property's value is an object, toString() is called on it and the returned
- value is used.
-* `undefined` / `null` are converted to `NULL`
-* `NaN` / `Infinity` are left as-is. MySQL does not support these, and trying
- to insert them as values will trigger MySQL errors until they implement
- support.
-
-This escaping allows you to do neat things like this:
-
-```js
-var post = {id: 1, title: 'Hello MySQL'};
-var query = connection.query('INSERT INTO posts SET ?', post, function (error, results, fields) {
- if (error) throw error;
- // Neat!
-});
-console.log(query.sql); // INSERT INTO posts SET `id` = 1, `title` = 'Hello MySQL'
-```
-
-And the `toSqlString` method allows you to form complex queries with functions:
-
-```js
-var CURRENT_TIMESTAMP = { toSqlString: function() { return 'CURRENT_TIMESTAMP()'; } };
-var sql = mysql.format('UPDATE posts SET modified = ? WHERE id = ?', [CURRENT_TIMESTAMP, 42]);
-console.log(sql); // UPDATE posts SET modified = CURRENT_TIMESTAMP() WHERE id = 42
-```
-
-To generate objects with a `toSqlString` method, the `mysql.raw()` method can
-be used. This creates an object that will be left un-touched when using in a `?`
-placeholder, useful for using functions as dynamic values:
-
-**Caution** The string provided to `mysql.raw()` will skip all escaping
-functions when used, so be careful when passing in unvalidated input.
-
-```js
-var CURRENT_TIMESTAMP = mysql.raw('CURRENT_TIMESTAMP()');
-var sql = mysql.format('UPDATE posts SET modified = ? WHERE id = ?', [CURRENT_TIMESTAMP, 42]);
-console.log(sql); // UPDATE posts SET modified = CURRENT_TIMESTAMP() WHERE id = 42
-```
-
-If you feel the need to escape queries by yourself, you can also use the escaping
-function directly:
-
-```js
-var query = "SELECT * FROM posts WHERE title=" + mysql.escape("Hello MySQL");
-
-console.log(query); // SELECT * FROM posts WHERE title='Hello MySQL'
-```
-
-## Escaping query identifiers
-
-If you can't trust an SQL identifier (database / table / column name) because it is
-provided by a user, you should escape it with `mysql.escapeId(identifier)`,
-`connection.escapeId(identifier)` or `pool.escapeId(identifier)` like this:
-
-```js
-var sorter = 'date';
-var sql = 'SELECT * FROM posts ORDER BY ' + connection.escapeId(sorter);
-connection.query(sql, function (error, results, fields) {
- if (error) throw error;
- // ...
-});
-```
-
-It also supports adding qualified identifiers. It will escape both parts.
-
-```js
-var sorter = 'date';
-var sql = 'SELECT * FROM posts ORDER BY ' + connection.escapeId('posts.' + sorter);
-// -> SELECT * FROM posts ORDER BY `posts`.`date`
-```
-
-If you do not want to treat `.` as qualified identifiers, you can set the second
-argument to `true` in order to keep the string as a literal identifier:
-
-```js
-var sorter = 'date.2';
-var sql = 'SELECT * FROM posts ORDER BY ' + connection.escapeId(sorter, true);
-// -> SELECT * FROM posts ORDER BY `date.2`
-```
-
-Alternatively, you can use `??` characters as placeholders for identifiers you would
-like to have escaped like this:
-
-```js
-var userId = 1;
-var columns = ['username', 'email'];
-var query = connection.query('SELECT ?? FROM ?? WHERE id = ?', [columns, 'users', userId], function (error, results, fields) {
- if (error) throw error;
- // ...
-});
-
-console.log(query.sql); // SELECT `username`, `email` FROM `users` WHERE id = 1
-```
-**Please note that this last character sequence is experimental and syntax might change**
-
-When you pass an Object to `.escape()` or `.query()`, `.escapeId()` is used to avoid SQL injection in object keys.
-
-### Preparing Queries
-
-You can use mysql.format to prepare a query with multiple insertion points, utilizing the proper escaping for ids and values. A simple example of this follows:
-
-```js
-var sql = "SELECT * FROM ?? WHERE ?? = ?";
-var inserts = ['users', 'id', userId];
-sql = mysql.format(sql, inserts);
-```
-
-Following this you then have a valid, escaped query that you can then send to the database safely. This is useful if you are looking to prepare the query before actually sending it to the database. As mysql.format is exposed from SqlString.format you also have the option (but are not required) to pass in stringifyObject and timezone, allowing you provide a custom means of turning objects into strings, as well as a location-specific/timezone-aware Date.
-
-### Custom format
-
-If you prefer to have another type of query escape format, there's a connection configuration option you can use to define a custom format function. You can access the connection object if you want to use the built-in `.escape()` or any other connection function.
-
-Here's an example of how to implement another format:
-
-```js
-connection.config.queryFormat = function (query, values) {
- if (!values) return query;
- return query.replace(/\:(\w+)/g, function (txt, key) {
- if (values.hasOwnProperty(key)) {
- return this.escape(values[key]);
- }
- return txt;
- }.bind(this));
-};
-
-connection.query("UPDATE posts SET title = :title", { title: "Hello MySQL" });
-```
-
-## Getting the id of an inserted row
-
-If you are inserting a row into a table with an auto increment primary key, you
-can retrieve the insert id like this:
-
-```js
-connection.query('INSERT INTO posts SET ?', {title: 'test'}, function (error, results, fields) {
- if (error) throw error;
- console.log(results.insertId);
-});
-```
-
-When dealing with big numbers (above JavaScript Number precision limit), you should
-consider enabling `supportBigNumbers` option to be able to read the insert id as a
-string, otherwise it will throw an error.
-
-This option is also required when fetching big numbers from the database, otherwise
-you will get values rounded to hundreds or thousands due to the precision limit.
-
-## Getting the number of affected rows
-
-You can get the number of affected rows from an insert, update or delete statement.
-
-```js
-connection.query('DELETE FROM posts WHERE title = "wrong"', function (error, results, fields) {
- if (error) throw error;
- console.log('deleted ' + results.affectedRows + ' rows');
-})
-```
-
-## Getting the number of changed rows
-
-You can get the number of changed rows from an update statement.
-
-"changedRows" differs from "affectedRows" in that it does not count updated rows
-whose values were not changed.
-
-```js
-connection.query('UPDATE posts SET ...', function (error, results, fields) {
- if (error) throw error;
- console.log('changed ' + results.changedRows + ' rows');
-})
-```
-
-## Getting the connection ID
-
-You can get the MySQL connection ID ("thread ID") of a given connection using the `threadId`
-property.
-
-```js
-connection.connect(function(err) {
- if (err) throw err;
- console.log('connected as id ' + connection.threadId);
-});
-```
-
-## Executing queries in parallel
-
-The MySQL protocol is sequential, this means that you need multiple connections
-to execute queries in parallel. You can use a Pool to manage connections, one
-simple approach is to create one connection per incoming http request.
-
-## Streaming query rows
-
-Sometimes you may want to select large quantities of rows and process each of
-them as they are received. This can be done like this:
-
-```js
-var query = connection.query('SELECT * FROM posts');
-query
- .on('error', function(err) {
- // Handle error, an 'end' event will be emitted after this as well
- })
- .on('fields', function(fields) {
- // the field packets for the rows to follow
- })
- .on('result', function(row) {
- // Pausing the connnection is useful if your processing involves I/O
- connection.pause();
-
- processRow(row, function() {
- connection.resume();
- });
- })
- .on('end', function() {
- // all rows have been received
- });
-```
-
-Please note a few things about the example above:
-
-* Usually you will want to receive a certain amount of rows before starting to
- throttle the connection using `pause()`. This number will depend on the
- amount and size of your rows.
-* `pause()` / `resume()` operate on the underlying socket and parser. You are
- guaranteed that no more `'result'` events will fire after calling `pause()`.
-* You MUST NOT provide a callback to the `query()` method when streaming rows.
-* The `'result'` event will fire for both rows as well as OK packets
- confirming the success of a INSERT/UPDATE query.
-* It is very important not to leave the result paused too long, or you may
- encounter `Error: Connection lost: The server closed the connection.`
- The time limit for this is determined by the
- [net_write_timeout setting](https://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_net_write_timeout)
- on your MySQL server.
-
-Additionally you may be interested to know that it is currently not possible to
-stream individual row columns, they will always be buffered up entirely. If you
-have a good use case for streaming large fields to and from MySQL, I'd love to
-get your thoughts and contributions on this.
-
-### Piping results with Streams
-
-The query object provides a convenience method `.stream([options])` that wraps
-query events into a [Readable Stream](http://nodejs.org/api/stream.html#stream_class_stream_readable)
-object. This stream can easily be piped downstream and provides automatic
-pause/resume, based on downstream congestion and the optional `highWaterMark`.
-The `objectMode` parameter of the stream is set to `true` and cannot be changed
-(if you need a byte stream, you will need to use a transform stream, like
-[objstream](https://www.npmjs.com/package/objstream) for example).
-
-For example, piping query results into another stream (with a max buffer of 5
-objects) is simply:
-
-```js
-connection.query('SELECT * FROM posts')
- .stream({highWaterMark: 5})
- .pipe(...);
-```
-
-## Multiple statement queries
-
-Support for multiple statements is disabled for security reasons (it allows for
-SQL injection attacks if values are not properly escaped). To use this feature
-you have to enable it for your connection:
-
-```js
-var connection = mysql.createConnection({multipleStatements: true});
-```
-
-Once enabled, you can execute multiple statement queries like any other query:
-
-```js
-connection.query('SELECT 1; SELECT 2', function (error, results, fields) {
- if (error) throw error;
- // `results` is an array with one element for every statement in the query:
- console.log(results[0]); // [{1: 1}]
- console.log(results[1]); // [{2: 2}]
-});
-```
-
-Additionally you can also stream the results of multiple statement queries:
-
-```js
-var query = connection.query('SELECT 1; SELECT 2');
-
-query
- .on('fields', function(fields, index) {
- // the fields for the result rows that follow
- })
- .on('result', function(row, index) {
- // index refers to the statement this result belongs to (starts at 0)
- });
-```
-
-If one of the statements in your query causes an error, the resulting Error
-object contains a `err.index` property which tells you which statement caused
-it. MySQL will also stop executing any remaining statements when an error
-occurs.
-
-Please note that the interface for streaming multiple statement queries is
-experimental and I am looking forward to feedback on it.
-
-## Stored procedures
-
-You can call stored procedures from your queries as with any other mysql driver.
-If the stored procedure produces several result sets, they are exposed to you
-the same way as the results for multiple statement queries.
-
-## Joins with overlapping column names
-
-When executing joins, you are likely to get result sets with overlapping column
-names.
-
-By default, node-mysql will overwrite colliding column names in the
-order the columns are received from MySQL, causing some of the received values
-to be unavailable.
-
-However, you can also specify that you want your columns to be nested below
-the table name like this:
-
-```js
-var options = {sql: '...', nestTables: true};
-connection.query(options, function (error, results, fields) {
- if (error) throw error;
- /* results will be an array like this now:
- [{
- table1: {
- fieldA: '...',
- fieldB: '...',
- },
- table2: {
- fieldA: '...',
- fieldB: '...',
- },
- }, ...]
- */
-});
-```
-
-Or use a string separator to have your results merged.
-
-```js
-var options = {sql: '...', nestTables: '_'};
-connection.query(options, function (error, results, fields) {
- if (error) throw error;
- /* results will be an array like this now:
- [{
- table1_fieldA: '...',
- table1_fieldB: '...',
- table2_fieldA: '...',
- table2_fieldB: '...',
- }, ...]
- */
-});
-```
-
-## Transactions
-
-Simple transaction support is available at the connection level:
-
-```js
-connection.beginTransaction(function(err) {
- if (err) { throw err; }
- connection.query('INSERT INTO posts SET title=?', title, function (error, results, fields) {
- if (error) {
- return connection.rollback(function() {
- throw error;
- });
- }
-
- var log = 'Post ' + results.insertId + ' added';
-
- connection.query('INSERT INTO log SET data=?', log, function (error, results, fields) {
- if (error) {
- return connection.rollback(function() {
- throw error;
- });
- }
- connection.commit(function(err) {
- if (err) {
- return connection.rollback(function() {
- throw err;
- });
- }
- console.log('success!');
- });
- });
- });
-});
-```
-Please note that beginTransaction(), commit() and rollback() are simply convenience
-functions that execute the START TRANSACTION, COMMIT, and ROLLBACK commands respectively.
-It is important to understand that many commands in MySQL can cause an implicit commit,
-as described [in the MySQL documentation](http://dev.mysql.com/doc/refman/5.5/en/implicit-commit.html)
-
-## Ping
-
-A ping packet can be sent over a connection using the `connection.ping` method. This
-method will send a ping packet to the server and when the server responds, the callback
-will fire. If an error occurred, the callback will fire with an error argument.
-
-```js
-connection.ping(function (err) {
- if (err) throw err;
- console.log('Server responded to ping');
-})
-```
-
-## Timeouts
-
-Every operation takes an optional inactivity timeout option. This allows you to
-specify appropriate timeouts for operations. It is important to note that these
-timeouts are not part of the MySQL protocol, and rather timeout operations through
-the client. This means that when a timeout is reached, the connection it occurred
-on will be destroyed and no further operations can be performed.
-
-```js
-// Kill query after 60s
-connection.query({sql: 'SELECT COUNT(*) AS count FROM big_table', timeout: 60000}, function (error, results, fields) {
- if (error && error.code === 'PROTOCOL_SEQUENCE_TIMEOUT') {
- throw new Error('too long to count table rows!');
- }
-
- if (error) {
- throw error;
- }
-
- console.log(results[0].count + ' rows');
-});
-```
-
-## Error handling
-
-This module comes with a consistent approach to error handling that you should
-review carefully in order to write solid applications.
-
-Most errors created by this module are instances of the JavaScript [Error][]
-object. Additionally they typically come with two extra properties:
-
-* `err.code`: String, contains the MySQL server error symbol if the error is
- a [MySQL server error][] (e.g. `'ER_ACCESS_DENIED_ERROR'`), a Node.js error
- code if it is a Node.js error (e.g. `'ECONNREFUSED'`), or an internal error
- code (e.g. `'PROTOCOL_CONNECTION_LOST'`).
-* `err.errno`: Number, contains the MySQL server error number. Only populated
- from [MySQL server error][].
-* `err.fatal`: Boolean, indicating if this error is terminal to the connection
- object. If the error is not from a MySQL protocol operation, this property
- will not be defined.
-* `err.sql`: String, contains the full SQL of the failed query. This can be
- useful when using a higher level interface like an ORM that is generating
- the queries.
-* `err.sqlState`: String, contains the five-character SQLSTATE value. Only populated from [MySQL server error][].
-* `err.sqlMessage`: String, contains the message string that provides a
- textual description of the error. Only populated from [MySQL server error][].
-
-[Error]: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error
-[MySQL server error]: https://dev.mysql.com/doc/refman/5.5/en/server-error-reference.html
-
-Fatal errors are propagated to *all* pending callbacks. In the example below, a
-fatal error is triggered by trying to connect to an invalid port. Therefore the
-error object is propagated to both pending callbacks:
-
-```js
-var connection = require('mysql').createConnection({
- port: 84943, // WRONG PORT
-});
-
-connection.connect(function(err) {
- console.log(err.code); // 'ECONNREFUSED'
- console.log(err.fatal); // true
-});
-
-connection.query('SELECT 1', function (error, results, fields) {
- console.log(error.code); // 'ECONNREFUSED'
- console.log(error.fatal); // true
-});
-```
-
-Normal errors however are only delegated to the callback they belong to. So in
-the example below, only the first callback receives an error, the second query
-works as expected:
-
-```js
-connection.query('USE name_of_db_that_does_not_exist', function (error, results, fields) {
- console.log(error.code); // 'ER_BAD_DB_ERROR'
-});
-
-connection.query('SELECT 1', function (error, results, fields) {
- console.log(error); // null
- console.log(results.length); // 1
-});
-```
-
-Last but not least: If a fatal errors occurs and there are no pending
-callbacks, or a normal error occurs which has no callback belonging to it, the
-error is emitted as an `'error'` event on the connection object. This is
-demonstrated in the example below:
-
-```js
-connection.on('error', function(err) {
- console.log(err.code); // 'ER_BAD_DB_ERROR'
-});
-
-connection.query('USE name_of_db_that_does_not_exist');
-```
-
-Note: `'error'` events are special in node. If they occur without an attached
-listener, a stack trace is printed and your process is killed.
-
-**tl;dr:** This module does not want you to deal with silent failures. You
-should always provide callbacks to your method calls. If you want to ignore
-this advice and suppress unhandled errors, you can do this:
-
-```js
-// I am Chuck Norris:
-connection.on('error', function() {});
-```
-
-## Exception Safety
-
-This module is exception safe. That means you can continue to use it, even if
-one of your callback functions throws an error which you're catching using
-'uncaughtException' or a domain.
-
-## Type casting
-
-For your convenience, this driver will cast mysql types into native JavaScript
-types by default. The following mappings exist:
-
-### Number
-
-* TINYINT
-* SMALLINT
-* INT
-* MEDIUMINT
-* YEAR
-* FLOAT
-* DOUBLE
-
-### Date
-
-* TIMESTAMP
-* DATE
-* DATETIME
-
-### Buffer
-
-* TINYBLOB
-* MEDIUMBLOB
-* LONGBLOB
-* BLOB
-* BINARY
-* VARBINARY
-* BIT (last byte will be filled with 0 bits as necessary)
-
-### String
-
-**Note** text in the binary character set is returned as `Buffer`, rather
-than a string.
-
-* CHAR
-* VARCHAR
-* TINYTEXT
-* MEDIUMTEXT
-* LONGTEXT
-* TEXT
-* ENUM
-* SET
-* DECIMAL (may exceed float precision)
-* BIGINT (may exceed float precision)
-* TIME (could be mapped to Date, but what date would be set?)
-* GEOMETRY (never used those, get in touch if you do)
-
-It is not recommended (and may go away / change in the future) to disable type
-casting, but you can currently do so on either the connection:
-
-```js
-var connection = require('mysql').createConnection({typeCast: false});
-```
-
-Or on the query level:
-
-```js
-var options = {sql: '...', typeCast: false};
-var query = connection.query(options, function (error, results, fields) {
- if (error) throw error;
- // ...
-});
-```
-
-### Custom type casting
-
-You can also pass a function and handle type casting yourself. You're given some
-column information like database, table and name and also type and length. If you
-just want to apply a custom type casting to a specific type you can do it and then
-fallback to the default.
-
-The function is provided two arguments `field` and `next` and is expected to
-return the value for the given field by invoking the parser functions through
-the `field` object.
-
-The `field` argument is a `Field` object and contains data about the field that
-need to be parsed. The following are some of the properties on a `Field` object:
-
- * `db` - a string of the database the field came from.
- * `table` - a string of the table the field came from.
- * `name` - a string of the field name.
- * `type` - a string of the field type in all caps.
- * `length` - a number of the field length, as given by the database.
-
-The `next` argument is a `function` that, when called, will return the default
-type conversion for the given field.
-
-When getting the field data, the following helper methods are present on the
-`field` object:
-
- * `.string()` - parse the field into a string.
- * `.buffer()` - parse the field into a `Buffer`.
- * `.geometry()` - parse the field as a geometry value.
-
-The MySQL protocol is a text-based protocol. This means that over the wire, all
-field types are represented as a string, which is why only string-like functions
-are available on the `field` object. Based on the type information (like `INT`),
-the type cast should convert the string field into a different JavaScript type
-(like a `number`).
-
-Here's an example of converting `TINYINT(1)` to boolean:
-
-```js
-connection = mysql.createConnection({
- typeCast: function (field, next) {
- if (field.type === 'TINY' && field.length === 1) {
- return (field.string() === '1'); // 1 = true, 0 = false
- } else {
- return next();
- }
- }
-});
-```
-
-__WARNING: YOU MUST INVOKE the parser using one of these three field functions
-in your custom typeCast callback. They can only be called once.__
-
-## Debugging and reporting problems
-
-If you are running into problems, one thing that may help is enabling the
-`debug` mode for the connection:
-
-```js
-var connection = mysql.createConnection({debug: true});
-```
-
-This will print all incoming and outgoing packets on stdout. You can also restrict debugging to
-packet types by passing an array of types to debug:
-
-```js
-var connection = mysql.createConnection({debug: ['ComQueryPacket', 'RowDataPacket']});
-```
-
-to restrict debugging to the query and data packets.
-
-If that does not help, feel free to open a GitHub issue. A good GitHub issue
-will have:
-
-* The minimal amount of code required to reproduce the problem (if possible)
-* As much debugging output and information about your environment (mysql
- version, node version, os, etc.) as you can gather.
-
-## Security issues
-
-Security issues should not be first reported through GitHub or another public
-forum, but kept private in order for the collaborators to assess the report
-and either (a) devise a fix and plan a release date or (b) assert that it is
-not a security issue (in which case it can be posted in a public forum, like
-a GitHub issue).
-
-The primary private forum is email, either by emailing the module's author or
-opening a GitHub issue simply asking to whom a security issues should be
-addressed to without disclosing the issue or type of issue.
-
-An ideal report would include a clear indication of what the security issue is
-and how it would be exploited, ideally with an accompanying proof of concept
-("PoC") for collaborators to work against and validate potentional fixes against.
-
-## Contributing
-
-This project welcomes contributions from the community. Contributions are
-accepted using GitHub pull requests. If you're not familiar with making
-GitHub pull requests, please refer to the
-[GitHub documentation "Creating a pull request"](https://help.github.com/articles/creating-a-pull-request/).
-
-For a good pull request, we ask you provide the following:
-
-1. Try to include a clear description of your pull request in the description.
- It should include the basic "what" and "why"s for the request.
-2. The tests should pass as best as you can. See the [Running tests](#running-tests)
- section on how to run the different tests. GitHub will automatically run
- the tests as well, to act as a safety net.
-3. The pull request should include tests for the change. A new feature should
- have tests for the new feature and bug fixes should include a test that fails
- without the corresponding code change and passes after they are applied.
- The command `npm run test-cov` will generate a `coverage/` folder that
- contains HTML pages of the code coverage, to better understand if everything
- you're adding is being tested.
-4. If the pull request is a new feature, please be sure to include all
- appropriate documentation additions in the `Readme.md` file as well.
-5. To help ensure that your code is similar in style to the existing code,
- run the command `npm run lint` and fix any displayed issues.
-
-## Running tests
-
-The test suite is split into two parts: unit tests and integration tests.
-The unit tests run on any machine while the integration tests require a
-MySQL server instance to be setup.
-
-### Running unit tests
-
-```sh
-$ FILTER=unit npm test
-```
-
-### Running integration tests
-
-Set the environment variables `MYSQL_DATABASE`, `MYSQL_HOST`, `MYSQL_PORT`,
-`MYSQL_USER` and `MYSQL_PASSWORD`. `MYSQL_SOCKET` can also be used in place
-of `MYSQL_HOST` and `MYSQL_PORT` to connect over a UNIX socket. Then run
-`npm test`.
-
-For example, if you have an installation of mysql running on localhost:3306
-and no password set for the `root` user, run:
-
-```sh
-$ mysql -u root -e "CREATE DATABASE IF NOT EXISTS node_mysql_test"
-$ MYSQL_HOST=localhost MYSQL_PORT=3306 MYSQL_DATABASE=node_mysql_test MYSQL_USER=root MYSQL_PASSWORD= FILTER=integration npm test
-```
-
-## Todo
-
-* Prepared statements
-* Support for encodings other than UTF-8 / ASCII
-
-[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/node-mysql/master?label=windows
-[appveyor-url]: https://ci.appveyor.com/project/dougwilson/node-mysql
-[coveralls-image]: https://badgen.net/coveralls/c/github/mysqljs/mysql/master
-[coveralls-url]: https://coveralls.io/r/mysqljs/mysql?branch=master
-[node-image]: https://badgen.net/npm/node/mysql
-[node-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/mysql
-[npm-url]: https://npmjs.org/package/mysql
-[npm-version-image]: https://badgen.net/npm/v/mysql
-[travis-image]: https://badgen.net/travis/mysqljs/mysql/master
-[travis-url]: https://travis-ci.org/mysqljs/mysql
diff --git a/Server/node_modules/mysql/index.js b/Server/node_modules/mysql/index.js
deleted file mode 100644
index 7262407..0000000
--- a/Server/node_modules/mysql/index.js
+++ /dev/null
@@ -1,161 +0,0 @@
-var Classes = Object.create(null);
-
-/**
- * Create a new Connection instance.
- * @param {object|string} config Configuration or connection string for new MySQL connection
- * @return {Connection} A new MySQL connection
- * @public
- */
-exports.createConnection = function createConnection(config) {
- var Connection = loadClass('Connection');
- var ConnectionConfig = loadClass('ConnectionConfig');
-
- return new Connection({config: new ConnectionConfig(config)});
-};
-
-/**
- * Create a new Pool instance.
- * @param {object|string} config Configuration or connection string for new MySQL connections
- * @return {Pool} A new MySQL pool
- * @public
- */
-exports.createPool = function createPool(config) {
- var Pool = loadClass('Pool');
- var PoolConfig = loadClass('PoolConfig');
-
- return new Pool({config: new PoolConfig(config)});
-};
-
-/**
- * Create a new PoolCluster instance.
- * @param {object} [config] Configuration for pool cluster
- * @return {PoolCluster} New MySQL pool cluster
- * @public
- */
-exports.createPoolCluster = function createPoolCluster(config) {
- var PoolCluster = loadClass('PoolCluster');
-
- return new PoolCluster(config);
-};
-
-/**
- * Create a new Query instance.
- * @param {string} sql The SQL for the query
- * @param {array} [values] Any values to insert into placeholders in sql
- * @param {function} [callback] The callback to use when query is complete
- * @return {Query} New query object
- * @public
- */
-exports.createQuery = function createQuery(sql, values, callback) {
- var Connection = loadClass('Connection');
-
- return Connection.createQuery(sql, values, callback);
-};
-
-/**
- * Escape a value for SQL.
- * @param {*} value The value to escape
- * @param {boolean} [stringifyObjects=false] Setting if objects should be stringified
- * @param {string} [timeZone=local] Setting for time zone to use for Date conversion
- * @return {string} Escaped string value
- * @public
- */
-exports.escape = function escape(value, stringifyObjects, timeZone) {
- var SqlString = loadClass('SqlString');
-
- return SqlString.escape(value, stringifyObjects, timeZone);
-};
-
-/**
- * Escape an identifier for SQL.
- * @param {*} value The value to escape
- * @param {boolean} [forbidQualified=false] Setting to treat '.' as part of identifier
- * @return {string} Escaped string value
- * @public
- */
-exports.escapeId = function escapeId(value, forbidQualified) {
- var SqlString = loadClass('SqlString');
-
- return SqlString.escapeId(value, forbidQualified);
-};
-
-/**
- * Format SQL and replacement values into a SQL string.
- * @param {string} sql The SQL for the query
- * @param {array} [values] Any values to insert into placeholders in sql
- * @param {boolean} [stringifyObjects=false] Setting if objects should be stringified
- * @param {string} [timeZone=local] Setting for time zone to use for Date conversion
- * @return {string} Formatted SQL string
- * @public
- */
-exports.format = function format(sql, values, stringifyObjects, timeZone) {
- var SqlString = loadClass('SqlString');
-
- return SqlString.format(sql, values, stringifyObjects, timeZone);
-};
-
-/**
- * Wrap raw SQL strings from escape overriding.
- * @param {string} sql The raw SQL
- * @return {object} Wrapped object
- * @public
- */
-exports.raw = function raw(sql) {
- var SqlString = loadClass('SqlString');
-
- return SqlString.raw(sql);
-};
-
-/**
- * The type constants.
- * @public
- */
-Object.defineProperty(exports, 'Types', {
- get: loadClass.bind(null, 'Types')
-});
-
-/**
- * Load the given class.
- * @param {string} className Name of class to default
- * @return {function|object} Class constructor or exports
- * @private
- */
-function loadClass(className) {
- var Class = Classes[className];
-
- if (Class !== undefined) {
- return Class;
- }
-
- // This uses a switch for static require analysis
- switch (className) {
- case 'Connection':
- Class = require('./lib/Connection');
- break;
- case 'ConnectionConfig':
- Class = require('./lib/ConnectionConfig');
- break;
- case 'Pool':
- Class = require('./lib/Pool');
- break;
- case 'PoolCluster':
- Class = require('./lib/PoolCluster');
- break;
- case 'PoolConfig':
- Class = require('./lib/PoolConfig');
- break;
- case 'SqlString':
- Class = require('./lib/protocol/SqlString');
- break;
- case 'Types':
- Class = require('./lib/protocol/constants/types');
- break;
- default:
- throw new Error('Cannot find class \'' + className + '\'');
- }
-
- // Store to prevent invoking require()
- Classes[className] = Class;
-
- return Class;
-}
diff --git a/Server/node_modules/mysql/lib/Connection.js b/Server/node_modules/mysql/lib/Connection.js
deleted file mode 100644
index 6802255..0000000
--- a/Server/node_modules/mysql/lib/Connection.js
+++ /dev/null
@@ -1,529 +0,0 @@
-var Crypto = require('crypto');
-var Events = require('events');
-var Net = require('net');
-var tls = require('tls');
-var ConnectionConfig = require('./ConnectionConfig');
-var Protocol = require('./protocol/Protocol');
-var SqlString = require('./protocol/SqlString');
-var Query = require('./protocol/sequences/Query');
-var Util = require('util');
-
-module.exports = Connection;
-Util.inherits(Connection, Events.EventEmitter);
-function Connection(options) {
- Events.EventEmitter.call(this);
-
- this.config = options.config;
-
- this._socket = options.socket;
- this._protocol = new Protocol({config: this.config, connection: this});
- this._connectCalled = false;
- this.state = 'disconnected';
- this.threadId = null;
-}
-
-Connection.createQuery = function createQuery(sql, values, callback) {
- if (sql instanceof Query) {
- return sql;
- }
-
- var cb = callback;
- var options = {};
-
- if (typeof sql === 'function') {
- cb = sql;
- } else if (typeof sql === 'object') {
- options = Object.create(sql);
-
- if (typeof values === 'function') {
- cb = values;
- } else if (values !== undefined) {
- Object.defineProperty(options, 'values', { value: values });
- }
- } else {
- options.sql = sql;
-
- if (typeof values === 'function') {
- cb = values;
- } else if (values !== undefined) {
- options.values = values;
- }
- }
-
- if (cb !== undefined) {
- cb = wrapCallbackInDomain(null, cb);
-
- if (cb === undefined) {
- throw new TypeError('argument callback must be a function when provided');
- }
- }
-
- return new Query(options, cb);
-};
-
-Connection.prototype.connect = function connect(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- if (!this._connectCalled) {
- this._connectCalled = true;
-
- // Connect either via a UNIX domain socket or a TCP socket.
- this._socket = (this.config.socketPath)
- ? Net.createConnection(this.config.socketPath)
- : Net.createConnection(this.config.port, this.config.host);
-
- // Connect socket to connection domain
- if (Events.usingDomains) {
- this._socket.domain = this.domain;
- }
-
- var connection = this;
- this._protocol.on('data', function(data) {
- connection._socket.write(data);
- });
- this._socket.on('data', wrapToDomain(connection, function (data) {
- connection._protocol.write(data);
- }));
- this._protocol.on('end', function() {
- connection._socket.end();
- });
- this._socket.on('end', wrapToDomain(connection, function () {
- connection._protocol.end();
- }));
-
- this._socket.on('error', this._handleNetworkError.bind(this));
- this._socket.on('connect', this._handleProtocolConnect.bind(this));
- this._protocol.on('handshake', this._handleProtocolHandshake.bind(this));
- this._protocol.on('initialize', this._handleProtocolInitialize.bind(this));
- this._protocol.on('unhandledError', this._handleProtocolError.bind(this));
- this._protocol.on('drain', this._handleProtocolDrain.bind(this));
- this._protocol.on('end', this._handleProtocolEnd.bind(this));
- this._protocol.on('enqueue', this._handleProtocolEnqueue.bind(this));
-
- if (this.config.connectTimeout) {
- var handleConnectTimeout = this._handleConnectTimeout.bind(this);
-
- this._socket.setTimeout(this.config.connectTimeout, handleConnectTimeout);
- this._socket.once('connect', function() {
- this.setTimeout(0, handleConnectTimeout);
- });
- }
- }
-
- this._protocol.handshake(options, wrapCallbackInDomain(this, callback));
-};
-
-Connection.prototype.changeUser = function changeUser(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- this._implyConnect();
-
- var charsetNumber = (options.charset)
- ? ConnectionConfig.getCharsetNumber(options.charset)
- : this.config.charsetNumber;
-
- return this._protocol.changeUser({
- user : options.user || this.config.user,
- password : options.password || this.config.password,
- database : options.database || this.config.database,
- timeout : options.timeout,
- charsetNumber : charsetNumber,
- currentConfig : this.config
- }, wrapCallbackInDomain(this, callback));
-};
-
-Connection.prototype.beginTransaction = function beginTransaction(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- options = options || {};
- options.sql = 'START TRANSACTION';
- options.values = null;
-
- return this.query(options, callback);
-};
-
-Connection.prototype.commit = function commit(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- options = options || {};
- options.sql = 'COMMIT';
- options.values = null;
-
- return this.query(options, callback);
-};
-
-Connection.prototype.rollback = function rollback(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- options = options || {};
- options.sql = 'ROLLBACK';
- options.values = null;
-
- return this.query(options, callback);
-};
-
-Connection.prototype.query = function query(sql, values, cb) {
- var query = Connection.createQuery(sql, values, cb);
- query._connection = this;
-
- if (!(typeof sql === 'object' && 'typeCast' in sql)) {
- query.typeCast = this.config.typeCast;
- }
-
- if (query.sql) {
- query.sql = this.format(query.sql, query.values);
- }
-
- if (query._callback) {
- query._callback = wrapCallbackInDomain(this, query._callback);
- }
-
- this._implyConnect();
-
- return this._protocol._enqueue(query);
-};
-
-Connection.prototype.ping = function ping(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- this._implyConnect();
- this._protocol.ping(options, wrapCallbackInDomain(this, callback));
-};
-
-Connection.prototype.statistics = function statistics(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- this._implyConnect();
- this._protocol.stats(options, wrapCallbackInDomain(this, callback));
-};
-
-Connection.prototype.end = function end(options, callback) {
- var cb = callback;
- var opts = options;
-
- if (!callback && typeof options === 'function') {
- cb = options;
- opts = null;
- }
-
- // create custom options reference
- opts = Object.create(opts || null);
-
- if (opts.timeout === undefined) {
- // default timeout of 30 seconds
- opts.timeout = 30000;
- }
-
- this._implyConnect();
- this._protocol.quit(opts, wrapCallbackInDomain(this, cb));
-};
-
-Connection.prototype.destroy = function() {
- this.state = 'disconnected';
- this._implyConnect();
- this._socket.destroy();
- this._protocol.destroy();
-};
-
-Connection.prototype.pause = function() {
- this._socket.pause();
- this._protocol.pause();
-};
-
-Connection.prototype.resume = function() {
- this._socket.resume();
- this._protocol.resume();
-};
-
-Connection.prototype.escape = function(value) {
- return SqlString.escape(value, false, this.config.timezone);
-};
-
-Connection.prototype.escapeId = function escapeId(value) {
- return SqlString.escapeId(value, false);
-};
-
-Connection.prototype.format = function(sql, values) {
- if (typeof this.config.queryFormat === 'function') {
- return this.config.queryFormat.call(this, sql, values, this.config.timezone);
- }
- return SqlString.format(sql, values, this.config.stringifyObjects, this.config.timezone);
-};
-
-if (tls.TLSSocket) {
- // 0.11+ environment
- Connection.prototype._startTLS = function _startTLS(onSecure) {
- var connection = this;
-
- createSecureContext(this.config, function (err, secureContext) {
- if (err) {
- onSecure(err);
- return;
- }
-
- // "unpipe"
- connection._socket.removeAllListeners('data');
- connection._protocol.removeAllListeners('data');
-
- // socket <-> encrypted
- var rejectUnauthorized = connection.config.ssl.rejectUnauthorized;
- var secureEstablished = false;
- var secureSocket = new tls.TLSSocket(connection._socket, {
- rejectUnauthorized : rejectUnauthorized,
- requestCert : true,
- secureContext : secureContext,
- isServer : false
- });
-
- // error handler for secure socket
- secureSocket.on('_tlsError', function(err) {
- if (secureEstablished) {
- connection._handleNetworkError(err);
- } else {
- onSecure(err);
- }
- });
-
- // cleartext <-> protocol
- secureSocket.pipe(connection._protocol);
- connection._protocol.on('data', function(data) {
- secureSocket.write(data);
- });
-
- secureSocket.on('secure', function() {
- secureEstablished = true;
-
- onSecure(rejectUnauthorized ? this.ssl.verifyError() : null);
- });
-
- // start TLS communications
- secureSocket._start();
- });
- };
-} else {
- // pre-0.11 environment
- Connection.prototype._startTLS = function _startTLS(onSecure) {
- // before TLS:
- // _socket <-> _protocol
- // after:
- // _socket <-> securePair.encrypted <-> securePair.cleartext <-> _protocol
-
- var connection = this;
- var credentials = Crypto.createCredentials({
- ca : this.config.ssl.ca,
- cert : this.config.ssl.cert,
- ciphers : this.config.ssl.ciphers,
- key : this.config.ssl.key,
- passphrase : this.config.ssl.passphrase
- });
-
- var rejectUnauthorized = this.config.ssl.rejectUnauthorized;
- var secureEstablished = false;
- var securePair = tls.createSecurePair(credentials, false, true, rejectUnauthorized);
-
- // error handler for secure pair
- securePair.on('error', function(err) {
- if (secureEstablished) {
- connection._handleNetworkError(err);
- } else {
- onSecure(err);
- }
- });
-
- // "unpipe"
- this._socket.removeAllListeners('data');
- this._protocol.removeAllListeners('data');
-
- // socket <-> encrypted
- securePair.encrypted.pipe(this._socket);
- this._socket.on('data', function(data) {
- securePair.encrypted.write(data);
- });
-
- // cleartext <-> protocol
- securePair.cleartext.pipe(this._protocol);
- this._protocol.on('data', function(data) {
- securePair.cleartext.write(data);
- });
-
- // secure established
- securePair.on('secure', function() {
- secureEstablished = true;
-
- if (!rejectUnauthorized) {
- onSecure();
- return;
- }
-
- var verifyError = this.ssl.verifyError();
- var err = verifyError;
-
- // node.js 0.6 support
- if (typeof err === 'string') {
- err = new Error(verifyError);
- err.code = verifyError;
- }
-
- onSecure(err);
- });
-
- // node.js 0.8 bug
- securePair._cycle = securePair.cycle;
- securePair.cycle = function cycle() {
- if (this.ssl && this.ssl.error) {
- this.error();
- }
-
- return this._cycle.apply(this, arguments);
- };
- };
-}
-
-Connection.prototype._handleConnectTimeout = function() {
- if (this._socket) {
- this._socket.setTimeout(0);
- this._socket.destroy();
- }
-
- var err = new Error('connect ETIMEDOUT');
- err.errorno = 'ETIMEDOUT';
- err.code = 'ETIMEDOUT';
- err.syscall = 'connect';
-
- this._handleNetworkError(err);
-};
-
-Connection.prototype._handleNetworkError = function(err) {
- this._protocol.handleNetworkError(err);
-};
-
-Connection.prototype._handleProtocolError = function(err) {
- this.state = 'protocol_error';
- this.emit('error', err);
-};
-
-Connection.prototype._handleProtocolDrain = function() {
- this.emit('drain');
-};
-
-Connection.prototype._handleProtocolConnect = function() {
- this.state = 'connected';
- this.emit('connect');
-};
-
-Connection.prototype._handleProtocolHandshake = function _handleProtocolHandshake() {
- this.state = 'authenticated';
-};
-
-Connection.prototype._handleProtocolInitialize = function _handleProtocolInitialize(packet) {
- this.threadId = packet.threadId;
-};
-
-Connection.prototype._handleProtocolEnd = function(err) {
- this.state = 'disconnected';
- this.emit('end', err);
-};
-
-Connection.prototype._handleProtocolEnqueue = function _handleProtocolEnqueue(sequence) {
- this.emit('enqueue', sequence);
-};
-
-Connection.prototype._implyConnect = function() {
- if (!this._connectCalled) {
- this.connect();
- }
-};
-
-function createSecureContext (config, cb) {
- var context = null;
- var error = null;
-
- try {
- context = tls.createSecureContext({
- ca : config.ssl.ca,
- cert : config.ssl.cert,
- ciphers : config.ssl.ciphers,
- key : config.ssl.key,
- passphrase : config.ssl.passphrase
- });
- } catch (err) {
- error = err;
- }
-
- cb(error, context);
-}
-
-function unwrapFromDomain(fn) {
- return function () {
- var domains = [];
- var ret;
-
- while (process.domain) {
- domains.shift(process.domain);
- process.domain.exit();
- }
-
- try {
- ret = fn.apply(this, arguments);
- } finally {
- for (var i = 0; i < domains.length; i++) {
- domains[i].enter();
- }
- }
-
- return ret;
- };
-}
-
-function wrapCallbackInDomain(ee, fn) {
- if (typeof fn !== 'function') {
- return undefined;
- }
-
- if (fn.domain) {
- return fn;
- }
-
- var domain = process.domain;
-
- if (domain) {
- return domain.bind(fn);
- } else if (ee) {
- return unwrapFromDomain(wrapToDomain(ee, fn));
- } else {
- return fn;
- }
-}
-
-function wrapToDomain(ee, fn) {
- return function () {
- if (Events.usingDomains && ee.domain) {
- ee.domain.enter();
- fn.apply(this, arguments);
- ee.domain.exit();
- } else {
- fn.apply(this, arguments);
- }
- };
-}
diff --git a/Server/node_modules/mysql/lib/ConnectionConfig.js b/Server/node_modules/mysql/lib/ConnectionConfig.js
deleted file mode 100644
index 06f4399..0000000
--- a/Server/node_modules/mysql/lib/ConnectionConfig.js
+++ /dev/null
@@ -1,209 +0,0 @@
-var urlParse = require('url').parse;
-var ClientConstants = require('./protocol/constants/client');
-var Charsets = require('./protocol/constants/charsets');
-var SSLProfiles = null;
-
-module.exports = ConnectionConfig;
-function ConnectionConfig(options) {
- if (typeof options === 'string') {
- options = ConnectionConfig.parseUrl(options);
- }
-
- this.host = options.host || 'localhost';
- this.port = options.port || 3306;
- this.localAddress = options.localAddress;
- this.socketPath = options.socketPath;
- this.user = options.user || undefined;
- this.password = options.password || undefined;
- this.database = options.database;
- this.connectTimeout = (options.connectTimeout === undefined)
- ? (10 * 1000)
- : options.connectTimeout;
- this.insecureAuth = options.insecureAuth || false;
- this.supportBigNumbers = options.supportBigNumbers || false;
- this.bigNumberStrings = options.bigNumberStrings || false;
- this.dateStrings = options.dateStrings || false;
- this.debug = options.debug;
- this.trace = options.trace !== false;
- this.stringifyObjects = options.stringifyObjects || false;
- this.timezone = options.timezone || 'local';
- this.flags = options.flags || '';
- this.queryFormat = options.queryFormat;
- this.pool = options.pool || undefined;
- this.ssl = (typeof options.ssl === 'string')
- ? ConnectionConfig.getSSLProfile(options.ssl)
- : (options.ssl || false);
- this.localInfile = (options.localInfile === undefined)
- ? true
- : options.localInfile;
- this.multipleStatements = options.multipleStatements || false;
- this.typeCast = (options.typeCast === undefined)
- ? true
- : options.typeCast;
-
- if (this.timezone[0] === ' ') {
- // "+" is a url encoded char for space so it
- // gets translated to space when giving a
- // connection string..
- this.timezone = '+' + this.timezone.substr(1);
- }
-
- if (this.ssl) {
- // Default rejectUnauthorized to true
- this.ssl.rejectUnauthorized = this.ssl.rejectUnauthorized !== false;
- }
-
- this.maxPacketSize = 0;
- this.charsetNumber = (options.charset)
- ? ConnectionConfig.getCharsetNumber(options.charset)
- : options.charsetNumber || Charsets.UTF8_GENERAL_CI;
-
- // Set the client flags
- var defaultFlags = ConnectionConfig.getDefaultFlags(options);
- this.clientFlags = ConnectionConfig.mergeFlags(defaultFlags, options.flags);
-}
-
-ConnectionConfig.mergeFlags = function mergeFlags(defaultFlags, userFlags) {
- var allFlags = ConnectionConfig.parseFlagList(defaultFlags);
- var newFlags = ConnectionConfig.parseFlagList(userFlags);
-
- // Merge the new flags
- for (var flag in newFlags) {
- if (allFlags[flag] !== false) {
- allFlags[flag] = newFlags[flag];
- }
- }
-
- // Build flags
- var flags = 0x0;
- for (var flag in allFlags) {
- if (allFlags[flag]) {
- // TODO: Throw here on some future release
- flags |= ClientConstants['CLIENT_' + flag] || 0x0;
- }
- }
-
- return flags;
-};
-
-ConnectionConfig.getCharsetNumber = function getCharsetNumber(charset) {
- var num = Charsets[charset.toUpperCase()];
-
- if (num === undefined) {
- throw new TypeError('Unknown charset \'' + charset + '\'');
- }
-
- return num;
-};
-
-ConnectionConfig.getDefaultFlags = function getDefaultFlags(options) {
- var defaultFlags = [
- '-COMPRESS', // Compression protocol *NOT* supported
- '-CONNECT_ATTRS', // Does *NOT* send connection attributes in Protocol::HandshakeResponse41
- '+CONNECT_WITH_DB', // One can specify db on connect in Handshake Response Packet
- '+FOUND_ROWS', // Send found rows instead of affected rows
- '+IGNORE_SIGPIPE', // Don't issue SIGPIPE if network failures
- '+IGNORE_SPACE', // Let the parser ignore spaces before '('
- '+LOCAL_FILES', // Can use LOAD DATA LOCAL
- '+LONG_FLAG', // Longer flags in Protocol::ColumnDefinition320
- '+LONG_PASSWORD', // Use the improved version of Old Password Authentication
- '+MULTI_RESULTS', // Can handle multiple resultsets for COM_QUERY
- '+ODBC', // Special handling of ODBC behaviour
- '-PLUGIN_AUTH', // Does *NOT* support auth plugins
- '+PROTOCOL_41', // Uses the 4.1 protocol
- '+PS_MULTI_RESULTS', // Can handle multiple resultsets for COM_STMT_EXECUTE
- '+RESERVED', // Unused
- '+SECURE_CONNECTION', // Supports Authentication::Native41
- '+TRANSACTIONS' // Expects status flags
- ];
-
- if (options && options.localInfile !== undefined && !options.localInfile) {
- // Disable LOCAL modifier for LOAD DATA INFILE
- defaultFlags.push('-LOCAL_FILES');
- }
-
- if (options && options.multipleStatements) {
- // May send multiple statements per COM_QUERY and COM_STMT_PREPARE
- defaultFlags.push('+MULTI_STATEMENTS');
- }
-
- return defaultFlags;
-};
-
-ConnectionConfig.getSSLProfile = function getSSLProfile(name) {
- if (!SSLProfiles) {
- SSLProfiles = require('./protocol/constants/ssl_profiles');
- }
-
- var ssl = SSLProfiles[name];
-
- if (ssl === undefined) {
- throw new TypeError('Unknown SSL profile \'' + name + '\'');
- }
-
- return ssl;
-};
-
-ConnectionConfig.parseFlagList = function parseFlagList(flagList) {
- var allFlags = Object.create(null);
-
- if (!flagList) {
- return allFlags;
- }
-
- var flags = !Array.isArray(flagList)
- ? String(flagList || '').toUpperCase().split(/\s*,+\s*/)
- : flagList;
-
- for (var i = 0; i < flags.length; i++) {
- var flag = flags[i];
- var offset = 1;
- var state = flag[0];
-
- if (state === undefined) {
- // TODO: throw here on some future release
- continue;
- }
-
- if (state !== '-' && state !== '+') {
- offset = 0;
- state = '+';
- }
-
- allFlags[flag.substr(offset)] = state === '+';
- }
-
- return allFlags;
-};
-
-ConnectionConfig.parseUrl = function(url) {
- url = urlParse(url, true);
-
- var options = {
- host : url.hostname,
- port : url.port,
- database : url.pathname.substr(1)
- };
-
- if (url.auth) {
- var auth = url.auth.split(':');
- options.user = auth.shift();
- options.password = auth.join(':');
- }
-
- if (url.query) {
- for (var key in url.query) {
- var value = url.query[key];
-
- try {
- // Try to parse this as a JSON expression first
- options[key] = JSON.parse(value);
- } catch (err) {
- // Otherwise assume it is a plain string
- options[key] = value;
- }
- }
- }
-
- return options;
-};
diff --git a/Server/node_modules/mysql/lib/Pool.js b/Server/node_modules/mysql/lib/Pool.js
deleted file mode 100644
index 87a4011..0000000
--- a/Server/node_modules/mysql/lib/Pool.js
+++ /dev/null
@@ -1,294 +0,0 @@
-var mysql = require('../');
-var Connection = require('./Connection');
-var EventEmitter = require('events').EventEmitter;
-var Util = require('util');
-var PoolConnection = require('./PoolConnection');
-
-module.exports = Pool;
-
-Util.inherits(Pool, EventEmitter);
-function Pool(options) {
- EventEmitter.call(this);
- this.config = options.config;
- this.config.connectionConfig.pool = this;
-
- this._acquiringConnections = [];
- this._allConnections = [];
- this._freeConnections = [];
- this._connectionQueue = [];
- this._closed = false;
-}
-
-Pool.prototype.getConnection = function (cb) {
-
- if (this._closed) {
- var err = new Error('Pool is closed.');
- err.code = 'POOL_CLOSED';
- process.nextTick(function () {
- cb(err);
- });
- return;
- }
-
- var connection;
- var pool = this;
-
- if (this._freeConnections.length > 0) {
- connection = this._freeConnections.shift();
- this.acquireConnection(connection, cb);
- return;
- }
-
- if (this.config.connectionLimit === 0 || this._allConnections.length < this.config.connectionLimit) {
- connection = new PoolConnection(this, { config: this.config.newConnectionConfig() });
-
- this._acquiringConnections.push(connection);
- this._allConnections.push(connection);
-
- connection.connect({timeout: this.config.acquireTimeout}, function onConnect(err) {
- spliceConnection(pool._acquiringConnections, connection);
-
- if (pool._closed) {
- err = new Error('Pool is closed.');
- err.code = 'POOL_CLOSED';
- }
-
- if (err) {
- pool._purgeConnection(connection);
- cb(err);
- return;
- }
-
- pool.emit('connection', connection);
- pool.emit('acquire', connection);
- cb(null, connection);
- });
- return;
- }
-
- if (!this.config.waitForConnections) {
- process.nextTick(function(){
- var err = new Error('No connections available.');
- err.code = 'POOL_CONNLIMIT';
- cb(err);
- });
- return;
- }
-
- this._enqueueCallback(cb);
-};
-
-Pool.prototype.acquireConnection = function acquireConnection(connection, cb) {
- if (connection._pool !== this) {
- throw new Error('Connection acquired from wrong pool.');
- }
-
- var changeUser = this._needsChangeUser(connection);
- var pool = this;
-
- this._acquiringConnections.push(connection);
-
- function onOperationComplete(err) {
- spliceConnection(pool._acquiringConnections, connection);
-
- if (pool._closed) {
- err = new Error('Pool is closed.');
- err.code = 'POOL_CLOSED';
- }
-
- if (err) {
- pool._connectionQueue.unshift(cb);
- pool._purgeConnection(connection);
- return;
- }
-
- if (changeUser) {
- pool.emit('connection', connection);
- }
-
- pool.emit('acquire', connection);
- cb(null, connection);
- }
-
- if (changeUser) {
- // restore user back to pool configuration
- connection.config = this.config.newConnectionConfig();
- connection.changeUser({timeout: this.config.acquireTimeout}, onOperationComplete);
- } else {
- // ping connection
- connection.ping({timeout: this.config.acquireTimeout}, onOperationComplete);
- }
-};
-
-Pool.prototype.releaseConnection = function releaseConnection(connection) {
-
- if (this._acquiringConnections.indexOf(connection) !== -1) {
- // connection is being acquired
- return;
- }
-
- if (connection._pool) {
- if (connection._pool !== this) {
- throw new Error('Connection released to wrong pool');
- }
-
- if (this._freeConnections.indexOf(connection) !== -1) {
- // connection already in free connection pool
- // this won't catch all double-release cases
- throw new Error('Connection already released');
- } else {
- // add connection to end of free queue
- this._freeConnections.push(connection);
- this.emit('release', connection);
- }
- }
-
- if (this._closed) {
- // empty the connection queue
- this._connectionQueue.splice(0).forEach(function (cb) {
- var err = new Error('Pool is closed.');
- err.code = 'POOL_CLOSED';
- process.nextTick(function () {
- cb(err);
- });
- });
- } else if (this._connectionQueue.length) {
- // get connection with next waiting callback
- this.getConnection(this._connectionQueue.shift());
- }
-};
-
-Pool.prototype.end = function (cb) {
- this._closed = true;
-
- if (typeof cb !== 'function') {
- cb = function (err) {
- if (err) throw err;
- };
- }
-
- var calledBack = false;
- var waitingClose = 0;
-
- function onEnd(err) {
- if (!calledBack && (err || --waitingClose <= 0)) {
- calledBack = true;
- cb(err);
- }
- }
-
- while (this._allConnections.length !== 0) {
- waitingClose++;
- this._purgeConnection(this._allConnections[0], onEnd);
- }
-
- if (waitingClose === 0) {
- process.nextTick(onEnd);
- }
-};
-
-Pool.prototype.query = function (sql, values, cb) {
- var query = Connection.createQuery(sql, values, cb);
-
- if (!(typeof sql === 'object' && 'typeCast' in sql)) {
- query.typeCast = this.config.connectionConfig.typeCast;
- }
-
- if (this.config.connectionConfig.trace) {
- // Long stack trace support
- query._callSite = new Error();
- }
-
- this.getConnection(function (err, conn) {
- if (err) {
- query.on('error', function () {});
- query.end(err);
- return;
- }
-
- // Release connection based off event
- query.once('end', function() {
- conn.release();
- });
-
- conn.query(query);
- });
-
- return query;
-};
-
-Pool.prototype._enqueueCallback = function _enqueueCallback(callback) {
-
- if (this.config.queueLimit && this._connectionQueue.length >= this.config.queueLimit) {
- process.nextTick(function () {
- var err = new Error('Queue limit reached.');
- err.code = 'POOL_ENQUEUELIMIT';
- callback(err);
- });
- return;
- }
-
- // Bind to domain, as dequeue will likely occur in a different domain
- var cb = process.domain
- ? process.domain.bind(callback)
- : callback;
-
- this._connectionQueue.push(cb);
- this.emit('enqueue');
-};
-
-Pool.prototype._needsChangeUser = function _needsChangeUser(connection) {
- var connConfig = connection.config;
- var poolConfig = this.config.connectionConfig;
-
- // check if changeUser values are different
- return connConfig.user !== poolConfig.user
- || connConfig.database !== poolConfig.database
- || connConfig.password !== poolConfig.password
- || connConfig.charsetNumber !== poolConfig.charsetNumber;
-};
-
-Pool.prototype._purgeConnection = function _purgeConnection(connection, callback) {
- var cb = callback || function () {};
-
- if (connection.state === 'disconnected') {
- connection.destroy();
- }
-
- this._removeConnection(connection);
-
- if (connection.state !== 'disconnected' && !connection._protocol._quitSequence) {
- connection._realEnd(cb);
- return;
- }
-
- process.nextTick(cb);
-};
-
-Pool.prototype._removeConnection = function(connection) {
- connection._pool = null;
-
- // Remove connection from all connections
- spliceConnection(this._allConnections, connection);
-
- // Remove connection from free connections
- spliceConnection(this._freeConnections, connection);
-
- this.releaseConnection(connection);
-};
-
-Pool.prototype.escape = function(value) {
- return mysql.escape(value, this.config.connectionConfig.stringifyObjects, this.config.connectionConfig.timezone);
-};
-
-Pool.prototype.escapeId = function escapeId(value) {
- return mysql.escapeId(value, false);
-};
-
-function spliceConnection(array, connection) {
- var index;
- if ((index = array.indexOf(connection)) !== -1) {
- // Remove connection from all connections
- array.splice(index, 1);
- }
-}
diff --git a/Server/node_modules/mysql/lib/PoolCluster.js b/Server/node_modules/mysql/lib/PoolCluster.js
deleted file mode 100644
index d0aed2c..0000000
--- a/Server/node_modules/mysql/lib/PoolCluster.js
+++ /dev/null
@@ -1,288 +0,0 @@
-var Pool = require('./Pool');
-var PoolConfig = require('./PoolConfig');
-var PoolNamespace = require('./PoolNamespace');
-var PoolSelector = require('./PoolSelector');
-var Util = require('util');
-var EventEmitter = require('events').EventEmitter;
-
-module.exports = PoolCluster;
-
-/**
- * PoolCluster
- * @constructor
- * @param {object} [config] The pool cluster configuration
- * @public
- */
-function PoolCluster(config) {
- EventEmitter.call(this);
-
- config = config || {};
- this._canRetry = typeof config.canRetry === 'undefined' ? true : config.canRetry;
- this._defaultSelector = config.defaultSelector || 'RR';
- this._removeNodeErrorCount = config.removeNodeErrorCount || 5;
- this._restoreNodeTimeout = config.restoreNodeTimeout || 0;
-
- this._closed = false;
- this._findCaches = Object.create(null);
- this._lastId = 0;
- this._namespaces = Object.create(null);
- this._nodes = Object.create(null);
-}
-
-Util.inherits(PoolCluster, EventEmitter);
-
-PoolCluster.prototype.add = function add(id, config) {
- if (this._closed) {
- throw new Error('PoolCluster is closed.');
- }
-
- var nodeId = typeof id === 'object'
- ? 'CLUSTER::' + (++this._lastId)
- : String(id);
-
- if (this._nodes[nodeId] !== undefined) {
- throw new Error('Node ID "' + nodeId + '" is already defined in PoolCluster.');
- }
-
- var poolConfig = typeof id !== 'object'
- ? new PoolConfig(config)
- : new PoolConfig(id);
-
- this._nodes[nodeId] = {
- id : nodeId,
- errorCount : 0,
- pool : new Pool({config: poolConfig}),
- _offlineUntil : 0
- };
-
- this._clearFindCaches();
-};
-
-PoolCluster.prototype.end = function end(callback) {
- var cb = callback !== undefined
- ? callback
- : _cb;
-
- if (typeof cb !== 'function') {
- throw TypeError('callback argument must be a function');
- }
-
- if (this._closed) {
- process.nextTick(cb);
- return;
- }
-
- this._closed = true;
-
- var calledBack = false;
- var nodeIds = Object.keys(this._nodes);
- var waitingClose = 0;
-
- function onEnd(err) {
- if (!calledBack && (err || --waitingClose <= 0)) {
- calledBack = true;
- cb(err);
- }
- }
-
- for (var i = 0; i < nodeIds.length; i++) {
- var nodeId = nodeIds[i];
- var node = this._nodes[nodeId];
-
- waitingClose++;
- node.pool.end(onEnd);
- }
-
- if (waitingClose === 0) {
- process.nextTick(onEnd);
- }
-};
-
-PoolCluster.prototype.of = function(pattern, selector) {
- pattern = pattern || '*';
-
- selector = selector || this._defaultSelector;
- selector = selector.toUpperCase();
- if (typeof PoolSelector[selector] === 'undefined') {
- selector = this._defaultSelector;
- }
-
- var key = pattern + selector;
-
- if (typeof this._namespaces[key] === 'undefined') {
- this._namespaces[key] = new PoolNamespace(this, pattern, selector);
- }
-
- return this._namespaces[key];
-};
-
-PoolCluster.prototype.remove = function remove(pattern) {
- var foundNodeIds = this._findNodeIds(pattern, true);
-
- for (var i = 0; i < foundNodeIds.length; i++) {
- var node = this._getNode(foundNodeIds[i]);
-
- if (node) {
- this._removeNode(node);
- }
- }
-};
-
-PoolCluster.prototype.getConnection = function(pattern, selector, cb) {
- var namespace;
- if (typeof pattern === 'function') {
- cb = pattern;
- namespace = this.of();
- } else {
- if (typeof selector === 'function') {
- cb = selector;
- selector = this._defaultSelector;
- }
-
- namespace = this.of(pattern, selector);
- }
-
- namespace.getConnection(cb);
-};
-
-PoolCluster.prototype._clearFindCaches = function _clearFindCaches() {
- this._findCaches = Object.create(null);
-};
-
-PoolCluster.prototype._decreaseErrorCount = function _decreaseErrorCount(node) {
- var errorCount = node.errorCount;
-
- if (errorCount > this._removeNodeErrorCount) {
- errorCount = this._removeNodeErrorCount;
- }
-
- if (errorCount < 1) {
- errorCount = 1;
- }
-
- node.errorCount = errorCount - 1;
-
- if (node._offlineUntil) {
- node._offlineUntil = 0;
- this.emit('online', node.id);
- }
-};
-
-PoolCluster.prototype._findNodeIds = function _findNodeIds(pattern, includeOffline) {
- var currentTime = 0;
- var foundNodeIds = this._findCaches[pattern];
-
- if (foundNodeIds === undefined) {
- var expression = patternRegExp(pattern);
- var nodeIds = Object.keys(this._nodes);
-
- foundNodeIds = nodeIds.filter(function (id) {
- return id.match(expression);
- });
-
- this._findCaches[pattern] = foundNodeIds;
- }
-
- if (includeOffline) {
- return foundNodeIds;
- }
-
- return foundNodeIds.filter(function (nodeId) {
- var node = this._getNode(nodeId);
-
- if (!node._offlineUntil) {
- return true;
- }
-
- if (!currentTime) {
- currentTime = getMonotonicMilliseconds();
- }
-
- return node._offlineUntil <= currentTime;
- }, this);
-};
-
-PoolCluster.prototype._getNode = function _getNode(id) {
- return this._nodes[id] || null;
-};
-
-PoolCluster.prototype._increaseErrorCount = function _increaseErrorCount(node) {
- var errorCount = ++node.errorCount;
-
- if (this._removeNodeErrorCount > errorCount) {
- return;
- }
-
- if (this._restoreNodeTimeout > 0) {
- node._offlineUntil = getMonotonicMilliseconds() + this._restoreNodeTimeout;
- this.emit('offline', node.id);
- return;
- }
-
- this._removeNode(node);
- this.emit('remove', node.id);
-};
-
-PoolCluster.prototype._getConnection = function(node, cb) {
- var self = this;
-
- node.pool.getConnection(function (err, connection) {
- if (err) {
- self._increaseErrorCount(node);
- cb(err);
- return;
- } else {
- self._decreaseErrorCount(node);
- }
-
- connection._clusterId = node.id;
-
- cb(null, connection);
- });
-};
-
-PoolCluster.prototype._removeNode = function _removeNode(node) {
- delete this._nodes[node.id];
-
- this._clearFindCaches();
-
- node.pool.end(_noop);
-};
-
-function getMonotonicMilliseconds() {
- var ms;
-
- if (typeof process.hrtime === 'function') {
- ms = process.hrtime();
- ms = ms[0] * 1e3 + ms[1] * 1e-6;
- } else {
- ms = process.uptime() * 1000;
- }
-
- return Math.floor(ms);
-}
-
-function isRegExp(val) {
- return typeof val === 'object'
- && Object.prototype.toString.call(val) === '[object RegExp]';
-}
-
-function patternRegExp(pattern) {
- if (isRegExp(pattern)) {
- return pattern;
- }
-
- var source = pattern
- .replace(/([.+?^=!:${}()|\[\]\/\\])/g, '\\$1')
- .replace(/\*/g, '.*');
-
- return new RegExp('^' + source + '$');
-}
-
-function _cb(err) {
- if (err) {
- throw err;
- }
-}
-
-function _noop() {}
diff --git a/Server/node_modules/mysql/lib/PoolConfig.js b/Server/node_modules/mysql/lib/PoolConfig.js
deleted file mode 100644
index 8c5017a..0000000
--- a/Server/node_modules/mysql/lib/PoolConfig.js
+++ /dev/null
@@ -1,32 +0,0 @@
-
-var ConnectionConfig = require('./ConnectionConfig');
-
-module.exports = PoolConfig;
-function PoolConfig(options) {
- if (typeof options === 'string') {
- options = ConnectionConfig.parseUrl(options);
- }
-
- this.acquireTimeout = (options.acquireTimeout === undefined)
- ? 10 * 1000
- : Number(options.acquireTimeout);
- this.connectionConfig = new ConnectionConfig(options);
- this.waitForConnections = (options.waitForConnections === undefined)
- ? true
- : Boolean(options.waitForConnections);
- this.connectionLimit = (options.connectionLimit === undefined)
- ? 10
- : Number(options.connectionLimit);
- this.queueLimit = (options.queueLimit === undefined)
- ? 0
- : Number(options.queueLimit);
-}
-
-PoolConfig.prototype.newConnectionConfig = function newConnectionConfig() {
- var connectionConfig = new ConnectionConfig(this.connectionConfig);
-
- connectionConfig.clientFlags = this.connectionConfig.clientFlags;
- connectionConfig.maxPacketSize = this.connectionConfig.maxPacketSize;
-
- return connectionConfig;
-};
diff --git a/Server/node_modules/mysql/lib/PoolConnection.js b/Server/node_modules/mysql/lib/PoolConnection.js
deleted file mode 100644
index 064c99d..0000000
--- a/Server/node_modules/mysql/lib/PoolConnection.js
+++ /dev/null
@@ -1,65 +0,0 @@
-var inherits = require('util').inherits;
-var Connection = require('./Connection');
-var Events = require('events');
-
-module.exports = PoolConnection;
-inherits(PoolConnection, Connection);
-
-function PoolConnection(pool, options) {
- Connection.call(this, options);
- this._pool = pool;
-
- // Bind connection to pool domain
- if (Events.usingDomains) {
- this.domain = pool.domain;
- }
-
- // When a fatal error occurs the connection's protocol ends, which will cause
- // the connection to end as well, thus we only need to watch for the end event
- // and we will be notified of disconnects.
- this.on('end', this._removeFromPool);
- this.on('error', function (err) {
- if (err.fatal) {
- this._removeFromPool();
- }
- });
-}
-
-PoolConnection.prototype.release = function release() {
- var pool = this._pool;
-
- if (!pool || pool._closed) {
- return undefined;
- }
-
- return pool.releaseConnection(this);
-};
-
-// TODO: Remove this when we are removing PoolConnection#end
-PoolConnection.prototype._realEnd = Connection.prototype.end;
-
-PoolConnection.prototype.end = function () {
- console.warn(
- 'Calling conn.end() to release a pooled connection is ' +
- 'deprecated. In next version calling conn.end() will be ' +
- 'restored to default conn.end() behavior. Use ' +
- 'conn.release() instead.'
- );
- this.release();
-};
-
-PoolConnection.prototype.destroy = function () {
- Connection.prototype.destroy.apply(this, arguments);
- this._removeFromPool(this);
-};
-
-PoolConnection.prototype._removeFromPool = function _removeFromPool() {
- if (!this._pool || this._pool._closed) {
- return;
- }
-
- var pool = this._pool;
- this._pool = null;
-
- pool._purgeConnection(this);
-};
diff --git a/Server/node_modules/mysql/lib/PoolNamespace.js b/Server/node_modules/mysql/lib/PoolNamespace.js
deleted file mode 100644
index d3ea786..0000000
--- a/Server/node_modules/mysql/lib/PoolNamespace.js
+++ /dev/null
@@ -1,136 +0,0 @@
-var Connection = require('./Connection');
-var PoolSelector = require('./PoolSelector');
-
-module.exports = PoolNamespace;
-
-/**
- * PoolNamespace
- * @constructor
- * @param {PoolCluster} cluster The parent cluster for the namespace
- * @param {string} pattern The selection pattern to use
- * @param {string} selector The selector name to use
- * @public
- */
-function PoolNamespace(cluster, pattern, selector) {
- this._cluster = cluster;
- this._pattern = pattern;
- this._selector = new PoolSelector[selector]();
-}
-
-PoolNamespace.prototype.getConnection = function(cb) {
- var clusterNode = this._getClusterNode();
- var cluster = this._cluster;
- var namespace = this;
-
- if (clusterNode === null) {
- var err = null;
-
- if (this._cluster._findNodeIds(this._pattern, true).length !== 0) {
- err = new Error('Pool does not have online node.');
- err.code = 'POOL_NONEONLINE';
- } else {
- err = new Error('Pool does not exist.');
- err.code = 'POOL_NOEXIST';
- }
-
- cb(err);
- return;
- }
-
- cluster._getConnection(clusterNode, function(err, connection) {
- var retry = err && cluster._canRetry
- && cluster._findNodeIds(namespace._pattern).length !== 0;
-
- if (retry) {
- namespace.getConnection(cb);
- return;
- }
-
- if (err) {
- cb(err);
- return;
- }
-
- cb(null, connection);
- });
-};
-
-PoolNamespace.prototype.query = function (sql, values, cb) {
- var cluster = this._cluster;
- var clusterNode = this._getClusterNode();
- var query = Connection.createQuery(sql, values, cb);
- var namespace = this;
-
- if (clusterNode === null) {
- var err = null;
-
- if (this._cluster._findNodeIds(this._pattern, true).length !== 0) {
- err = new Error('Pool does not have online node.');
- err.code = 'POOL_NONEONLINE';
- } else {
- err = new Error('Pool does not exist.');
- err.code = 'POOL_NOEXIST';
- }
-
- process.nextTick(function () {
- query.on('error', function () {});
- query.end(err);
- });
- return query;
- }
-
- if (!(typeof sql === 'object' && 'typeCast' in sql)) {
- query.typeCast = clusterNode.pool.config.connectionConfig.typeCast;
- }
-
- if (clusterNode.pool.config.connectionConfig.trace) {
- // Long stack trace support
- query._callSite = new Error();
- }
-
- cluster._getConnection(clusterNode, function (err, conn) {
- var retry = err && cluster._canRetry
- && cluster._findNodeIds(namespace._pattern).length !== 0;
-
- if (retry) {
- namespace.query(query);
- return;
- }
-
- if (err) {
- query.on('error', function () {});
- query.end(err);
- return;
- }
-
- // Release connection based off event
- query.once('end', function() {
- conn.release();
- });
-
- conn.query(query);
- });
-
- return query;
-};
-
-PoolNamespace.prototype._getClusterNode = function _getClusterNode() {
- var foundNodeIds = this._cluster._findNodeIds(this._pattern);
- var nodeId;
-
- switch (foundNodeIds.length) {
- case 0:
- nodeId = null;
- break;
- case 1:
- nodeId = foundNodeIds[0];
- break;
- default:
- nodeId = this._selector(foundNodeIds);
- break;
- }
-
- return nodeId !== null
- ? this._cluster._getNode(nodeId)
- : null;
-};
diff --git a/Server/node_modules/mysql/lib/PoolSelector.js b/Server/node_modules/mysql/lib/PoolSelector.js
deleted file mode 100644
index 9a3c455..0000000
--- a/Server/node_modules/mysql/lib/PoolSelector.js
+++ /dev/null
@@ -1,31 +0,0 @@
-
-/**
- * PoolSelector
- */
-var PoolSelector = module.exports = {};
-
-PoolSelector.RR = function PoolSelectorRoundRobin() {
- var index = 0;
-
- return function(clusterIds) {
- if (index >= clusterIds.length) {
- index = 0;
- }
-
- var clusterId = clusterIds[index++];
-
- return clusterId;
- };
-};
-
-PoolSelector.RANDOM = function PoolSelectorRandom() {
- return function(clusterIds) {
- return clusterIds[Math.floor(Math.random() * clusterIds.length)];
- };
-};
-
-PoolSelector.ORDER = function PoolSelectorOrder() {
- return function(clusterIds) {
- return clusterIds[0];
- };
-};
diff --git a/Server/node_modules/mysql/lib/protocol/Auth.js b/Server/node_modules/mysql/lib/protocol/Auth.js
deleted file mode 100644
index a1033d1..0000000
--- a/Server/node_modules/mysql/lib/protocol/Auth.js
+++ /dev/null
@@ -1,168 +0,0 @@
-var Buffer = require('safe-buffer').Buffer;
-var Crypto = require('crypto');
-var Auth = exports;
-
-function auth(name, data, options) {
- options = options || {};
-
- switch (name) {
- case 'mysql_native_password':
- return Auth.token(options.password, data.slice(0, 20));
- default:
- return undefined;
- }
-}
-Auth.auth = auth;
-
-function sha1(msg) {
- var hash = Crypto.createHash('sha1');
- hash.update(msg, 'binary');
- return hash.digest('binary');
-}
-Auth.sha1 = sha1;
-
-function xor(a, b) {
- a = Buffer.from(a, 'binary');
- b = Buffer.from(b, 'binary');
- var result = Buffer.allocUnsafe(a.length);
- for (var i = 0; i < a.length; i++) {
- result[i] = (a[i] ^ b[i]);
- }
- return result;
-}
-Auth.xor = xor;
-
-Auth.token = function(password, scramble) {
- if (!password) {
- return Buffer.alloc(0);
- }
-
- // password must be in binary format, not utf8
- var stage1 = sha1((Buffer.from(password, 'utf8')).toString('binary'));
- var stage2 = sha1(stage1);
- var stage3 = sha1(scramble.toString('binary') + stage2);
- return xor(stage3, stage1);
-};
-
-// This is a port of sql/password.c:hash_password which needs to be used for
-// pre-4.1 passwords.
-Auth.hashPassword = function(password) {
- var nr = [0x5030, 0x5735];
- var add = 7;
- var nr2 = [0x1234, 0x5671];
- var result = Buffer.alloc(8);
-
- if (typeof password === 'string'){
- password = Buffer.from(password);
- }
-
- for (var i = 0; i < password.length; i++) {
- var c = password[i];
- if (c === 32 || c === 9) {
- // skip space in password
- continue;
- }
-
- // nr^= (((nr & 63)+add)*c)+ (nr << 8);
- // nr = xor(nr, add(mul(add(and(nr, 63), add), c), shl(nr, 8)))
- nr = this.xor32(nr, this.add32(this.mul32(this.add32(this.and32(nr, [0, 63]), [0, add]), [0, c]), this.shl32(nr, 8)));
-
- // nr2+=(nr2 << 8) ^ nr;
- // nr2 = add(nr2, xor(shl(nr2, 8), nr))
- nr2 = this.add32(nr2, this.xor32(this.shl32(nr2, 8), nr));
-
- // add+=tmp;
- add += c;
- }
-
- this.int31Write(result, nr, 0);
- this.int31Write(result, nr2, 4);
-
- return result;
-};
-
-Auth.randomInit = function(seed1, seed2) {
- return {
- max_value : 0x3FFFFFFF,
- max_value_dbl : 0x3FFFFFFF,
- seed1 : seed1 % 0x3FFFFFFF,
- seed2 : seed2 % 0x3FFFFFFF
- };
-};
-
-Auth.myRnd = function(r){
- r.seed1 = (r.seed1 * 3 + r.seed2) % r.max_value;
- r.seed2 = (r.seed1 + r.seed2 + 33) % r.max_value;
-
- return r.seed1 / r.max_value_dbl;
-};
-
-Auth.scramble323 = function(message, password) {
- if (!password) {
- return Buffer.alloc(0);
- }
-
- var to = Buffer.allocUnsafe(8);
- var hashPass = this.hashPassword(password);
- var hashMessage = this.hashPassword(message.slice(0, 8));
- var seed1 = this.int32Read(hashPass, 0) ^ this.int32Read(hashMessage, 0);
- var seed2 = this.int32Read(hashPass, 4) ^ this.int32Read(hashMessage, 4);
- var r = this.randomInit(seed1, seed2);
-
- for (var i = 0; i < 8; i++){
- to[i] = Math.floor(this.myRnd(r) * 31) + 64;
- }
- var extra = (Math.floor(this.myRnd(r) * 31));
-
- for (var i = 0; i < 8; i++){
- to[i] ^= extra;
- }
-
- return to;
-};
-
-Auth.xor32 = function(a, b){
- return [a[0] ^ b[0], a[1] ^ b[1]];
-};
-
-Auth.add32 = function(a, b){
- var w1 = a[1] + b[1];
- var w2 = a[0] + b[0] + ((w1 & 0xFFFF0000) >> 16);
-
- return [w2 & 0xFFFF, w1 & 0xFFFF];
-};
-
-Auth.mul32 = function(a, b){
- // based on this example of multiplying 32b ints using 16b
- // http://www.dsprelated.com/showmessage/89790/1.php
- var w1 = a[1] * b[1];
- var w2 = (((a[1] * b[1]) >> 16) & 0xFFFF) + ((a[0] * b[1]) & 0xFFFF) + (a[1] * b[0] & 0xFFFF);
-
- return [w2 & 0xFFFF, w1 & 0xFFFF];
-};
-
-Auth.and32 = function(a, b){
- return [a[0] & b[0], a[1] & b[1]];
-};
-
-Auth.shl32 = function(a, b){
- // assume b is 16 or less
- var w1 = a[1] << b;
- var w2 = (a[0] << b) | ((w1 & 0xFFFF0000) >> 16);
-
- return [w2 & 0xFFFF, w1 & 0xFFFF];
-};
-
-Auth.int31Write = function(buffer, number, offset) {
- buffer[offset] = (number[0] >> 8) & 0x7F;
- buffer[offset + 1] = (number[0]) & 0xFF;
- buffer[offset + 2] = (number[1] >> 8) & 0xFF;
- buffer[offset + 3] = (number[1]) & 0xFF;
-};
-
-Auth.int32Read = function(buffer, offset){
- return (buffer[offset] << 24)
- + (buffer[offset + 1] << 16)
- + (buffer[offset + 2] << 8)
- + (buffer[offset + 3]);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/BufferList.js b/Server/node_modules/mysql/lib/protocol/BufferList.js
deleted file mode 100644
index 3cd0192..0000000
--- a/Server/node_modules/mysql/lib/protocol/BufferList.js
+++ /dev/null
@@ -1,25 +0,0 @@
-
-module.exports = BufferList;
-function BufferList() {
- this.bufs = [];
- this.size = 0;
-}
-
-BufferList.prototype.shift = function shift() {
- var buf = this.bufs.shift();
-
- if (buf) {
- this.size -= buf.length;
- }
-
- return buf;
-};
-
-BufferList.prototype.push = function push(buf) {
- if (!buf || !buf.length) {
- return;
- }
-
- this.bufs.push(buf);
- this.size += buf.length;
-};
diff --git a/Server/node_modules/mysql/lib/protocol/PacketHeader.js b/Server/node_modules/mysql/lib/protocol/PacketHeader.js
deleted file mode 100644
index 1bb282e..0000000
--- a/Server/node_modules/mysql/lib/protocol/PacketHeader.js
+++ /dev/null
@@ -1,5 +0,0 @@
-module.exports = PacketHeader;
-function PacketHeader(length, number) {
- this.length = length;
- this.number = number;
-}
diff --git a/Server/node_modules/mysql/lib/protocol/PacketWriter.js b/Server/node_modules/mysql/lib/protocol/PacketWriter.js
deleted file mode 100644
index 4d0afd2..0000000
--- a/Server/node_modules/mysql/lib/protocol/PacketWriter.js
+++ /dev/null
@@ -1,211 +0,0 @@
-var BIT_16 = Math.pow(2, 16);
-var BIT_24 = Math.pow(2, 24);
-var BUFFER_ALLOC_SIZE = Math.pow(2, 8);
-// The maximum precision JS Numbers can hold precisely
-// Don't panic: Good enough to represent byte values up to 8192 TB
-var IEEE_754_BINARY_64_PRECISION = Math.pow(2, 53);
-var MAX_PACKET_LENGTH = Math.pow(2, 24) - 1;
-var Buffer = require('safe-buffer').Buffer;
-
-module.exports = PacketWriter;
-function PacketWriter() {
- this._buffer = null;
- this._offset = 0;
-}
-
-PacketWriter.prototype.toBuffer = function toBuffer(parser) {
- if (!this._buffer) {
- this._buffer = Buffer.alloc(0);
- this._offset = 0;
- }
-
- var buffer = this._buffer;
- var length = this._offset;
- var packets = Math.floor(length / MAX_PACKET_LENGTH) + 1;
-
- this._buffer = Buffer.allocUnsafe(length + packets * 4);
- this._offset = 0;
-
- for (var packet = 0; packet < packets; packet++) {
- var isLast = (packet + 1 === packets);
- var packetLength = (isLast)
- ? length % MAX_PACKET_LENGTH
- : MAX_PACKET_LENGTH;
-
- var packetNumber = parser.incrementPacketNumber();
-
- this.writeUnsignedNumber(3, packetLength);
- this.writeUnsignedNumber(1, packetNumber);
-
- var start = packet * MAX_PACKET_LENGTH;
- var end = start + packetLength;
-
- this.writeBuffer(buffer.slice(start, end));
- }
-
- return this._buffer;
-};
-
-PacketWriter.prototype.writeUnsignedNumber = function(bytes, value) {
- this._allocate(bytes);
-
- for (var i = 0; i < bytes; i++) {
- this._buffer[this._offset++] = (value >> (i * 8)) & 0xff;
- }
-};
-
-PacketWriter.prototype.writeFiller = function(bytes) {
- this._allocate(bytes);
-
- for (var i = 0; i < bytes; i++) {
- this._buffer[this._offset++] = 0x00;
- }
-};
-
-PacketWriter.prototype.writeNullTerminatedString = function(value, encoding) {
- // Typecast undefined into '' and numbers into strings
- value = value || '';
- value = value + '';
-
- var bytes = Buffer.byteLength(value, encoding || 'utf-8') + 1;
- this._allocate(bytes);
-
- this._buffer.write(value, this._offset, encoding);
- this._buffer[this._offset + bytes - 1] = 0x00;
-
- this._offset += bytes;
-};
-
-PacketWriter.prototype.writeString = function(value) {
- // Typecast undefined into '' and numbers into strings
- value = value || '';
- value = value + '';
-
- var bytes = Buffer.byteLength(value, 'utf-8');
- this._allocate(bytes);
-
- this._buffer.write(value, this._offset, 'utf-8');
-
- this._offset += bytes;
-};
-
-PacketWriter.prototype.writeBuffer = function(value) {
- var bytes = value.length;
-
- this._allocate(bytes);
- value.copy(this._buffer, this._offset);
- this._offset += bytes;
-};
-
-PacketWriter.prototype.writeLengthCodedNumber = function(value) {
- if (value === null) {
- this._allocate(1);
- this._buffer[this._offset++] = 251;
- return;
- }
-
- if (value <= 250) {
- this._allocate(1);
- this._buffer[this._offset++] = value;
- return;
- }
-
- if (value > IEEE_754_BINARY_64_PRECISION) {
- throw new Error(
- 'writeLengthCodedNumber: JS precision range exceeded, your ' +
- 'number is > 53 bit: "' + value + '"'
- );
- }
-
- if (value < BIT_16) {
- this._allocate(3);
- this._buffer[this._offset++] = 252;
- } else if (value < BIT_24) {
- this._allocate(4);
- this._buffer[this._offset++] = 253;
- } else {
- this._allocate(9);
- this._buffer[this._offset++] = 254;
- }
-
- // 16 Bit
- this._buffer[this._offset++] = value & 0xff;
- this._buffer[this._offset++] = (value >> 8) & 0xff;
-
- if (value < BIT_16) {
- return;
- }
-
- // 24 Bit
- this._buffer[this._offset++] = (value >> 16) & 0xff;
-
- if (value < BIT_24) {
- return;
- }
-
- this._buffer[this._offset++] = (value >> 24) & 0xff;
-
- // Hack: Get the most significant 32 bit (JS bitwise operators are 32 bit)
- value = value.toString(2);
- value = value.substr(0, value.length - 32);
- value = parseInt(value, 2);
-
- this._buffer[this._offset++] = value & 0xff;
- this._buffer[this._offset++] = (value >> 8) & 0xff;
- this._buffer[this._offset++] = (value >> 16) & 0xff;
-
- // Set last byte to 0, as we can only support 53 bits in JS (see above)
- this._buffer[this._offset++] = 0;
-};
-
-PacketWriter.prototype.writeLengthCodedBuffer = function(value) {
- var bytes = value.length;
- this.writeLengthCodedNumber(bytes);
- this.writeBuffer(value);
-};
-
-PacketWriter.prototype.writeNullTerminatedBuffer = function(value) {
- this.writeBuffer(value);
- this.writeFiller(1); // 0x00 terminator
-};
-
-PacketWriter.prototype.writeLengthCodedString = function(value) {
- if (value === null) {
- this.writeLengthCodedNumber(null);
- return;
- }
-
- value = (value === undefined)
- ? ''
- : String(value);
-
- var bytes = Buffer.byteLength(value, 'utf-8');
- this.writeLengthCodedNumber(bytes);
-
- if (!bytes) {
- return;
- }
-
- this._allocate(bytes);
- this._buffer.write(value, this._offset, 'utf-8');
- this._offset += bytes;
-};
-
-PacketWriter.prototype._allocate = function _allocate(bytes) {
- if (!this._buffer) {
- this._buffer = Buffer.alloc(Math.max(BUFFER_ALLOC_SIZE, bytes));
- this._offset = 0;
- return;
- }
-
- var bytesRemaining = this._buffer.length - this._offset;
- if (bytesRemaining >= bytes) {
- return;
- }
-
- var newSize = this._buffer.length + Math.max(BUFFER_ALLOC_SIZE, bytes);
- var oldBuffer = this._buffer;
-
- this._buffer = Buffer.alloc(newSize);
- oldBuffer.copy(this._buffer);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/Parser.js b/Server/node_modules/mysql/lib/protocol/Parser.js
deleted file mode 100644
index e72555f..0000000
--- a/Server/node_modules/mysql/lib/protocol/Parser.js
+++ /dev/null
@@ -1,491 +0,0 @@
-var PacketHeader = require('./PacketHeader');
-var BigNumber = require('bignumber.js');
-var Buffer = require('safe-buffer').Buffer;
-var BufferList = require('./BufferList');
-
-var MAX_PACKET_LENGTH = Math.pow(2, 24) - 1;
-var MUL_32BIT = Math.pow(2, 32);
-var PACKET_HEADER_LENGTH = 4;
-
-module.exports = Parser;
-function Parser(options) {
- options = options || {};
-
- this._supportBigNumbers = options.config && options.config.supportBigNumbers;
- this._buffer = Buffer.alloc(0);
- this._nextBuffers = new BufferList();
- this._longPacketBuffers = new BufferList();
- this._offset = 0;
- this._packetEnd = null;
- this._packetHeader = null;
- this._packetOffset = null;
- this._onError = options.onError || function(err) { throw err; };
- this._onPacket = options.onPacket || function() {};
- this._nextPacketNumber = 0;
- this._encoding = 'utf-8';
- this._paused = false;
-}
-
-Parser.prototype.write = function write(chunk) {
- this._nextBuffers.push(chunk);
-
- while (!this._paused) {
- var packetHeader = this._tryReadPacketHeader();
-
- if (!packetHeader) {
- break;
- }
-
- if (!this._combineNextBuffers(packetHeader.length)) {
- break;
- }
-
- this._parsePacket(packetHeader);
- }
-};
-
-Parser.prototype.append = function append(chunk) {
- if (!chunk || chunk.length === 0) {
- return;
- }
-
- // Calculate slice ranges
- var sliceEnd = this._buffer.length;
- var sliceStart = this._packetOffset === null
- ? this._offset
- : this._packetOffset;
- var sliceLength = sliceEnd - sliceStart;
-
- // Get chunk data
- var buffer = null;
- var chunks = !(chunk instanceof Array || Array.isArray(chunk)) ? [chunk] : chunk;
- var length = 0;
- var offset = 0;
-
- for (var i = 0; i < chunks.length; i++) {
- length += chunks[i].length;
- }
-
- if (sliceLength !== 0) {
- // Create a new Buffer
- buffer = Buffer.allocUnsafe(sliceLength + length);
- offset = 0;
-
- // Copy data slice
- offset += this._buffer.copy(buffer, 0, sliceStart, sliceEnd);
-
- // Copy chunks
- for (var i = 0; i < chunks.length; i++) {
- offset += chunks[i].copy(buffer, offset);
- }
- } else if (chunks.length > 1) {
- // Create a new Buffer
- buffer = Buffer.allocUnsafe(length);
- offset = 0;
-
- // Copy chunks
- for (var i = 0; i < chunks.length; i++) {
- offset += chunks[i].copy(buffer, offset);
- }
- } else {
- // Buffer is the only chunk
- buffer = chunks[0];
- }
-
- // Adjust data-tracking pointers
- this._buffer = buffer;
- this._offset = this._offset - sliceStart;
- this._packetEnd = this._packetEnd !== null
- ? this._packetEnd - sliceStart
- : null;
- this._packetOffset = this._packetOffset !== null
- ? this._packetOffset - sliceStart
- : null;
-};
-
-Parser.prototype.pause = function() {
- this._paused = true;
-};
-
-Parser.prototype.resume = function() {
- this._paused = false;
-
- // nextTick() to avoid entering write() multiple times within the same stack
- // which would cause problems as write manipulates the state of the object.
- process.nextTick(this.write.bind(this));
-};
-
-Parser.prototype.peak = function peak(offset) {
- return this._buffer[this._offset + (offset >>> 0)];
-};
-
-Parser.prototype.parseUnsignedNumber = function parseUnsignedNumber(bytes) {
- if (bytes === 1) {
- return this._buffer[this._offset++];
- }
-
- var buffer = this._buffer;
- var offset = this._offset + bytes - 1;
- var value = 0;
-
- if (bytes > 4) {
- var err = new Error('parseUnsignedNumber: Supports only up to 4 bytes');
- err.offset = (this._offset - this._packetOffset - 1);
- err.code = 'PARSER_UNSIGNED_TOO_LONG';
- throw err;
- }
-
- while (offset >= this._offset) {
- value = ((value << 8) | buffer[offset]) >>> 0;
- offset--;
- }
-
- this._offset += bytes;
-
- return value;
-};
-
-Parser.prototype.parseLengthCodedString = function() {
- var length = this.parseLengthCodedNumber();
-
- if (length === null) {
- return null;
- }
-
- return this.parseString(length);
-};
-
-Parser.prototype.parseLengthCodedBuffer = function() {
- var length = this.parseLengthCodedNumber();
-
- if (length === null) {
- return null;
- }
-
- return this.parseBuffer(length);
-};
-
-Parser.prototype.parseLengthCodedNumber = function parseLengthCodedNumber() {
- if (this._offset >= this._buffer.length) {
- var err = new Error('Parser: read past end');
- err.offset = (this._offset - this._packetOffset);
- err.code = 'PARSER_READ_PAST_END';
- throw err;
- }
-
- var bits = this._buffer[this._offset++];
-
- if (bits <= 250) {
- return bits;
- }
-
- switch (bits) {
- case 251:
- return null;
- case 252:
- return this.parseUnsignedNumber(2);
- case 253:
- return this.parseUnsignedNumber(3);
- case 254:
- break;
- default:
- var err = new Error('Unexpected first byte' + (bits ? ': 0x' + bits.toString(16) : ''));
- err.offset = (this._offset - this._packetOffset - 1);
- err.code = 'PARSER_BAD_LENGTH_BYTE';
- throw err;
- }
-
- var low = this.parseUnsignedNumber(4);
- var high = this.parseUnsignedNumber(4);
- var value;
-
- if (high >>> 21) {
- value = BigNumber(MUL_32BIT).times(high).plus(low).toString();
-
- if (this._supportBigNumbers) {
- return value;
- }
-
- var err = new Error(
- 'parseLengthCodedNumber: JS precision range exceeded, ' +
- 'number is >= 53 bit: "' + value + '"'
- );
- err.offset = (this._offset - this._packetOffset - 8);
- err.code = 'PARSER_JS_PRECISION_RANGE_EXCEEDED';
- throw err;
- }
-
- value = low + (MUL_32BIT * high);
-
- return value;
-};
-
-Parser.prototype.parseFiller = function(length) {
- return this.parseBuffer(length);
-};
-
-Parser.prototype.parseNullTerminatedBuffer = function() {
- var end = this._nullByteOffset();
- var value = this._buffer.slice(this._offset, end);
- this._offset = end + 1;
-
- return value;
-};
-
-Parser.prototype.parseNullTerminatedString = function() {
- var end = this._nullByteOffset();
- var value = this._buffer.toString(this._encoding, this._offset, end);
- this._offset = end + 1;
-
- return value;
-};
-
-Parser.prototype._nullByteOffset = function() {
- var offset = this._offset;
-
- while (this._buffer[offset] !== 0x00) {
- offset++;
-
- if (offset >= this._buffer.length) {
- var err = new Error('Offset of null terminated string not found.');
- err.offset = (this._offset - this._packetOffset);
- err.code = 'PARSER_MISSING_NULL_BYTE';
- throw err;
- }
- }
-
- return offset;
-};
-
-Parser.prototype.parsePacketTerminatedBuffer = function parsePacketTerminatedBuffer() {
- var length = this._packetEnd - this._offset;
- return this.parseBuffer(length);
-};
-
-Parser.prototype.parsePacketTerminatedString = function() {
- var length = this._packetEnd - this._offset;
- return this.parseString(length);
-};
-
-Parser.prototype.parseBuffer = function(length) {
- var response = Buffer.alloc(length);
- this._buffer.copy(response, 0, this._offset, this._offset + length);
-
- this._offset += length;
- return response;
-};
-
-Parser.prototype.parseString = function(length) {
- var offset = this._offset;
- var end = offset + length;
- var value = this._buffer.toString(this._encoding, offset, end);
-
- this._offset = end;
- return value;
-};
-
-Parser.prototype.parseGeometryValue = function() {
- var buffer = this.parseLengthCodedBuffer();
- var offset = 4;
-
- if (buffer === null || !buffer.length) {
- return null;
- }
-
- function parseGeometry() {
- var result = null;
- var byteOrder = buffer.readUInt8(offset); offset += 1;
- var wkbType = byteOrder ? buffer.readUInt32LE(offset) : buffer.readUInt32BE(offset); offset += 4;
- switch (wkbType) {
- case 1: // WKBPoint
- var x = byteOrder ? buffer.readDoubleLE(offset) : buffer.readDoubleBE(offset); offset += 8;
- var y = byteOrder ? buffer.readDoubleLE(offset) : buffer.readDoubleBE(offset); offset += 8;
- result = {x: x, y: y};
- break;
- case 2: // WKBLineString
- var numPoints = byteOrder ? buffer.readUInt32LE(offset) : buffer.readUInt32BE(offset); offset += 4;
- result = [];
- for (var i = numPoints; i > 0; i--) {
- var x = byteOrder ? buffer.readDoubleLE(offset) : buffer.readDoubleBE(offset); offset += 8;
- var y = byteOrder ? buffer.readDoubleLE(offset) : buffer.readDoubleBE(offset); offset += 8;
- result.push({x: x, y: y});
- }
- break;
- case 3: // WKBPolygon
- var numRings = byteOrder ? buffer.readUInt32LE(offset) : buffer.readUInt32BE(offset); offset += 4;
- result = [];
- for (var i = numRings; i > 0; i--) {
- var numPoints = byteOrder ? buffer.readUInt32LE(offset) : buffer.readUInt32BE(offset); offset += 4;
- var line = [];
- for (var j = numPoints; j > 0; j--) {
- var x = byteOrder ? buffer.readDoubleLE(offset) : buffer.readDoubleBE(offset); offset += 8;
- var y = byteOrder ? buffer.readDoubleLE(offset) : buffer.readDoubleBE(offset); offset += 8;
- line.push({x: x, y: y});
- }
- result.push(line);
- }
- break;
- case 4: // WKBMultiPoint
- case 5: // WKBMultiLineString
- case 6: // WKBMultiPolygon
- case 7: // WKBGeometryCollection
- var num = byteOrder ? buffer.readUInt32LE(offset) : buffer.readUInt32BE(offset); offset += 4;
- var result = [];
- for (var i = num; i > 0; i--) {
- result.push(parseGeometry());
- }
- break;
- }
- return result;
- }
- return parseGeometry();
-};
-
-Parser.prototype.reachedPacketEnd = function() {
- return this._offset === this._packetEnd;
-};
-
-Parser.prototype.incrementPacketNumber = function() {
- var currentPacketNumber = this._nextPacketNumber;
- this._nextPacketNumber = (this._nextPacketNumber + 1) % 256;
-
- return currentPacketNumber;
-};
-
-Parser.prototype.resetPacketNumber = function() {
- this._nextPacketNumber = 0;
-};
-
-Parser.prototype.packetLength = function packetLength() {
- if (!this._packetHeader) {
- return null;
- }
-
- return this._packetHeader.length + this._longPacketBuffers.size;
-};
-
-Parser.prototype._combineNextBuffers = function _combineNextBuffers(bytes) {
- var length = this._buffer.length - this._offset;
-
- if (length >= bytes) {
- return true;
- }
-
- if ((length + this._nextBuffers.size) < bytes) {
- return false;
- }
-
- var buffers = [];
- var bytesNeeded = bytes - length;
-
- while (bytesNeeded > 0) {
- var buffer = this._nextBuffers.shift();
- buffers.push(buffer);
- bytesNeeded -= buffer.length;
- }
-
- this.append(buffers);
- return true;
-};
-
-Parser.prototype._combineLongPacketBuffers = function _combineLongPacketBuffers() {
- if (!this._longPacketBuffers.size) {
- return;
- }
-
- // Calculate bytes
- var remainingBytes = this._buffer.length - this._offset;
- var trailingPacketBytes = this._buffer.length - this._packetEnd;
-
- // Create buffer
- var buf = null;
- var buffer = Buffer.allocUnsafe(remainingBytes + this._longPacketBuffers.size);
- var offset = 0;
-
- // Copy long buffers
- while ((buf = this._longPacketBuffers.shift())) {
- offset += buf.copy(buffer, offset);
- }
-
- // Copy remaining bytes
- this._buffer.copy(buffer, offset, this._offset);
-
- this._buffer = buffer;
- this._offset = 0;
- this._packetEnd = this._buffer.length - trailingPacketBytes;
- this._packetOffset = 0;
-};
-
-Parser.prototype._parsePacket = function _parsePacket(packetHeader) {
- this._packetEnd = this._offset + packetHeader.length;
- this._packetOffset = this._offset;
-
- if (packetHeader.length === MAX_PACKET_LENGTH) {
- this._longPacketBuffers.push(this._buffer.slice(this._packetOffset, this._packetEnd));
- this._advanceToNextPacket();
- return;
- }
-
- this._combineLongPacketBuffers();
-
- var hadException = true;
- try {
- this._onPacket(packetHeader);
- hadException = false;
- } catch (err) {
- if (!err || typeof err.code !== 'string' || err.code.substr(0, 7) !== 'PARSER_') {
- throw err; // Rethrow non-MySQL errors
- }
-
- // Pass down parser errors
- this._onError(err);
- hadException = false;
- } finally {
- this._advanceToNextPacket();
-
- // If there was an exception, the parser while loop will be broken out
- // of after the finally block. So schedule a blank write to re-enter it
- // to continue parsing any bytes that may already have been received.
- if (hadException) {
- process.nextTick(this.write.bind(this));
- }
- }
-};
-
-Parser.prototype._tryReadPacketHeader = function _tryReadPacketHeader() {
- if (this._packetHeader) {
- return this._packetHeader;
- }
-
- if (!this._combineNextBuffers(PACKET_HEADER_LENGTH)) {
- return null;
- }
-
- this._packetHeader = new PacketHeader(
- this.parseUnsignedNumber(3),
- this.parseUnsignedNumber(1)
- );
-
- if (this._packetHeader.number !== this._nextPacketNumber) {
- var err = new Error(
- 'Packets out of order. Got: ' + this._packetHeader.number + ' ' +
- 'Expected: ' + this._nextPacketNumber
- );
-
- err.code = 'PROTOCOL_PACKETS_OUT_OF_ORDER';
- err.fatal = true;
-
- this._onError(err);
- }
-
- this.incrementPacketNumber();
-
- return this._packetHeader;
-};
-
-Parser.prototype._advanceToNextPacket = function() {
- this._offset = this._packetEnd;
- this._packetHeader = null;
- this._packetEnd = null;
- this._packetOffset = null;
-};
diff --git a/Server/node_modules/mysql/lib/protocol/Protocol.js b/Server/node_modules/mysql/lib/protocol/Protocol.js
deleted file mode 100644
index ab37105..0000000
--- a/Server/node_modules/mysql/lib/protocol/Protocol.js
+++ /dev/null
@@ -1,463 +0,0 @@
-var Parser = require('./Parser');
-var Sequences = require('./sequences');
-var Packets = require('./packets');
-var Stream = require('stream').Stream;
-var Util = require('util');
-var PacketWriter = require('./PacketWriter');
-
-module.exports = Protocol;
-Util.inherits(Protocol, Stream);
-function Protocol(options) {
- Stream.call(this);
-
- options = options || {};
-
- this.readable = true;
- this.writable = true;
-
- this._config = options.config || {};
- this._connection = options.connection;
- this._callback = null;
- this._fatalError = null;
- this._quitSequence = null;
- this._handshake = false;
- this._handshaked = false;
- this._ended = false;
- this._destroyed = false;
- this._queue = [];
- this._handshakeInitializationPacket = null;
-
- this._parser = new Parser({
- onError : this.handleParserError.bind(this),
- onPacket : this._parsePacket.bind(this),
- config : this._config
- });
-}
-
-Protocol.prototype.write = function(buffer) {
- this._parser.write(buffer);
- return true;
-};
-
-Protocol.prototype.handshake = function handshake(options, callback) {
- if (typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- options = options || {};
- options.config = this._config;
-
- var sequence = this._enqueue(new Sequences.Handshake(options, callback));
-
- this._handshake = true;
-
- return sequence;
-};
-
-Protocol.prototype.query = function query(options, callback) {
- return this._enqueue(new Sequences.Query(options, callback));
-};
-
-Protocol.prototype.changeUser = function changeUser(options, callback) {
- return this._enqueue(new Sequences.ChangeUser(options, callback));
-};
-
-Protocol.prototype.ping = function ping(options, callback) {
- if (typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- return this._enqueue(new Sequences.Ping(options, callback));
-};
-
-Protocol.prototype.stats = function stats(options, callback) {
- if (typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- return this._enqueue(new Sequences.Statistics(options, callback));
-};
-
-Protocol.prototype.quit = function quit(options, callback) {
- if (typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- var self = this;
- var sequence = this._enqueue(new Sequences.Quit(options, callback));
-
- sequence.on('end', function () {
- self.end();
- });
-
- return this._quitSequence = sequence;
-};
-
-Protocol.prototype.end = function() {
- if (this._ended) {
- return;
- }
- this._ended = true;
-
- if (this._quitSequence && (this._quitSequence._ended || this._queue[0] === this._quitSequence)) {
- this._quitSequence.end();
- this.emit('end');
- return;
- }
-
- var err = new Error('Connection lost: The server closed the connection.');
- err.fatal = true;
- err.code = 'PROTOCOL_CONNECTION_LOST';
-
- this._delegateError(err);
-};
-
-Protocol.prototype.pause = function() {
- this._parser.pause();
- // Since there is a file stream in query, we must transmit pause/resume event to current sequence.
- var seq = this._queue[0];
- if (seq && seq.emit) {
- seq.emit('pause');
- }
-};
-
-Protocol.prototype.resume = function() {
- this._parser.resume();
- // Since there is a file stream in query, we must transmit pause/resume event to current sequence.
- var seq = this._queue[0];
- if (seq && seq.emit) {
- seq.emit('resume');
- }
-};
-
-Protocol.prototype._enqueue = function(sequence) {
- if (!this._validateEnqueue(sequence)) {
- return sequence;
- }
-
- if (this._config.trace) {
- // Long stack trace support
- sequence._callSite = sequence._callSite || new Error();
- }
-
- this._queue.push(sequence);
- this.emit('enqueue', sequence);
-
- var self = this;
- sequence
- .on('error', function(err) {
- self._delegateError(err, sequence);
- })
- .on('packet', function(packet) {
- sequence._timer.active();
- self._emitPacket(packet);
- })
- .on('timeout', function() {
- var err = new Error(sequence.constructor.name + ' inactivity timeout');
-
- err.code = 'PROTOCOL_SEQUENCE_TIMEOUT';
- err.fatal = true;
- err.timeout = sequence._timeout;
-
- self._delegateError(err, sequence);
- });
-
- if (sequence.constructor === Sequences.Handshake) {
- sequence.on('start-tls', function () {
- sequence._timer.active();
- self._connection._startTLS(function(err) {
- if (err) {
- // SSL negotiation error are fatal
- err.code = 'HANDSHAKE_SSL_ERROR';
- err.fatal = true;
- sequence.end(err);
- return;
- }
-
- sequence._timer.active();
- sequence._tlsUpgradeCompleteHandler();
- });
- });
-
- sequence.on('end', function () {
- self._handshaked = true;
-
- if (!self._fatalError) {
- self.emit('handshake', self._handshakeInitializationPacket);
- }
- });
- }
-
- sequence.on('end', function () {
- self._dequeue(sequence);
- });
-
- if (this._queue.length === 1) {
- this._parser.resetPacketNumber();
- this._startSequence(sequence);
- }
-
- return sequence;
-};
-
-Protocol.prototype._validateEnqueue = function _validateEnqueue(sequence) {
- var err;
- var prefix = 'Cannot enqueue ' + sequence.constructor.name;
-
- if (this._fatalError) {
- err = new Error(prefix + ' after fatal error.');
- err.code = 'PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR';
- } else if (this._quitSequence) {
- err = new Error(prefix + ' after invoking quit.');
- err.code = 'PROTOCOL_ENQUEUE_AFTER_QUIT';
- } else if (this._destroyed) {
- err = new Error(prefix + ' after being destroyed.');
- err.code = 'PROTOCOL_ENQUEUE_AFTER_DESTROY';
- } else if ((this._handshake || this._handshaked) && sequence.constructor === Sequences.Handshake) {
- err = new Error(prefix + ' after already enqueuing a Handshake.');
- err.code = 'PROTOCOL_ENQUEUE_HANDSHAKE_TWICE';
- } else {
- return true;
- }
-
- var self = this;
- err.fatal = false;
-
- // add error handler
- sequence.on('error', function (err) {
- self._delegateError(err, sequence);
- });
-
- process.nextTick(function () {
- sequence.end(err);
- });
-
- return false;
-};
-
-Protocol.prototype._parsePacket = function() {
- var sequence = this._queue[0];
-
- if (!sequence) {
- var err = new Error('Received packet with no active sequence.');
- err.code = 'PROTOCOL_STRAY_PACKET';
- err.fatal = true;
-
- this._delegateError(err);
- return;
- }
-
- var Packet = this._determinePacket(sequence);
- var packet = new Packet({protocol41: this._config.protocol41});
- var packetName = Packet.name;
-
- // Special case: Faster dispatch, and parsing done inside sequence
- if (Packet === Packets.RowDataPacket) {
- sequence.RowDataPacket(packet, this._parser, this._connection);
-
- if (this._config.debug) {
- this._debugPacket(true, packet);
- }
-
- return;
- }
-
- if (this._config.debug) {
- this._parsePacketDebug(packet);
- } else {
- packet.parse(this._parser);
- }
-
- if (Packet === Packets.HandshakeInitializationPacket) {
- this._handshakeInitializationPacket = packet;
- this.emit('initialize', packet);
- }
-
- sequence._timer.active();
-
- if (!sequence[packetName]) {
- var err = new Error('Received packet in the wrong sequence.');
- err.code = 'PROTOCOL_INCORRECT_PACKET_SEQUENCE';
- err.fatal = true;
-
- this._delegateError(err);
- return;
- }
-
- sequence[packetName](packet);
-};
-
-Protocol.prototype._parsePacketDebug = function _parsePacketDebug(packet) {
- try {
- packet.parse(this._parser);
- } finally {
- this._debugPacket(true, packet);
- }
-};
-
-Protocol.prototype._emitPacket = function(packet) {
- var packetWriter = new PacketWriter();
- packet.write(packetWriter);
- this.emit('data', packetWriter.toBuffer(this._parser));
-
- if (this._config.debug) {
- this._debugPacket(false, packet);
- }
-};
-
-Protocol.prototype._determinePacket = function(sequence) {
- var firstByte = this._parser.peak();
-
- if (sequence.determinePacket) {
- var Packet = sequence.determinePacket(firstByte, this._parser);
- if (Packet) {
- return Packet;
- }
- }
-
- switch (firstByte) {
- case 0x00: return Packets.OkPacket;
- case 0xfe: return Packets.EofPacket;
- case 0xff: return Packets.ErrorPacket;
- }
-
- throw new Error('Could not determine packet, firstByte = ' + firstByte);
-};
-
-Protocol.prototype._dequeue = function(sequence) {
- sequence._timer.stop();
-
- // No point in advancing the queue, we are dead
- if (this._fatalError) {
- return;
- }
-
- this._queue.shift();
-
- var sequence = this._queue[0];
- if (!sequence) {
- this.emit('drain');
- return;
- }
-
- this._parser.resetPacketNumber();
-
- this._startSequence(sequence);
-};
-
-Protocol.prototype._startSequence = function(sequence) {
- if (sequence._timeout > 0 && isFinite(sequence._timeout)) {
- sequence._timer.start(sequence._timeout);
- }
-
- if (sequence.constructor === Sequences.ChangeUser) {
- sequence.start(this._handshakeInitializationPacket);
- } else {
- sequence.start();
- }
-};
-
-Protocol.prototype.handleNetworkError = function(err) {
- err.fatal = true;
-
- var sequence = this._queue[0];
- if (sequence) {
- sequence.end(err);
- } else {
- this._delegateError(err);
- }
-};
-
-Protocol.prototype.handleParserError = function handleParserError(err) {
- var sequence = this._queue[0];
- if (sequence) {
- sequence.end(err);
- } else {
- this._delegateError(err);
- }
-};
-
-Protocol.prototype._delegateError = function(err, sequence) {
- // Stop delegating errors after the first fatal error
- if (this._fatalError) {
- return;
- }
-
- if (err.fatal) {
- this._fatalError = err;
- }
-
- if (this._shouldErrorBubbleUp(err, sequence)) {
- // Can't use regular 'error' event here as that always destroys the pipe
- // between socket and protocol which is not what we want (unless the
- // exception was fatal).
- this.emit('unhandledError', err);
- } else if (err.fatal) {
- // Send fatal error to all sequences in the queue
- var queue = this._queue;
- process.nextTick(function () {
- queue.forEach(function (sequence) {
- sequence.end(err);
- });
- queue.length = 0;
- });
- }
-
- // Make sure the stream we are piping to is getting closed
- if (err.fatal) {
- this.emit('end', err);
- }
-};
-
-Protocol.prototype._shouldErrorBubbleUp = function(err, sequence) {
- if (sequence) {
- if (sequence.hasErrorHandler()) {
- return false;
- } else if (!err.fatal) {
- return true;
- }
- }
-
- return (err.fatal && !this._hasPendingErrorHandlers());
-};
-
-Protocol.prototype._hasPendingErrorHandlers = function() {
- return this._queue.some(function(sequence) {
- return sequence.hasErrorHandler();
- });
-};
-
-Protocol.prototype.destroy = function() {
- this._destroyed = true;
- this._parser.pause();
-
- if (this._connection.state !== 'disconnected') {
- if (!this._ended) {
- this.end();
- }
- }
-};
-
-Protocol.prototype._debugPacket = function(incoming, packet) {
- var connection = this._connection;
- var direction = incoming
- ? '<--'
- : '-->';
- var packetName = packet.constructor.name;
- var threadId = connection && connection.threadId !== null
- ? ' (' + connection.threadId + ')'
- : '';
-
- // check for debug packet restriction
- if (Array.isArray(this._config.debug) && this._config.debug.indexOf(packetName) === -1) {
- return;
- }
-
- var packetPayload = Util.inspect(packet).replace(/^[^{]+/, '');
-
- console.log('%s%s %s %s\n', direction, threadId, packetName, packetPayload);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/ResultSet.js b/Server/node_modules/mysql/lib/protocol/ResultSet.js
deleted file mode 100644
index f58d74f..0000000
--- a/Server/node_modules/mysql/lib/protocol/ResultSet.js
+++ /dev/null
@@ -1,7 +0,0 @@
-module.exports = ResultSet;
-function ResultSet(resultSetHeaderPacket) {
- this.resultSetHeaderPacket = resultSetHeaderPacket;
- this.fieldPackets = [];
- this.eofPackets = [];
- this.rows = [];
-}
diff --git a/Server/node_modules/mysql/lib/protocol/SqlString.js b/Server/node_modules/mysql/lib/protocol/SqlString.js
deleted file mode 100644
index 30c63d8..0000000
--- a/Server/node_modules/mysql/lib/protocol/SqlString.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('sqlstring');
diff --git a/Server/node_modules/mysql/lib/protocol/Timer.js b/Server/node_modules/mysql/lib/protocol/Timer.js
deleted file mode 100644
index 45ed029..0000000
--- a/Server/node_modules/mysql/lib/protocol/Timer.js
+++ /dev/null
@@ -1,33 +0,0 @@
-var Timers = require('timers');
-
-module.exports = Timer;
-function Timer(object) {
- this._object = object;
- this._timeout = null;
-}
-
-Timer.prototype.active = function active() {
- if (this._timeout) {
- if (this._timeout.refresh) {
- this._timeout.refresh();
- } else {
- Timers.active(this._timeout);
- }
- }
-};
-
-Timer.prototype.start = function start(msecs) {
- this.stop();
- this._timeout = Timers.setTimeout(this._onTimeout.bind(this), msecs);
-};
-
-Timer.prototype.stop = function stop() {
- if (this._timeout) {
- Timers.clearTimeout(this._timeout);
- this._timeout = null;
- }
-};
-
-Timer.prototype._onTimeout = function _onTimeout() {
- return this._object._onTimeout();
-};
diff --git a/Server/node_modules/mysql/lib/protocol/constants/charsets.js b/Server/node_modules/mysql/lib/protocol/constants/charsets.js
deleted file mode 100644
index 98b88ea..0000000
--- a/Server/node_modules/mysql/lib/protocol/constants/charsets.js
+++ /dev/null
@@ -1,262 +0,0 @@
-exports.BIG5_CHINESE_CI = 1;
-exports.LATIN2_CZECH_CS = 2;
-exports.DEC8_SWEDISH_CI = 3;
-exports.CP850_GENERAL_CI = 4;
-exports.LATIN1_GERMAN1_CI = 5;
-exports.HP8_ENGLISH_CI = 6;
-exports.KOI8R_GENERAL_CI = 7;
-exports.LATIN1_SWEDISH_CI = 8;
-exports.LATIN2_GENERAL_CI = 9;
-exports.SWE7_SWEDISH_CI = 10;
-exports.ASCII_GENERAL_CI = 11;
-exports.UJIS_JAPANESE_CI = 12;
-exports.SJIS_JAPANESE_CI = 13;
-exports.CP1251_BULGARIAN_CI = 14;
-exports.LATIN1_DANISH_CI = 15;
-exports.HEBREW_GENERAL_CI = 16;
-exports.TIS620_THAI_CI = 18;
-exports.EUCKR_KOREAN_CI = 19;
-exports.LATIN7_ESTONIAN_CS = 20;
-exports.LATIN2_HUNGARIAN_CI = 21;
-exports.KOI8U_GENERAL_CI = 22;
-exports.CP1251_UKRAINIAN_CI = 23;
-exports.GB2312_CHINESE_CI = 24;
-exports.GREEK_GENERAL_CI = 25;
-exports.CP1250_GENERAL_CI = 26;
-exports.LATIN2_CROATIAN_CI = 27;
-exports.GBK_CHINESE_CI = 28;
-exports.CP1257_LITHUANIAN_CI = 29;
-exports.LATIN5_TURKISH_CI = 30;
-exports.LATIN1_GERMAN2_CI = 31;
-exports.ARMSCII8_GENERAL_CI = 32;
-exports.UTF8_GENERAL_CI = 33;
-exports.CP1250_CZECH_CS = 34;
-exports.UCS2_GENERAL_CI = 35;
-exports.CP866_GENERAL_CI = 36;
-exports.KEYBCS2_GENERAL_CI = 37;
-exports.MACCE_GENERAL_CI = 38;
-exports.MACROMAN_GENERAL_CI = 39;
-exports.CP852_GENERAL_CI = 40;
-exports.LATIN7_GENERAL_CI = 41;
-exports.LATIN7_GENERAL_CS = 42;
-exports.MACCE_BIN = 43;
-exports.CP1250_CROATIAN_CI = 44;
-exports.UTF8MB4_GENERAL_CI = 45;
-exports.UTF8MB4_BIN = 46;
-exports.LATIN1_BIN = 47;
-exports.LATIN1_GENERAL_CI = 48;
-exports.LATIN1_GENERAL_CS = 49;
-exports.CP1251_BIN = 50;
-exports.CP1251_GENERAL_CI = 51;
-exports.CP1251_GENERAL_CS = 52;
-exports.MACROMAN_BIN = 53;
-exports.UTF16_GENERAL_CI = 54;
-exports.UTF16_BIN = 55;
-exports.UTF16LE_GENERAL_CI = 56;
-exports.CP1256_GENERAL_CI = 57;
-exports.CP1257_BIN = 58;
-exports.CP1257_GENERAL_CI = 59;
-exports.UTF32_GENERAL_CI = 60;
-exports.UTF32_BIN = 61;
-exports.UTF16LE_BIN = 62;
-exports.BINARY = 63;
-exports.ARMSCII8_BIN = 64;
-exports.ASCII_BIN = 65;
-exports.CP1250_BIN = 66;
-exports.CP1256_BIN = 67;
-exports.CP866_BIN = 68;
-exports.DEC8_BIN = 69;
-exports.GREEK_BIN = 70;
-exports.HEBREW_BIN = 71;
-exports.HP8_BIN = 72;
-exports.KEYBCS2_BIN = 73;
-exports.KOI8R_BIN = 74;
-exports.KOI8U_BIN = 75;
-exports.LATIN2_BIN = 77;
-exports.LATIN5_BIN = 78;
-exports.LATIN7_BIN = 79;
-exports.CP850_BIN = 80;
-exports.CP852_BIN = 81;
-exports.SWE7_BIN = 82;
-exports.UTF8_BIN = 83;
-exports.BIG5_BIN = 84;
-exports.EUCKR_BIN = 85;
-exports.GB2312_BIN = 86;
-exports.GBK_BIN = 87;
-exports.SJIS_BIN = 88;
-exports.TIS620_BIN = 89;
-exports.UCS2_BIN = 90;
-exports.UJIS_BIN = 91;
-exports.GEOSTD8_GENERAL_CI = 92;
-exports.GEOSTD8_BIN = 93;
-exports.LATIN1_SPANISH_CI = 94;
-exports.CP932_JAPANESE_CI = 95;
-exports.CP932_BIN = 96;
-exports.EUCJPMS_JAPANESE_CI = 97;
-exports.EUCJPMS_BIN = 98;
-exports.CP1250_POLISH_CI = 99;
-exports.UTF16_UNICODE_CI = 101;
-exports.UTF16_ICELANDIC_CI = 102;
-exports.UTF16_LATVIAN_CI = 103;
-exports.UTF16_ROMANIAN_CI = 104;
-exports.UTF16_SLOVENIAN_CI = 105;
-exports.UTF16_POLISH_CI = 106;
-exports.UTF16_ESTONIAN_CI = 107;
-exports.UTF16_SPANISH_CI = 108;
-exports.UTF16_SWEDISH_CI = 109;
-exports.UTF16_TURKISH_CI = 110;
-exports.UTF16_CZECH_CI = 111;
-exports.UTF16_DANISH_CI = 112;
-exports.UTF16_LITHUANIAN_CI = 113;
-exports.UTF16_SLOVAK_CI = 114;
-exports.UTF16_SPANISH2_CI = 115;
-exports.UTF16_ROMAN_CI = 116;
-exports.UTF16_PERSIAN_CI = 117;
-exports.UTF16_ESPERANTO_CI = 118;
-exports.UTF16_HUNGARIAN_CI = 119;
-exports.UTF16_SINHALA_CI = 120;
-exports.UTF16_GERMAN2_CI = 121;
-exports.UTF16_CROATIAN_MYSQL561_CI = 122;
-exports.UTF16_UNICODE_520_CI = 123;
-exports.UTF16_VIETNAMESE_CI = 124;
-exports.UCS2_UNICODE_CI = 128;
-exports.UCS2_ICELANDIC_CI = 129;
-exports.UCS2_LATVIAN_CI = 130;
-exports.UCS2_ROMANIAN_CI = 131;
-exports.UCS2_SLOVENIAN_CI = 132;
-exports.UCS2_POLISH_CI = 133;
-exports.UCS2_ESTONIAN_CI = 134;
-exports.UCS2_SPANISH_CI = 135;
-exports.UCS2_SWEDISH_CI = 136;
-exports.UCS2_TURKISH_CI = 137;
-exports.UCS2_CZECH_CI = 138;
-exports.UCS2_DANISH_CI = 139;
-exports.UCS2_LITHUANIAN_CI = 140;
-exports.UCS2_SLOVAK_CI = 141;
-exports.UCS2_SPANISH2_CI = 142;
-exports.UCS2_ROMAN_CI = 143;
-exports.UCS2_PERSIAN_CI = 144;
-exports.UCS2_ESPERANTO_CI = 145;
-exports.UCS2_HUNGARIAN_CI = 146;
-exports.UCS2_SINHALA_CI = 147;
-exports.UCS2_GERMAN2_CI = 148;
-exports.UCS2_CROATIAN_MYSQL561_CI = 149;
-exports.UCS2_UNICODE_520_CI = 150;
-exports.UCS2_VIETNAMESE_CI = 151;
-exports.UCS2_GENERAL_MYSQL500_CI = 159;
-exports.UTF32_UNICODE_CI = 160;
-exports.UTF32_ICELANDIC_CI = 161;
-exports.UTF32_LATVIAN_CI = 162;
-exports.UTF32_ROMANIAN_CI = 163;
-exports.UTF32_SLOVENIAN_CI = 164;
-exports.UTF32_POLISH_CI = 165;
-exports.UTF32_ESTONIAN_CI = 166;
-exports.UTF32_SPANISH_CI = 167;
-exports.UTF32_SWEDISH_CI = 168;
-exports.UTF32_TURKISH_CI = 169;
-exports.UTF32_CZECH_CI = 170;
-exports.UTF32_DANISH_CI = 171;
-exports.UTF32_LITHUANIAN_CI = 172;
-exports.UTF32_SLOVAK_CI = 173;
-exports.UTF32_SPANISH2_CI = 174;
-exports.UTF32_ROMAN_CI = 175;
-exports.UTF32_PERSIAN_CI = 176;
-exports.UTF32_ESPERANTO_CI = 177;
-exports.UTF32_HUNGARIAN_CI = 178;
-exports.UTF32_SINHALA_CI = 179;
-exports.UTF32_GERMAN2_CI = 180;
-exports.UTF32_CROATIAN_MYSQL561_CI = 181;
-exports.UTF32_UNICODE_520_CI = 182;
-exports.UTF32_VIETNAMESE_CI = 183;
-exports.UTF8_UNICODE_CI = 192;
-exports.UTF8_ICELANDIC_CI = 193;
-exports.UTF8_LATVIAN_CI = 194;
-exports.UTF8_ROMANIAN_CI = 195;
-exports.UTF8_SLOVENIAN_CI = 196;
-exports.UTF8_POLISH_CI = 197;
-exports.UTF8_ESTONIAN_CI = 198;
-exports.UTF8_SPANISH_CI = 199;
-exports.UTF8_SWEDISH_CI = 200;
-exports.UTF8_TURKISH_CI = 201;
-exports.UTF8_CZECH_CI = 202;
-exports.UTF8_DANISH_CI = 203;
-exports.UTF8_LITHUANIAN_CI = 204;
-exports.UTF8_SLOVAK_CI = 205;
-exports.UTF8_SPANISH2_CI = 206;
-exports.UTF8_ROMAN_CI = 207;
-exports.UTF8_PERSIAN_CI = 208;
-exports.UTF8_ESPERANTO_CI = 209;
-exports.UTF8_HUNGARIAN_CI = 210;
-exports.UTF8_SINHALA_CI = 211;
-exports.UTF8_GERMAN2_CI = 212;
-exports.UTF8_CROATIAN_MYSQL561_CI = 213;
-exports.UTF8_UNICODE_520_CI = 214;
-exports.UTF8_VIETNAMESE_CI = 215;
-exports.UTF8_GENERAL_MYSQL500_CI = 223;
-exports.UTF8MB4_UNICODE_CI = 224;
-exports.UTF8MB4_ICELANDIC_CI = 225;
-exports.UTF8MB4_LATVIAN_CI = 226;
-exports.UTF8MB4_ROMANIAN_CI = 227;
-exports.UTF8MB4_SLOVENIAN_CI = 228;
-exports.UTF8MB4_POLISH_CI = 229;
-exports.UTF8MB4_ESTONIAN_CI = 230;
-exports.UTF8MB4_SPANISH_CI = 231;
-exports.UTF8MB4_SWEDISH_CI = 232;
-exports.UTF8MB4_TURKISH_CI = 233;
-exports.UTF8MB4_CZECH_CI = 234;
-exports.UTF8MB4_DANISH_CI = 235;
-exports.UTF8MB4_LITHUANIAN_CI = 236;
-exports.UTF8MB4_SLOVAK_CI = 237;
-exports.UTF8MB4_SPANISH2_CI = 238;
-exports.UTF8MB4_ROMAN_CI = 239;
-exports.UTF8MB4_PERSIAN_CI = 240;
-exports.UTF8MB4_ESPERANTO_CI = 241;
-exports.UTF8MB4_HUNGARIAN_CI = 242;
-exports.UTF8MB4_SINHALA_CI = 243;
-exports.UTF8MB4_GERMAN2_CI = 244;
-exports.UTF8MB4_CROATIAN_MYSQL561_CI = 245;
-exports.UTF8MB4_UNICODE_520_CI = 246;
-exports.UTF8MB4_VIETNAMESE_CI = 247;
-exports.UTF8_GENERAL50_CI = 253;
-
-// short aliases
-exports.ARMSCII8 = exports.ARMSCII8_GENERAL_CI;
-exports.ASCII = exports.ASCII_GENERAL_CI;
-exports.BIG5 = exports.BIG5_CHINESE_CI;
-exports.BINARY = exports.BINARY;
-exports.CP1250 = exports.CP1250_GENERAL_CI;
-exports.CP1251 = exports.CP1251_GENERAL_CI;
-exports.CP1256 = exports.CP1256_GENERAL_CI;
-exports.CP1257 = exports.CP1257_GENERAL_CI;
-exports.CP866 = exports.CP866_GENERAL_CI;
-exports.CP850 = exports.CP850_GENERAL_CI;
-exports.CP852 = exports.CP852_GENERAL_CI;
-exports.CP932 = exports.CP932_JAPANESE_CI;
-exports.DEC8 = exports.DEC8_SWEDISH_CI;
-exports.EUCJPMS = exports.EUCJPMS_JAPANESE_CI;
-exports.EUCKR = exports.EUCKR_KOREAN_CI;
-exports.GB2312 = exports.GB2312_CHINESE_CI;
-exports.GBK = exports.GBK_CHINESE_CI;
-exports.GEOSTD8 = exports.GEOSTD8_GENERAL_CI;
-exports.GREEK = exports.GREEK_GENERAL_CI;
-exports.HEBREW = exports.HEBREW_GENERAL_CI;
-exports.HP8 = exports.HP8_ENGLISH_CI;
-exports.KEYBCS2 = exports.KEYBCS2_GENERAL_CI;
-exports.KOI8R = exports.KOI8R_GENERAL_CI;
-exports.KOI8U = exports.KOI8U_GENERAL_CI;
-exports.LATIN1 = exports.LATIN1_SWEDISH_CI;
-exports.LATIN2 = exports.LATIN2_GENERAL_CI;
-exports.LATIN5 = exports.LATIN5_TURKISH_CI;
-exports.LATIN7 = exports.LATIN7_GENERAL_CI;
-exports.MACCE = exports.MACCE_GENERAL_CI;
-exports.MACROMAN = exports.MACROMAN_GENERAL_CI;
-exports.SJIS = exports.SJIS_JAPANESE_CI;
-exports.SWE7 = exports.SWE7_SWEDISH_CI;
-exports.TIS620 = exports.TIS620_THAI_CI;
-exports.UCS2 = exports.UCS2_GENERAL_CI;
-exports.UJIS = exports.UJIS_JAPANESE_CI;
-exports.UTF16 = exports.UTF16_GENERAL_CI;
-exports.UTF16LE = exports.UTF16LE_GENERAL_CI;
-exports.UTF8 = exports.UTF8_GENERAL_CI;
-exports.UTF8MB4 = exports.UTF8MB4_GENERAL_CI;
-exports.UTF32 = exports.UTF32_GENERAL_CI;
diff --git a/Server/node_modules/mysql/lib/protocol/constants/client.js b/Server/node_modules/mysql/lib/protocol/constants/client.js
deleted file mode 100644
index 59aadc6..0000000
--- a/Server/node_modules/mysql/lib/protocol/constants/client.js
+++ /dev/null
@@ -1,26 +0,0 @@
-// Manually extracted from mysql-5.5.23/include/mysql_com.h
-exports.CLIENT_LONG_PASSWORD = 1; /* new more secure passwords */
-exports.CLIENT_FOUND_ROWS = 2; /* Found instead of affected rows */
-exports.CLIENT_LONG_FLAG = 4; /* Get all column flags */
-exports.CLIENT_CONNECT_WITH_DB = 8; /* One can specify db on connect */
-exports.CLIENT_NO_SCHEMA = 16; /* Don't allow database.table.column */
-exports.CLIENT_COMPRESS = 32; /* Can use compression protocol */
-exports.CLIENT_ODBC = 64; /* Odbc client */
-exports.CLIENT_LOCAL_FILES = 128; /* Can use LOAD DATA LOCAL */
-exports.CLIENT_IGNORE_SPACE = 256; /* Ignore spaces before '(' */
-exports.CLIENT_PROTOCOL_41 = 512; /* New 4.1 protocol */
-exports.CLIENT_INTERACTIVE = 1024; /* This is an interactive client */
-exports.CLIENT_SSL = 2048; /* Switch to SSL after handshake */
-exports.CLIENT_IGNORE_SIGPIPE = 4096; /* IGNORE sigpipes */
-exports.CLIENT_TRANSACTIONS = 8192; /* Client knows about transactions */
-exports.CLIENT_RESERVED = 16384; /* Old flag for 4.1 protocol */
-exports.CLIENT_SECURE_CONNECTION = 32768; /* New 4.1 authentication */
-
-exports.CLIENT_MULTI_STATEMENTS = 65536; /* Enable/disable multi-stmt support */
-exports.CLIENT_MULTI_RESULTS = 131072; /* Enable/disable multi-results */
-exports.CLIENT_PS_MULTI_RESULTS = 262144; /* Multi-results in PS-protocol */
-
-exports.CLIENT_PLUGIN_AUTH = 524288; /* Client supports plugin authentication */
-
-exports.CLIENT_SSL_VERIFY_SERVER_CERT = 1073741824;
-exports.CLIENT_REMEMBER_OPTIONS = 2147483648;
diff --git a/Server/node_modules/mysql/lib/protocol/constants/errors.js b/Server/node_modules/mysql/lib/protocol/constants/errors.js
deleted file mode 100644
index e757741..0000000
--- a/Server/node_modules/mysql/lib/protocol/constants/errors.js
+++ /dev/null
@@ -1,2476 +0,0 @@
-/**
- * MySQL error constants
- *
- * Extracted from version 5.7.29
- *
- * !! Generated by generate-error-constants.js, do not modify by hand !!
- */
-
-exports.EE_CANTCREATEFILE = 1;
-exports.EE_READ = 2;
-exports.EE_WRITE = 3;
-exports.EE_BADCLOSE = 4;
-exports.EE_OUTOFMEMORY = 5;
-exports.EE_DELETE = 6;
-exports.EE_LINK = 7;
-exports.EE_EOFERR = 9;
-exports.EE_CANTLOCK = 10;
-exports.EE_CANTUNLOCK = 11;
-exports.EE_DIR = 12;
-exports.EE_STAT = 13;
-exports.EE_CANT_CHSIZE = 14;
-exports.EE_CANT_OPEN_STREAM = 15;
-exports.EE_GETWD = 16;
-exports.EE_SETWD = 17;
-exports.EE_LINK_WARNING = 18;
-exports.EE_OPEN_WARNING = 19;
-exports.EE_DISK_FULL = 20;
-exports.EE_CANT_MKDIR = 21;
-exports.EE_UNKNOWN_CHARSET = 22;
-exports.EE_OUT_OF_FILERESOURCES = 23;
-exports.EE_CANT_READLINK = 24;
-exports.EE_CANT_SYMLINK = 25;
-exports.EE_REALPATH = 26;
-exports.EE_SYNC = 27;
-exports.EE_UNKNOWN_COLLATION = 28;
-exports.EE_FILENOTFOUND = 29;
-exports.EE_FILE_NOT_CLOSED = 30;
-exports.EE_CHANGE_OWNERSHIP = 31;
-exports.EE_CHANGE_PERMISSIONS = 32;
-exports.EE_CANT_SEEK = 33;
-exports.EE_CAPACITY_EXCEEDED = 34;
-exports.HA_ERR_KEY_NOT_FOUND = 120;
-exports.HA_ERR_FOUND_DUPP_KEY = 121;
-exports.HA_ERR_INTERNAL_ERROR = 122;
-exports.HA_ERR_RECORD_CHANGED = 123;
-exports.HA_ERR_WRONG_INDEX = 124;
-exports.HA_ERR_CRASHED = 126;
-exports.HA_ERR_WRONG_IN_RECORD = 127;
-exports.HA_ERR_OUT_OF_MEM = 128;
-exports.HA_ERR_NOT_A_TABLE = 130;
-exports.HA_ERR_WRONG_COMMAND = 131;
-exports.HA_ERR_OLD_FILE = 132;
-exports.HA_ERR_NO_ACTIVE_RECORD = 133;
-exports.HA_ERR_RECORD_DELETED = 134;
-exports.HA_ERR_RECORD_FILE_FULL = 135;
-exports.HA_ERR_INDEX_FILE_FULL = 136;
-exports.HA_ERR_END_OF_FILE = 137;
-exports.HA_ERR_UNSUPPORTED = 138;
-exports.HA_ERR_TOO_BIG_ROW = 139;
-exports.HA_WRONG_CREATE_OPTION = 140;
-exports.HA_ERR_FOUND_DUPP_UNIQUE = 141;
-exports.HA_ERR_UNKNOWN_CHARSET = 142;
-exports.HA_ERR_WRONG_MRG_TABLE_DEF = 143;
-exports.HA_ERR_CRASHED_ON_REPAIR = 144;
-exports.HA_ERR_CRASHED_ON_USAGE = 145;
-exports.HA_ERR_LOCK_WAIT_TIMEOUT = 146;
-exports.HA_ERR_LOCK_TABLE_FULL = 147;
-exports.HA_ERR_READ_ONLY_TRANSACTION = 148;
-exports.HA_ERR_LOCK_DEADLOCK = 149;
-exports.HA_ERR_CANNOT_ADD_FOREIGN = 150;
-exports.HA_ERR_NO_REFERENCED_ROW = 151;
-exports.HA_ERR_ROW_IS_REFERENCED = 152;
-exports.HA_ERR_NO_SAVEPOINT = 153;
-exports.HA_ERR_NON_UNIQUE_BLOCK_SIZE = 154;
-exports.HA_ERR_NO_SUCH_TABLE = 155;
-exports.HA_ERR_TABLE_EXIST = 156;
-exports.HA_ERR_NO_CONNECTION = 157;
-exports.HA_ERR_NULL_IN_SPATIAL = 158;
-exports.HA_ERR_TABLE_DEF_CHANGED = 159;
-exports.HA_ERR_NO_PARTITION_FOUND = 160;
-exports.HA_ERR_RBR_LOGGING_FAILED = 161;
-exports.HA_ERR_DROP_INDEX_FK = 162;
-exports.HA_ERR_FOREIGN_DUPLICATE_KEY = 163;
-exports.HA_ERR_TABLE_NEEDS_UPGRADE = 164;
-exports.HA_ERR_TABLE_READONLY = 165;
-exports.HA_ERR_AUTOINC_READ_FAILED = 166;
-exports.HA_ERR_AUTOINC_ERANGE = 167;
-exports.HA_ERR_GENERIC = 168;
-exports.HA_ERR_RECORD_IS_THE_SAME = 169;
-exports.HA_ERR_LOGGING_IMPOSSIBLE = 170;
-exports.HA_ERR_CORRUPT_EVENT = 171;
-exports.HA_ERR_NEW_FILE = 172;
-exports.HA_ERR_ROWS_EVENT_APPLY = 173;
-exports.HA_ERR_INITIALIZATION = 174;
-exports.HA_ERR_FILE_TOO_SHORT = 175;
-exports.HA_ERR_WRONG_CRC = 176;
-exports.HA_ERR_TOO_MANY_CONCURRENT_TRXS = 177;
-exports.HA_ERR_NOT_IN_LOCK_PARTITIONS = 178;
-exports.HA_ERR_INDEX_COL_TOO_LONG = 179;
-exports.HA_ERR_INDEX_CORRUPT = 180;
-exports.HA_ERR_UNDO_REC_TOO_BIG = 181;
-exports.HA_FTS_INVALID_DOCID = 182;
-exports.HA_ERR_TABLE_IN_FK_CHECK = 183;
-exports.HA_ERR_TABLESPACE_EXISTS = 184;
-exports.HA_ERR_TOO_MANY_FIELDS = 185;
-exports.HA_ERR_ROW_IN_WRONG_PARTITION = 186;
-exports.HA_ERR_INNODB_READ_ONLY = 187;
-exports.HA_ERR_FTS_EXCEED_RESULT_CACHE_LIMIT = 188;
-exports.HA_ERR_TEMP_FILE_WRITE_FAILURE = 189;
-exports.HA_ERR_INNODB_FORCED_RECOVERY = 190;
-exports.HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE = 191;
-exports.HA_ERR_FK_DEPTH_EXCEEDED = 192;
-exports.HA_MISSING_CREATE_OPTION = 193;
-exports.HA_ERR_SE_OUT_OF_MEMORY = 194;
-exports.HA_ERR_TABLE_CORRUPT = 195;
-exports.HA_ERR_QUERY_INTERRUPTED = 196;
-exports.HA_ERR_TABLESPACE_MISSING = 197;
-exports.HA_ERR_TABLESPACE_IS_NOT_EMPTY = 198;
-exports.HA_ERR_WRONG_FILE_NAME = 199;
-exports.HA_ERR_NOT_ALLOWED_COMMAND = 200;
-exports.HA_ERR_COMPUTE_FAILED = 201;
-exports.ER_HASHCHK = 1000;
-exports.ER_NISAMCHK = 1001;
-exports.ER_NO = 1002;
-exports.ER_YES = 1003;
-exports.ER_CANT_CREATE_FILE = 1004;
-exports.ER_CANT_CREATE_TABLE = 1005;
-exports.ER_CANT_CREATE_DB = 1006;
-exports.ER_DB_CREATE_EXISTS = 1007;
-exports.ER_DB_DROP_EXISTS = 1008;
-exports.ER_DB_DROP_DELETE = 1009;
-exports.ER_DB_DROP_RMDIR = 1010;
-exports.ER_CANT_DELETE_FILE = 1011;
-exports.ER_CANT_FIND_SYSTEM_REC = 1012;
-exports.ER_CANT_GET_STAT = 1013;
-exports.ER_CANT_GET_WD = 1014;
-exports.ER_CANT_LOCK = 1015;
-exports.ER_CANT_OPEN_FILE = 1016;
-exports.ER_FILE_NOT_FOUND = 1017;
-exports.ER_CANT_READ_DIR = 1018;
-exports.ER_CANT_SET_WD = 1019;
-exports.ER_CHECKREAD = 1020;
-exports.ER_DISK_FULL = 1021;
-exports.ER_DUP_KEY = 1022;
-exports.ER_ERROR_ON_CLOSE = 1023;
-exports.ER_ERROR_ON_READ = 1024;
-exports.ER_ERROR_ON_RENAME = 1025;
-exports.ER_ERROR_ON_WRITE = 1026;
-exports.ER_FILE_USED = 1027;
-exports.ER_FILSORT_ABORT = 1028;
-exports.ER_FORM_NOT_FOUND = 1029;
-exports.ER_GET_ERRNO = 1030;
-exports.ER_ILLEGAL_HA = 1031;
-exports.ER_KEY_NOT_FOUND = 1032;
-exports.ER_NOT_FORM_FILE = 1033;
-exports.ER_NOT_KEYFILE = 1034;
-exports.ER_OLD_KEYFILE = 1035;
-exports.ER_OPEN_AS_READONLY = 1036;
-exports.ER_OUTOFMEMORY = 1037;
-exports.ER_OUT_OF_SORTMEMORY = 1038;
-exports.ER_UNEXPECTED_EOF = 1039;
-exports.ER_CON_COUNT_ERROR = 1040;
-exports.ER_OUT_OF_RESOURCES = 1041;
-exports.ER_BAD_HOST_ERROR = 1042;
-exports.ER_HANDSHAKE_ERROR = 1043;
-exports.ER_DBACCESS_DENIED_ERROR = 1044;
-exports.ER_ACCESS_DENIED_ERROR = 1045;
-exports.ER_NO_DB_ERROR = 1046;
-exports.ER_UNKNOWN_COM_ERROR = 1047;
-exports.ER_BAD_NULL_ERROR = 1048;
-exports.ER_BAD_DB_ERROR = 1049;
-exports.ER_TABLE_EXISTS_ERROR = 1050;
-exports.ER_BAD_TABLE_ERROR = 1051;
-exports.ER_NON_UNIQ_ERROR = 1052;
-exports.ER_SERVER_SHUTDOWN = 1053;
-exports.ER_BAD_FIELD_ERROR = 1054;
-exports.ER_WRONG_FIELD_WITH_GROUP = 1055;
-exports.ER_WRONG_GROUP_FIELD = 1056;
-exports.ER_WRONG_SUM_SELECT = 1057;
-exports.ER_WRONG_VALUE_COUNT = 1058;
-exports.ER_TOO_LONG_IDENT = 1059;
-exports.ER_DUP_FIELDNAME = 1060;
-exports.ER_DUP_KEYNAME = 1061;
-exports.ER_DUP_ENTRY = 1062;
-exports.ER_WRONG_FIELD_SPEC = 1063;
-exports.ER_PARSE_ERROR = 1064;
-exports.ER_EMPTY_QUERY = 1065;
-exports.ER_NONUNIQ_TABLE = 1066;
-exports.ER_INVALID_DEFAULT = 1067;
-exports.ER_MULTIPLE_PRI_KEY = 1068;
-exports.ER_TOO_MANY_KEYS = 1069;
-exports.ER_TOO_MANY_KEY_PARTS = 1070;
-exports.ER_TOO_LONG_KEY = 1071;
-exports.ER_KEY_COLUMN_DOES_NOT_EXITS = 1072;
-exports.ER_BLOB_USED_AS_KEY = 1073;
-exports.ER_TOO_BIG_FIELDLENGTH = 1074;
-exports.ER_WRONG_AUTO_KEY = 1075;
-exports.ER_READY = 1076;
-exports.ER_NORMAL_SHUTDOWN = 1077;
-exports.ER_GOT_SIGNAL = 1078;
-exports.ER_SHUTDOWN_COMPLETE = 1079;
-exports.ER_FORCING_CLOSE = 1080;
-exports.ER_IPSOCK_ERROR = 1081;
-exports.ER_NO_SUCH_INDEX = 1082;
-exports.ER_WRONG_FIELD_TERMINATORS = 1083;
-exports.ER_BLOBS_AND_NO_TERMINATED = 1084;
-exports.ER_TEXTFILE_NOT_READABLE = 1085;
-exports.ER_FILE_EXISTS_ERROR = 1086;
-exports.ER_LOAD_INFO = 1087;
-exports.ER_ALTER_INFO = 1088;
-exports.ER_WRONG_SUB_KEY = 1089;
-exports.ER_CANT_REMOVE_ALL_FIELDS = 1090;
-exports.ER_CANT_DROP_FIELD_OR_KEY = 1091;
-exports.ER_INSERT_INFO = 1092;
-exports.ER_UPDATE_TABLE_USED = 1093;
-exports.ER_NO_SUCH_THREAD = 1094;
-exports.ER_KILL_DENIED_ERROR = 1095;
-exports.ER_NO_TABLES_USED = 1096;
-exports.ER_TOO_BIG_SET = 1097;
-exports.ER_NO_UNIQUE_LOGFILE = 1098;
-exports.ER_TABLE_NOT_LOCKED_FOR_WRITE = 1099;
-exports.ER_TABLE_NOT_LOCKED = 1100;
-exports.ER_BLOB_CANT_HAVE_DEFAULT = 1101;
-exports.ER_WRONG_DB_NAME = 1102;
-exports.ER_WRONG_TABLE_NAME = 1103;
-exports.ER_TOO_BIG_SELECT = 1104;
-exports.ER_UNKNOWN_ERROR = 1105;
-exports.ER_UNKNOWN_PROCEDURE = 1106;
-exports.ER_WRONG_PARAMCOUNT_TO_PROCEDURE = 1107;
-exports.ER_WRONG_PARAMETERS_TO_PROCEDURE = 1108;
-exports.ER_UNKNOWN_TABLE = 1109;
-exports.ER_FIELD_SPECIFIED_TWICE = 1110;
-exports.ER_INVALID_GROUP_FUNC_USE = 1111;
-exports.ER_UNSUPPORTED_EXTENSION = 1112;
-exports.ER_TABLE_MUST_HAVE_COLUMNS = 1113;
-exports.ER_RECORD_FILE_FULL = 1114;
-exports.ER_UNKNOWN_CHARACTER_SET = 1115;
-exports.ER_TOO_MANY_TABLES = 1116;
-exports.ER_TOO_MANY_FIELDS = 1117;
-exports.ER_TOO_BIG_ROWSIZE = 1118;
-exports.ER_STACK_OVERRUN = 1119;
-exports.ER_WRONG_OUTER_JOIN = 1120;
-exports.ER_NULL_COLUMN_IN_INDEX = 1121;
-exports.ER_CANT_FIND_UDF = 1122;
-exports.ER_CANT_INITIALIZE_UDF = 1123;
-exports.ER_UDF_NO_PATHS = 1124;
-exports.ER_UDF_EXISTS = 1125;
-exports.ER_CANT_OPEN_LIBRARY = 1126;
-exports.ER_CANT_FIND_DL_ENTRY = 1127;
-exports.ER_FUNCTION_NOT_DEFINED = 1128;
-exports.ER_HOST_IS_BLOCKED = 1129;
-exports.ER_HOST_NOT_PRIVILEGED = 1130;
-exports.ER_PASSWORD_ANONYMOUS_USER = 1131;
-exports.ER_PASSWORD_NOT_ALLOWED = 1132;
-exports.ER_PASSWORD_NO_MATCH = 1133;
-exports.ER_UPDATE_INFO = 1134;
-exports.ER_CANT_CREATE_THREAD = 1135;
-exports.ER_WRONG_VALUE_COUNT_ON_ROW = 1136;
-exports.ER_CANT_REOPEN_TABLE = 1137;
-exports.ER_INVALID_USE_OF_NULL = 1138;
-exports.ER_REGEXP_ERROR = 1139;
-exports.ER_MIX_OF_GROUP_FUNC_AND_FIELDS = 1140;
-exports.ER_NONEXISTING_GRANT = 1141;
-exports.ER_TABLEACCESS_DENIED_ERROR = 1142;
-exports.ER_COLUMNACCESS_DENIED_ERROR = 1143;
-exports.ER_ILLEGAL_GRANT_FOR_TABLE = 1144;
-exports.ER_GRANT_WRONG_HOST_OR_USER = 1145;
-exports.ER_NO_SUCH_TABLE = 1146;
-exports.ER_NONEXISTING_TABLE_GRANT = 1147;
-exports.ER_NOT_ALLOWED_COMMAND = 1148;
-exports.ER_SYNTAX_ERROR = 1149;
-exports.ER_DELAYED_CANT_CHANGE_LOCK = 1150;
-exports.ER_TOO_MANY_DELAYED_THREADS = 1151;
-exports.ER_ABORTING_CONNECTION = 1152;
-exports.ER_NET_PACKET_TOO_LARGE = 1153;
-exports.ER_NET_READ_ERROR_FROM_PIPE = 1154;
-exports.ER_NET_FCNTL_ERROR = 1155;
-exports.ER_NET_PACKETS_OUT_OF_ORDER = 1156;
-exports.ER_NET_UNCOMPRESS_ERROR = 1157;
-exports.ER_NET_READ_ERROR = 1158;
-exports.ER_NET_READ_INTERRUPTED = 1159;
-exports.ER_NET_ERROR_ON_WRITE = 1160;
-exports.ER_NET_WRITE_INTERRUPTED = 1161;
-exports.ER_TOO_LONG_STRING = 1162;
-exports.ER_TABLE_CANT_HANDLE_BLOB = 1163;
-exports.ER_TABLE_CANT_HANDLE_AUTO_INCREMENT = 1164;
-exports.ER_DELAYED_INSERT_TABLE_LOCKED = 1165;
-exports.ER_WRONG_COLUMN_NAME = 1166;
-exports.ER_WRONG_KEY_COLUMN = 1167;
-exports.ER_WRONG_MRG_TABLE = 1168;
-exports.ER_DUP_UNIQUE = 1169;
-exports.ER_BLOB_KEY_WITHOUT_LENGTH = 1170;
-exports.ER_PRIMARY_CANT_HAVE_NULL = 1171;
-exports.ER_TOO_MANY_ROWS = 1172;
-exports.ER_REQUIRES_PRIMARY_KEY = 1173;
-exports.ER_NO_RAID_COMPILED = 1174;
-exports.ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE = 1175;
-exports.ER_KEY_DOES_NOT_EXITS = 1176;
-exports.ER_CHECK_NO_SUCH_TABLE = 1177;
-exports.ER_CHECK_NOT_IMPLEMENTED = 1178;
-exports.ER_CANT_DO_THIS_DURING_AN_TRANSACTION = 1179;
-exports.ER_ERROR_DURING_COMMIT = 1180;
-exports.ER_ERROR_DURING_ROLLBACK = 1181;
-exports.ER_ERROR_DURING_FLUSH_LOGS = 1182;
-exports.ER_ERROR_DURING_CHECKPOINT = 1183;
-exports.ER_NEW_ABORTING_CONNECTION = 1184;
-exports.ER_DUMP_NOT_IMPLEMENTED = 1185;
-exports.ER_FLUSH_MASTER_BINLOG_CLOSED = 1186;
-exports.ER_INDEX_REBUILD = 1187;
-exports.ER_MASTER = 1188;
-exports.ER_MASTER_NET_READ = 1189;
-exports.ER_MASTER_NET_WRITE = 1190;
-exports.ER_FT_MATCHING_KEY_NOT_FOUND = 1191;
-exports.ER_LOCK_OR_ACTIVE_TRANSACTION = 1192;
-exports.ER_UNKNOWN_SYSTEM_VARIABLE = 1193;
-exports.ER_CRASHED_ON_USAGE = 1194;
-exports.ER_CRASHED_ON_REPAIR = 1195;
-exports.ER_WARNING_NOT_COMPLETE_ROLLBACK = 1196;
-exports.ER_TRANS_CACHE_FULL = 1197;
-exports.ER_SLAVE_MUST_STOP = 1198;
-exports.ER_SLAVE_NOT_RUNNING = 1199;
-exports.ER_BAD_SLAVE = 1200;
-exports.ER_MASTER_INFO = 1201;
-exports.ER_SLAVE_THREAD = 1202;
-exports.ER_TOO_MANY_USER_CONNECTIONS = 1203;
-exports.ER_SET_CONSTANTS_ONLY = 1204;
-exports.ER_LOCK_WAIT_TIMEOUT = 1205;
-exports.ER_LOCK_TABLE_FULL = 1206;
-exports.ER_READ_ONLY_TRANSACTION = 1207;
-exports.ER_DROP_DB_WITH_READ_LOCK = 1208;
-exports.ER_CREATE_DB_WITH_READ_LOCK = 1209;
-exports.ER_WRONG_ARGUMENTS = 1210;
-exports.ER_NO_PERMISSION_TO_CREATE_USER = 1211;
-exports.ER_UNION_TABLES_IN_DIFFERENT_DIR = 1212;
-exports.ER_LOCK_DEADLOCK = 1213;
-exports.ER_TABLE_CANT_HANDLE_FT = 1214;
-exports.ER_CANNOT_ADD_FOREIGN = 1215;
-exports.ER_NO_REFERENCED_ROW = 1216;
-exports.ER_ROW_IS_REFERENCED = 1217;
-exports.ER_CONNECT_TO_MASTER = 1218;
-exports.ER_QUERY_ON_MASTER = 1219;
-exports.ER_ERROR_WHEN_EXECUTING_COMMAND = 1220;
-exports.ER_WRONG_USAGE = 1221;
-exports.ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT = 1222;
-exports.ER_CANT_UPDATE_WITH_READLOCK = 1223;
-exports.ER_MIXING_NOT_ALLOWED = 1224;
-exports.ER_DUP_ARGUMENT = 1225;
-exports.ER_USER_LIMIT_REACHED = 1226;
-exports.ER_SPECIFIC_ACCESS_DENIED_ERROR = 1227;
-exports.ER_LOCAL_VARIABLE = 1228;
-exports.ER_GLOBAL_VARIABLE = 1229;
-exports.ER_NO_DEFAULT = 1230;
-exports.ER_WRONG_VALUE_FOR_VAR = 1231;
-exports.ER_WRONG_TYPE_FOR_VAR = 1232;
-exports.ER_VAR_CANT_BE_READ = 1233;
-exports.ER_CANT_USE_OPTION_HERE = 1234;
-exports.ER_NOT_SUPPORTED_YET = 1235;
-exports.ER_MASTER_FATAL_ERROR_READING_BINLOG = 1236;
-exports.ER_SLAVE_IGNORED_TABLE = 1237;
-exports.ER_INCORRECT_GLOBAL_LOCAL_VAR = 1238;
-exports.ER_WRONG_FK_DEF = 1239;
-exports.ER_KEY_REF_DO_NOT_MATCH_TABLE_REF = 1240;
-exports.ER_OPERAND_COLUMNS = 1241;
-exports.ER_SUBQUERY_NO_1_ROW = 1242;
-exports.ER_UNKNOWN_STMT_HANDLER = 1243;
-exports.ER_CORRUPT_HELP_DB = 1244;
-exports.ER_CYCLIC_REFERENCE = 1245;
-exports.ER_AUTO_CONVERT = 1246;
-exports.ER_ILLEGAL_REFERENCE = 1247;
-exports.ER_DERIVED_MUST_HAVE_ALIAS = 1248;
-exports.ER_SELECT_REDUCED = 1249;
-exports.ER_TABLENAME_NOT_ALLOWED_HERE = 1250;
-exports.ER_NOT_SUPPORTED_AUTH_MODE = 1251;
-exports.ER_SPATIAL_CANT_HAVE_NULL = 1252;
-exports.ER_COLLATION_CHARSET_MISMATCH = 1253;
-exports.ER_SLAVE_WAS_RUNNING = 1254;
-exports.ER_SLAVE_WAS_NOT_RUNNING = 1255;
-exports.ER_TOO_BIG_FOR_UNCOMPRESS = 1256;
-exports.ER_ZLIB_Z_MEM_ERROR = 1257;
-exports.ER_ZLIB_Z_BUF_ERROR = 1258;
-exports.ER_ZLIB_Z_DATA_ERROR = 1259;
-exports.ER_CUT_VALUE_GROUP_CONCAT = 1260;
-exports.ER_WARN_TOO_FEW_RECORDS = 1261;
-exports.ER_WARN_TOO_MANY_RECORDS = 1262;
-exports.ER_WARN_NULL_TO_NOTNULL = 1263;
-exports.ER_WARN_DATA_OUT_OF_RANGE = 1264;
-exports.WARN_DATA_TRUNCATED = 1265;
-exports.ER_WARN_USING_OTHER_HANDLER = 1266;
-exports.ER_CANT_AGGREGATE_2COLLATIONS = 1267;
-exports.ER_DROP_USER = 1268;
-exports.ER_REVOKE_GRANTS = 1269;
-exports.ER_CANT_AGGREGATE_3COLLATIONS = 1270;
-exports.ER_CANT_AGGREGATE_NCOLLATIONS = 1271;
-exports.ER_VARIABLE_IS_NOT_STRUCT = 1272;
-exports.ER_UNKNOWN_COLLATION = 1273;
-exports.ER_SLAVE_IGNORED_SSL_PARAMS = 1274;
-exports.ER_SERVER_IS_IN_SECURE_AUTH_MODE = 1275;
-exports.ER_WARN_FIELD_RESOLVED = 1276;
-exports.ER_BAD_SLAVE_UNTIL_COND = 1277;
-exports.ER_MISSING_SKIP_SLAVE = 1278;
-exports.ER_UNTIL_COND_IGNORED = 1279;
-exports.ER_WRONG_NAME_FOR_INDEX = 1280;
-exports.ER_WRONG_NAME_FOR_CATALOG = 1281;
-exports.ER_WARN_QC_RESIZE = 1282;
-exports.ER_BAD_FT_COLUMN = 1283;
-exports.ER_UNKNOWN_KEY_CACHE = 1284;
-exports.ER_WARN_HOSTNAME_WONT_WORK = 1285;
-exports.ER_UNKNOWN_STORAGE_ENGINE = 1286;
-exports.ER_WARN_DEPRECATED_SYNTAX = 1287;
-exports.ER_NON_UPDATABLE_TABLE = 1288;
-exports.ER_FEATURE_DISABLED = 1289;
-exports.ER_OPTION_PREVENTS_STATEMENT = 1290;
-exports.ER_DUPLICATED_VALUE_IN_TYPE = 1291;
-exports.ER_TRUNCATED_WRONG_VALUE = 1292;
-exports.ER_TOO_MUCH_AUTO_TIMESTAMP_COLS = 1293;
-exports.ER_INVALID_ON_UPDATE = 1294;
-exports.ER_UNSUPPORTED_PS = 1295;
-exports.ER_GET_ERRMSG = 1296;
-exports.ER_GET_TEMPORARY_ERRMSG = 1297;
-exports.ER_UNKNOWN_TIME_ZONE = 1298;
-exports.ER_WARN_INVALID_TIMESTAMP = 1299;
-exports.ER_INVALID_CHARACTER_STRING = 1300;
-exports.ER_WARN_ALLOWED_PACKET_OVERFLOWED = 1301;
-exports.ER_CONFLICTING_DECLARATIONS = 1302;
-exports.ER_SP_NO_RECURSIVE_CREATE = 1303;
-exports.ER_SP_ALREADY_EXISTS = 1304;
-exports.ER_SP_DOES_NOT_EXIST = 1305;
-exports.ER_SP_DROP_FAILED = 1306;
-exports.ER_SP_STORE_FAILED = 1307;
-exports.ER_SP_LILABEL_MISMATCH = 1308;
-exports.ER_SP_LABEL_REDEFINE = 1309;
-exports.ER_SP_LABEL_MISMATCH = 1310;
-exports.ER_SP_UNINIT_VAR = 1311;
-exports.ER_SP_BADSELECT = 1312;
-exports.ER_SP_BADRETURN = 1313;
-exports.ER_SP_BADSTATEMENT = 1314;
-exports.ER_UPDATE_LOG_DEPRECATED_IGNORED = 1315;
-exports.ER_UPDATE_LOG_DEPRECATED_TRANSLATED = 1316;
-exports.ER_QUERY_INTERRUPTED = 1317;
-exports.ER_SP_WRONG_NO_OF_ARGS = 1318;
-exports.ER_SP_COND_MISMATCH = 1319;
-exports.ER_SP_NORETURN = 1320;
-exports.ER_SP_NORETURNEND = 1321;
-exports.ER_SP_BAD_CURSOR_QUERY = 1322;
-exports.ER_SP_BAD_CURSOR_SELECT = 1323;
-exports.ER_SP_CURSOR_MISMATCH = 1324;
-exports.ER_SP_CURSOR_ALREADY_OPEN = 1325;
-exports.ER_SP_CURSOR_NOT_OPEN = 1326;
-exports.ER_SP_UNDECLARED_VAR = 1327;
-exports.ER_SP_WRONG_NO_OF_FETCH_ARGS = 1328;
-exports.ER_SP_FETCH_NO_DATA = 1329;
-exports.ER_SP_DUP_PARAM = 1330;
-exports.ER_SP_DUP_VAR = 1331;
-exports.ER_SP_DUP_COND = 1332;
-exports.ER_SP_DUP_CURS = 1333;
-exports.ER_SP_CANT_ALTER = 1334;
-exports.ER_SP_SUBSELECT_NYI = 1335;
-exports.ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG = 1336;
-exports.ER_SP_VARCOND_AFTER_CURSHNDLR = 1337;
-exports.ER_SP_CURSOR_AFTER_HANDLER = 1338;
-exports.ER_SP_CASE_NOT_FOUND = 1339;
-exports.ER_FPARSER_TOO_BIG_FILE = 1340;
-exports.ER_FPARSER_BAD_HEADER = 1341;
-exports.ER_FPARSER_EOF_IN_COMMENT = 1342;
-exports.ER_FPARSER_ERROR_IN_PARAMETER = 1343;
-exports.ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER = 1344;
-exports.ER_VIEW_NO_EXPLAIN = 1345;
-exports.ER_FRM_UNKNOWN_TYPE = 1346;
-exports.ER_WRONG_OBJECT = 1347;
-exports.ER_NONUPDATEABLE_COLUMN = 1348;
-exports.ER_VIEW_SELECT_DERIVED = 1349;
-exports.ER_VIEW_SELECT_CLAUSE = 1350;
-exports.ER_VIEW_SELECT_VARIABLE = 1351;
-exports.ER_VIEW_SELECT_TMPTABLE = 1352;
-exports.ER_VIEW_WRONG_LIST = 1353;
-exports.ER_WARN_VIEW_MERGE = 1354;
-exports.ER_WARN_VIEW_WITHOUT_KEY = 1355;
-exports.ER_VIEW_INVALID = 1356;
-exports.ER_SP_NO_DROP_SP = 1357;
-exports.ER_SP_GOTO_IN_HNDLR = 1358;
-exports.ER_TRG_ALREADY_EXISTS = 1359;
-exports.ER_TRG_DOES_NOT_EXIST = 1360;
-exports.ER_TRG_ON_VIEW_OR_TEMP_TABLE = 1361;
-exports.ER_TRG_CANT_CHANGE_ROW = 1362;
-exports.ER_TRG_NO_SUCH_ROW_IN_TRG = 1363;
-exports.ER_NO_DEFAULT_FOR_FIELD = 1364;
-exports.ER_DIVISION_BY_ZERO = 1365;
-exports.ER_TRUNCATED_WRONG_VALUE_FOR_FIELD = 1366;
-exports.ER_ILLEGAL_VALUE_FOR_TYPE = 1367;
-exports.ER_VIEW_NONUPD_CHECK = 1368;
-exports.ER_VIEW_CHECK_FAILED = 1369;
-exports.ER_PROCACCESS_DENIED_ERROR = 1370;
-exports.ER_RELAY_LOG_FAIL = 1371;
-exports.ER_PASSWD_LENGTH = 1372;
-exports.ER_UNKNOWN_TARGET_BINLOG = 1373;
-exports.ER_IO_ERR_LOG_INDEX_READ = 1374;
-exports.ER_BINLOG_PURGE_PROHIBITED = 1375;
-exports.ER_FSEEK_FAIL = 1376;
-exports.ER_BINLOG_PURGE_FATAL_ERR = 1377;
-exports.ER_LOG_IN_USE = 1378;
-exports.ER_LOG_PURGE_UNKNOWN_ERR = 1379;
-exports.ER_RELAY_LOG_INIT = 1380;
-exports.ER_NO_BINARY_LOGGING = 1381;
-exports.ER_RESERVED_SYNTAX = 1382;
-exports.ER_WSAS_FAILED = 1383;
-exports.ER_DIFF_GROUPS_PROC = 1384;
-exports.ER_NO_GROUP_FOR_PROC = 1385;
-exports.ER_ORDER_WITH_PROC = 1386;
-exports.ER_LOGGING_PROHIBIT_CHANGING_OF = 1387;
-exports.ER_NO_FILE_MAPPING = 1388;
-exports.ER_WRONG_MAGIC = 1389;
-exports.ER_PS_MANY_PARAM = 1390;
-exports.ER_KEY_PART_0 = 1391;
-exports.ER_VIEW_CHECKSUM = 1392;
-exports.ER_VIEW_MULTIUPDATE = 1393;
-exports.ER_VIEW_NO_INSERT_FIELD_LIST = 1394;
-exports.ER_VIEW_DELETE_MERGE_VIEW = 1395;
-exports.ER_CANNOT_USER = 1396;
-exports.ER_XAER_NOTA = 1397;
-exports.ER_XAER_INVAL = 1398;
-exports.ER_XAER_RMFAIL = 1399;
-exports.ER_XAER_OUTSIDE = 1400;
-exports.ER_XAER_RMERR = 1401;
-exports.ER_XA_RBROLLBACK = 1402;
-exports.ER_NONEXISTING_PROC_GRANT = 1403;
-exports.ER_PROC_AUTO_GRANT_FAIL = 1404;
-exports.ER_PROC_AUTO_REVOKE_FAIL = 1405;
-exports.ER_DATA_TOO_LONG = 1406;
-exports.ER_SP_BAD_SQLSTATE = 1407;
-exports.ER_STARTUP = 1408;
-exports.ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR = 1409;
-exports.ER_CANT_CREATE_USER_WITH_GRANT = 1410;
-exports.ER_WRONG_VALUE_FOR_TYPE = 1411;
-exports.ER_TABLE_DEF_CHANGED = 1412;
-exports.ER_SP_DUP_HANDLER = 1413;
-exports.ER_SP_NOT_VAR_ARG = 1414;
-exports.ER_SP_NO_RETSET = 1415;
-exports.ER_CANT_CREATE_GEOMETRY_OBJECT = 1416;
-exports.ER_FAILED_ROUTINE_BREAK_BINLOG = 1417;
-exports.ER_BINLOG_UNSAFE_ROUTINE = 1418;
-exports.ER_BINLOG_CREATE_ROUTINE_NEED_SUPER = 1419;
-exports.ER_EXEC_STMT_WITH_OPEN_CURSOR = 1420;
-exports.ER_STMT_HAS_NO_OPEN_CURSOR = 1421;
-exports.ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG = 1422;
-exports.ER_NO_DEFAULT_FOR_VIEW_FIELD = 1423;
-exports.ER_SP_NO_RECURSION = 1424;
-exports.ER_TOO_BIG_SCALE = 1425;
-exports.ER_TOO_BIG_PRECISION = 1426;
-exports.ER_M_BIGGER_THAN_D = 1427;
-exports.ER_WRONG_LOCK_OF_SYSTEM_TABLE = 1428;
-exports.ER_CONNECT_TO_FOREIGN_DATA_SOURCE = 1429;
-exports.ER_QUERY_ON_FOREIGN_DATA_SOURCE = 1430;
-exports.ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST = 1431;
-exports.ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE = 1432;
-exports.ER_FOREIGN_DATA_STRING_INVALID = 1433;
-exports.ER_CANT_CREATE_FEDERATED_TABLE = 1434;
-exports.ER_TRG_IN_WRONG_SCHEMA = 1435;
-exports.ER_STACK_OVERRUN_NEED_MORE = 1436;
-exports.ER_TOO_LONG_BODY = 1437;
-exports.ER_WARN_CANT_DROP_DEFAULT_KEYCACHE = 1438;
-exports.ER_TOO_BIG_DISPLAYWIDTH = 1439;
-exports.ER_XAER_DUPID = 1440;
-exports.ER_DATETIME_FUNCTION_OVERFLOW = 1441;
-exports.ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG = 1442;
-exports.ER_VIEW_PREVENT_UPDATE = 1443;
-exports.ER_PS_NO_RECURSION = 1444;
-exports.ER_SP_CANT_SET_AUTOCOMMIT = 1445;
-exports.ER_MALFORMED_DEFINER = 1446;
-exports.ER_VIEW_FRM_NO_USER = 1447;
-exports.ER_VIEW_OTHER_USER = 1448;
-exports.ER_NO_SUCH_USER = 1449;
-exports.ER_FORBID_SCHEMA_CHANGE = 1450;
-exports.ER_ROW_IS_REFERENCED_2 = 1451;
-exports.ER_NO_REFERENCED_ROW_2 = 1452;
-exports.ER_SP_BAD_VAR_SHADOW = 1453;
-exports.ER_TRG_NO_DEFINER = 1454;
-exports.ER_OLD_FILE_FORMAT = 1455;
-exports.ER_SP_RECURSION_LIMIT = 1456;
-exports.ER_SP_PROC_TABLE_CORRUPT = 1457;
-exports.ER_SP_WRONG_NAME = 1458;
-exports.ER_TABLE_NEEDS_UPGRADE = 1459;
-exports.ER_SP_NO_AGGREGATE = 1460;
-exports.ER_MAX_PREPARED_STMT_COUNT_REACHED = 1461;
-exports.ER_VIEW_RECURSIVE = 1462;
-exports.ER_NON_GROUPING_FIELD_USED = 1463;
-exports.ER_TABLE_CANT_HANDLE_SPKEYS = 1464;
-exports.ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA = 1465;
-exports.ER_REMOVED_SPACES = 1466;
-exports.ER_AUTOINC_READ_FAILED = 1467;
-exports.ER_USERNAME = 1468;
-exports.ER_HOSTNAME = 1469;
-exports.ER_WRONG_STRING_LENGTH = 1470;
-exports.ER_NON_INSERTABLE_TABLE = 1471;
-exports.ER_ADMIN_WRONG_MRG_TABLE = 1472;
-exports.ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT = 1473;
-exports.ER_NAME_BECOMES_EMPTY = 1474;
-exports.ER_AMBIGUOUS_FIELD_TERM = 1475;
-exports.ER_FOREIGN_SERVER_EXISTS = 1476;
-exports.ER_FOREIGN_SERVER_DOESNT_EXIST = 1477;
-exports.ER_ILLEGAL_HA_CREATE_OPTION = 1478;
-exports.ER_PARTITION_REQUIRES_VALUES_ERROR = 1479;
-exports.ER_PARTITION_WRONG_VALUES_ERROR = 1480;
-exports.ER_PARTITION_MAXVALUE_ERROR = 1481;
-exports.ER_PARTITION_SUBPARTITION_ERROR = 1482;
-exports.ER_PARTITION_SUBPART_MIX_ERROR = 1483;
-exports.ER_PARTITION_WRONG_NO_PART_ERROR = 1484;
-exports.ER_PARTITION_WRONG_NO_SUBPART_ERROR = 1485;
-exports.ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR = 1486;
-exports.ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR = 1487;
-exports.ER_FIELD_NOT_FOUND_PART_ERROR = 1488;
-exports.ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR = 1489;
-exports.ER_INCONSISTENT_PARTITION_INFO_ERROR = 1490;
-exports.ER_PARTITION_FUNC_NOT_ALLOWED_ERROR = 1491;
-exports.ER_PARTITIONS_MUST_BE_DEFINED_ERROR = 1492;
-exports.ER_RANGE_NOT_INCREASING_ERROR = 1493;
-exports.ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR = 1494;
-exports.ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR = 1495;
-exports.ER_PARTITION_ENTRY_ERROR = 1496;
-exports.ER_MIX_HANDLER_ERROR = 1497;
-exports.ER_PARTITION_NOT_DEFINED_ERROR = 1498;
-exports.ER_TOO_MANY_PARTITIONS_ERROR = 1499;
-exports.ER_SUBPARTITION_ERROR = 1500;
-exports.ER_CANT_CREATE_HANDLER_FILE = 1501;
-exports.ER_BLOB_FIELD_IN_PART_FUNC_ERROR = 1502;
-exports.ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF = 1503;
-exports.ER_NO_PARTS_ERROR = 1504;
-exports.ER_PARTITION_MGMT_ON_NONPARTITIONED = 1505;
-exports.ER_FOREIGN_KEY_ON_PARTITIONED = 1506;
-exports.ER_DROP_PARTITION_NON_EXISTENT = 1507;
-exports.ER_DROP_LAST_PARTITION = 1508;
-exports.ER_COALESCE_ONLY_ON_HASH_PARTITION = 1509;
-exports.ER_REORG_HASH_ONLY_ON_SAME_NO = 1510;
-exports.ER_REORG_NO_PARAM_ERROR = 1511;
-exports.ER_ONLY_ON_RANGE_LIST_PARTITION = 1512;
-exports.ER_ADD_PARTITION_SUBPART_ERROR = 1513;
-exports.ER_ADD_PARTITION_NO_NEW_PARTITION = 1514;
-exports.ER_COALESCE_PARTITION_NO_PARTITION = 1515;
-exports.ER_REORG_PARTITION_NOT_EXIST = 1516;
-exports.ER_SAME_NAME_PARTITION = 1517;
-exports.ER_NO_BINLOG_ERROR = 1518;
-exports.ER_CONSECUTIVE_REORG_PARTITIONS = 1519;
-exports.ER_REORG_OUTSIDE_RANGE = 1520;
-exports.ER_PARTITION_FUNCTION_FAILURE = 1521;
-exports.ER_PART_STATE_ERROR = 1522;
-exports.ER_LIMITED_PART_RANGE = 1523;
-exports.ER_PLUGIN_IS_NOT_LOADED = 1524;
-exports.ER_WRONG_VALUE = 1525;
-exports.ER_NO_PARTITION_FOR_GIVEN_VALUE = 1526;
-exports.ER_FILEGROUP_OPTION_ONLY_ONCE = 1527;
-exports.ER_CREATE_FILEGROUP_FAILED = 1528;
-exports.ER_DROP_FILEGROUP_FAILED = 1529;
-exports.ER_TABLESPACE_AUTO_EXTEND_ERROR = 1530;
-exports.ER_WRONG_SIZE_NUMBER = 1531;
-exports.ER_SIZE_OVERFLOW_ERROR = 1532;
-exports.ER_ALTER_FILEGROUP_FAILED = 1533;
-exports.ER_BINLOG_ROW_LOGGING_FAILED = 1534;
-exports.ER_BINLOG_ROW_WRONG_TABLE_DEF = 1535;
-exports.ER_BINLOG_ROW_RBR_TO_SBR = 1536;
-exports.ER_EVENT_ALREADY_EXISTS = 1537;
-exports.ER_EVENT_STORE_FAILED = 1538;
-exports.ER_EVENT_DOES_NOT_EXIST = 1539;
-exports.ER_EVENT_CANT_ALTER = 1540;
-exports.ER_EVENT_DROP_FAILED = 1541;
-exports.ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG = 1542;
-exports.ER_EVENT_ENDS_BEFORE_STARTS = 1543;
-exports.ER_EVENT_EXEC_TIME_IN_THE_PAST = 1544;
-exports.ER_EVENT_OPEN_TABLE_FAILED = 1545;
-exports.ER_EVENT_NEITHER_M_EXPR_NOR_M_AT = 1546;
-exports.ER_COL_COUNT_DOESNT_MATCH_CORRUPTED = 1547;
-exports.ER_CANNOT_LOAD_FROM_TABLE = 1548;
-exports.ER_EVENT_CANNOT_DELETE = 1549;
-exports.ER_EVENT_COMPILE_ERROR = 1550;
-exports.ER_EVENT_SAME_NAME = 1551;
-exports.ER_EVENT_DATA_TOO_LONG = 1552;
-exports.ER_DROP_INDEX_FK = 1553;
-exports.ER_WARN_DEPRECATED_SYNTAX_WITH_VER = 1554;
-exports.ER_CANT_WRITE_LOCK_LOG_TABLE = 1555;
-exports.ER_CANT_LOCK_LOG_TABLE = 1556;
-exports.ER_FOREIGN_DUPLICATE_KEY = 1557;
-exports.ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE = 1558;
-exports.ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR = 1559;
-exports.ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1560;
-exports.ER_NDB_CANT_SWITCH_BINLOG_FORMAT = 1561;
-exports.ER_PARTITION_NO_TEMPORARY = 1562;
-exports.ER_PARTITION_CONST_DOMAIN_ERROR = 1563;
-exports.ER_PARTITION_FUNCTION_IS_NOT_ALLOWED = 1564;
-exports.ER_DDL_LOG_ERROR = 1565;
-exports.ER_NULL_IN_VALUES_LESS_THAN = 1566;
-exports.ER_WRONG_PARTITION_NAME = 1567;
-exports.ER_CANT_CHANGE_TX_CHARACTERISTICS = 1568;
-exports.ER_DUP_ENTRY_AUTOINCREMENT_CASE = 1569;
-exports.ER_EVENT_MODIFY_QUEUE_ERROR = 1570;
-exports.ER_EVENT_SET_VAR_ERROR = 1571;
-exports.ER_PARTITION_MERGE_ERROR = 1572;
-exports.ER_CANT_ACTIVATE_LOG = 1573;
-exports.ER_RBR_NOT_AVAILABLE = 1574;
-exports.ER_BASE64_DECODE_ERROR = 1575;
-exports.ER_EVENT_RECURSION_FORBIDDEN = 1576;
-exports.ER_EVENTS_DB_ERROR = 1577;
-exports.ER_ONLY_INTEGERS_ALLOWED = 1578;
-exports.ER_UNSUPORTED_LOG_ENGINE = 1579;
-exports.ER_BAD_LOG_STATEMENT = 1580;
-exports.ER_CANT_RENAME_LOG_TABLE = 1581;
-exports.ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT = 1582;
-exports.ER_WRONG_PARAMETERS_TO_NATIVE_FCT = 1583;
-exports.ER_WRONG_PARAMETERS_TO_STORED_FCT = 1584;
-exports.ER_NATIVE_FCT_NAME_COLLISION = 1585;
-exports.ER_DUP_ENTRY_WITH_KEY_NAME = 1586;
-exports.ER_BINLOG_PURGE_EMFILE = 1587;
-exports.ER_EVENT_CANNOT_CREATE_IN_THE_PAST = 1588;
-exports.ER_EVENT_CANNOT_ALTER_IN_THE_PAST = 1589;
-exports.ER_SLAVE_INCIDENT = 1590;
-exports.ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT = 1591;
-exports.ER_BINLOG_UNSAFE_STATEMENT = 1592;
-exports.ER_SLAVE_FATAL_ERROR = 1593;
-exports.ER_SLAVE_RELAY_LOG_READ_FAILURE = 1594;
-exports.ER_SLAVE_RELAY_LOG_WRITE_FAILURE = 1595;
-exports.ER_SLAVE_CREATE_EVENT_FAILURE = 1596;
-exports.ER_SLAVE_MASTER_COM_FAILURE = 1597;
-exports.ER_BINLOG_LOGGING_IMPOSSIBLE = 1598;
-exports.ER_VIEW_NO_CREATION_CTX = 1599;
-exports.ER_VIEW_INVALID_CREATION_CTX = 1600;
-exports.ER_SR_INVALID_CREATION_CTX = 1601;
-exports.ER_TRG_CORRUPTED_FILE = 1602;
-exports.ER_TRG_NO_CREATION_CTX = 1603;
-exports.ER_TRG_INVALID_CREATION_CTX = 1604;
-exports.ER_EVENT_INVALID_CREATION_CTX = 1605;
-exports.ER_TRG_CANT_OPEN_TABLE = 1606;
-exports.ER_CANT_CREATE_SROUTINE = 1607;
-exports.ER_NEVER_USED = 1608;
-exports.ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT = 1609;
-exports.ER_SLAVE_CORRUPT_EVENT = 1610;
-exports.ER_LOAD_DATA_INVALID_COLUMN = 1611;
-exports.ER_LOG_PURGE_NO_FILE = 1612;
-exports.ER_XA_RBTIMEOUT = 1613;
-exports.ER_XA_RBDEADLOCK = 1614;
-exports.ER_NEED_REPREPARE = 1615;
-exports.ER_DELAYED_NOT_SUPPORTED = 1616;
-exports.WARN_NO_MASTER_INFO = 1617;
-exports.WARN_OPTION_IGNORED = 1618;
-exports.ER_PLUGIN_DELETE_BUILTIN = 1619;
-exports.WARN_PLUGIN_BUSY = 1620;
-exports.ER_VARIABLE_IS_READONLY = 1621;
-exports.ER_WARN_ENGINE_TRANSACTION_ROLLBACK = 1622;
-exports.ER_SLAVE_HEARTBEAT_FAILURE = 1623;
-exports.ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE = 1624;
-exports.ER_NDB_REPLICATION_SCHEMA_ERROR = 1625;
-exports.ER_CONFLICT_FN_PARSE_ERROR = 1626;
-exports.ER_EXCEPTIONS_WRITE_ERROR = 1627;
-exports.ER_TOO_LONG_TABLE_COMMENT = 1628;
-exports.ER_TOO_LONG_FIELD_COMMENT = 1629;
-exports.ER_FUNC_INEXISTENT_NAME_COLLISION = 1630;
-exports.ER_DATABASE_NAME = 1631;
-exports.ER_TABLE_NAME = 1632;
-exports.ER_PARTITION_NAME = 1633;
-exports.ER_SUBPARTITION_NAME = 1634;
-exports.ER_TEMPORARY_NAME = 1635;
-exports.ER_RENAMED_NAME = 1636;
-exports.ER_TOO_MANY_CONCURRENT_TRXS = 1637;
-exports.WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED = 1638;
-exports.ER_DEBUG_SYNC_TIMEOUT = 1639;
-exports.ER_DEBUG_SYNC_HIT_LIMIT = 1640;
-exports.ER_DUP_SIGNAL_SET = 1641;
-exports.ER_SIGNAL_WARN = 1642;
-exports.ER_SIGNAL_NOT_FOUND = 1643;
-exports.ER_SIGNAL_EXCEPTION = 1644;
-exports.ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER = 1645;
-exports.ER_SIGNAL_BAD_CONDITION_TYPE = 1646;
-exports.WARN_COND_ITEM_TRUNCATED = 1647;
-exports.ER_COND_ITEM_TOO_LONG = 1648;
-exports.ER_UNKNOWN_LOCALE = 1649;
-exports.ER_SLAVE_IGNORE_SERVER_IDS = 1650;
-exports.ER_QUERY_CACHE_DISABLED = 1651;
-exports.ER_SAME_NAME_PARTITION_FIELD = 1652;
-exports.ER_PARTITION_COLUMN_LIST_ERROR = 1653;
-exports.ER_WRONG_TYPE_COLUMN_VALUE_ERROR = 1654;
-exports.ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR = 1655;
-exports.ER_MAXVALUE_IN_VALUES_IN = 1656;
-exports.ER_TOO_MANY_VALUES_ERROR = 1657;
-exports.ER_ROW_SINGLE_PARTITION_FIELD_ERROR = 1658;
-exports.ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD = 1659;
-exports.ER_PARTITION_FIELDS_TOO_LONG = 1660;
-exports.ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE = 1661;
-exports.ER_BINLOG_ROW_MODE_AND_STMT_ENGINE = 1662;
-exports.ER_BINLOG_UNSAFE_AND_STMT_ENGINE = 1663;
-exports.ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE = 1664;
-exports.ER_BINLOG_STMT_MODE_AND_ROW_ENGINE = 1665;
-exports.ER_BINLOG_ROW_INJECTION_AND_STMT_MODE = 1666;
-exports.ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1667;
-exports.ER_BINLOG_UNSAFE_LIMIT = 1668;
-exports.ER_BINLOG_UNSAFE_INSERT_DELAYED = 1669;
-exports.ER_BINLOG_UNSAFE_SYSTEM_TABLE = 1670;
-exports.ER_BINLOG_UNSAFE_AUTOINC_COLUMNS = 1671;
-exports.ER_BINLOG_UNSAFE_UDF = 1672;
-exports.ER_BINLOG_UNSAFE_SYSTEM_VARIABLE = 1673;
-exports.ER_BINLOG_UNSAFE_SYSTEM_FUNCTION = 1674;
-exports.ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS = 1675;
-exports.ER_MESSAGE_AND_STATEMENT = 1676;
-exports.ER_SLAVE_CONVERSION_FAILED = 1677;
-exports.ER_SLAVE_CANT_CREATE_CONVERSION = 1678;
-exports.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT = 1679;
-exports.ER_PATH_LENGTH = 1680;
-exports.ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT = 1681;
-exports.ER_WRONG_NATIVE_TABLE_STRUCTURE = 1682;
-exports.ER_WRONG_PERFSCHEMA_USAGE = 1683;
-exports.ER_WARN_I_S_SKIPPED_TABLE = 1684;
-exports.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1685;
-exports.ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT = 1686;
-exports.ER_SPATIAL_MUST_HAVE_GEOM_COL = 1687;
-exports.ER_TOO_LONG_INDEX_COMMENT = 1688;
-exports.ER_LOCK_ABORTED = 1689;
-exports.ER_DATA_OUT_OF_RANGE = 1690;
-exports.ER_WRONG_SPVAR_TYPE_IN_LIMIT = 1691;
-exports.ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE = 1692;
-exports.ER_BINLOG_UNSAFE_MIXED_STATEMENT = 1693;
-exports.ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1694;
-exports.ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN = 1695;
-exports.ER_FAILED_READ_FROM_PAR_FILE = 1696;
-exports.ER_VALUES_IS_NOT_INT_TYPE_ERROR = 1697;
-exports.ER_ACCESS_DENIED_NO_PASSWORD_ERROR = 1698;
-exports.ER_SET_PASSWORD_AUTH_PLUGIN = 1699;
-exports.ER_GRANT_PLUGIN_USER_EXISTS = 1700;
-exports.ER_TRUNCATE_ILLEGAL_FK = 1701;
-exports.ER_PLUGIN_IS_PERMANENT = 1702;
-exports.ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN = 1703;
-exports.ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX = 1704;
-exports.ER_STMT_CACHE_FULL = 1705;
-exports.ER_MULTI_UPDATE_KEY_CONFLICT = 1706;
-exports.ER_TABLE_NEEDS_REBUILD = 1707;
-exports.WARN_OPTION_BELOW_LIMIT = 1708;
-exports.ER_INDEX_COLUMN_TOO_LONG = 1709;
-exports.ER_ERROR_IN_TRIGGER_BODY = 1710;
-exports.ER_ERROR_IN_UNKNOWN_TRIGGER_BODY = 1711;
-exports.ER_INDEX_CORRUPT = 1712;
-exports.ER_UNDO_RECORD_TOO_BIG = 1713;
-exports.ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT = 1714;
-exports.ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE = 1715;
-exports.ER_BINLOG_UNSAFE_REPLACE_SELECT = 1716;
-exports.ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT = 1717;
-exports.ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT = 1718;
-exports.ER_BINLOG_UNSAFE_UPDATE_IGNORE = 1719;
-exports.ER_PLUGIN_NO_UNINSTALL = 1720;
-exports.ER_PLUGIN_NO_INSTALL = 1721;
-exports.ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT = 1722;
-exports.ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC = 1723;
-exports.ER_BINLOG_UNSAFE_INSERT_TWO_KEYS = 1724;
-exports.ER_TABLE_IN_FK_CHECK = 1725;
-exports.ER_UNSUPPORTED_ENGINE = 1726;
-exports.ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST = 1727;
-exports.ER_CANNOT_LOAD_FROM_TABLE_V2 = 1728;
-exports.ER_MASTER_DELAY_VALUE_OUT_OF_RANGE = 1729;
-exports.ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT = 1730;
-exports.ER_PARTITION_EXCHANGE_DIFFERENT_OPTION = 1731;
-exports.ER_PARTITION_EXCHANGE_PART_TABLE = 1732;
-exports.ER_PARTITION_EXCHANGE_TEMP_TABLE = 1733;
-exports.ER_PARTITION_INSTEAD_OF_SUBPARTITION = 1734;
-exports.ER_UNKNOWN_PARTITION = 1735;
-exports.ER_TABLES_DIFFERENT_METADATA = 1736;
-exports.ER_ROW_DOES_NOT_MATCH_PARTITION = 1737;
-exports.ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX = 1738;
-exports.ER_WARN_INDEX_NOT_APPLICABLE = 1739;
-exports.ER_PARTITION_EXCHANGE_FOREIGN_KEY = 1740;
-exports.ER_NO_SUCH_KEY_VALUE = 1741;
-exports.ER_RPL_INFO_DATA_TOO_LONG = 1742;
-exports.ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE = 1743;
-exports.ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE = 1744;
-exports.ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX = 1745;
-exports.ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT = 1746;
-exports.ER_PARTITION_CLAUSE_ON_NONPARTITIONED = 1747;
-exports.ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET = 1748;
-exports.ER_NO_SUCH_PARTITION = 1749;
-exports.ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE = 1750;
-exports.ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE = 1751;
-exports.ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE = 1752;
-exports.ER_MTS_FEATURE_IS_NOT_SUPPORTED = 1753;
-exports.ER_MTS_UPDATED_DBS_GREATER_MAX = 1754;
-exports.ER_MTS_CANT_PARALLEL = 1755;
-exports.ER_MTS_INCONSISTENT_DATA = 1756;
-exports.ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING = 1757;
-exports.ER_DA_INVALID_CONDITION_NUMBER = 1758;
-exports.ER_INSECURE_PLAIN_TEXT = 1759;
-exports.ER_INSECURE_CHANGE_MASTER = 1760;
-exports.ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO = 1761;
-exports.ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO = 1762;
-exports.ER_SQLTHREAD_WITH_SECURE_SLAVE = 1763;
-exports.ER_TABLE_HAS_NO_FT = 1764;
-exports.ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER = 1765;
-exports.ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION = 1766;
-exports.ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST = 1767;
-exports.ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION = 1768;
-exports.ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION = 1769;
-exports.ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL = 1770;
-exports.ER_SKIPPING_LOGGED_TRANSACTION = 1771;
-exports.ER_MALFORMED_GTID_SET_SPECIFICATION = 1772;
-exports.ER_MALFORMED_GTID_SET_ENCODING = 1773;
-exports.ER_MALFORMED_GTID_SPECIFICATION = 1774;
-exports.ER_GNO_EXHAUSTED = 1775;
-exports.ER_BAD_SLAVE_AUTO_POSITION = 1776;
-exports.ER_AUTO_POSITION_REQUIRES_GTID_MODE_NOT_OFF = 1777;
-exports.ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET = 1778;
-exports.ER_GTID_MODE_ON_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON = 1779;
-exports.ER_GTID_MODE_REQUIRES_BINLOG = 1780;
-exports.ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF = 1781;
-exports.ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON = 1782;
-exports.ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF = 1783;
-exports.ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF = 1784;
-exports.ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE = 1785;
-exports.ER_GTID_UNSAFE_CREATE_SELECT = 1786;
-exports.ER_GTID_UNSAFE_CREATE_DROP_TEMPORARY_TABLE_IN_TRANSACTION = 1787;
-exports.ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME = 1788;
-exports.ER_MASTER_HAS_PURGED_REQUIRED_GTIDS = 1789;
-exports.ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID = 1790;
-exports.ER_UNKNOWN_EXPLAIN_FORMAT = 1791;
-exports.ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION = 1792;
-exports.ER_TOO_LONG_TABLE_PARTITION_COMMENT = 1793;
-exports.ER_SLAVE_CONFIGURATION = 1794;
-exports.ER_INNODB_FT_LIMIT = 1795;
-exports.ER_INNODB_NO_FT_TEMP_TABLE = 1796;
-exports.ER_INNODB_FT_WRONG_DOCID_COLUMN = 1797;
-exports.ER_INNODB_FT_WRONG_DOCID_INDEX = 1798;
-exports.ER_INNODB_ONLINE_LOG_TOO_BIG = 1799;
-exports.ER_UNKNOWN_ALTER_ALGORITHM = 1800;
-exports.ER_UNKNOWN_ALTER_LOCK = 1801;
-exports.ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS = 1802;
-exports.ER_MTS_RECOVERY_FAILURE = 1803;
-exports.ER_MTS_RESET_WORKERS = 1804;
-exports.ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2 = 1805;
-exports.ER_SLAVE_SILENT_RETRY_TRANSACTION = 1806;
-exports.ER_DISCARD_FK_CHECKS_RUNNING = 1807;
-exports.ER_TABLE_SCHEMA_MISMATCH = 1808;
-exports.ER_TABLE_IN_SYSTEM_TABLESPACE = 1809;
-exports.ER_IO_READ_ERROR = 1810;
-exports.ER_IO_WRITE_ERROR = 1811;
-exports.ER_TABLESPACE_MISSING = 1812;
-exports.ER_TABLESPACE_EXISTS = 1813;
-exports.ER_TABLESPACE_DISCARDED = 1814;
-exports.ER_INTERNAL_ERROR = 1815;
-exports.ER_INNODB_IMPORT_ERROR = 1816;
-exports.ER_INNODB_INDEX_CORRUPT = 1817;
-exports.ER_INVALID_YEAR_COLUMN_LENGTH = 1818;
-exports.ER_NOT_VALID_PASSWORD = 1819;
-exports.ER_MUST_CHANGE_PASSWORD = 1820;
-exports.ER_FK_NO_INDEX_CHILD = 1821;
-exports.ER_FK_NO_INDEX_PARENT = 1822;
-exports.ER_FK_FAIL_ADD_SYSTEM = 1823;
-exports.ER_FK_CANNOT_OPEN_PARENT = 1824;
-exports.ER_FK_INCORRECT_OPTION = 1825;
-exports.ER_FK_DUP_NAME = 1826;
-exports.ER_PASSWORD_FORMAT = 1827;
-exports.ER_FK_COLUMN_CANNOT_DROP = 1828;
-exports.ER_FK_COLUMN_CANNOT_DROP_CHILD = 1829;
-exports.ER_FK_COLUMN_NOT_NULL = 1830;
-exports.ER_DUP_INDEX = 1831;
-exports.ER_FK_COLUMN_CANNOT_CHANGE = 1832;
-exports.ER_FK_COLUMN_CANNOT_CHANGE_CHILD = 1833;
-exports.ER_FK_CANNOT_DELETE_PARENT = 1834;
-exports.ER_MALFORMED_PACKET = 1835;
-exports.ER_READ_ONLY_MODE = 1836;
-exports.ER_GTID_NEXT_TYPE_UNDEFINED_GROUP = 1837;
-exports.ER_VARIABLE_NOT_SETTABLE_IN_SP = 1838;
-exports.ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF = 1839;
-exports.ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY = 1840;
-exports.ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY = 1841;
-exports.ER_GTID_PURGED_WAS_CHANGED = 1842;
-exports.ER_GTID_EXECUTED_WAS_CHANGED = 1843;
-exports.ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES = 1844;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED = 1845;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON = 1846;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY = 1847;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION = 1848;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME = 1849;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE = 1850;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK = 1851;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_IGNORE = 1852;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK = 1853;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC = 1854;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS = 1855;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS = 1856;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS = 1857;
-exports.ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE = 1858;
-exports.ER_DUP_UNKNOWN_IN_INDEX = 1859;
-exports.ER_IDENT_CAUSES_TOO_LONG_PATH = 1860;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL = 1861;
-exports.ER_MUST_CHANGE_PASSWORD_LOGIN = 1862;
-exports.ER_ROW_IN_WRONG_PARTITION = 1863;
-exports.ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX = 1864;
-exports.ER_INNODB_NO_FT_USES_PARSER = 1865;
-exports.ER_BINLOG_LOGICAL_CORRUPTION = 1866;
-exports.ER_WARN_PURGE_LOG_IN_USE = 1867;
-exports.ER_WARN_PURGE_LOG_IS_ACTIVE = 1868;
-exports.ER_AUTO_INCREMENT_CONFLICT = 1869;
-exports.WARN_ON_BLOCKHOLE_IN_RBR = 1870;
-exports.ER_SLAVE_MI_INIT_REPOSITORY = 1871;
-exports.ER_SLAVE_RLI_INIT_REPOSITORY = 1872;
-exports.ER_ACCESS_DENIED_CHANGE_USER_ERROR = 1873;
-exports.ER_INNODB_READ_ONLY = 1874;
-exports.ER_STOP_SLAVE_SQL_THREAD_TIMEOUT = 1875;
-exports.ER_STOP_SLAVE_IO_THREAD_TIMEOUT = 1876;
-exports.ER_TABLE_CORRUPT = 1877;
-exports.ER_TEMP_FILE_WRITE_FAILURE = 1878;
-exports.ER_INNODB_FT_AUX_NOT_HEX_ID = 1879;
-exports.ER_OLD_TEMPORALS_UPGRADED = 1880;
-exports.ER_INNODB_FORCED_RECOVERY = 1881;
-exports.ER_AES_INVALID_IV = 1882;
-exports.ER_PLUGIN_CANNOT_BE_UNINSTALLED = 1883;
-exports.ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_GTID_GROUP = 1884;
-exports.ER_SLAVE_HAS_MORE_GTIDS_THAN_MASTER = 1885;
-exports.ER_MISSING_KEY = 1886;
-exports.WARN_NAMED_PIPE_ACCESS_EVERYONE = 1887;
-exports.ER_FOUND_MISSING_GTIDS = 1888;
-exports.ER_FILE_CORRUPT = 3000;
-exports.ER_ERROR_ON_MASTER = 3001;
-exports.ER_INCONSISTENT_ERROR = 3002;
-exports.ER_STORAGE_ENGINE_NOT_LOADED = 3003;
-exports.ER_GET_STACKED_DA_WITHOUT_ACTIVE_HANDLER = 3004;
-exports.ER_WARN_LEGACY_SYNTAX_CONVERTED = 3005;
-exports.ER_BINLOG_UNSAFE_FULLTEXT_PLUGIN = 3006;
-exports.ER_CANNOT_DISCARD_TEMPORARY_TABLE = 3007;
-exports.ER_FK_DEPTH_EXCEEDED = 3008;
-exports.ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2 = 3009;
-exports.ER_WARN_TRIGGER_DOESNT_HAVE_CREATED = 3010;
-exports.ER_REFERENCED_TRG_DOES_NOT_EXIST = 3011;
-exports.ER_EXPLAIN_NOT_SUPPORTED = 3012;
-exports.ER_INVALID_FIELD_SIZE = 3013;
-exports.ER_MISSING_HA_CREATE_OPTION = 3014;
-exports.ER_ENGINE_OUT_OF_MEMORY = 3015;
-exports.ER_PASSWORD_EXPIRE_ANONYMOUS_USER = 3016;
-exports.ER_SLAVE_SQL_THREAD_MUST_STOP = 3017;
-exports.ER_NO_FT_MATERIALIZED_SUBQUERY = 3018;
-exports.ER_INNODB_UNDO_LOG_FULL = 3019;
-exports.ER_INVALID_ARGUMENT_FOR_LOGARITHM = 3020;
-exports.ER_SLAVE_CHANNEL_IO_THREAD_MUST_STOP = 3021;
-exports.ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO = 3022;
-exports.ER_WARN_ONLY_MASTER_LOG_FILE_NO_POS = 3023;
-exports.ER_QUERY_TIMEOUT = 3024;
-exports.ER_NON_RO_SELECT_DISABLE_TIMER = 3025;
-exports.ER_DUP_LIST_ENTRY = 3026;
-exports.ER_SQL_MODE_NO_EFFECT = 3027;
-exports.ER_AGGREGATE_ORDER_FOR_UNION = 3028;
-exports.ER_AGGREGATE_ORDER_NON_AGG_QUERY = 3029;
-exports.ER_SLAVE_WORKER_STOPPED_PREVIOUS_THD_ERROR = 3030;
-exports.ER_DONT_SUPPORT_SLAVE_PRESERVE_COMMIT_ORDER = 3031;
-exports.ER_SERVER_OFFLINE_MODE = 3032;
-exports.ER_GIS_DIFFERENT_SRIDS = 3033;
-exports.ER_GIS_UNSUPPORTED_ARGUMENT = 3034;
-exports.ER_GIS_UNKNOWN_ERROR = 3035;
-exports.ER_GIS_UNKNOWN_EXCEPTION = 3036;
-exports.ER_GIS_INVALID_DATA = 3037;
-exports.ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION = 3038;
-exports.ER_BOOST_GEOMETRY_CENTROID_EXCEPTION = 3039;
-exports.ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION = 3040;
-exports.ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION = 3041;
-exports.ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION = 3042;
-exports.ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION = 3043;
-exports.ER_STD_BAD_ALLOC_ERROR = 3044;
-exports.ER_STD_DOMAIN_ERROR = 3045;
-exports.ER_STD_LENGTH_ERROR = 3046;
-exports.ER_STD_INVALID_ARGUMENT = 3047;
-exports.ER_STD_OUT_OF_RANGE_ERROR = 3048;
-exports.ER_STD_OVERFLOW_ERROR = 3049;
-exports.ER_STD_RANGE_ERROR = 3050;
-exports.ER_STD_UNDERFLOW_ERROR = 3051;
-exports.ER_STD_LOGIC_ERROR = 3052;
-exports.ER_STD_RUNTIME_ERROR = 3053;
-exports.ER_STD_UNKNOWN_EXCEPTION = 3054;
-exports.ER_GIS_DATA_WRONG_ENDIANESS = 3055;
-exports.ER_CHANGE_MASTER_PASSWORD_LENGTH = 3056;
-exports.ER_USER_LOCK_WRONG_NAME = 3057;
-exports.ER_USER_LOCK_DEADLOCK = 3058;
-exports.ER_REPLACE_INACCESSIBLE_ROWS = 3059;
-exports.ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS = 3060;
-exports.ER_ILLEGAL_USER_VAR = 3061;
-exports.ER_GTID_MODE_OFF = 3062;
-exports.ER_UNSUPPORTED_BY_REPLICATION_THREAD = 3063;
-exports.ER_INCORRECT_TYPE = 3064;
-exports.ER_FIELD_IN_ORDER_NOT_SELECT = 3065;
-exports.ER_AGGREGATE_IN_ORDER_NOT_SELECT = 3066;
-exports.ER_INVALID_RPL_WILD_TABLE_FILTER_PATTERN = 3067;
-exports.ER_NET_OK_PACKET_TOO_LARGE = 3068;
-exports.ER_INVALID_JSON_DATA = 3069;
-exports.ER_INVALID_GEOJSON_MISSING_MEMBER = 3070;
-exports.ER_INVALID_GEOJSON_WRONG_TYPE = 3071;
-exports.ER_INVALID_GEOJSON_UNSPECIFIED = 3072;
-exports.ER_DIMENSION_UNSUPPORTED = 3073;
-exports.ER_SLAVE_CHANNEL_DOES_NOT_EXIST = 3074;
-exports.ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORT = 3075;
-exports.ER_SLAVE_CHANNEL_NAME_INVALID_OR_TOO_LONG = 3076;
-exports.ER_SLAVE_NEW_CHANNEL_WRONG_REPOSITORY = 3077;
-exports.ER_SLAVE_CHANNEL_DELETE = 3078;
-exports.ER_SLAVE_MULTIPLE_CHANNELS_CMD = 3079;
-exports.ER_SLAVE_MAX_CHANNELS_EXCEEDED = 3080;
-exports.ER_SLAVE_CHANNEL_MUST_STOP = 3081;
-exports.ER_SLAVE_CHANNEL_NOT_RUNNING = 3082;
-exports.ER_SLAVE_CHANNEL_WAS_RUNNING = 3083;
-exports.ER_SLAVE_CHANNEL_WAS_NOT_RUNNING = 3084;
-exports.ER_SLAVE_CHANNEL_SQL_THREAD_MUST_STOP = 3085;
-exports.ER_SLAVE_CHANNEL_SQL_SKIP_COUNTER = 3086;
-exports.ER_WRONG_FIELD_WITH_GROUP_V2 = 3087;
-exports.ER_MIX_OF_GROUP_FUNC_AND_FIELDS_V2 = 3088;
-exports.ER_WARN_DEPRECATED_SYSVAR_UPDATE = 3089;
-exports.ER_WARN_DEPRECATED_SQLMODE = 3090;
-exports.ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID = 3091;
-exports.ER_GROUP_REPLICATION_CONFIGURATION = 3092;
-exports.ER_GROUP_REPLICATION_RUNNING = 3093;
-exports.ER_GROUP_REPLICATION_APPLIER_INIT_ERROR = 3094;
-exports.ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT = 3095;
-exports.ER_GROUP_REPLICATION_COMMUNICATION_LAYER_SESSION_ERROR = 3096;
-exports.ER_GROUP_REPLICATION_COMMUNICATION_LAYER_JOIN_ERROR = 3097;
-exports.ER_BEFORE_DML_VALIDATION_ERROR = 3098;
-exports.ER_PREVENTS_VARIABLE_WITHOUT_RBR = 3099;
-exports.ER_RUN_HOOK_ERROR = 3100;
-exports.ER_TRANSACTION_ROLLBACK_DURING_COMMIT = 3101;
-exports.ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED = 3102;
-exports.ER_UNSUPPORTED_ALTER_INPLACE_ON_VIRTUAL_COLUMN = 3103;
-exports.ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN = 3104;
-exports.ER_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN = 3105;
-exports.ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN = 3106;
-exports.ER_GENERATED_COLUMN_NON_PRIOR = 3107;
-exports.ER_DEPENDENT_BY_GENERATED_COLUMN = 3108;
-exports.ER_GENERATED_COLUMN_REF_AUTO_INC = 3109;
-exports.ER_FEATURE_NOT_AVAILABLE = 3110;
-exports.ER_CANT_SET_GTID_MODE = 3111;
-exports.ER_CANT_USE_AUTO_POSITION_WITH_GTID_MODE_OFF = 3112;
-exports.ER_CANT_REPLICATE_ANONYMOUS_WITH_AUTO_POSITION = 3113;
-exports.ER_CANT_REPLICATE_ANONYMOUS_WITH_GTID_MODE_ON = 3114;
-exports.ER_CANT_REPLICATE_GTID_WITH_GTID_MODE_OFF = 3115;
-exports.ER_CANT_SET_ENFORCE_GTID_CONSISTENCY_ON_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONS = 3116;
-exports.ER_SET_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONS = 3117;
-exports.ER_ACCOUNT_HAS_BEEN_LOCKED = 3118;
-exports.ER_WRONG_TABLESPACE_NAME = 3119;
-exports.ER_TABLESPACE_IS_NOT_EMPTY = 3120;
-exports.ER_WRONG_FILE_NAME = 3121;
-exports.ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION = 3122;
-exports.ER_WARN_OPTIMIZER_HINT_SYNTAX_ERROR = 3123;
-exports.ER_WARN_BAD_MAX_EXECUTION_TIME = 3124;
-exports.ER_WARN_UNSUPPORTED_MAX_EXECUTION_TIME = 3125;
-exports.ER_WARN_CONFLICTING_HINT = 3126;
-exports.ER_WARN_UNKNOWN_QB_NAME = 3127;
-exports.ER_UNRESOLVED_HINT_NAME = 3128;
-exports.ER_WARN_ON_MODIFYING_GTID_EXECUTED_TABLE = 3129;
-exports.ER_PLUGGABLE_PROTOCOL_COMMAND_NOT_SUPPORTED = 3130;
-exports.ER_LOCKING_SERVICE_WRONG_NAME = 3131;
-exports.ER_LOCKING_SERVICE_DEADLOCK = 3132;
-exports.ER_LOCKING_SERVICE_TIMEOUT = 3133;
-exports.ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED = 3134;
-exports.ER_SQL_MODE_MERGED = 3135;
-exports.ER_VTOKEN_PLUGIN_TOKEN_MISMATCH = 3136;
-exports.ER_VTOKEN_PLUGIN_TOKEN_NOT_FOUND = 3137;
-exports.ER_CANT_SET_VARIABLE_WHEN_OWNING_GTID = 3138;
-exports.ER_SLAVE_CHANNEL_OPERATION_NOT_ALLOWED = 3139;
-exports.ER_INVALID_JSON_TEXT = 3140;
-exports.ER_INVALID_JSON_TEXT_IN_PARAM = 3141;
-exports.ER_INVALID_JSON_BINARY_DATA = 3142;
-exports.ER_INVALID_JSON_PATH = 3143;
-exports.ER_INVALID_JSON_CHARSET = 3144;
-exports.ER_INVALID_JSON_CHARSET_IN_FUNCTION = 3145;
-exports.ER_INVALID_TYPE_FOR_JSON = 3146;
-exports.ER_INVALID_CAST_TO_JSON = 3147;
-exports.ER_INVALID_JSON_PATH_CHARSET = 3148;
-exports.ER_INVALID_JSON_PATH_WILDCARD = 3149;
-exports.ER_JSON_VALUE_TOO_BIG = 3150;
-exports.ER_JSON_KEY_TOO_BIG = 3151;
-exports.ER_JSON_USED_AS_KEY = 3152;
-exports.ER_JSON_VACUOUS_PATH = 3153;
-exports.ER_JSON_BAD_ONE_OR_ALL_ARG = 3154;
-exports.ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE = 3155;
-exports.ER_INVALID_JSON_VALUE_FOR_CAST = 3156;
-exports.ER_JSON_DOCUMENT_TOO_DEEP = 3157;
-exports.ER_JSON_DOCUMENT_NULL_KEY = 3158;
-exports.ER_SECURE_TRANSPORT_REQUIRED = 3159;
-exports.ER_NO_SECURE_TRANSPORTS_CONFIGURED = 3160;
-exports.ER_DISABLED_STORAGE_ENGINE = 3161;
-exports.ER_USER_DOES_NOT_EXIST = 3162;
-exports.ER_USER_ALREADY_EXISTS = 3163;
-exports.ER_AUDIT_API_ABORT = 3164;
-exports.ER_INVALID_JSON_PATH_ARRAY_CELL = 3165;
-exports.ER_BUFPOOL_RESIZE_INPROGRESS = 3166;
-exports.ER_FEATURE_DISABLED_SEE_DOC = 3167;
-exports.ER_SERVER_ISNT_AVAILABLE = 3168;
-exports.ER_SESSION_WAS_KILLED = 3169;
-exports.ER_CAPACITY_EXCEEDED = 3170;
-exports.ER_CAPACITY_EXCEEDED_IN_RANGE_OPTIMIZER = 3171;
-exports.ER_TABLE_NEEDS_UPG_PART = 3172;
-exports.ER_CANT_WAIT_FOR_EXECUTED_GTID_SET_WHILE_OWNING_A_GTID = 3173;
-exports.ER_CANNOT_ADD_FOREIGN_BASE_COL_VIRTUAL = 3174;
-exports.ER_CANNOT_CREATE_VIRTUAL_INDEX_CONSTRAINT = 3175;
-exports.ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE = 3176;
-exports.ER_LOCK_REFUSED_BY_ENGINE = 3177;
-exports.ER_UNSUPPORTED_ALTER_ONLINE_ON_VIRTUAL_COLUMN = 3178;
-exports.ER_MASTER_KEY_ROTATION_NOT_SUPPORTED_BY_SE = 3179;
-exports.ER_MASTER_KEY_ROTATION_ERROR_BY_SE = 3180;
-exports.ER_MASTER_KEY_ROTATION_BINLOG_FAILED = 3181;
-exports.ER_MASTER_KEY_ROTATION_SE_UNAVAILABLE = 3182;
-exports.ER_TABLESPACE_CANNOT_ENCRYPT = 3183;
-exports.ER_INVALID_ENCRYPTION_OPTION = 3184;
-exports.ER_CANNOT_FIND_KEY_IN_KEYRING = 3185;
-exports.ER_CAPACITY_EXCEEDED_IN_PARSER = 3186;
-exports.ER_UNSUPPORTED_ALTER_ENCRYPTION_INPLACE = 3187;
-exports.ER_KEYRING_UDF_KEYRING_SERVICE_ERROR = 3188;
-exports.ER_USER_COLUMN_OLD_LENGTH = 3189;
-exports.ER_CANT_RESET_MASTER = 3190;
-exports.ER_GROUP_REPLICATION_MAX_GROUP_SIZE = 3191;
-exports.ER_CANNOT_ADD_FOREIGN_BASE_COL_STORED = 3192;
-exports.ER_TABLE_REFERENCED = 3193;
-exports.ER_PARTITION_ENGINE_DEPRECATED_FOR_TABLE = 3194;
-exports.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO = 3195;
-exports.ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID = 3196;
-exports.ER_XA_RETRY = 3197;
-exports.ER_KEYRING_AWS_UDF_AWS_KMS_ERROR = 3198;
-exports.ER_BINLOG_UNSAFE_XA = 3199;
-exports.ER_UDF_ERROR = 3200;
-exports.ER_KEYRING_MIGRATION_FAILURE = 3201;
-exports.ER_KEYRING_ACCESS_DENIED_ERROR = 3202;
-exports.ER_KEYRING_MIGRATION_STATUS = 3203;
-exports.ER_PLUGIN_FAILED_TO_OPEN_TABLES = 3204;
-exports.ER_PLUGIN_FAILED_TO_OPEN_TABLE = 3205;
-exports.ER_AUDIT_LOG_NO_KEYRING_PLUGIN_INSTALLED = 3206;
-exports.ER_AUDIT_LOG_ENCRYPTION_PASSWORD_HAS_NOT_BEEN_SET = 3207;
-exports.ER_AUDIT_LOG_COULD_NOT_CREATE_AES_KEY = 3208;
-exports.ER_AUDIT_LOG_ENCRYPTION_PASSWORD_CANNOT_BE_FETCHED = 3209;
-exports.ER_AUDIT_LOG_JSON_FILTERING_NOT_ENABLED = 3210;
-exports.ER_AUDIT_LOG_UDF_INSUFFICIENT_PRIVILEGE = 3211;
-exports.ER_AUDIT_LOG_SUPER_PRIVILEGE_REQUIRED = 3212;
-exports.ER_COULD_NOT_REINITIALIZE_AUDIT_LOG_FILTERS = 3213;
-exports.ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_TYPE = 3214;
-exports.ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_COUNT = 3215;
-exports.ER_AUDIT_LOG_HAS_NOT_BEEN_INSTALLED = 3216;
-exports.ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE = 3217;
-exports.ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_VALUE = 3218;
-exports.ER_AUDIT_LOG_JSON_FILTER_PARSING_ERROR = 3219;
-exports.ER_AUDIT_LOG_JSON_FILTER_NAME_CANNOT_BE_EMPTY = 3220;
-exports.ER_AUDIT_LOG_JSON_USER_NAME_CANNOT_BE_EMPTY = 3221;
-exports.ER_AUDIT_LOG_JSON_FILTER_DOES_NOT_EXISTS = 3222;
-exports.ER_AUDIT_LOG_USER_FIRST_CHARACTER_MUST_BE_ALPHANUMERIC = 3223;
-exports.ER_AUDIT_LOG_USER_NAME_INVALID_CHARACTER = 3224;
-exports.ER_AUDIT_LOG_HOST_NAME_INVALID_CHARACTER = 3225;
-exports.WARN_DEPRECATED_MAXDB_SQL_MODE_FOR_TIMESTAMP = 3226;
-exports.ER_XA_REPLICATION_FILTERS = 3227;
-exports.ER_CANT_OPEN_ERROR_LOG = 3228;
-exports.ER_GROUPING_ON_TIMESTAMP_IN_DST = 3229;
-exports.ER_CANT_START_SERVER_NAMED_PIPE = 3230;
-
-// Lookup-by-number table
-exports[1] = 'EE_CANTCREATEFILE';
-exports[2] = 'EE_READ';
-exports[3] = 'EE_WRITE';
-exports[4] = 'EE_BADCLOSE';
-exports[5] = 'EE_OUTOFMEMORY';
-exports[6] = 'EE_DELETE';
-exports[7] = 'EE_LINK';
-exports[9] = 'EE_EOFERR';
-exports[10] = 'EE_CANTLOCK';
-exports[11] = 'EE_CANTUNLOCK';
-exports[12] = 'EE_DIR';
-exports[13] = 'EE_STAT';
-exports[14] = 'EE_CANT_CHSIZE';
-exports[15] = 'EE_CANT_OPEN_STREAM';
-exports[16] = 'EE_GETWD';
-exports[17] = 'EE_SETWD';
-exports[18] = 'EE_LINK_WARNING';
-exports[19] = 'EE_OPEN_WARNING';
-exports[20] = 'EE_DISK_FULL';
-exports[21] = 'EE_CANT_MKDIR';
-exports[22] = 'EE_UNKNOWN_CHARSET';
-exports[23] = 'EE_OUT_OF_FILERESOURCES';
-exports[24] = 'EE_CANT_READLINK';
-exports[25] = 'EE_CANT_SYMLINK';
-exports[26] = 'EE_REALPATH';
-exports[27] = 'EE_SYNC';
-exports[28] = 'EE_UNKNOWN_COLLATION';
-exports[29] = 'EE_FILENOTFOUND';
-exports[30] = 'EE_FILE_NOT_CLOSED';
-exports[31] = 'EE_CHANGE_OWNERSHIP';
-exports[32] = 'EE_CHANGE_PERMISSIONS';
-exports[33] = 'EE_CANT_SEEK';
-exports[34] = 'EE_CAPACITY_EXCEEDED';
-exports[120] = 'HA_ERR_KEY_NOT_FOUND';
-exports[121] = 'HA_ERR_FOUND_DUPP_KEY';
-exports[122] = 'HA_ERR_INTERNAL_ERROR';
-exports[123] = 'HA_ERR_RECORD_CHANGED';
-exports[124] = 'HA_ERR_WRONG_INDEX';
-exports[126] = 'HA_ERR_CRASHED';
-exports[127] = 'HA_ERR_WRONG_IN_RECORD';
-exports[128] = 'HA_ERR_OUT_OF_MEM';
-exports[130] = 'HA_ERR_NOT_A_TABLE';
-exports[131] = 'HA_ERR_WRONG_COMMAND';
-exports[132] = 'HA_ERR_OLD_FILE';
-exports[133] = 'HA_ERR_NO_ACTIVE_RECORD';
-exports[134] = 'HA_ERR_RECORD_DELETED';
-exports[135] = 'HA_ERR_RECORD_FILE_FULL';
-exports[136] = 'HA_ERR_INDEX_FILE_FULL';
-exports[137] = 'HA_ERR_END_OF_FILE';
-exports[138] = 'HA_ERR_UNSUPPORTED';
-exports[139] = 'HA_ERR_TOO_BIG_ROW';
-exports[140] = 'HA_WRONG_CREATE_OPTION';
-exports[141] = 'HA_ERR_FOUND_DUPP_UNIQUE';
-exports[142] = 'HA_ERR_UNKNOWN_CHARSET';
-exports[143] = 'HA_ERR_WRONG_MRG_TABLE_DEF';
-exports[144] = 'HA_ERR_CRASHED_ON_REPAIR';
-exports[145] = 'HA_ERR_CRASHED_ON_USAGE';
-exports[146] = 'HA_ERR_LOCK_WAIT_TIMEOUT';
-exports[147] = 'HA_ERR_LOCK_TABLE_FULL';
-exports[148] = 'HA_ERR_READ_ONLY_TRANSACTION';
-exports[149] = 'HA_ERR_LOCK_DEADLOCK';
-exports[150] = 'HA_ERR_CANNOT_ADD_FOREIGN';
-exports[151] = 'HA_ERR_NO_REFERENCED_ROW';
-exports[152] = 'HA_ERR_ROW_IS_REFERENCED';
-exports[153] = 'HA_ERR_NO_SAVEPOINT';
-exports[154] = 'HA_ERR_NON_UNIQUE_BLOCK_SIZE';
-exports[155] = 'HA_ERR_NO_SUCH_TABLE';
-exports[156] = 'HA_ERR_TABLE_EXIST';
-exports[157] = 'HA_ERR_NO_CONNECTION';
-exports[158] = 'HA_ERR_NULL_IN_SPATIAL';
-exports[159] = 'HA_ERR_TABLE_DEF_CHANGED';
-exports[160] = 'HA_ERR_NO_PARTITION_FOUND';
-exports[161] = 'HA_ERR_RBR_LOGGING_FAILED';
-exports[162] = 'HA_ERR_DROP_INDEX_FK';
-exports[163] = 'HA_ERR_FOREIGN_DUPLICATE_KEY';
-exports[164] = 'HA_ERR_TABLE_NEEDS_UPGRADE';
-exports[165] = 'HA_ERR_TABLE_READONLY';
-exports[166] = 'HA_ERR_AUTOINC_READ_FAILED';
-exports[167] = 'HA_ERR_AUTOINC_ERANGE';
-exports[168] = 'HA_ERR_GENERIC';
-exports[169] = 'HA_ERR_RECORD_IS_THE_SAME';
-exports[170] = 'HA_ERR_LOGGING_IMPOSSIBLE';
-exports[171] = 'HA_ERR_CORRUPT_EVENT';
-exports[172] = 'HA_ERR_NEW_FILE';
-exports[173] = 'HA_ERR_ROWS_EVENT_APPLY';
-exports[174] = 'HA_ERR_INITIALIZATION';
-exports[175] = 'HA_ERR_FILE_TOO_SHORT';
-exports[176] = 'HA_ERR_WRONG_CRC';
-exports[177] = 'HA_ERR_TOO_MANY_CONCURRENT_TRXS';
-exports[178] = 'HA_ERR_NOT_IN_LOCK_PARTITIONS';
-exports[179] = 'HA_ERR_INDEX_COL_TOO_LONG';
-exports[180] = 'HA_ERR_INDEX_CORRUPT';
-exports[181] = 'HA_ERR_UNDO_REC_TOO_BIG';
-exports[182] = 'HA_FTS_INVALID_DOCID';
-exports[183] = 'HA_ERR_TABLE_IN_FK_CHECK';
-exports[184] = 'HA_ERR_TABLESPACE_EXISTS';
-exports[185] = 'HA_ERR_TOO_MANY_FIELDS';
-exports[186] = 'HA_ERR_ROW_IN_WRONG_PARTITION';
-exports[187] = 'HA_ERR_INNODB_READ_ONLY';
-exports[188] = 'HA_ERR_FTS_EXCEED_RESULT_CACHE_LIMIT';
-exports[189] = 'HA_ERR_TEMP_FILE_WRITE_FAILURE';
-exports[190] = 'HA_ERR_INNODB_FORCED_RECOVERY';
-exports[191] = 'HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE';
-exports[192] = 'HA_ERR_FK_DEPTH_EXCEEDED';
-exports[193] = 'HA_MISSING_CREATE_OPTION';
-exports[194] = 'HA_ERR_SE_OUT_OF_MEMORY';
-exports[195] = 'HA_ERR_TABLE_CORRUPT';
-exports[196] = 'HA_ERR_QUERY_INTERRUPTED';
-exports[197] = 'HA_ERR_TABLESPACE_MISSING';
-exports[198] = 'HA_ERR_TABLESPACE_IS_NOT_EMPTY';
-exports[199] = 'HA_ERR_WRONG_FILE_NAME';
-exports[200] = 'HA_ERR_NOT_ALLOWED_COMMAND';
-exports[201] = 'HA_ERR_COMPUTE_FAILED';
-exports[1000] = 'ER_HASHCHK';
-exports[1001] = 'ER_NISAMCHK';
-exports[1002] = 'ER_NO';
-exports[1003] = 'ER_YES';
-exports[1004] = 'ER_CANT_CREATE_FILE';
-exports[1005] = 'ER_CANT_CREATE_TABLE';
-exports[1006] = 'ER_CANT_CREATE_DB';
-exports[1007] = 'ER_DB_CREATE_EXISTS';
-exports[1008] = 'ER_DB_DROP_EXISTS';
-exports[1009] = 'ER_DB_DROP_DELETE';
-exports[1010] = 'ER_DB_DROP_RMDIR';
-exports[1011] = 'ER_CANT_DELETE_FILE';
-exports[1012] = 'ER_CANT_FIND_SYSTEM_REC';
-exports[1013] = 'ER_CANT_GET_STAT';
-exports[1014] = 'ER_CANT_GET_WD';
-exports[1015] = 'ER_CANT_LOCK';
-exports[1016] = 'ER_CANT_OPEN_FILE';
-exports[1017] = 'ER_FILE_NOT_FOUND';
-exports[1018] = 'ER_CANT_READ_DIR';
-exports[1019] = 'ER_CANT_SET_WD';
-exports[1020] = 'ER_CHECKREAD';
-exports[1021] = 'ER_DISK_FULL';
-exports[1022] = 'ER_DUP_KEY';
-exports[1023] = 'ER_ERROR_ON_CLOSE';
-exports[1024] = 'ER_ERROR_ON_READ';
-exports[1025] = 'ER_ERROR_ON_RENAME';
-exports[1026] = 'ER_ERROR_ON_WRITE';
-exports[1027] = 'ER_FILE_USED';
-exports[1028] = 'ER_FILSORT_ABORT';
-exports[1029] = 'ER_FORM_NOT_FOUND';
-exports[1030] = 'ER_GET_ERRNO';
-exports[1031] = 'ER_ILLEGAL_HA';
-exports[1032] = 'ER_KEY_NOT_FOUND';
-exports[1033] = 'ER_NOT_FORM_FILE';
-exports[1034] = 'ER_NOT_KEYFILE';
-exports[1035] = 'ER_OLD_KEYFILE';
-exports[1036] = 'ER_OPEN_AS_READONLY';
-exports[1037] = 'ER_OUTOFMEMORY';
-exports[1038] = 'ER_OUT_OF_SORTMEMORY';
-exports[1039] = 'ER_UNEXPECTED_EOF';
-exports[1040] = 'ER_CON_COUNT_ERROR';
-exports[1041] = 'ER_OUT_OF_RESOURCES';
-exports[1042] = 'ER_BAD_HOST_ERROR';
-exports[1043] = 'ER_HANDSHAKE_ERROR';
-exports[1044] = 'ER_DBACCESS_DENIED_ERROR';
-exports[1045] = 'ER_ACCESS_DENIED_ERROR';
-exports[1046] = 'ER_NO_DB_ERROR';
-exports[1047] = 'ER_UNKNOWN_COM_ERROR';
-exports[1048] = 'ER_BAD_NULL_ERROR';
-exports[1049] = 'ER_BAD_DB_ERROR';
-exports[1050] = 'ER_TABLE_EXISTS_ERROR';
-exports[1051] = 'ER_BAD_TABLE_ERROR';
-exports[1052] = 'ER_NON_UNIQ_ERROR';
-exports[1053] = 'ER_SERVER_SHUTDOWN';
-exports[1054] = 'ER_BAD_FIELD_ERROR';
-exports[1055] = 'ER_WRONG_FIELD_WITH_GROUP';
-exports[1056] = 'ER_WRONG_GROUP_FIELD';
-exports[1057] = 'ER_WRONG_SUM_SELECT';
-exports[1058] = 'ER_WRONG_VALUE_COUNT';
-exports[1059] = 'ER_TOO_LONG_IDENT';
-exports[1060] = 'ER_DUP_FIELDNAME';
-exports[1061] = 'ER_DUP_KEYNAME';
-exports[1062] = 'ER_DUP_ENTRY';
-exports[1063] = 'ER_WRONG_FIELD_SPEC';
-exports[1064] = 'ER_PARSE_ERROR';
-exports[1065] = 'ER_EMPTY_QUERY';
-exports[1066] = 'ER_NONUNIQ_TABLE';
-exports[1067] = 'ER_INVALID_DEFAULT';
-exports[1068] = 'ER_MULTIPLE_PRI_KEY';
-exports[1069] = 'ER_TOO_MANY_KEYS';
-exports[1070] = 'ER_TOO_MANY_KEY_PARTS';
-exports[1071] = 'ER_TOO_LONG_KEY';
-exports[1072] = 'ER_KEY_COLUMN_DOES_NOT_EXITS';
-exports[1073] = 'ER_BLOB_USED_AS_KEY';
-exports[1074] = 'ER_TOO_BIG_FIELDLENGTH';
-exports[1075] = 'ER_WRONG_AUTO_KEY';
-exports[1076] = 'ER_READY';
-exports[1077] = 'ER_NORMAL_SHUTDOWN';
-exports[1078] = 'ER_GOT_SIGNAL';
-exports[1079] = 'ER_SHUTDOWN_COMPLETE';
-exports[1080] = 'ER_FORCING_CLOSE';
-exports[1081] = 'ER_IPSOCK_ERROR';
-exports[1082] = 'ER_NO_SUCH_INDEX';
-exports[1083] = 'ER_WRONG_FIELD_TERMINATORS';
-exports[1084] = 'ER_BLOBS_AND_NO_TERMINATED';
-exports[1085] = 'ER_TEXTFILE_NOT_READABLE';
-exports[1086] = 'ER_FILE_EXISTS_ERROR';
-exports[1087] = 'ER_LOAD_INFO';
-exports[1088] = 'ER_ALTER_INFO';
-exports[1089] = 'ER_WRONG_SUB_KEY';
-exports[1090] = 'ER_CANT_REMOVE_ALL_FIELDS';
-exports[1091] = 'ER_CANT_DROP_FIELD_OR_KEY';
-exports[1092] = 'ER_INSERT_INFO';
-exports[1093] = 'ER_UPDATE_TABLE_USED';
-exports[1094] = 'ER_NO_SUCH_THREAD';
-exports[1095] = 'ER_KILL_DENIED_ERROR';
-exports[1096] = 'ER_NO_TABLES_USED';
-exports[1097] = 'ER_TOO_BIG_SET';
-exports[1098] = 'ER_NO_UNIQUE_LOGFILE';
-exports[1099] = 'ER_TABLE_NOT_LOCKED_FOR_WRITE';
-exports[1100] = 'ER_TABLE_NOT_LOCKED';
-exports[1101] = 'ER_BLOB_CANT_HAVE_DEFAULT';
-exports[1102] = 'ER_WRONG_DB_NAME';
-exports[1103] = 'ER_WRONG_TABLE_NAME';
-exports[1104] = 'ER_TOO_BIG_SELECT';
-exports[1105] = 'ER_UNKNOWN_ERROR';
-exports[1106] = 'ER_UNKNOWN_PROCEDURE';
-exports[1107] = 'ER_WRONG_PARAMCOUNT_TO_PROCEDURE';
-exports[1108] = 'ER_WRONG_PARAMETERS_TO_PROCEDURE';
-exports[1109] = 'ER_UNKNOWN_TABLE';
-exports[1110] = 'ER_FIELD_SPECIFIED_TWICE';
-exports[1111] = 'ER_INVALID_GROUP_FUNC_USE';
-exports[1112] = 'ER_UNSUPPORTED_EXTENSION';
-exports[1113] = 'ER_TABLE_MUST_HAVE_COLUMNS';
-exports[1114] = 'ER_RECORD_FILE_FULL';
-exports[1115] = 'ER_UNKNOWN_CHARACTER_SET';
-exports[1116] = 'ER_TOO_MANY_TABLES';
-exports[1117] = 'ER_TOO_MANY_FIELDS';
-exports[1118] = 'ER_TOO_BIG_ROWSIZE';
-exports[1119] = 'ER_STACK_OVERRUN';
-exports[1120] = 'ER_WRONG_OUTER_JOIN';
-exports[1121] = 'ER_NULL_COLUMN_IN_INDEX';
-exports[1122] = 'ER_CANT_FIND_UDF';
-exports[1123] = 'ER_CANT_INITIALIZE_UDF';
-exports[1124] = 'ER_UDF_NO_PATHS';
-exports[1125] = 'ER_UDF_EXISTS';
-exports[1126] = 'ER_CANT_OPEN_LIBRARY';
-exports[1127] = 'ER_CANT_FIND_DL_ENTRY';
-exports[1128] = 'ER_FUNCTION_NOT_DEFINED';
-exports[1129] = 'ER_HOST_IS_BLOCKED';
-exports[1130] = 'ER_HOST_NOT_PRIVILEGED';
-exports[1131] = 'ER_PASSWORD_ANONYMOUS_USER';
-exports[1132] = 'ER_PASSWORD_NOT_ALLOWED';
-exports[1133] = 'ER_PASSWORD_NO_MATCH';
-exports[1134] = 'ER_UPDATE_INFO';
-exports[1135] = 'ER_CANT_CREATE_THREAD';
-exports[1136] = 'ER_WRONG_VALUE_COUNT_ON_ROW';
-exports[1137] = 'ER_CANT_REOPEN_TABLE';
-exports[1138] = 'ER_INVALID_USE_OF_NULL';
-exports[1139] = 'ER_REGEXP_ERROR';
-exports[1140] = 'ER_MIX_OF_GROUP_FUNC_AND_FIELDS';
-exports[1141] = 'ER_NONEXISTING_GRANT';
-exports[1142] = 'ER_TABLEACCESS_DENIED_ERROR';
-exports[1143] = 'ER_COLUMNACCESS_DENIED_ERROR';
-exports[1144] = 'ER_ILLEGAL_GRANT_FOR_TABLE';
-exports[1145] = 'ER_GRANT_WRONG_HOST_OR_USER';
-exports[1146] = 'ER_NO_SUCH_TABLE';
-exports[1147] = 'ER_NONEXISTING_TABLE_GRANT';
-exports[1148] = 'ER_NOT_ALLOWED_COMMAND';
-exports[1149] = 'ER_SYNTAX_ERROR';
-exports[1150] = 'ER_DELAYED_CANT_CHANGE_LOCK';
-exports[1151] = 'ER_TOO_MANY_DELAYED_THREADS';
-exports[1152] = 'ER_ABORTING_CONNECTION';
-exports[1153] = 'ER_NET_PACKET_TOO_LARGE';
-exports[1154] = 'ER_NET_READ_ERROR_FROM_PIPE';
-exports[1155] = 'ER_NET_FCNTL_ERROR';
-exports[1156] = 'ER_NET_PACKETS_OUT_OF_ORDER';
-exports[1157] = 'ER_NET_UNCOMPRESS_ERROR';
-exports[1158] = 'ER_NET_READ_ERROR';
-exports[1159] = 'ER_NET_READ_INTERRUPTED';
-exports[1160] = 'ER_NET_ERROR_ON_WRITE';
-exports[1161] = 'ER_NET_WRITE_INTERRUPTED';
-exports[1162] = 'ER_TOO_LONG_STRING';
-exports[1163] = 'ER_TABLE_CANT_HANDLE_BLOB';
-exports[1164] = 'ER_TABLE_CANT_HANDLE_AUTO_INCREMENT';
-exports[1165] = 'ER_DELAYED_INSERT_TABLE_LOCKED';
-exports[1166] = 'ER_WRONG_COLUMN_NAME';
-exports[1167] = 'ER_WRONG_KEY_COLUMN';
-exports[1168] = 'ER_WRONG_MRG_TABLE';
-exports[1169] = 'ER_DUP_UNIQUE';
-exports[1170] = 'ER_BLOB_KEY_WITHOUT_LENGTH';
-exports[1171] = 'ER_PRIMARY_CANT_HAVE_NULL';
-exports[1172] = 'ER_TOO_MANY_ROWS';
-exports[1173] = 'ER_REQUIRES_PRIMARY_KEY';
-exports[1174] = 'ER_NO_RAID_COMPILED';
-exports[1175] = 'ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE';
-exports[1176] = 'ER_KEY_DOES_NOT_EXITS';
-exports[1177] = 'ER_CHECK_NO_SUCH_TABLE';
-exports[1178] = 'ER_CHECK_NOT_IMPLEMENTED';
-exports[1179] = 'ER_CANT_DO_THIS_DURING_AN_TRANSACTION';
-exports[1180] = 'ER_ERROR_DURING_COMMIT';
-exports[1181] = 'ER_ERROR_DURING_ROLLBACK';
-exports[1182] = 'ER_ERROR_DURING_FLUSH_LOGS';
-exports[1183] = 'ER_ERROR_DURING_CHECKPOINT';
-exports[1184] = 'ER_NEW_ABORTING_CONNECTION';
-exports[1185] = 'ER_DUMP_NOT_IMPLEMENTED';
-exports[1186] = 'ER_FLUSH_MASTER_BINLOG_CLOSED';
-exports[1187] = 'ER_INDEX_REBUILD';
-exports[1188] = 'ER_MASTER';
-exports[1189] = 'ER_MASTER_NET_READ';
-exports[1190] = 'ER_MASTER_NET_WRITE';
-exports[1191] = 'ER_FT_MATCHING_KEY_NOT_FOUND';
-exports[1192] = 'ER_LOCK_OR_ACTIVE_TRANSACTION';
-exports[1193] = 'ER_UNKNOWN_SYSTEM_VARIABLE';
-exports[1194] = 'ER_CRASHED_ON_USAGE';
-exports[1195] = 'ER_CRASHED_ON_REPAIR';
-exports[1196] = 'ER_WARNING_NOT_COMPLETE_ROLLBACK';
-exports[1197] = 'ER_TRANS_CACHE_FULL';
-exports[1198] = 'ER_SLAVE_MUST_STOP';
-exports[1199] = 'ER_SLAVE_NOT_RUNNING';
-exports[1200] = 'ER_BAD_SLAVE';
-exports[1201] = 'ER_MASTER_INFO';
-exports[1202] = 'ER_SLAVE_THREAD';
-exports[1203] = 'ER_TOO_MANY_USER_CONNECTIONS';
-exports[1204] = 'ER_SET_CONSTANTS_ONLY';
-exports[1205] = 'ER_LOCK_WAIT_TIMEOUT';
-exports[1206] = 'ER_LOCK_TABLE_FULL';
-exports[1207] = 'ER_READ_ONLY_TRANSACTION';
-exports[1208] = 'ER_DROP_DB_WITH_READ_LOCK';
-exports[1209] = 'ER_CREATE_DB_WITH_READ_LOCK';
-exports[1210] = 'ER_WRONG_ARGUMENTS';
-exports[1211] = 'ER_NO_PERMISSION_TO_CREATE_USER';
-exports[1212] = 'ER_UNION_TABLES_IN_DIFFERENT_DIR';
-exports[1213] = 'ER_LOCK_DEADLOCK';
-exports[1214] = 'ER_TABLE_CANT_HANDLE_FT';
-exports[1215] = 'ER_CANNOT_ADD_FOREIGN';
-exports[1216] = 'ER_NO_REFERENCED_ROW';
-exports[1217] = 'ER_ROW_IS_REFERENCED';
-exports[1218] = 'ER_CONNECT_TO_MASTER';
-exports[1219] = 'ER_QUERY_ON_MASTER';
-exports[1220] = 'ER_ERROR_WHEN_EXECUTING_COMMAND';
-exports[1221] = 'ER_WRONG_USAGE';
-exports[1222] = 'ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT';
-exports[1223] = 'ER_CANT_UPDATE_WITH_READLOCK';
-exports[1224] = 'ER_MIXING_NOT_ALLOWED';
-exports[1225] = 'ER_DUP_ARGUMENT';
-exports[1226] = 'ER_USER_LIMIT_REACHED';
-exports[1227] = 'ER_SPECIFIC_ACCESS_DENIED_ERROR';
-exports[1228] = 'ER_LOCAL_VARIABLE';
-exports[1229] = 'ER_GLOBAL_VARIABLE';
-exports[1230] = 'ER_NO_DEFAULT';
-exports[1231] = 'ER_WRONG_VALUE_FOR_VAR';
-exports[1232] = 'ER_WRONG_TYPE_FOR_VAR';
-exports[1233] = 'ER_VAR_CANT_BE_READ';
-exports[1234] = 'ER_CANT_USE_OPTION_HERE';
-exports[1235] = 'ER_NOT_SUPPORTED_YET';
-exports[1236] = 'ER_MASTER_FATAL_ERROR_READING_BINLOG';
-exports[1237] = 'ER_SLAVE_IGNORED_TABLE';
-exports[1238] = 'ER_INCORRECT_GLOBAL_LOCAL_VAR';
-exports[1239] = 'ER_WRONG_FK_DEF';
-exports[1240] = 'ER_KEY_REF_DO_NOT_MATCH_TABLE_REF';
-exports[1241] = 'ER_OPERAND_COLUMNS';
-exports[1242] = 'ER_SUBQUERY_NO_1_ROW';
-exports[1243] = 'ER_UNKNOWN_STMT_HANDLER';
-exports[1244] = 'ER_CORRUPT_HELP_DB';
-exports[1245] = 'ER_CYCLIC_REFERENCE';
-exports[1246] = 'ER_AUTO_CONVERT';
-exports[1247] = 'ER_ILLEGAL_REFERENCE';
-exports[1248] = 'ER_DERIVED_MUST_HAVE_ALIAS';
-exports[1249] = 'ER_SELECT_REDUCED';
-exports[1250] = 'ER_TABLENAME_NOT_ALLOWED_HERE';
-exports[1251] = 'ER_NOT_SUPPORTED_AUTH_MODE';
-exports[1252] = 'ER_SPATIAL_CANT_HAVE_NULL';
-exports[1253] = 'ER_COLLATION_CHARSET_MISMATCH';
-exports[1254] = 'ER_SLAVE_WAS_RUNNING';
-exports[1255] = 'ER_SLAVE_WAS_NOT_RUNNING';
-exports[1256] = 'ER_TOO_BIG_FOR_UNCOMPRESS';
-exports[1257] = 'ER_ZLIB_Z_MEM_ERROR';
-exports[1258] = 'ER_ZLIB_Z_BUF_ERROR';
-exports[1259] = 'ER_ZLIB_Z_DATA_ERROR';
-exports[1260] = 'ER_CUT_VALUE_GROUP_CONCAT';
-exports[1261] = 'ER_WARN_TOO_FEW_RECORDS';
-exports[1262] = 'ER_WARN_TOO_MANY_RECORDS';
-exports[1263] = 'ER_WARN_NULL_TO_NOTNULL';
-exports[1264] = 'ER_WARN_DATA_OUT_OF_RANGE';
-exports[1265] = 'WARN_DATA_TRUNCATED';
-exports[1266] = 'ER_WARN_USING_OTHER_HANDLER';
-exports[1267] = 'ER_CANT_AGGREGATE_2COLLATIONS';
-exports[1268] = 'ER_DROP_USER';
-exports[1269] = 'ER_REVOKE_GRANTS';
-exports[1270] = 'ER_CANT_AGGREGATE_3COLLATIONS';
-exports[1271] = 'ER_CANT_AGGREGATE_NCOLLATIONS';
-exports[1272] = 'ER_VARIABLE_IS_NOT_STRUCT';
-exports[1273] = 'ER_UNKNOWN_COLLATION';
-exports[1274] = 'ER_SLAVE_IGNORED_SSL_PARAMS';
-exports[1275] = 'ER_SERVER_IS_IN_SECURE_AUTH_MODE';
-exports[1276] = 'ER_WARN_FIELD_RESOLVED';
-exports[1277] = 'ER_BAD_SLAVE_UNTIL_COND';
-exports[1278] = 'ER_MISSING_SKIP_SLAVE';
-exports[1279] = 'ER_UNTIL_COND_IGNORED';
-exports[1280] = 'ER_WRONG_NAME_FOR_INDEX';
-exports[1281] = 'ER_WRONG_NAME_FOR_CATALOG';
-exports[1282] = 'ER_WARN_QC_RESIZE';
-exports[1283] = 'ER_BAD_FT_COLUMN';
-exports[1284] = 'ER_UNKNOWN_KEY_CACHE';
-exports[1285] = 'ER_WARN_HOSTNAME_WONT_WORK';
-exports[1286] = 'ER_UNKNOWN_STORAGE_ENGINE';
-exports[1287] = 'ER_WARN_DEPRECATED_SYNTAX';
-exports[1288] = 'ER_NON_UPDATABLE_TABLE';
-exports[1289] = 'ER_FEATURE_DISABLED';
-exports[1290] = 'ER_OPTION_PREVENTS_STATEMENT';
-exports[1291] = 'ER_DUPLICATED_VALUE_IN_TYPE';
-exports[1292] = 'ER_TRUNCATED_WRONG_VALUE';
-exports[1293] = 'ER_TOO_MUCH_AUTO_TIMESTAMP_COLS';
-exports[1294] = 'ER_INVALID_ON_UPDATE';
-exports[1295] = 'ER_UNSUPPORTED_PS';
-exports[1296] = 'ER_GET_ERRMSG';
-exports[1297] = 'ER_GET_TEMPORARY_ERRMSG';
-exports[1298] = 'ER_UNKNOWN_TIME_ZONE';
-exports[1299] = 'ER_WARN_INVALID_TIMESTAMP';
-exports[1300] = 'ER_INVALID_CHARACTER_STRING';
-exports[1301] = 'ER_WARN_ALLOWED_PACKET_OVERFLOWED';
-exports[1302] = 'ER_CONFLICTING_DECLARATIONS';
-exports[1303] = 'ER_SP_NO_RECURSIVE_CREATE';
-exports[1304] = 'ER_SP_ALREADY_EXISTS';
-exports[1305] = 'ER_SP_DOES_NOT_EXIST';
-exports[1306] = 'ER_SP_DROP_FAILED';
-exports[1307] = 'ER_SP_STORE_FAILED';
-exports[1308] = 'ER_SP_LILABEL_MISMATCH';
-exports[1309] = 'ER_SP_LABEL_REDEFINE';
-exports[1310] = 'ER_SP_LABEL_MISMATCH';
-exports[1311] = 'ER_SP_UNINIT_VAR';
-exports[1312] = 'ER_SP_BADSELECT';
-exports[1313] = 'ER_SP_BADRETURN';
-exports[1314] = 'ER_SP_BADSTATEMENT';
-exports[1315] = 'ER_UPDATE_LOG_DEPRECATED_IGNORED';
-exports[1316] = 'ER_UPDATE_LOG_DEPRECATED_TRANSLATED';
-exports[1317] = 'ER_QUERY_INTERRUPTED';
-exports[1318] = 'ER_SP_WRONG_NO_OF_ARGS';
-exports[1319] = 'ER_SP_COND_MISMATCH';
-exports[1320] = 'ER_SP_NORETURN';
-exports[1321] = 'ER_SP_NORETURNEND';
-exports[1322] = 'ER_SP_BAD_CURSOR_QUERY';
-exports[1323] = 'ER_SP_BAD_CURSOR_SELECT';
-exports[1324] = 'ER_SP_CURSOR_MISMATCH';
-exports[1325] = 'ER_SP_CURSOR_ALREADY_OPEN';
-exports[1326] = 'ER_SP_CURSOR_NOT_OPEN';
-exports[1327] = 'ER_SP_UNDECLARED_VAR';
-exports[1328] = 'ER_SP_WRONG_NO_OF_FETCH_ARGS';
-exports[1329] = 'ER_SP_FETCH_NO_DATA';
-exports[1330] = 'ER_SP_DUP_PARAM';
-exports[1331] = 'ER_SP_DUP_VAR';
-exports[1332] = 'ER_SP_DUP_COND';
-exports[1333] = 'ER_SP_DUP_CURS';
-exports[1334] = 'ER_SP_CANT_ALTER';
-exports[1335] = 'ER_SP_SUBSELECT_NYI';
-exports[1336] = 'ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG';
-exports[1337] = 'ER_SP_VARCOND_AFTER_CURSHNDLR';
-exports[1338] = 'ER_SP_CURSOR_AFTER_HANDLER';
-exports[1339] = 'ER_SP_CASE_NOT_FOUND';
-exports[1340] = 'ER_FPARSER_TOO_BIG_FILE';
-exports[1341] = 'ER_FPARSER_BAD_HEADER';
-exports[1342] = 'ER_FPARSER_EOF_IN_COMMENT';
-exports[1343] = 'ER_FPARSER_ERROR_IN_PARAMETER';
-exports[1344] = 'ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER';
-exports[1345] = 'ER_VIEW_NO_EXPLAIN';
-exports[1346] = 'ER_FRM_UNKNOWN_TYPE';
-exports[1347] = 'ER_WRONG_OBJECT';
-exports[1348] = 'ER_NONUPDATEABLE_COLUMN';
-exports[1349] = 'ER_VIEW_SELECT_DERIVED';
-exports[1350] = 'ER_VIEW_SELECT_CLAUSE';
-exports[1351] = 'ER_VIEW_SELECT_VARIABLE';
-exports[1352] = 'ER_VIEW_SELECT_TMPTABLE';
-exports[1353] = 'ER_VIEW_WRONG_LIST';
-exports[1354] = 'ER_WARN_VIEW_MERGE';
-exports[1355] = 'ER_WARN_VIEW_WITHOUT_KEY';
-exports[1356] = 'ER_VIEW_INVALID';
-exports[1357] = 'ER_SP_NO_DROP_SP';
-exports[1358] = 'ER_SP_GOTO_IN_HNDLR';
-exports[1359] = 'ER_TRG_ALREADY_EXISTS';
-exports[1360] = 'ER_TRG_DOES_NOT_EXIST';
-exports[1361] = 'ER_TRG_ON_VIEW_OR_TEMP_TABLE';
-exports[1362] = 'ER_TRG_CANT_CHANGE_ROW';
-exports[1363] = 'ER_TRG_NO_SUCH_ROW_IN_TRG';
-exports[1364] = 'ER_NO_DEFAULT_FOR_FIELD';
-exports[1365] = 'ER_DIVISION_BY_ZERO';
-exports[1366] = 'ER_TRUNCATED_WRONG_VALUE_FOR_FIELD';
-exports[1367] = 'ER_ILLEGAL_VALUE_FOR_TYPE';
-exports[1368] = 'ER_VIEW_NONUPD_CHECK';
-exports[1369] = 'ER_VIEW_CHECK_FAILED';
-exports[1370] = 'ER_PROCACCESS_DENIED_ERROR';
-exports[1371] = 'ER_RELAY_LOG_FAIL';
-exports[1372] = 'ER_PASSWD_LENGTH';
-exports[1373] = 'ER_UNKNOWN_TARGET_BINLOG';
-exports[1374] = 'ER_IO_ERR_LOG_INDEX_READ';
-exports[1375] = 'ER_BINLOG_PURGE_PROHIBITED';
-exports[1376] = 'ER_FSEEK_FAIL';
-exports[1377] = 'ER_BINLOG_PURGE_FATAL_ERR';
-exports[1378] = 'ER_LOG_IN_USE';
-exports[1379] = 'ER_LOG_PURGE_UNKNOWN_ERR';
-exports[1380] = 'ER_RELAY_LOG_INIT';
-exports[1381] = 'ER_NO_BINARY_LOGGING';
-exports[1382] = 'ER_RESERVED_SYNTAX';
-exports[1383] = 'ER_WSAS_FAILED';
-exports[1384] = 'ER_DIFF_GROUPS_PROC';
-exports[1385] = 'ER_NO_GROUP_FOR_PROC';
-exports[1386] = 'ER_ORDER_WITH_PROC';
-exports[1387] = 'ER_LOGGING_PROHIBIT_CHANGING_OF';
-exports[1388] = 'ER_NO_FILE_MAPPING';
-exports[1389] = 'ER_WRONG_MAGIC';
-exports[1390] = 'ER_PS_MANY_PARAM';
-exports[1391] = 'ER_KEY_PART_0';
-exports[1392] = 'ER_VIEW_CHECKSUM';
-exports[1393] = 'ER_VIEW_MULTIUPDATE';
-exports[1394] = 'ER_VIEW_NO_INSERT_FIELD_LIST';
-exports[1395] = 'ER_VIEW_DELETE_MERGE_VIEW';
-exports[1396] = 'ER_CANNOT_USER';
-exports[1397] = 'ER_XAER_NOTA';
-exports[1398] = 'ER_XAER_INVAL';
-exports[1399] = 'ER_XAER_RMFAIL';
-exports[1400] = 'ER_XAER_OUTSIDE';
-exports[1401] = 'ER_XAER_RMERR';
-exports[1402] = 'ER_XA_RBROLLBACK';
-exports[1403] = 'ER_NONEXISTING_PROC_GRANT';
-exports[1404] = 'ER_PROC_AUTO_GRANT_FAIL';
-exports[1405] = 'ER_PROC_AUTO_REVOKE_FAIL';
-exports[1406] = 'ER_DATA_TOO_LONG';
-exports[1407] = 'ER_SP_BAD_SQLSTATE';
-exports[1408] = 'ER_STARTUP';
-exports[1409] = 'ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR';
-exports[1410] = 'ER_CANT_CREATE_USER_WITH_GRANT';
-exports[1411] = 'ER_WRONG_VALUE_FOR_TYPE';
-exports[1412] = 'ER_TABLE_DEF_CHANGED';
-exports[1413] = 'ER_SP_DUP_HANDLER';
-exports[1414] = 'ER_SP_NOT_VAR_ARG';
-exports[1415] = 'ER_SP_NO_RETSET';
-exports[1416] = 'ER_CANT_CREATE_GEOMETRY_OBJECT';
-exports[1417] = 'ER_FAILED_ROUTINE_BREAK_BINLOG';
-exports[1418] = 'ER_BINLOG_UNSAFE_ROUTINE';
-exports[1419] = 'ER_BINLOG_CREATE_ROUTINE_NEED_SUPER';
-exports[1420] = 'ER_EXEC_STMT_WITH_OPEN_CURSOR';
-exports[1421] = 'ER_STMT_HAS_NO_OPEN_CURSOR';
-exports[1422] = 'ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG';
-exports[1423] = 'ER_NO_DEFAULT_FOR_VIEW_FIELD';
-exports[1424] = 'ER_SP_NO_RECURSION';
-exports[1425] = 'ER_TOO_BIG_SCALE';
-exports[1426] = 'ER_TOO_BIG_PRECISION';
-exports[1427] = 'ER_M_BIGGER_THAN_D';
-exports[1428] = 'ER_WRONG_LOCK_OF_SYSTEM_TABLE';
-exports[1429] = 'ER_CONNECT_TO_FOREIGN_DATA_SOURCE';
-exports[1430] = 'ER_QUERY_ON_FOREIGN_DATA_SOURCE';
-exports[1431] = 'ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST';
-exports[1432] = 'ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE';
-exports[1433] = 'ER_FOREIGN_DATA_STRING_INVALID';
-exports[1434] = 'ER_CANT_CREATE_FEDERATED_TABLE';
-exports[1435] = 'ER_TRG_IN_WRONG_SCHEMA';
-exports[1436] = 'ER_STACK_OVERRUN_NEED_MORE';
-exports[1437] = 'ER_TOO_LONG_BODY';
-exports[1438] = 'ER_WARN_CANT_DROP_DEFAULT_KEYCACHE';
-exports[1439] = 'ER_TOO_BIG_DISPLAYWIDTH';
-exports[1440] = 'ER_XAER_DUPID';
-exports[1441] = 'ER_DATETIME_FUNCTION_OVERFLOW';
-exports[1442] = 'ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG';
-exports[1443] = 'ER_VIEW_PREVENT_UPDATE';
-exports[1444] = 'ER_PS_NO_RECURSION';
-exports[1445] = 'ER_SP_CANT_SET_AUTOCOMMIT';
-exports[1446] = 'ER_MALFORMED_DEFINER';
-exports[1447] = 'ER_VIEW_FRM_NO_USER';
-exports[1448] = 'ER_VIEW_OTHER_USER';
-exports[1449] = 'ER_NO_SUCH_USER';
-exports[1450] = 'ER_FORBID_SCHEMA_CHANGE';
-exports[1451] = 'ER_ROW_IS_REFERENCED_2';
-exports[1452] = 'ER_NO_REFERENCED_ROW_2';
-exports[1453] = 'ER_SP_BAD_VAR_SHADOW';
-exports[1454] = 'ER_TRG_NO_DEFINER';
-exports[1455] = 'ER_OLD_FILE_FORMAT';
-exports[1456] = 'ER_SP_RECURSION_LIMIT';
-exports[1457] = 'ER_SP_PROC_TABLE_CORRUPT';
-exports[1458] = 'ER_SP_WRONG_NAME';
-exports[1459] = 'ER_TABLE_NEEDS_UPGRADE';
-exports[1460] = 'ER_SP_NO_AGGREGATE';
-exports[1461] = 'ER_MAX_PREPARED_STMT_COUNT_REACHED';
-exports[1462] = 'ER_VIEW_RECURSIVE';
-exports[1463] = 'ER_NON_GROUPING_FIELD_USED';
-exports[1464] = 'ER_TABLE_CANT_HANDLE_SPKEYS';
-exports[1465] = 'ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA';
-exports[1466] = 'ER_REMOVED_SPACES';
-exports[1467] = 'ER_AUTOINC_READ_FAILED';
-exports[1468] = 'ER_USERNAME';
-exports[1469] = 'ER_HOSTNAME';
-exports[1470] = 'ER_WRONG_STRING_LENGTH';
-exports[1471] = 'ER_NON_INSERTABLE_TABLE';
-exports[1472] = 'ER_ADMIN_WRONG_MRG_TABLE';
-exports[1473] = 'ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT';
-exports[1474] = 'ER_NAME_BECOMES_EMPTY';
-exports[1475] = 'ER_AMBIGUOUS_FIELD_TERM';
-exports[1476] = 'ER_FOREIGN_SERVER_EXISTS';
-exports[1477] = 'ER_FOREIGN_SERVER_DOESNT_EXIST';
-exports[1478] = 'ER_ILLEGAL_HA_CREATE_OPTION';
-exports[1479] = 'ER_PARTITION_REQUIRES_VALUES_ERROR';
-exports[1480] = 'ER_PARTITION_WRONG_VALUES_ERROR';
-exports[1481] = 'ER_PARTITION_MAXVALUE_ERROR';
-exports[1482] = 'ER_PARTITION_SUBPARTITION_ERROR';
-exports[1483] = 'ER_PARTITION_SUBPART_MIX_ERROR';
-exports[1484] = 'ER_PARTITION_WRONG_NO_PART_ERROR';
-exports[1485] = 'ER_PARTITION_WRONG_NO_SUBPART_ERROR';
-exports[1486] = 'ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR';
-exports[1487] = 'ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR';
-exports[1488] = 'ER_FIELD_NOT_FOUND_PART_ERROR';
-exports[1489] = 'ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR';
-exports[1490] = 'ER_INCONSISTENT_PARTITION_INFO_ERROR';
-exports[1491] = 'ER_PARTITION_FUNC_NOT_ALLOWED_ERROR';
-exports[1492] = 'ER_PARTITIONS_MUST_BE_DEFINED_ERROR';
-exports[1493] = 'ER_RANGE_NOT_INCREASING_ERROR';
-exports[1494] = 'ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR';
-exports[1495] = 'ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR';
-exports[1496] = 'ER_PARTITION_ENTRY_ERROR';
-exports[1497] = 'ER_MIX_HANDLER_ERROR';
-exports[1498] = 'ER_PARTITION_NOT_DEFINED_ERROR';
-exports[1499] = 'ER_TOO_MANY_PARTITIONS_ERROR';
-exports[1500] = 'ER_SUBPARTITION_ERROR';
-exports[1501] = 'ER_CANT_CREATE_HANDLER_FILE';
-exports[1502] = 'ER_BLOB_FIELD_IN_PART_FUNC_ERROR';
-exports[1503] = 'ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF';
-exports[1504] = 'ER_NO_PARTS_ERROR';
-exports[1505] = 'ER_PARTITION_MGMT_ON_NONPARTITIONED';
-exports[1506] = 'ER_FOREIGN_KEY_ON_PARTITIONED';
-exports[1507] = 'ER_DROP_PARTITION_NON_EXISTENT';
-exports[1508] = 'ER_DROP_LAST_PARTITION';
-exports[1509] = 'ER_COALESCE_ONLY_ON_HASH_PARTITION';
-exports[1510] = 'ER_REORG_HASH_ONLY_ON_SAME_NO';
-exports[1511] = 'ER_REORG_NO_PARAM_ERROR';
-exports[1512] = 'ER_ONLY_ON_RANGE_LIST_PARTITION';
-exports[1513] = 'ER_ADD_PARTITION_SUBPART_ERROR';
-exports[1514] = 'ER_ADD_PARTITION_NO_NEW_PARTITION';
-exports[1515] = 'ER_COALESCE_PARTITION_NO_PARTITION';
-exports[1516] = 'ER_REORG_PARTITION_NOT_EXIST';
-exports[1517] = 'ER_SAME_NAME_PARTITION';
-exports[1518] = 'ER_NO_BINLOG_ERROR';
-exports[1519] = 'ER_CONSECUTIVE_REORG_PARTITIONS';
-exports[1520] = 'ER_REORG_OUTSIDE_RANGE';
-exports[1521] = 'ER_PARTITION_FUNCTION_FAILURE';
-exports[1522] = 'ER_PART_STATE_ERROR';
-exports[1523] = 'ER_LIMITED_PART_RANGE';
-exports[1524] = 'ER_PLUGIN_IS_NOT_LOADED';
-exports[1525] = 'ER_WRONG_VALUE';
-exports[1526] = 'ER_NO_PARTITION_FOR_GIVEN_VALUE';
-exports[1527] = 'ER_FILEGROUP_OPTION_ONLY_ONCE';
-exports[1528] = 'ER_CREATE_FILEGROUP_FAILED';
-exports[1529] = 'ER_DROP_FILEGROUP_FAILED';
-exports[1530] = 'ER_TABLESPACE_AUTO_EXTEND_ERROR';
-exports[1531] = 'ER_WRONG_SIZE_NUMBER';
-exports[1532] = 'ER_SIZE_OVERFLOW_ERROR';
-exports[1533] = 'ER_ALTER_FILEGROUP_FAILED';
-exports[1534] = 'ER_BINLOG_ROW_LOGGING_FAILED';
-exports[1535] = 'ER_BINLOG_ROW_WRONG_TABLE_DEF';
-exports[1536] = 'ER_BINLOG_ROW_RBR_TO_SBR';
-exports[1537] = 'ER_EVENT_ALREADY_EXISTS';
-exports[1538] = 'ER_EVENT_STORE_FAILED';
-exports[1539] = 'ER_EVENT_DOES_NOT_EXIST';
-exports[1540] = 'ER_EVENT_CANT_ALTER';
-exports[1541] = 'ER_EVENT_DROP_FAILED';
-exports[1542] = 'ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG';
-exports[1543] = 'ER_EVENT_ENDS_BEFORE_STARTS';
-exports[1544] = 'ER_EVENT_EXEC_TIME_IN_THE_PAST';
-exports[1545] = 'ER_EVENT_OPEN_TABLE_FAILED';
-exports[1546] = 'ER_EVENT_NEITHER_M_EXPR_NOR_M_AT';
-exports[1547] = 'ER_COL_COUNT_DOESNT_MATCH_CORRUPTED';
-exports[1548] = 'ER_CANNOT_LOAD_FROM_TABLE';
-exports[1549] = 'ER_EVENT_CANNOT_DELETE';
-exports[1550] = 'ER_EVENT_COMPILE_ERROR';
-exports[1551] = 'ER_EVENT_SAME_NAME';
-exports[1552] = 'ER_EVENT_DATA_TOO_LONG';
-exports[1553] = 'ER_DROP_INDEX_FK';
-exports[1554] = 'ER_WARN_DEPRECATED_SYNTAX_WITH_VER';
-exports[1555] = 'ER_CANT_WRITE_LOCK_LOG_TABLE';
-exports[1556] = 'ER_CANT_LOCK_LOG_TABLE';
-exports[1557] = 'ER_FOREIGN_DUPLICATE_KEY';
-exports[1558] = 'ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE';
-exports[1559] = 'ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR';
-exports[1560] = 'ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT';
-exports[1561] = 'ER_NDB_CANT_SWITCH_BINLOG_FORMAT';
-exports[1562] = 'ER_PARTITION_NO_TEMPORARY';
-exports[1563] = 'ER_PARTITION_CONST_DOMAIN_ERROR';
-exports[1564] = 'ER_PARTITION_FUNCTION_IS_NOT_ALLOWED';
-exports[1565] = 'ER_DDL_LOG_ERROR';
-exports[1566] = 'ER_NULL_IN_VALUES_LESS_THAN';
-exports[1567] = 'ER_WRONG_PARTITION_NAME';
-exports[1568] = 'ER_CANT_CHANGE_TX_CHARACTERISTICS';
-exports[1569] = 'ER_DUP_ENTRY_AUTOINCREMENT_CASE';
-exports[1570] = 'ER_EVENT_MODIFY_QUEUE_ERROR';
-exports[1571] = 'ER_EVENT_SET_VAR_ERROR';
-exports[1572] = 'ER_PARTITION_MERGE_ERROR';
-exports[1573] = 'ER_CANT_ACTIVATE_LOG';
-exports[1574] = 'ER_RBR_NOT_AVAILABLE';
-exports[1575] = 'ER_BASE64_DECODE_ERROR';
-exports[1576] = 'ER_EVENT_RECURSION_FORBIDDEN';
-exports[1577] = 'ER_EVENTS_DB_ERROR';
-exports[1578] = 'ER_ONLY_INTEGERS_ALLOWED';
-exports[1579] = 'ER_UNSUPORTED_LOG_ENGINE';
-exports[1580] = 'ER_BAD_LOG_STATEMENT';
-exports[1581] = 'ER_CANT_RENAME_LOG_TABLE';
-exports[1582] = 'ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT';
-exports[1583] = 'ER_WRONG_PARAMETERS_TO_NATIVE_FCT';
-exports[1584] = 'ER_WRONG_PARAMETERS_TO_STORED_FCT';
-exports[1585] = 'ER_NATIVE_FCT_NAME_COLLISION';
-exports[1586] = 'ER_DUP_ENTRY_WITH_KEY_NAME';
-exports[1587] = 'ER_BINLOG_PURGE_EMFILE';
-exports[1588] = 'ER_EVENT_CANNOT_CREATE_IN_THE_PAST';
-exports[1589] = 'ER_EVENT_CANNOT_ALTER_IN_THE_PAST';
-exports[1590] = 'ER_SLAVE_INCIDENT';
-exports[1591] = 'ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT';
-exports[1592] = 'ER_BINLOG_UNSAFE_STATEMENT';
-exports[1593] = 'ER_SLAVE_FATAL_ERROR';
-exports[1594] = 'ER_SLAVE_RELAY_LOG_READ_FAILURE';
-exports[1595] = 'ER_SLAVE_RELAY_LOG_WRITE_FAILURE';
-exports[1596] = 'ER_SLAVE_CREATE_EVENT_FAILURE';
-exports[1597] = 'ER_SLAVE_MASTER_COM_FAILURE';
-exports[1598] = 'ER_BINLOG_LOGGING_IMPOSSIBLE';
-exports[1599] = 'ER_VIEW_NO_CREATION_CTX';
-exports[1600] = 'ER_VIEW_INVALID_CREATION_CTX';
-exports[1601] = 'ER_SR_INVALID_CREATION_CTX';
-exports[1602] = 'ER_TRG_CORRUPTED_FILE';
-exports[1603] = 'ER_TRG_NO_CREATION_CTX';
-exports[1604] = 'ER_TRG_INVALID_CREATION_CTX';
-exports[1605] = 'ER_EVENT_INVALID_CREATION_CTX';
-exports[1606] = 'ER_TRG_CANT_OPEN_TABLE';
-exports[1607] = 'ER_CANT_CREATE_SROUTINE';
-exports[1608] = 'ER_NEVER_USED';
-exports[1609] = 'ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT';
-exports[1610] = 'ER_SLAVE_CORRUPT_EVENT';
-exports[1611] = 'ER_LOAD_DATA_INVALID_COLUMN';
-exports[1612] = 'ER_LOG_PURGE_NO_FILE';
-exports[1613] = 'ER_XA_RBTIMEOUT';
-exports[1614] = 'ER_XA_RBDEADLOCK';
-exports[1615] = 'ER_NEED_REPREPARE';
-exports[1616] = 'ER_DELAYED_NOT_SUPPORTED';
-exports[1617] = 'WARN_NO_MASTER_INFO';
-exports[1618] = 'WARN_OPTION_IGNORED';
-exports[1619] = 'ER_PLUGIN_DELETE_BUILTIN';
-exports[1620] = 'WARN_PLUGIN_BUSY';
-exports[1621] = 'ER_VARIABLE_IS_READONLY';
-exports[1622] = 'ER_WARN_ENGINE_TRANSACTION_ROLLBACK';
-exports[1623] = 'ER_SLAVE_HEARTBEAT_FAILURE';
-exports[1624] = 'ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE';
-exports[1625] = 'ER_NDB_REPLICATION_SCHEMA_ERROR';
-exports[1626] = 'ER_CONFLICT_FN_PARSE_ERROR';
-exports[1627] = 'ER_EXCEPTIONS_WRITE_ERROR';
-exports[1628] = 'ER_TOO_LONG_TABLE_COMMENT';
-exports[1629] = 'ER_TOO_LONG_FIELD_COMMENT';
-exports[1630] = 'ER_FUNC_INEXISTENT_NAME_COLLISION';
-exports[1631] = 'ER_DATABASE_NAME';
-exports[1632] = 'ER_TABLE_NAME';
-exports[1633] = 'ER_PARTITION_NAME';
-exports[1634] = 'ER_SUBPARTITION_NAME';
-exports[1635] = 'ER_TEMPORARY_NAME';
-exports[1636] = 'ER_RENAMED_NAME';
-exports[1637] = 'ER_TOO_MANY_CONCURRENT_TRXS';
-exports[1638] = 'WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED';
-exports[1639] = 'ER_DEBUG_SYNC_TIMEOUT';
-exports[1640] = 'ER_DEBUG_SYNC_HIT_LIMIT';
-exports[1641] = 'ER_DUP_SIGNAL_SET';
-exports[1642] = 'ER_SIGNAL_WARN';
-exports[1643] = 'ER_SIGNAL_NOT_FOUND';
-exports[1644] = 'ER_SIGNAL_EXCEPTION';
-exports[1645] = 'ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER';
-exports[1646] = 'ER_SIGNAL_BAD_CONDITION_TYPE';
-exports[1647] = 'WARN_COND_ITEM_TRUNCATED';
-exports[1648] = 'ER_COND_ITEM_TOO_LONG';
-exports[1649] = 'ER_UNKNOWN_LOCALE';
-exports[1650] = 'ER_SLAVE_IGNORE_SERVER_IDS';
-exports[1651] = 'ER_QUERY_CACHE_DISABLED';
-exports[1652] = 'ER_SAME_NAME_PARTITION_FIELD';
-exports[1653] = 'ER_PARTITION_COLUMN_LIST_ERROR';
-exports[1654] = 'ER_WRONG_TYPE_COLUMN_VALUE_ERROR';
-exports[1655] = 'ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR';
-exports[1656] = 'ER_MAXVALUE_IN_VALUES_IN';
-exports[1657] = 'ER_TOO_MANY_VALUES_ERROR';
-exports[1658] = 'ER_ROW_SINGLE_PARTITION_FIELD_ERROR';
-exports[1659] = 'ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD';
-exports[1660] = 'ER_PARTITION_FIELDS_TOO_LONG';
-exports[1661] = 'ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE';
-exports[1662] = 'ER_BINLOG_ROW_MODE_AND_STMT_ENGINE';
-exports[1663] = 'ER_BINLOG_UNSAFE_AND_STMT_ENGINE';
-exports[1664] = 'ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE';
-exports[1665] = 'ER_BINLOG_STMT_MODE_AND_ROW_ENGINE';
-exports[1666] = 'ER_BINLOG_ROW_INJECTION_AND_STMT_MODE';
-exports[1667] = 'ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE';
-exports[1668] = 'ER_BINLOG_UNSAFE_LIMIT';
-exports[1669] = 'ER_BINLOG_UNSAFE_INSERT_DELAYED';
-exports[1670] = 'ER_BINLOG_UNSAFE_SYSTEM_TABLE';
-exports[1671] = 'ER_BINLOG_UNSAFE_AUTOINC_COLUMNS';
-exports[1672] = 'ER_BINLOG_UNSAFE_UDF';
-exports[1673] = 'ER_BINLOG_UNSAFE_SYSTEM_VARIABLE';
-exports[1674] = 'ER_BINLOG_UNSAFE_SYSTEM_FUNCTION';
-exports[1675] = 'ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS';
-exports[1676] = 'ER_MESSAGE_AND_STATEMENT';
-exports[1677] = 'ER_SLAVE_CONVERSION_FAILED';
-exports[1678] = 'ER_SLAVE_CANT_CREATE_CONVERSION';
-exports[1679] = 'ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT';
-exports[1680] = 'ER_PATH_LENGTH';
-exports[1681] = 'ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT';
-exports[1682] = 'ER_WRONG_NATIVE_TABLE_STRUCTURE';
-exports[1683] = 'ER_WRONG_PERFSCHEMA_USAGE';
-exports[1684] = 'ER_WARN_I_S_SKIPPED_TABLE';
-exports[1685] = 'ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT';
-exports[1686] = 'ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT';
-exports[1687] = 'ER_SPATIAL_MUST_HAVE_GEOM_COL';
-exports[1688] = 'ER_TOO_LONG_INDEX_COMMENT';
-exports[1689] = 'ER_LOCK_ABORTED';
-exports[1690] = 'ER_DATA_OUT_OF_RANGE';
-exports[1691] = 'ER_WRONG_SPVAR_TYPE_IN_LIMIT';
-exports[1692] = 'ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE';
-exports[1693] = 'ER_BINLOG_UNSAFE_MIXED_STATEMENT';
-exports[1694] = 'ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN';
-exports[1695] = 'ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN';
-exports[1696] = 'ER_FAILED_READ_FROM_PAR_FILE';
-exports[1697] = 'ER_VALUES_IS_NOT_INT_TYPE_ERROR';
-exports[1698] = 'ER_ACCESS_DENIED_NO_PASSWORD_ERROR';
-exports[1699] = 'ER_SET_PASSWORD_AUTH_PLUGIN';
-exports[1700] = 'ER_GRANT_PLUGIN_USER_EXISTS';
-exports[1701] = 'ER_TRUNCATE_ILLEGAL_FK';
-exports[1702] = 'ER_PLUGIN_IS_PERMANENT';
-exports[1703] = 'ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN';
-exports[1704] = 'ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX';
-exports[1705] = 'ER_STMT_CACHE_FULL';
-exports[1706] = 'ER_MULTI_UPDATE_KEY_CONFLICT';
-exports[1707] = 'ER_TABLE_NEEDS_REBUILD';
-exports[1708] = 'WARN_OPTION_BELOW_LIMIT';
-exports[1709] = 'ER_INDEX_COLUMN_TOO_LONG';
-exports[1710] = 'ER_ERROR_IN_TRIGGER_BODY';
-exports[1711] = 'ER_ERROR_IN_UNKNOWN_TRIGGER_BODY';
-exports[1712] = 'ER_INDEX_CORRUPT';
-exports[1713] = 'ER_UNDO_RECORD_TOO_BIG';
-exports[1714] = 'ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT';
-exports[1715] = 'ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE';
-exports[1716] = 'ER_BINLOG_UNSAFE_REPLACE_SELECT';
-exports[1717] = 'ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT';
-exports[1718] = 'ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT';
-exports[1719] = 'ER_BINLOG_UNSAFE_UPDATE_IGNORE';
-exports[1720] = 'ER_PLUGIN_NO_UNINSTALL';
-exports[1721] = 'ER_PLUGIN_NO_INSTALL';
-exports[1722] = 'ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT';
-exports[1723] = 'ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC';
-exports[1724] = 'ER_BINLOG_UNSAFE_INSERT_TWO_KEYS';
-exports[1725] = 'ER_TABLE_IN_FK_CHECK';
-exports[1726] = 'ER_UNSUPPORTED_ENGINE';
-exports[1727] = 'ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST';
-exports[1728] = 'ER_CANNOT_LOAD_FROM_TABLE_V2';
-exports[1729] = 'ER_MASTER_DELAY_VALUE_OUT_OF_RANGE';
-exports[1730] = 'ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT';
-exports[1731] = 'ER_PARTITION_EXCHANGE_DIFFERENT_OPTION';
-exports[1732] = 'ER_PARTITION_EXCHANGE_PART_TABLE';
-exports[1733] = 'ER_PARTITION_EXCHANGE_TEMP_TABLE';
-exports[1734] = 'ER_PARTITION_INSTEAD_OF_SUBPARTITION';
-exports[1735] = 'ER_UNKNOWN_PARTITION';
-exports[1736] = 'ER_TABLES_DIFFERENT_METADATA';
-exports[1737] = 'ER_ROW_DOES_NOT_MATCH_PARTITION';
-exports[1738] = 'ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX';
-exports[1739] = 'ER_WARN_INDEX_NOT_APPLICABLE';
-exports[1740] = 'ER_PARTITION_EXCHANGE_FOREIGN_KEY';
-exports[1741] = 'ER_NO_SUCH_KEY_VALUE';
-exports[1742] = 'ER_RPL_INFO_DATA_TOO_LONG';
-exports[1743] = 'ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE';
-exports[1744] = 'ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE';
-exports[1745] = 'ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX';
-exports[1746] = 'ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT';
-exports[1747] = 'ER_PARTITION_CLAUSE_ON_NONPARTITIONED';
-exports[1748] = 'ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET';
-exports[1749] = 'ER_NO_SUCH_PARTITION';
-exports[1750] = 'ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE';
-exports[1751] = 'ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE';
-exports[1752] = 'ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE';
-exports[1753] = 'ER_MTS_FEATURE_IS_NOT_SUPPORTED';
-exports[1754] = 'ER_MTS_UPDATED_DBS_GREATER_MAX';
-exports[1755] = 'ER_MTS_CANT_PARALLEL';
-exports[1756] = 'ER_MTS_INCONSISTENT_DATA';
-exports[1757] = 'ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING';
-exports[1758] = 'ER_DA_INVALID_CONDITION_NUMBER';
-exports[1759] = 'ER_INSECURE_PLAIN_TEXT';
-exports[1760] = 'ER_INSECURE_CHANGE_MASTER';
-exports[1761] = 'ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO';
-exports[1762] = 'ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO';
-exports[1763] = 'ER_SQLTHREAD_WITH_SECURE_SLAVE';
-exports[1764] = 'ER_TABLE_HAS_NO_FT';
-exports[1765] = 'ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER';
-exports[1766] = 'ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION';
-exports[1767] = 'ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST';
-exports[1768] = 'ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION';
-exports[1769] = 'ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION';
-exports[1770] = 'ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL';
-exports[1771] = 'ER_SKIPPING_LOGGED_TRANSACTION';
-exports[1772] = 'ER_MALFORMED_GTID_SET_SPECIFICATION';
-exports[1773] = 'ER_MALFORMED_GTID_SET_ENCODING';
-exports[1774] = 'ER_MALFORMED_GTID_SPECIFICATION';
-exports[1775] = 'ER_GNO_EXHAUSTED';
-exports[1776] = 'ER_BAD_SLAVE_AUTO_POSITION';
-exports[1777] = 'ER_AUTO_POSITION_REQUIRES_GTID_MODE_NOT_OFF';
-exports[1778] = 'ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET';
-exports[1779] = 'ER_GTID_MODE_ON_REQUIRES_ENFORCE_GTID_CONSISTENCY_ON';
-exports[1780] = 'ER_GTID_MODE_REQUIRES_BINLOG';
-exports[1781] = 'ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF';
-exports[1782] = 'ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON';
-exports[1783] = 'ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF';
-exports[1784] = 'ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF';
-exports[1785] = 'ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE';
-exports[1786] = 'ER_GTID_UNSAFE_CREATE_SELECT';
-exports[1787] = 'ER_GTID_UNSAFE_CREATE_DROP_TEMPORARY_TABLE_IN_TRANSACTION';
-exports[1788] = 'ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME';
-exports[1789] = 'ER_MASTER_HAS_PURGED_REQUIRED_GTIDS';
-exports[1790] = 'ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID';
-exports[1791] = 'ER_UNKNOWN_EXPLAIN_FORMAT';
-exports[1792] = 'ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION';
-exports[1793] = 'ER_TOO_LONG_TABLE_PARTITION_COMMENT';
-exports[1794] = 'ER_SLAVE_CONFIGURATION';
-exports[1795] = 'ER_INNODB_FT_LIMIT';
-exports[1796] = 'ER_INNODB_NO_FT_TEMP_TABLE';
-exports[1797] = 'ER_INNODB_FT_WRONG_DOCID_COLUMN';
-exports[1798] = 'ER_INNODB_FT_WRONG_DOCID_INDEX';
-exports[1799] = 'ER_INNODB_ONLINE_LOG_TOO_BIG';
-exports[1800] = 'ER_UNKNOWN_ALTER_ALGORITHM';
-exports[1801] = 'ER_UNKNOWN_ALTER_LOCK';
-exports[1802] = 'ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS';
-exports[1803] = 'ER_MTS_RECOVERY_FAILURE';
-exports[1804] = 'ER_MTS_RESET_WORKERS';
-exports[1805] = 'ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2';
-exports[1806] = 'ER_SLAVE_SILENT_RETRY_TRANSACTION';
-exports[1807] = 'ER_DISCARD_FK_CHECKS_RUNNING';
-exports[1808] = 'ER_TABLE_SCHEMA_MISMATCH';
-exports[1809] = 'ER_TABLE_IN_SYSTEM_TABLESPACE';
-exports[1810] = 'ER_IO_READ_ERROR';
-exports[1811] = 'ER_IO_WRITE_ERROR';
-exports[1812] = 'ER_TABLESPACE_MISSING';
-exports[1813] = 'ER_TABLESPACE_EXISTS';
-exports[1814] = 'ER_TABLESPACE_DISCARDED';
-exports[1815] = 'ER_INTERNAL_ERROR';
-exports[1816] = 'ER_INNODB_IMPORT_ERROR';
-exports[1817] = 'ER_INNODB_INDEX_CORRUPT';
-exports[1818] = 'ER_INVALID_YEAR_COLUMN_LENGTH';
-exports[1819] = 'ER_NOT_VALID_PASSWORD';
-exports[1820] = 'ER_MUST_CHANGE_PASSWORD';
-exports[1821] = 'ER_FK_NO_INDEX_CHILD';
-exports[1822] = 'ER_FK_NO_INDEX_PARENT';
-exports[1823] = 'ER_FK_FAIL_ADD_SYSTEM';
-exports[1824] = 'ER_FK_CANNOT_OPEN_PARENT';
-exports[1825] = 'ER_FK_INCORRECT_OPTION';
-exports[1826] = 'ER_FK_DUP_NAME';
-exports[1827] = 'ER_PASSWORD_FORMAT';
-exports[1828] = 'ER_FK_COLUMN_CANNOT_DROP';
-exports[1829] = 'ER_FK_COLUMN_CANNOT_DROP_CHILD';
-exports[1830] = 'ER_FK_COLUMN_NOT_NULL';
-exports[1831] = 'ER_DUP_INDEX';
-exports[1832] = 'ER_FK_COLUMN_CANNOT_CHANGE';
-exports[1833] = 'ER_FK_COLUMN_CANNOT_CHANGE_CHILD';
-exports[1834] = 'ER_FK_CANNOT_DELETE_PARENT';
-exports[1835] = 'ER_MALFORMED_PACKET';
-exports[1836] = 'ER_READ_ONLY_MODE';
-exports[1837] = 'ER_GTID_NEXT_TYPE_UNDEFINED_GROUP';
-exports[1838] = 'ER_VARIABLE_NOT_SETTABLE_IN_SP';
-exports[1839] = 'ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF';
-exports[1840] = 'ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY';
-exports[1841] = 'ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY';
-exports[1842] = 'ER_GTID_PURGED_WAS_CHANGED';
-exports[1843] = 'ER_GTID_EXECUTED_WAS_CHANGED';
-exports[1844] = 'ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES';
-exports[1845] = 'ER_ALTER_OPERATION_NOT_SUPPORTED';
-exports[1846] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON';
-exports[1847] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY';
-exports[1848] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION';
-exports[1849] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME';
-exports[1850] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE';
-exports[1851] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK';
-exports[1852] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_IGNORE';
-exports[1853] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK';
-exports[1854] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC';
-exports[1855] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS';
-exports[1856] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS';
-exports[1857] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS';
-exports[1858] = 'ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE';
-exports[1859] = 'ER_DUP_UNKNOWN_IN_INDEX';
-exports[1860] = 'ER_IDENT_CAUSES_TOO_LONG_PATH';
-exports[1861] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL';
-exports[1862] = 'ER_MUST_CHANGE_PASSWORD_LOGIN';
-exports[1863] = 'ER_ROW_IN_WRONG_PARTITION';
-exports[1864] = 'ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX';
-exports[1865] = 'ER_INNODB_NO_FT_USES_PARSER';
-exports[1866] = 'ER_BINLOG_LOGICAL_CORRUPTION';
-exports[1867] = 'ER_WARN_PURGE_LOG_IN_USE';
-exports[1868] = 'ER_WARN_PURGE_LOG_IS_ACTIVE';
-exports[1869] = 'ER_AUTO_INCREMENT_CONFLICT';
-exports[1870] = 'WARN_ON_BLOCKHOLE_IN_RBR';
-exports[1871] = 'ER_SLAVE_MI_INIT_REPOSITORY';
-exports[1872] = 'ER_SLAVE_RLI_INIT_REPOSITORY';
-exports[1873] = 'ER_ACCESS_DENIED_CHANGE_USER_ERROR';
-exports[1874] = 'ER_INNODB_READ_ONLY';
-exports[1875] = 'ER_STOP_SLAVE_SQL_THREAD_TIMEOUT';
-exports[1876] = 'ER_STOP_SLAVE_IO_THREAD_TIMEOUT';
-exports[1877] = 'ER_TABLE_CORRUPT';
-exports[1878] = 'ER_TEMP_FILE_WRITE_FAILURE';
-exports[1879] = 'ER_INNODB_FT_AUX_NOT_HEX_ID';
-exports[1880] = 'ER_OLD_TEMPORALS_UPGRADED';
-exports[1881] = 'ER_INNODB_FORCED_RECOVERY';
-exports[1882] = 'ER_AES_INVALID_IV';
-exports[1883] = 'ER_PLUGIN_CANNOT_BE_UNINSTALLED';
-exports[1884] = 'ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_GTID_GROUP';
-exports[1885] = 'ER_SLAVE_HAS_MORE_GTIDS_THAN_MASTER';
-exports[1886] = 'ER_MISSING_KEY';
-exports[1887] = 'WARN_NAMED_PIPE_ACCESS_EVERYONE';
-exports[1888] = 'ER_FOUND_MISSING_GTIDS';
-exports[3000] = 'ER_FILE_CORRUPT';
-exports[3001] = 'ER_ERROR_ON_MASTER';
-exports[3002] = 'ER_INCONSISTENT_ERROR';
-exports[3003] = 'ER_STORAGE_ENGINE_NOT_LOADED';
-exports[3004] = 'ER_GET_STACKED_DA_WITHOUT_ACTIVE_HANDLER';
-exports[3005] = 'ER_WARN_LEGACY_SYNTAX_CONVERTED';
-exports[3006] = 'ER_BINLOG_UNSAFE_FULLTEXT_PLUGIN';
-exports[3007] = 'ER_CANNOT_DISCARD_TEMPORARY_TABLE';
-exports[3008] = 'ER_FK_DEPTH_EXCEEDED';
-exports[3009] = 'ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE_V2';
-exports[3010] = 'ER_WARN_TRIGGER_DOESNT_HAVE_CREATED';
-exports[3011] = 'ER_REFERENCED_TRG_DOES_NOT_EXIST';
-exports[3012] = 'ER_EXPLAIN_NOT_SUPPORTED';
-exports[3013] = 'ER_INVALID_FIELD_SIZE';
-exports[3014] = 'ER_MISSING_HA_CREATE_OPTION';
-exports[3015] = 'ER_ENGINE_OUT_OF_MEMORY';
-exports[3016] = 'ER_PASSWORD_EXPIRE_ANONYMOUS_USER';
-exports[3017] = 'ER_SLAVE_SQL_THREAD_MUST_STOP';
-exports[3018] = 'ER_NO_FT_MATERIALIZED_SUBQUERY';
-exports[3019] = 'ER_INNODB_UNDO_LOG_FULL';
-exports[3020] = 'ER_INVALID_ARGUMENT_FOR_LOGARITHM';
-exports[3021] = 'ER_SLAVE_CHANNEL_IO_THREAD_MUST_STOP';
-exports[3022] = 'ER_WARN_OPEN_TEMP_TABLES_MUST_BE_ZERO';
-exports[3023] = 'ER_WARN_ONLY_MASTER_LOG_FILE_NO_POS';
-exports[3024] = 'ER_QUERY_TIMEOUT';
-exports[3025] = 'ER_NON_RO_SELECT_DISABLE_TIMER';
-exports[3026] = 'ER_DUP_LIST_ENTRY';
-exports[3027] = 'ER_SQL_MODE_NO_EFFECT';
-exports[3028] = 'ER_AGGREGATE_ORDER_FOR_UNION';
-exports[3029] = 'ER_AGGREGATE_ORDER_NON_AGG_QUERY';
-exports[3030] = 'ER_SLAVE_WORKER_STOPPED_PREVIOUS_THD_ERROR';
-exports[3031] = 'ER_DONT_SUPPORT_SLAVE_PRESERVE_COMMIT_ORDER';
-exports[3032] = 'ER_SERVER_OFFLINE_MODE';
-exports[3033] = 'ER_GIS_DIFFERENT_SRIDS';
-exports[3034] = 'ER_GIS_UNSUPPORTED_ARGUMENT';
-exports[3035] = 'ER_GIS_UNKNOWN_ERROR';
-exports[3036] = 'ER_GIS_UNKNOWN_EXCEPTION';
-exports[3037] = 'ER_GIS_INVALID_DATA';
-exports[3038] = 'ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION';
-exports[3039] = 'ER_BOOST_GEOMETRY_CENTROID_EXCEPTION';
-exports[3040] = 'ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION';
-exports[3041] = 'ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION';
-exports[3042] = 'ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION';
-exports[3043] = 'ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION';
-exports[3044] = 'ER_STD_BAD_ALLOC_ERROR';
-exports[3045] = 'ER_STD_DOMAIN_ERROR';
-exports[3046] = 'ER_STD_LENGTH_ERROR';
-exports[3047] = 'ER_STD_INVALID_ARGUMENT';
-exports[3048] = 'ER_STD_OUT_OF_RANGE_ERROR';
-exports[3049] = 'ER_STD_OVERFLOW_ERROR';
-exports[3050] = 'ER_STD_RANGE_ERROR';
-exports[3051] = 'ER_STD_UNDERFLOW_ERROR';
-exports[3052] = 'ER_STD_LOGIC_ERROR';
-exports[3053] = 'ER_STD_RUNTIME_ERROR';
-exports[3054] = 'ER_STD_UNKNOWN_EXCEPTION';
-exports[3055] = 'ER_GIS_DATA_WRONG_ENDIANESS';
-exports[3056] = 'ER_CHANGE_MASTER_PASSWORD_LENGTH';
-exports[3057] = 'ER_USER_LOCK_WRONG_NAME';
-exports[3058] = 'ER_USER_LOCK_DEADLOCK';
-exports[3059] = 'ER_REPLACE_INACCESSIBLE_ROWS';
-exports[3060] = 'ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS';
-exports[3061] = 'ER_ILLEGAL_USER_VAR';
-exports[3062] = 'ER_GTID_MODE_OFF';
-exports[3063] = 'ER_UNSUPPORTED_BY_REPLICATION_THREAD';
-exports[3064] = 'ER_INCORRECT_TYPE';
-exports[3065] = 'ER_FIELD_IN_ORDER_NOT_SELECT';
-exports[3066] = 'ER_AGGREGATE_IN_ORDER_NOT_SELECT';
-exports[3067] = 'ER_INVALID_RPL_WILD_TABLE_FILTER_PATTERN';
-exports[3068] = 'ER_NET_OK_PACKET_TOO_LARGE';
-exports[3069] = 'ER_INVALID_JSON_DATA';
-exports[3070] = 'ER_INVALID_GEOJSON_MISSING_MEMBER';
-exports[3071] = 'ER_INVALID_GEOJSON_WRONG_TYPE';
-exports[3072] = 'ER_INVALID_GEOJSON_UNSPECIFIED';
-exports[3073] = 'ER_DIMENSION_UNSUPPORTED';
-exports[3074] = 'ER_SLAVE_CHANNEL_DOES_NOT_EXIST';
-exports[3075] = 'ER_SLAVE_MULTIPLE_CHANNELS_HOST_PORT';
-exports[3076] = 'ER_SLAVE_CHANNEL_NAME_INVALID_OR_TOO_LONG';
-exports[3077] = 'ER_SLAVE_NEW_CHANNEL_WRONG_REPOSITORY';
-exports[3078] = 'ER_SLAVE_CHANNEL_DELETE';
-exports[3079] = 'ER_SLAVE_MULTIPLE_CHANNELS_CMD';
-exports[3080] = 'ER_SLAVE_MAX_CHANNELS_EXCEEDED';
-exports[3081] = 'ER_SLAVE_CHANNEL_MUST_STOP';
-exports[3082] = 'ER_SLAVE_CHANNEL_NOT_RUNNING';
-exports[3083] = 'ER_SLAVE_CHANNEL_WAS_RUNNING';
-exports[3084] = 'ER_SLAVE_CHANNEL_WAS_NOT_RUNNING';
-exports[3085] = 'ER_SLAVE_CHANNEL_SQL_THREAD_MUST_STOP';
-exports[3086] = 'ER_SLAVE_CHANNEL_SQL_SKIP_COUNTER';
-exports[3087] = 'ER_WRONG_FIELD_WITH_GROUP_V2';
-exports[3088] = 'ER_MIX_OF_GROUP_FUNC_AND_FIELDS_V2';
-exports[3089] = 'ER_WARN_DEPRECATED_SYSVAR_UPDATE';
-exports[3090] = 'ER_WARN_DEPRECATED_SQLMODE';
-exports[3091] = 'ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID';
-exports[3092] = 'ER_GROUP_REPLICATION_CONFIGURATION';
-exports[3093] = 'ER_GROUP_REPLICATION_RUNNING';
-exports[3094] = 'ER_GROUP_REPLICATION_APPLIER_INIT_ERROR';
-exports[3095] = 'ER_GROUP_REPLICATION_STOP_APPLIER_THREAD_TIMEOUT';
-exports[3096] = 'ER_GROUP_REPLICATION_COMMUNICATION_LAYER_SESSION_ERROR';
-exports[3097] = 'ER_GROUP_REPLICATION_COMMUNICATION_LAYER_JOIN_ERROR';
-exports[3098] = 'ER_BEFORE_DML_VALIDATION_ERROR';
-exports[3099] = 'ER_PREVENTS_VARIABLE_WITHOUT_RBR';
-exports[3100] = 'ER_RUN_HOOK_ERROR';
-exports[3101] = 'ER_TRANSACTION_ROLLBACK_DURING_COMMIT';
-exports[3102] = 'ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED';
-exports[3103] = 'ER_UNSUPPORTED_ALTER_INPLACE_ON_VIRTUAL_COLUMN';
-exports[3104] = 'ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN';
-exports[3105] = 'ER_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN';
-exports[3106] = 'ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN';
-exports[3107] = 'ER_GENERATED_COLUMN_NON_PRIOR';
-exports[3108] = 'ER_DEPENDENT_BY_GENERATED_COLUMN';
-exports[3109] = 'ER_GENERATED_COLUMN_REF_AUTO_INC';
-exports[3110] = 'ER_FEATURE_NOT_AVAILABLE';
-exports[3111] = 'ER_CANT_SET_GTID_MODE';
-exports[3112] = 'ER_CANT_USE_AUTO_POSITION_WITH_GTID_MODE_OFF';
-exports[3113] = 'ER_CANT_REPLICATE_ANONYMOUS_WITH_AUTO_POSITION';
-exports[3114] = 'ER_CANT_REPLICATE_ANONYMOUS_WITH_GTID_MODE_ON';
-exports[3115] = 'ER_CANT_REPLICATE_GTID_WITH_GTID_MODE_OFF';
-exports[3116] = 'ER_CANT_SET_ENFORCE_GTID_CONSISTENCY_ON_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONS';
-exports[3117] = 'ER_SET_ENFORCE_GTID_CONSISTENCY_WARN_WITH_ONGOING_GTID_VIOLATING_TRANSACTIONS';
-exports[3118] = 'ER_ACCOUNT_HAS_BEEN_LOCKED';
-exports[3119] = 'ER_WRONG_TABLESPACE_NAME';
-exports[3120] = 'ER_TABLESPACE_IS_NOT_EMPTY';
-exports[3121] = 'ER_WRONG_FILE_NAME';
-exports[3122] = 'ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION';
-exports[3123] = 'ER_WARN_OPTIMIZER_HINT_SYNTAX_ERROR';
-exports[3124] = 'ER_WARN_BAD_MAX_EXECUTION_TIME';
-exports[3125] = 'ER_WARN_UNSUPPORTED_MAX_EXECUTION_TIME';
-exports[3126] = 'ER_WARN_CONFLICTING_HINT';
-exports[3127] = 'ER_WARN_UNKNOWN_QB_NAME';
-exports[3128] = 'ER_UNRESOLVED_HINT_NAME';
-exports[3129] = 'ER_WARN_ON_MODIFYING_GTID_EXECUTED_TABLE';
-exports[3130] = 'ER_PLUGGABLE_PROTOCOL_COMMAND_NOT_SUPPORTED';
-exports[3131] = 'ER_LOCKING_SERVICE_WRONG_NAME';
-exports[3132] = 'ER_LOCKING_SERVICE_DEADLOCK';
-exports[3133] = 'ER_LOCKING_SERVICE_TIMEOUT';
-exports[3134] = 'ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED';
-exports[3135] = 'ER_SQL_MODE_MERGED';
-exports[3136] = 'ER_VTOKEN_PLUGIN_TOKEN_MISMATCH';
-exports[3137] = 'ER_VTOKEN_PLUGIN_TOKEN_NOT_FOUND';
-exports[3138] = 'ER_CANT_SET_VARIABLE_WHEN_OWNING_GTID';
-exports[3139] = 'ER_SLAVE_CHANNEL_OPERATION_NOT_ALLOWED';
-exports[3140] = 'ER_INVALID_JSON_TEXT';
-exports[3141] = 'ER_INVALID_JSON_TEXT_IN_PARAM';
-exports[3142] = 'ER_INVALID_JSON_BINARY_DATA';
-exports[3143] = 'ER_INVALID_JSON_PATH';
-exports[3144] = 'ER_INVALID_JSON_CHARSET';
-exports[3145] = 'ER_INVALID_JSON_CHARSET_IN_FUNCTION';
-exports[3146] = 'ER_INVALID_TYPE_FOR_JSON';
-exports[3147] = 'ER_INVALID_CAST_TO_JSON';
-exports[3148] = 'ER_INVALID_JSON_PATH_CHARSET';
-exports[3149] = 'ER_INVALID_JSON_PATH_WILDCARD';
-exports[3150] = 'ER_JSON_VALUE_TOO_BIG';
-exports[3151] = 'ER_JSON_KEY_TOO_BIG';
-exports[3152] = 'ER_JSON_USED_AS_KEY';
-exports[3153] = 'ER_JSON_VACUOUS_PATH';
-exports[3154] = 'ER_JSON_BAD_ONE_OR_ALL_ARG';
-exports[3155] = 'ER_NUMERIC_JSON_VALUE_OUT_OF_RANGE';
-exports[3156] = 'ER_INVALID_JSON_VALUE_FOR_CAST';
-exports[3157] = 'ER_JSON_DOCUMENT_TOO_DEEP';
-exports[3158] = 'ER_JSON_DOCUMENT_NULL_KEY';
-exports[3159] = 'ER_SECURE_TRANSPORT_REQUIRED';
-exports[3160] = 'ER_NO_SECURE_TRANSPORTS_CONFIGURED';
-exports[3161] = 'ER_DISABLED_STORAGE_ENGINE';
-exports[3162] = 'ER_USER_DOES_NOT_EXIST';
-exports[3163] = 'ER_USER_ALREADY_EXISTS';
-exports[3164] = 'ER_AUDIT_API_ABORT';
-exports[3165] = 'ER_INVALID_JSON_PATH_ARRAY_CELL';
-exports[3166] = 'ER_BUFPOOL_RESIZE_INPROGRESS';
-exports[3167] = 'ER_FEATURE_DISABLED_SEE_DOC';
-exports[3168] = 'ER_SERVER_ISNT_AVAILABLE';
-exports[3169] = 'ER_SESSION_WAS_KILLED';
-exports[3170] = 'ER_CAPACITY_EXCEEDED';
-exports[3171] = 'ER_CAPACITY_EXCEEDED_IN_RANGE_OPTIMIZER';
-exports[3172] = 'ER_TABLE_NEEDS_UPG_PART';
-exports[3173] = 'ER_CANT_WAIT_FOR_EXECUTED_GTID_SET_WHILE_OWNING_A_GTID';
-exports[3174] = 'ER_CANNOT_ADD_FOREIGN_BASE_COL_VIRTUAL';
-exports[3175] = 'ER_CANNOT_CREATE_VIRTUAL_INDEX_CONSTRAINT';
-exports[3176] = 'ER_ERROR_ON_MODIFYING_GTID_EXECUTED_TABLE';
-exports[3177] = 'ER_LOCK_REFUSED_BY_ENGINE';
-exports[3178] = 'ER_UNSUPPORTED_ALTER_ONLINE_ON_VIRTUAL_COLUMN';
-exports[3179] = 'ER_MASTER_KEY_ROTATION_NOT_SUPPORTED_BY_SE';
-exports[3180] = 'ER_MASTER_KEY_ROTATION_ERROR_BY_SE';
-exports[3181] = 'ER_MASTER_KEY_ROTATION_BINLOG_FAILED';
-exports[3182] = 'ER_MASTER_KEY_ROTATION_SE_UNAVAILABLE';
-exports[3183] = 'ER_TABLESPACE_CANNOT_ENCRYPT';
-exports[3184] = 'ER_INVALID_ENCRYPTION_OPTION';
-exports[3185] = 'ER_CANNOT_FIND_KEY_IN_KEYRING';
-exports[3186] = 'ER_CAPACITY_EXCEEDED_IN_PARSER';
-exports[3187] = 'ER_UNSUPPORTED_ALTER_ENCRYPTION_INPLACE';
-exports[3188] = 'ER_KEYRING_UDF_KEYRING_SERVICE_ERROR';
-exports[3189] = 'ER_USER_COLUMN_OLD_LENGTH';
-exports[3190] = 'ER_CANT_RESET_MASTER';
-exports[3191] = 'ER_GROUP_REPLICATION_MAX_GROUP_SIZE';
-exports[3192] = 'ER_CANNOT_ADD_FOREIGN_BASE_COL_STORED';
-exports[3193] = 'ER_TABLE_REFERENCED';
-exports[3194] = 'ER_PARTITION_ENGINE_DEPRECATED_FOR_TABLE';
-exports[3195] = 'ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID_ZERO';
-exports[3196] = 'ER_WARN_USING_GEOMFROMWKB_TO_SET_SRID';
-exports[3197] = 'ER_XA_RETRY';
-exports[3198] = 'ER_KEYRING_AWS_UDF_AWS_KMS_ERROR';
-exports[3199] = 'ER_BINLOG_UNSAFE_XA';
-exports[3200] = 'ER_UDF_ERROR';
-exports[3201] = 'ER_KEYRING_MIGRATION_FAILURE';
-exports[3202] = 'ER_KEYRING_ACCESS_DENIED_ERROR';
-exports[3203] = 'ER_KEYRING_MIGRATION_STATUS';
-exports[3204] = 'ER_PLUGIN_FAILED_TO_OPEN_TABLES';
-exports[3205] = 'ER_PLUGIN_FAILED_TO_OPEN_TABLE';
-exports[3206] = 'ER_AUDIT_LOG_NO_KEYRING_PLUGIN_INSTALLED';
-exports[3207] = 'ER_AUDIT_LOG_ENCRYPTION_PASSWORD_HAS_NOT_BEEN_SET';
-exports[3208] = 'ER_AUDIT_LOG_COULD_NOT_CREATE_AES_KEY';
-exports[3209] = 'ER_AUDIT_LOG_ENCRYPTION_PASSWORD_CANNOT_BE_FETCHED';
-exports[3210] = 'ER_AUDIT_LOG_JSON_FILTERING_NOT_ENABLED';
-exports[3211] = 'ER_AUDIT_LOG_UDF_INSUFFICIENT_PRIVILEGE';
-exports[3212] = 'ER_AUDIT_LOG_SUPER_PRIVILEGE_REQUIRED';
-exports[3213] = 'ER_COULD_NOT_REINITIALIZE_AUDIT_LOG_FILTERS';
-exports[3214] = 'ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_TYPE';
-exports[3215] = 'ER_AUDIT_LOG_UDF_INVALID_ARGUMENT_COUNT';
-exports[3216] = 'ER_AUDIT_LOG_HAS_NOT_BEEN_INSTALLED';
-exports[3217] = 'ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_TYPE';
-exports[3218] = 'ER_AUDIT_LOG_UDF_READ_INVALID_MAX_ARRAY_LENGTH_ARG_VALUE';
-exports[3219] = 'ER_AUDIT_LOG_JSON_FILTER_PARSING_ERROR';
-exports[3220] = 'ER_AUDIT_LOG_JSON_FILTER_NAME_CANNOT_BE_EMPTY';
-exports[3221] = 'ER_AUDIT_LOG_JSON_USER_NAME_CANNOT_BE_EMPTY';
-exports[3222] = 'ER_AUDIT_LOG_JSON_FILTER_DOES_NOT_EXISTS';
-exports[3223] = 'ER_AUDIT_LOG_USER_FIRST_CHARACTER_MUST_BE_ALPHANUMERIC';
-exports[3224] = 'ER_AUDIT_LOG_USER_NAME_INVALID_CHARACTER';
-exports[3225] = 'ER_AUDIT_LOG_HOST_NAME_INVALID_CHARACTER';
-exports[3226] = 'WARN_DEPRECATED_MAXDB_SQL_MODE_FOR_TIMESTAMP';
-exports[3227] = 'ER_XA_REPLICATION_FILTERS';
-exports[3228] = 'ER_CANT_OPEN_ERROR_LOG';
-exports[3229] = 'ER_GROUPING_ON_TIMESTAMP_IN_DST';
-exports[3230] = 'ER_CANT_START_SERVER_NAMED_PIPE';
diff --git a/Server/node_modules/mysql/lib/protocol/constants/field_flags.js b/Server/node_modules/mysql/lib/protocol/constants/field_flags.js
deleted file mode 100644
index c698da5..0000000
--- a/Server/node_modules/mysql/lib/protocol/constants/field_flags.js
+++ /dev/null
@@ -1,18 +0,0 @@
-// Manually extracted from mysql-5.5.23/include/mysql_com.h
-exports.NOT_NULL_FLAG = 1; /* Field can't be NULL */
-exports.PRI_KEY_FLAG = 2; /* Field is part of a primary key */
-exports.UNIQUE_KEY_FLAG = 4; /* Field is part of a unique key */
-exports.MULTIPLE_KEY_FLAG = 8; /* Field is part of a key */
-exports.BLOB_FLAG = 16; /* Field is a blob */
-exports.UNSIGNED_FLAG = 32; /* Field is unsigned */
-exports.ZEROFILL_FLAG = 64; /* Field is zerofill */
-exports.BINARY_FLAG = 128; /* Field is binary */
-
-/* The following are only sent to new clients */
-exports.ENUM_FLAG = 256; /* field is an enum */
-exports.AUTO_INCREMENT_FLAG = 512; /* field is a autoincrement field */
-exports.TIMESTAMP_FLAG = 1024; /* Field is a timestamp */
-exports.SET_FLAG = 2048; /* field is a set */
-exports.NO_DEFAULT_VALUE_FLAG = 4096; /* Field doesn't have default value */
-exports.ON_UPDATE_NOW_FLAG = 8192; /* Field is set to NOW on UPDATE */
-exports.NUM_FLAG = 32768; /* Field is num (for clients) */
diff --git a/Server/node_modules/mysql/lib/protocol/constants/server_status.js b/Server/node_modules/mysql/lib/protocol/constants/server_status.js
deleted file mode 100644
index 48880c3..0000000
--- a/Server/node_modules/mysql/lib/protocol/constants/server_status.js
+++ /dev/null
@@ -1,39 +0,0 @@
-// Manually extracted from mysql-5.5.23/include/mysql_com.h
-
-/**
- Is raised when a multi-statement transaction
- has been started, either explicitly, by means
- of BEGIN or COMMIT AND CHAIN, or
- implicitly, by the first transactional
- statement, when autocommit=off.
-*/
-exports.SERVER_STATUS_IN_TRANS = 1;
-exports.SERVER_STATUS_AUTOCOMMIT = 2; /* Server in auto_commit mode */
-exports.SERVER_MORE_RESULTS_EXISTS = 8; /* Multi query - next query exists */
-exports.SERVER_QUERY_NO_GOOD_INDEX_USED = 16;
-exports.SERVER_QUERY_NO_INDEX_USED = 32;
-/**
- The server was able to fulfill the clients request and opened a
- read-only non-scrollable cursor for a query. This flag comes
- in reply to COM_STMT_EXECUTE and COM_STMT_FETCH commands.
-*/
-exports.SERVER_STATUS_CURSOR_EXISTS = 64;
-/**
- This flag is sent when a read-only cursor is exhausted, in reply to
- COM_STMT_FETCH command.
-*/
-exports.SERVER_STATUS_LAST_ROW_SENT = 128;
-exports.SERVER_STATUS_DB_DROPPED = 256; /* A database was dropped */
-exports.SERVER_STATUS_NO_BACKSLASH_ESCAPES = 512;
-/**
- Sent to the client if after a prepared statement reprepare
- we discovered that the new statement returns a different
- number of result set columns.
-*/
-exports.SERVER_STATUS_METADATA_CHANGED = 1024;
-exports.SERVER_QUERY_WAS_SLOW = 2048;
-
-/**
- To mark ResultSet containing output parameter values.
-*/
-exports.SERVER_PS_OUT_PARAMS = 4096;
diff --git a/Server/node_modules/mysql/lib/protocol/constants/ssl_profiles.js b/Server/node_modules/mysql/lib/protocol/constants/ssl_profiles.js
deleted file mode 100644
index bec1864..0000000
--- a/Server/node_modules/mysql/lib/protocol/constants/ssl_profiles.js
+++ /dev/null
@@ -1,1480 +0,0 @@
-// Certificates for Amazon RDS
-exports['Amazon RDS'] = {
- ca: [
- /**
- * Amazon RDS global certificate 2010 to 2015
- *
- * CN = aws.amazon.com/rds/
- * OU = RDS
- * O = Amazon.com
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2010-04-05T22:44:31Z/2015-04-04T22:41:31Z
- * F = 7F:09:8D:A5:7D:BB:A6:EF:7C:70:D8:CA:4E:49:11:55:7E:89:A7:D3
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIDQzCCAqygAwIBAgIJAOd1tlfiGoEoMA0GCSqGSIb3DQEBBQUAMHUxCzAJBgNV\n'
- + 'BAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdTZWF0dGxlMRMw\n'
- + 'EQYDVQQKEwpBbWF6b24uY29tMQwwCgYDVQQLEwNSRFMxHDAaBgNVBAMTE2F3cy5h\n'
- + 'bWF6b24uY29tL3Jkcy8wHhcNMTAwNDA1MjI0NDMxWhcNMTUwNDA0MjI0NDMxWjB1\n'
- + 'MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHU2Vh\n'
- + 'dHRsZTETMBEGA1UEChMKQW1hem9uLmNvbTEMMAoGA1UECxMDUkRTMRwwGgYDVQQD\n'
- + 'ExNhd3MuYW1hem9uLmNvbS9yZHMvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB\n'
- + 'gQDKhXGU7tizxUR5WaFoMTFcxNxa05PEjZaIOEN5ctkWrqYSRov0/nOMoZjqk8bC\n'
- + 'med9vPFoQGD0OTakPs0jVe3wwmR735hyVwmKIPPsGlaBYj1O6llIpZeQVyupNx56\n'
- + 'UzqtiLaDzh1KcmfqP3qP2dInzBfJQKjiRudo1FWnpPt33QIDAQABo4HaMIHXMB0G\n'
- + 'A1UdDgQWBBT/H3x+cqSkR/ePSIinPtc4yWKe3DCBpwYDVR0jBIGfMIGcgBT/H3x+\n'
- + 'cqSkR/ePSIinPtc4yWKe3KF5pHcwdTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh\n'
- + 'c2hpbmd0b24xEDAOBgNVBAcTB1NlYXR0bGUxEzARBgNVBAoTCkFtYXpvbi5jb20x\n'
- + 'DDAKBgNVBAsTA1JEUzEcMBoGA1UEAxMTYXdzLmFtYXpvbi5jb20vcmRzL4IJAOd1\n'
- + 'tlfiGoEoMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAvguZy/BDT66x\n'
- + 'GfgnJlyQwnFSeVLQm9u/FIvz4huGjbq9dqnD6h/Gm56QPFdyMEyDiZWaqY6V08lY\n'
- + 'LTBNb4kcIc9/6pc0/ojKciP5QJRm6OiZ4vgG05nF4fYjhU7WClUx7cxq1fKjNc2J\n'
- + 'UCmmYqgiVkAGWRETVo+byOSDZ4swb10=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS global root CA 2015 to 2020
- *
- * CN = Amazon RDS Root CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T09:11:31Z/2020-03-05T09:11:31Z
- * F = E8:11:88:56:E7:A7:CE:3E:5E:DC:9A:31:25:1B:93:AC:DC:43:CE:B0
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID9DCCAtygAwIBAgIBQjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUwOTExMzFaFw0y\n'
- + 'MDAzMDUwOTExMzFaMIGKMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEbMBkGA1UEAwwSQW1hem9uIFJE\n'
- + 'UyBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuD8nrZ8V\n'
- + 'u+VA8yVlUipCZIKPTDcOILYpUe8Tct0YeQQr0uyl018StdBsa3CjBgvwpDRq1HgF\n'
- + 'Ji2N3+39+shCNspQeE6aYU+BHXhKhIIStt3r7gl/4NqYiDDMWKHxHq0nsGDFfArf\n'
- + 'AOcjZdJagOMqb3fF46flc8k2E7THTm9Sz4L7RY1WdABMuurpICLFE3oHcGdapOb9\n'
- + 'T53pQR+xpHW9atkcf3pf7gbO0rlKVSIoUenBlZipUlp1VZl/OD/E+TtRhDDNdI2J\n'
- + 'P/DSMM3aEsq6ZQkfbz/Ilml+Lx3tJYXUDmp+ZjzMPLk/+3beT8EhrwtcG3VPpvwp\n'
- + 'BIOqsqVVTvw/CwIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUw\n'
- + 'AwEB/zAdBgNVHQ4EFgQUTgLurD72FchM7Sz1BcGPnIQISYMwHwYDVR0jBBgwFoAU\n'
- + 'TgLurD72FchM7Sz1BcGPnIQISYMwDQYJKoZIhvcNAQEFBQADggEBAHZcgIio8pAm\n'
- + 'MjHD5cl6wKjXxScXKtXygWH2BoDMYBJF9yfyKO2jEFxYKbHePpnXB1R04zJSWAw5\n'
- + '2EUuDI1pSBh9BA82/5PkuNlNeSTB3dXDD2PEPdzVWbSKvUB8ZdooV+2vngL0Zm4r\n'
- + '47QPyd18yPHrRIbtBtHR/6CwKevLZ394zgExqhnekYKIqqEX41xsUV0Gm6x4vpjf\n'
- + '2u6O/+YE2U+qyyxHE5Wd5oqde0oo9UUpFETJPVb6Q2cEeQib8PBAyi0i6KnF+kIV\n'
- + 'A9dY7IHSubtCK/i8wxMVqfd5GtbA8mmpeJFwnDvm9rBEsHybl08qlax9syEwsUYr\n'
- + '/40NawZfTUU=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS global root CA 2019 to 2024
- *
- * CN = Amazon RDS Root 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-08-22T17:08:50Z/2024-08-22T17:08:50Z
- * F = D4:0D:DB:29:E3:75:0D:FF:A6:71:C3:14:0B:BF:5F:47:8D:1C:80:96
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEBjCCAu6gAwIBAgIJAMc0ZzaSUK51MA0GCSqGSIb3DQEBCwUAMIGPMQswCQYD\n'
- + 'VQQGEwJVUzEQMA4GA1UEBwwHU2VhdHRsZTETMBEGA1UECAwKV2FzaGluZ3RvbjEi\n'
- + 'MCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1h\n'
- + 'em9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJEUyBSb290IDIwMTkgQ0EwHhcNMTkw\n'
- + 'ODIyMTcwODUwWhcNMjQwODIyMTcwODUwWjCBjzELMAkGA1UEBhMCVVMxEDAOBgNV\n'
- + 'BAcMB1NlYXR0bGUxEzARBgNVBAgMCldhc2hpbmd0b24xIjAgBgNVBAoMGUFtYXpv\n'
- + 'biBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMxIDAeBgNV\n'
- + 'BAMMF0FtYXpvbiBSRFMgUm9vdCAyMDE5IENBMIIBIjANBgkqhkiG9w0BAQEFAAOC\n'
- + 'AQ8AMIIBCgKCAQEArXnF/E6/Qh+ku3hQTSKPMhQQlCpoWvnIthzX6MK3p5a0eXKZ\n'
- + 'oWIjYcNNG6UwJjp4fUXl6glp53Jobn+tWNX88dNH2n8DVbppSwScVE2LpuL+94vY\n'
- + '0EYE/XxN7svKea8YvlrqkUBKyxLxTjh+U/KrGOaHxz9v0l6ZNlDbuaZw3qIWdD/I\n'
- + '6aNbGeRUVtpM6P+bWIoxVl/caQylQS6CEYUk+CpVyJSkopwJlzXT07tMoDL5WgX9\n'
- + 'O08KVgDNz9qP/IGtAcRduRcNioH3E9v981QO1zt/Gpb2f8NqAjUUCUZzOnij6mx9\n'
- + 'McZ+9cWX88CRzR0vQODWuZscgI08NvM69Fn2SQIDAQABo2MwYTAOBgNVHQ8BAf8E\n'
- + 'BAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUc19g2LzLA5j0Kxc0LjZa\n'
- + 'pmD/vB8wHwYDVR0jBBgwFoAUc19g2LzLA5j0Kxc0LjZapmD/vB8wDQYJKoZIhvcN\n'
- + 'AQELBQADggEBAHAG7WTmyjzPRIM85rVj+fWHsLIvqpw6DObIjMWokpliCeMINZFV\n'
- + 'ynfgBKsf1ExwbvJNzYFXW6dihnguDG9VMPpi2up/ctQTN8tm9nDKOy08uNZoofMc\n'
- + 'NUZxKCEkVKZv+IL4oHoeayt8egtv3ujJM6V14AstMQ6SwvwvA93EP/Ug2e4WAXHu\n'
- + 'cbI1NAbUgVDqp+DRdfvZkgYKryjTWd/0+1fS8X1bBZVWzl7eirNVnHbSH2ZDpNuY\n'
- + '0SBd8dj5F6ld3t58ydZbrTHze7JJOd8ijySAp4/kiu9UfZWuTPABzDa/DSdz9Dk/\n'
- + 'zPW4CXXvhLmE02TA9/HeCw3KEHIwicNuEfw=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-northeast-1 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS ap-northeast-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T22:03:06Z/2020-03-05T22:03:06Z
- * F = 4B:2D:8A:E0:C1:A3:A9:AF:A7:BB:65:0C:5A:16:8A:39:3C:03:F2:C5
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEATCCAumgAwIBAgIBRDANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzMDZaFw0y\n'
- + 'MDAzMDUyMjAzMDZaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1hem9uIFJE\n'
- + 'UyBhcC1ub3J0aGVhc3QtMSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC\n'
- + 'ggEBAMmM2B4PfTXCZjbZMWiDPyxvk/eeNwIRJAhfzesiGUiLozX6CRy3rwC1ZOPV\n'
- + 'AcQf0LB+O8wY88C/cV+d4Q2nBDmnk+Vx7o2MyMh343r5rR3Na+4izd89tkQVt0WW\n'
- + 'vO21KRH5i8EuBjinboOwAwu6IJ+HyiQiM0VjgjrmEr/YzFPL8MgHD/YUHehqjACn\n'
- + 'C0+B7/gu7W4qJzBL2DOf7ub2qszGtwPE+qQzkCRDwE1A4AJmVE++/FLH2Zx78Egg\n'
- + 'fV1sUxPtYgjGH76VyyO6GNKM6rAUMD/q5mnPASQVIXgKbupr618bnH+SWHFjBqZq\n'
- + 'HvDGPMtiiWII41EmGUypyt5AbysCAwEAAaNmMGQwDgYDVR0PAQH/BAQDAgEGMBIG\n'
- + 'A1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFIiKM0Q6n1K4EmLxs3ZXxINbwEwR\n'
- + 'MB8GA1UdIwQYMBaAFE4C7qw+9hXITO0s9QXBj5yECEmDMA0GCSqGSIb3DQEBBQUA\n'
- + 'A4IBAQBezGbE9Rw/k2e25iGjj5n8r+M3dlye8ORfCE/dijHtxqAKasXHgKX8I9Tw\n'
- + 'JkBiGWiuzqn7gO5MJ0nMMro1+gq29qjZnYX1pDHPgsRjUX8R+juRhgJ3JSHijRbf\n'
- + '4qNJrnwga7pj94MhcLq9u0f6dxH6dXbyMv21T4TZMTmcFduf1KgaiVx1PEyJjC6r\n'
- + 'M+Ru+A0eM+jJ7uCjUoZKcpX8xkj4nmSnz9NMPog3wdOSB9cAW7XIc5mHa656wr7I\n'
- + 'WJxVcYNHTXIjCcng2zMKd1aCcl2KSFfy56sRfT7J5Wp69QSr+jq8KM55gw8uqAwi\n'
- + 'VPrXn2899T1rcTtFYFP16WXjGuc0\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-northeast-2 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS ap-northeast-2 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-11-06T00:05:46Z/2020-03-05T00:05:46Z
- * F = 77:D9:33:4E:CE:56:FC:42:7B:29:57:8D:67:59:ED:29:4E:18:CB:6B
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEATCCAumgAwIBAgIBTDANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTExMDYwMDA1NDZaFw0y\n'
- + 'MDAzMDUwMDA1NDZaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1hem9uIFJE\n'
- + 'UyBhcC1ub3J0aGVhc3QtMiBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC\n'
- + 'ggEBAKSwd+RVUzTRH0FgnbwoTK8TMm/zMT4+2BvALpAUe6YXbkisg2goycWuuWLg\n'
- + 'jOpFBB3GtyvXZnkqi7MkDWUmj1a2kf8l2oLyoaZ+Hm9x/sV+IJzOqPvj1XVUGjP6\n'
- + 'yYYnPJmUYqvZeI7fEkIGdFkP2m4/sgsSGsFvpD9FK1bL1Kx2UDpYX0kHTtr18Zm/\n'
- + '1oN6irqWALSmXMDydb8hE0FB2A1VFyeKE6PnoDj/Y5cPHwPPdEi6/3gkDkSaOG30\n'
- + 'rWeQfL3pOcKqzbHaWTxMphd0DSL/quZ64Nr+Ly65Q5PRcTrtr55ekOUziuqXwk+o\n'
- + '9QpACMwcJ7ROqOznZTqTzSFVXFECAwEAAaNmMGQwDgYDVR0PAQH/BAQDAgEGMBIG\n'
- + 'A1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFM6Nox/QWbhzWVvzoJ/y0kGpNPK+\n'
- + 'MB8GA1UdIwQYMBaAFE4C7qw+9hXITO0s9QXBj5yECEmDMA0GCSqGSIb3DQEBBQUA\n'
- + 'A4IBAQCTkWBqNvyRf3Y/W21DwFx3oT/AIWrHt0BdGZO34tavummXemTH9LZ/mqv9\n'
- + 'aljt6ZuDtf5DEQjdsAwXMsyo03ffnP7doWm8iaF1+Mui77ot0TmTsP/deyGwukvJ\n'
- + 'tkxX8bZjDh+EaNauWKr+CYnniNxCQLfFtXYJsfOdVBzK3xNL+Z3ucOQRhr2helWc\n'
- + 'CDQgwfhP1+3pRVKqHvWCPC4R3fT7RZHuRmZ38kndv476GxRntejh+ePffif78bFI\n'
- + '3rIZCPBGobrrUMycafSbyXteoGca/kA+/IqrAPlk0pWQ4aEL0yTWN2h2dnjoD7oX\n'
- + 'byIuL/g9AGRh97+ssn7D6bDRPTbW\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-southeast-1 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS ap-southeast-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T22:03:19Z/2020-03-05T22:03:19Z
- * F = 0E:EC:5D:BD:F9:80:EE:A9:A0:8D:81:AC:37:D9:8D:34:1C:CD:27:D1
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEATCCAumgAwIBAgIBRTANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzMTlaFw0y\n'
- + 'MDAzMDUyMjAzMTlaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1hem9uIFJE\n'
- + 'UyBhcC1zb3V0aGVhc3QtMSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC\n'
- + 'ggEBANaXElmSEYt/UtxHFsARFhSUahTf1KNJzR0Dmay6hqOXQuRVbKRwPd19u5vx\n'
- + 'DdF1sLT7D69IK3VDnUiQScaCv2Dpu9foZt+rLx+cpx1qiQd1UHrvqq8xPzQOqCdC\n'
- + 'RFStq6yVYZ69yfpfoI67AjclMOjl2Vph3ftVnqP0IgVKZdzeC7fd+umGgR9xY0Qr\n'
- + 'Ubhd/lWdsbNvzK3f1TPWcfIKQnpvSt85PIEDJir6/nuJUKMtmJRwTymJf0i+JZ4x\n'
- + '7dJa341p2kHKcHMgOPW7nJQklGBA70ytjUV6/qebS3yIugr/28mwReflg3TJzVDl\n'
- + 'EOvi6pqbqNbkMuEwGDCmEQIVqgkCAwEAAaNmMGQwDgYDVR0PAQH/BAQDAgEGMBIG\n'
- + 'A1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFAu93/4k5xbWOsgdCdn+/KdiRuit\n'
- + 'MB8GA1UdIwQYMBaAFE4C7qw+9hXITO0s9QXBj5yECEmDMA0GCSqGSIb3DQEBBQUA\n'
- + 'A4IBAQBlcjSyscpPjf5+MgzMuAsCxByqUt+WFspwcMCpwdaBeHOPSQrXNqX2Sk6P\n'
- + 'kth6oCivA64trWo8tFMvPYlUA1FYVD5WpN0kCK+P5pD4KHlaDsXhuhClJzp/OP8t\n'
- + 'pOyUr5109RHLxqoKB5J5m1XA7rgcFjnMxwBSWFe3/4uMk/+4T53YfCVXuc6QV3i7\n'
- + 'I/2LAJwFf//pTtt6fZenYfCsahnr2nvrNRNyAxcfvGZ/4Opn/mJtR6R/AjvQZHiR\n'
- + 'bkRNKF2GW0ueK5W4FkZVZVhhX9xh1Aj2Ollb+lbOqADaVj+AT3PoJPZ3MPQHKCXm\n'
- + 'xwG0LOLlRr/TfD6li1AfOVTAJXv9\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-southeast-2 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS ap-southeast-2 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T22:03:24Z/2020-03-05T22:03:24Z
- * F = 20:D9:A8:82:23:AB:B9:E5:C5:24:10:D3:4D:0F:3D:B1:31:DF:E5:14
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEATCCAumgAwIBAgIBRjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzMjRaFw0y\n'
- + 'MDAzMDUyMjAzMjRaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1hem9uIFJE\n'
- + 'UyBhcC1zb3V0aGVhc3QtMiBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC\n'
- + 'ggEBAJqBAJutz69hFOh3BtLHZTbwE8eejGGKayn9hu98YMDPzWzGXWCmW+ZYWELA\n'
- + 'cY3cNWNF8K4FqKXFr2ssorBYim1UtYFX8yhydT2hMD5zgQ2sCGUpuidijuPA6zaq\n'
- + 'Z3tdhVR94f0q8mpwpv2zqR9PcqaGDx2VR1x773FupRPRo7mEW1vC3IptHCQlP/zE\n'
- + '7jQiLl28bDIH2567xg7e7E9WnZToRnhlYdTaDaJsHTzi5mwILi4cihSok7Shv/ME\n'
- + 'hnukvxeSPUpaVtFaBhfBqq055ePq9I+Ns4KGreTKMhU0O9fkkaBaBmPaFgmeX/XO\n'
- + 'n2AX7gMouo3mtv34iDTZ0h6YCGkCAwEAAaNmMGQwDgYDVR0PAQH/BAQDAgEGMBIG\n'
- + 'A1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFIlQnY0KHYWn1jYumSdJYfwj/Nfw\n'
- + 'MB8GA1UdIwQYMBaAFE4C7qw+9hXITO0s9QXBj5yECEmDMA0GCSqGSIb3DQEBBQUA\n'
- + 'A4IBAQA0wVU6/l41cTzHc4azc4CDYY2Wd90DFWiH9C/mw0SgToYfCJ/5Cfi0NT/Y\n'
- + 'PRnk3GchychCJgoPA/k9d0//IhYEAIiIDjyFVgjbTkKV3sh4RbdldKVOUB9kumz/\n'
- + 'ZpShplsGt3z4QQiVnKfrAgqxWDjR0I0pQKkxXa6Sjkicos9LQxVtJ0XA4ieG1E7z\n'
- + 'zJr+6t80wmzxvkInSaWP3xNJK9azVRTrgQZQlvkbpDbExl4mNTG66VD3bAp6t3Wa\n'
- + 'B49//uDdfZmPkqqbX+hsxp160OH0rxJppwO3Bh869PkDnaPEd/Pxw7PawC+li0gi\n'
- + 'NRV8iCEx85aFxcyOhqn0WZOasxee\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-central-1 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS eu-central-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T22:03:31Z/2020-03-05T22:03:31Z
- * F = 94:B4:DF:B9:6D:7E:F7:C3:B7:BF:51:E9:A6:B7:44:A0:D0:82:11:84
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/zCCAuegAwIBAgIBRzANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzMzFaFw0y\n'
- + 'MDAzMDUyMjAzMzFaMIGSMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEjMCEGA1UEAwwaQW1hem9uIFJE\n'
- + 'UyBldS1jZW50cmFsLTEgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB\n'
- + 'AQDFtP2dhSLuaPOI4ZrrPWsK4OY9ocQBp3yApH1KJYmI9wpQKZG/KCH2E6Oo7JAw\n'
- + 'QORU519r033T+FO2Z7pFPlmz1yrxGXyHpJs8ySx3Yo5S8ncDCdZJCLmtPiq/hahg\n'
- + '5/0ffexMFUCQaYicFZsrJ/cStdxUV+tSw2JQLD7UxS9J97LQWUPyyG+ZrjYVTVq+\n'
- + 'zudnFmNSe4QoecXMhAFTGJFQXxP7nhSL9Ao5FGgdXy7/JWeWdQIAj8ku6cBDKPa6\n'
- + 'Y6kP+ak+In+Lye8z9qsCD/afUozfWjPR2aA4JoIZVF8dNRShIMo8l0XfgfM2q0+n\n'
- + 'ApZWZ+BjhIO5XuoUgHS3D2YFAgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNV\n'
- + 'HRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBRm4GsWIA/M6q+tK8WGHWDGh2gcyTAf\n'
- + 'BgNVHSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQUFAAOC\n'
- + 'AQEAHpMmeVQNqcxgfQdbDIi5UIy+E7zZykmtAygN1XQrvga9nXTis4kOTN6g5/+g\n'
- + 'HCx7jIXeNJzAbvg8XFqBN84Quqgpl/tQkbpco9Jh1HDs558D5NnZQxNqH5qXQ3Mm\n'
- + 'uPgCw0pYcPOa7bhs07i+MdVwPBsX27CFDtsgAIru8HvKxY1oTZrWnyIRo93tt/pk\n'
- + 'WuItVMVHjaQZVfTCow0aDUbte6Vlw82KjUFq+n2NMSCJDiDKsDDHT6BJc4AJHIq3\n'
- + '/4Z52MSC9KMr0yAaaoWfW/yMEj9LliQauAgwVjArF4q78rxpfKTG9Rfd8U1BZANP\n'
- + '7FrFMN0ThjfA1IvmOYcgskY5bQ==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-west-1 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS eu-west-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T22:03:35Z/2020-03-05T22:03:35Z
- * F = 1A:95:F0:43:82:D2:5D:A6:AD:F5:13:27:0B:40:8A:72:D9:92:F3:E0
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/DCCAuSgAwIBAgIBSDANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzMzVaFw0y\n'
- + 'MDAzMDUyMjAzMzVaMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJE\n'
- + 'UyBldS13ZXN0LTEgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx\n'
- + 'PdbqQ0HKRj79Pmocxvjc+P6i4Ux24kgFIl+ckiir1vzkmesc3a58gjrMlCksEObt\n'
- + 'Yihs5IhzEq1ePT0gbfS9GYFp34Uj/MtPwlrfCBWG4d2TcrsKRHr1/EXUYhWqmdrb\n'
- + 'RhX8XqoRhVkbF/auzFSBhTzcGGvZpQ2KIaxRcQfcXlMVhj/pxxAjh8U4F350Fb0h\n'
- + 'nX1jw4/KvEreBL0Xb2lnlGTkwVxaKGSgXEnOgIyOFdOQc61vdome0+eeZsP4jqeR\n'
- + 'TGYJA9izJsRbe2YJxHuazD+548hsPlM3vFzKKEVURCha466rAaYAHy3rKur3HYQx\n'
- + 'Yt+SoKcEz9PXuSGj96ejAgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB\n'
- + 'Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBTebg//h2oeXbZjQ4uuoiuLYzuiPDAfBgNV\n'
- + 'HSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQUFAAOCAQEA\n'
- + 'TikPaGeZasTPw+4RBemlsyPAjtFFQLo7ddaFdORLgdEysVf8aBqndvbA6MT/v4lj\n'
- + 'GtEtUdF59ZcbWOrVm+fBZ2h/jYJ59dYF/xzb09nyRbdMSzB9+mkSsnOMqluq5y8o\n'
- + 'DY/PfP2vGhEg/2ZncRC7nlQU1Dm8F4lFWEiQ2fi7O1cW852Vmbq61RIfcYsH/9Ma\n'
- + 'kpgk10VZ75b8m3UhmpZ/2uRY+JEHImH5WpcTJ7wNiPNJsciZMznGtrgOnPzYco8L\n'
- + 'cDleOASIZifNMQi9PKOJKvi0ITz0B/imr8KBsW0YjZVJ54HMa7W1lwugSM7aMAs+\n'
- + 'E3Sd5lS+SHwWaOCHwhOEVA==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS sa-east-1 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS sa-east-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T22:03:40Z/2020-03-05T22:03:40Z
- * F = 32:10:3D:FA:6D:42:F5:35:98:40:15:F4:4C:74:74:27:CB:CE:D4:B5
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/DCCAuSgAwIBAgIBSTANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzNDBaFw0y\n'
- + 'MDAzMDUyMjAzNDBaMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJE\n'
- + 'UyBzYS1lYXN0LTEgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCU\n'
- + 'X4OBnQ5xA6TLJAiFEI6l7bUWjoVJBa/VbMdCCSs2i2dOKmqUaXu2ix2zcPILj3lZ\n'
- + 'GMk3d/2zvTK/cKhcFrewHUBamTeVHdEmynhMQamqNmkM4ptYzFcvEUw1TGxHT4pV\n'
- + 'Q6gSN7+/AJewQvyHexHo8D0+LDN0/Wa9mRm4ixCYH2CyYYJNKaZt9+EZfNu+PPS4\n'
- + '8iB0TWH0DgQkbWMBfCRgolLLitAZklZ4dvdlEBS7evN1/7ttBxUK6SvkeeSx3zBl\n'
- + 'ww3BlXqc3bvTQL0A+RRysaVyFbvtp9domFaDKZCpMmDFAN/ntx215xmQdrSt+K3F\n'
- + 'cXdGQYHx5q410CAclGnbAgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB\n'
- + 'Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBT6iVWnm/uakS+tEX2mzIfw+8JL0zAfBgNV\n'
- + 'HSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQUFAAOCAQEA\n'
- + 'FmDD+QuDklXn2EgShwQxV13+txPRuVdOSrutHhoCgMwFWCMtPPtBAKs6KPY7Guvw\n'
- + 'DpJoZSehDiOfsgMirjOWjvfkeWSNvKfjWTVneX7pZD9W5WPnsDBvTbCGezm+v87z\n'
- + 'b+ZM2ZMo98m/wkMcIEAgdSKilR2fuw8rLkAjhYFfs0A7tDgZ9noKwgHvoE4dsrI0\n'
- + 'KZYco6DlP/brASfHTPa2puBLN9McK3v+h0JaSqqm5Ro2Bh56tZkQh8AWy/miuDuK\n'
- + '3+hNEVdxosxlkM1TPa1DGj0EzzK0yoeerXuH2HX7LlCrrxf6/wdKnjR12PMrLQ4A\n'
- + 'pCqkcWw894z6bV9MAvKe6A==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-east-1 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS us-east-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T21:54:04Z/2020-03-05T21:54:04Z
- * F = 34:47:8A:90:8A:83:AE:45:DC:B6:16:76:D2:35:EC:E9:75:C6:2C:63
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/DCCAuSgAwIBAgIBQzANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMTU0MDRaFw0y\n'
- + 'MDAzMDUyMTU0MDRaMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJE\n'
- + 'UyB1cy1lYXN0LTEgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDI\n'
- + 'UIuwh8NusKHk1SqPXcP7OqxY3S/M2ZyQWD3w7Bfihpyyy/fc1w0/suIpX3kbMhAV\n'
- + '2ESwged2/2zSx4pVnjp/493r4luhSqQYzru78TuPt9bhJIJ51WXunZW2SWkisSaf\n'
- + 'USYUzVN9ezR/bjXTumSUQaLIouJt3OHLX49s+3NAbUyOI8EdvgBQWD68H1epsC0n\n'
- + 'CI5s+pIktyOZ59c4DCDLQcXErQ+tNbDC++oct1ANd/q8p9URonYwGCGOBy7sbCYq\n'
- + '9eVHh1Iy2M+SNXddVOGw5EuruvHoCIQyOz5Lz4zSuZA9dRbrfztNOpezCNYu6NKM\n'
- + 'n+hzcvdiyxv77uNm8EaxAgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB\n'
- + 'Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBQSQG3TmMe6Sa3KufaPBa72v4QFDzAfBgNV\n'
- + 'HSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQUFAAOCAQEA\n'
- + 'L/mOZfB3187xTmjOHMqN2G2oSKHBKiQLM9uv8+97qT+XR+TVsBT6b3yoPpMAGhHA\n'
- + 'Pc7nxAF5gPpuzatx0OTLPcmYucFmfqT/1qA5WlgCnMNtczyNMH97lKFTNV7Njtek\n'
- + 'jWEzAEQSyEWrkNpNlC4j6kMYyPzVXQeXUeZTgJ9FNnVZqmvfjip2N22tawMjrCn5\n'
- + '7KN/zN65EwY2oO9XsaTwwWmBu3NrDdMbzJnbxoWcFWj4RBwanR1XjQOVNhDwmCOl\n'
- + '/1Et13b8CPyj69PC8BOVU6cfTSx8WUVy0qvYOKHNY9Bqa5BDnIL3IVmUkeTlM1mt\n'
- + 'enRpyBj+Bk9rh/ICdiRKmA==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-west-1 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS us-west-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T22:03:45Z/2020-03-05T22:03:45Z
- * F = EF:94:2F:E3:58:0E:09:D6:79:C2:16:97:91:FB:37:EA:D7:70:A8:4B
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/DCCAuSgAwIBAgIBSjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzNDVaFw0y\n'
- + 'MDAzMDUyMjAzNDVaMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJE\n'
- + 'UyB1cy13ZXN0LTEgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDE\n'
- + 'Dhw+uw/ycaiIhhyu2pXFRimq0DlB8cNtIe8hdqndH8TV/TFrljNgR8QdzOgZtZ9C\n'
- + 'zzQ2GRpInN/qJF6slEd6wO+6TaDBQkPY+07TXNt52POFUhdVkhJXHpE2BS7Xn6J7\n'
- + '7RFAOeG1IZmc2DDt+sR1BgXzUqHslQGfFYNS0/MBO4P+ya6W7IhruB1qfa4HiYQS\n'
- + 'dbe4MvGWnv0UzwAqdR7OF8+8/5c58YXZIXCO9riYF2ql6KNSL5cyDPcYK5VK0+Q9\n'
- + 'VI6vuJHSMYcF7wLePw8jtBktqAFE/wbdZiIHhZvNyiNWPPNTGUmQbaJ+TzQEHDs5\n'
- + '8en+/W7JKnPyBOkxxENbAgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB\n'
- + 'Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBS0nw/tFR9bCjgqWTPJkyy4oOD8bzAfBgNV\n'
- + 'HSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQUFAAOCAQEA\n'
- + 'CXGAY3feAak6lHdqj6+YWjy6yyUnLK37bRxZDsyDVXrPRQaXRzPTzx79jvDwEb/H\n'
- + 'Q/bdQ7zQRWqJcbivQlwhuPJ4kWPUZgSt3JUUuqkMsDzsvj/bwIjlrEFDOdHGh0mi\n'
- + 'eVIngFEjUXjMh+5aHPEF9BlQnB8LfVtKj18e15UDTXFa+xJPFxUR7wDzCfo4WI1m\n'
- + 'sUMG4q1FkGAZgsoyFPZfF8IVvgCuGdR8z30VWKklFxttlK0eGLlPAyIO0CQxPQlo\n'
- + 'saNJrHf4tLOgZIWk+LpDhNd9Et5EzvJ3aURUsKY4pISPPF5WdvM9OE59bERwUErd\n'
- + 'nuOuQWQeeadMceZnauRzJQ==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-west-2 certificate CA 2015 to 2020
- *
- * CN = Amazon RDS us-west-2 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2015-02-05T22:03:50Z/2020-03-05T22:03:50Z
- * F = 94:2C:A8:B0:23:48:17:F0:CD:2F:19:7F:C1:E0:21:7C:65:79:13:3A
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/DCCAuSgAwIBAgIBSzANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNTAyMDUyMjAzNTBaFw0y\n'
- + 'MDAzMDUyMjAzNTBaMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJE\n'
- + 'UyB1cy13ZXN0LTIgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDM\n'
- + 'H58SR48U6jyERC1vYTnub34smf5EQVXyzaTmspWGWGzT31NLNZGSDFaa7yef9kdO\n'
- + 'mzJsgebR5tXq6LdwlIoWkKYQ7ycUaadtVKVYdI40QcI3cHn0qLFlg2iBXmWp/B+i\n'
- + 'Z34VuVlCh31Uj5WmhaBoz8t/GRqh1V/aCsf3Wc6jCezH3QfuCjBpzxdOOHN6Ie2v\n'
- + 'xX09O5qmZTvMoRBAvPkxdaPg/Mi7fxueWTbEVk78kuFbF1jHYw8U1BLILIAhcqlq\n'
- + 'x4u8nl73t3O3l/soNUcIwUDK0/S+Kfqhwn9yQyPlhb4Wy3pfnZLJdkyHldktnQav\n'
- + '9TB9u7KH5Lk0aAYslMLxAgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB\n'
- + 'Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBT8roM4lRnlFHWMPWRz0zkwFZog1jAfBgNV\n'
- + 'HSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQUFAAOCAQEA\n'
- + 'JwrxwgwmPtcdaU7O7WDdYa4hprpOMamI49NDzmE0s10oGrqmLwZygcWU0jT+fJ+Y\n'
- + 'pJe1w0CVfKaeLYNsOBVW3X4ZPmffYfWBheZiaiEflq/P6t7/Eg81gaKYnZ/x1Dfa\n'
- + 'sUYkzPvCkXe9wEz5zdUTOCptDt89rBR9CstL9vE7WYUgiVVmBJffWbHQLtfjv6OF\n'
- + 'NMb0QME981kGRzc2WhgP71YS2hHd1kXtsoYP1yTu4vThSKsoN4bkiHsaC1cRkLoy\n'
- + '0fFA4wpB3WloMEvCDaUvvH1LZlBXTNlwi9KtcwD4tDxkkBt4tQczKLGpQ/nF/W9n\n'
- + '8YDWk3IIc1sd0bkZqoau2Q==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-south-1 certificate CA 2016 to 2020
- *
- * CN = Amazon RDS ap-south-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2016-05-03T21:29:22Z/2020-03-05T21:29:22Z
- * F = F3:A3:C2:52:D9:82:20:AC:8C:62:31:2A:8C:AD:5D:7B:1C:31:F1:DD
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/TCCAuWgAwIBAgIBTTANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNjA1MDMyMTI5MjJaFw0y\n'
- + 'MDAzMDUyMTI5MjJaMIGQMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEhMB8GA1UEAwwYQW1hem9uIFJE\n'
- + 'UyBhcC1zb3V0aC0xIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\n'
- + '06eWGLE0TeqL9kyWOLkS8q0fXO97z+xyBV3DKSB2lg2GkgBz3B98MkmkeB0SZy3G\n'
- + 'Ce4uCpCPbFKiFEdiUclOlhZsrBuCeaimxLM3Ig2wuenElO/7TqgaYHYUbT3d+VQW\n'
- + 'GUbLn5GRZJZe1OAClYdOWm7A1CKpuo+cVV1vxbY2nGUQSJPpVn2sT9gnwvjdE60U\n'
- + 'JGYU/RLCTm8zmZBvlWaNIeKDnreIc4rKn6gUnJ2cQn1ryCVleEeyc3xjYDSrjgdn\n'
- + 'FLYGcp9mphqVT0byeQMOk0c7RHpxrCSA0V5V6/CreFV2LteK50qcDQzDSM18vWP/\n'
- + 'p09FoN8O7QrtOeZJzH/lmwIDAQABo2YwZDAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0T\n'
- + 'AQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQU2i83QHuEl/d0keXF+69HNJph7cMwHwYD\n'
- + 'VR0jBBgwFoAUTgLurD72FchM7Sz1BcGPnIQISYMwDQYJKoZIhvcNAQELBQADggEB\n'
- + 'ACqnH2VjApoDqoSQOky52QBwsGaj+xWYHW5Gm7EvCqvQuhWMkeBuD6YJmMvNyA9G\n'
- + 'I2lh6/o+sUk/RIsbYbxPRdhNPTOgDR9zsNRw6qxaHztq/CEC+mxDCLa3O1hHBaDV\n'
- + 'BmB3nCZb93BvO0EQSEk7aytKq/f+sjyxqOcs385gintdHGU9uM7gTZHnU9vByJsm\n'
- + '/TL07Miq67X0NlhIoo3jAk+xHaeKJdxdKATQp0448P5cY20q4b8aMk1twcNaMvCP\n'
- + 'dG4M5doaoUA8OQ/0ukLLae/LBxLeTw04q1/a2SyFaVUX2Twbb1S3xVWwLA8vsyGr\n'
- + 'igXx7B5GgP+IHb6DTjPJAi0=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-east-2 certificate CA 2016 to 2020
- *
- * CN = Amazon RDS us-east-2 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2016-08-11T19:58:45Z/2020-03-05T19:58:45Z
- * F = 9B:78:E3:64:7F:74:BC:B2:52:18:CF:13:C3:62:B8:35:9D:3D:5F:B6
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/DCCAuSgAwIBAgIBTjANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNjA4MTExOTU4NDVaFw0y\n'
- + 'MDAzMDUxOTU4NDVaMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJE\n'
- + 'UyB1cy1lYXN0LTIgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCp\n'
- + 'WnnUX7wM0zzstccX+4iXKJa9GR0a2PpvB1paEX4QRCgfhEdQWDaSqyrWNgdVCKkt\n'
- + '1aQkWu5j6VAC2XIG7kKoonm1ZdBVyBLqW5lXNywlaiU9yhJkwo8BR+/OqgE+PLt/\n'
- + 'EO1mlN0PQudja/XkExCXTO29TG2j7F/O7hox6vTyHNHc0H88zS21uPuBE+jivViS\n'
- + 'yzj/BkyoQ85hnkues3f9R6gCGdc+J51JbZnmgzUkvXjAEuKhAm9JksVOxcOKUYe5\n'
- + 'ERhn0U9zjzpfbAITIkul97VVa5IxskFFTHIPJbvRKHJkiF6wTJww/tc9wm+fSCJ1\n'
- + '+DbQTGZgkQ3bJrqRN29/AgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB\n'
- + 'Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBSAHQzUYYZbepwKEMvGdHp8wzHnfDAfBgNV\n'
- + 'HSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQsFAAOCAQEA\n'
- + 'MbaEzSYZ+aZeTBxf8yi0ta8K4RdwEJsEmP6IhFFQHYUtva2Cynl4Q9tZg3RMsybT\n'
- + '9mlnSQQlbN/wqIIXbkrcgFcHoXG9Odm/bDtUwwwDaiEhXVfeQom3G77QHOWMTCGK\n'
- + 'qadwuh5msrb17JdXZoXr4PYHDKP7j0ONfAyFNER2+uecblHfRSpVq5UeF3L6ZJb8\n'
- + 'fSw/GtAV6an+/0r+Qm+PiI2H5XuZ4GmRJYnGMhqWhBYrY7p3jtVnKcsh39wgfUnW\n'
- + 'AvZEZG/yhFyAZW0Essa39LiL5VSq14Y1DOj0wgnhSY/9WHxaAo1HB1T9OeZknYbD\n'
- + 'fl/EGSZ0TEvZkENrXcPlVA==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ca-central-1 certificate CA 2016 to 2020
- *
- * CN = Amazon RDS ca-central-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2016-09-15T00:10:11Z/2020-03-05T00:10:11Z
- * F = D7:E0:16:AB:8A:0B:63:9F:67:1F:16:87:42:F4:0A:EE:73:A6:FC:04
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/zCCAuegAwIBAgIBTzANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNjA5MTUwMDEwMTFaFw0y\n'
- + 'MDAzMDUwMDEwMTFaMIGSMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEjMCEGA1UEAwwaQW1hem9uIFJE\n'
- + 'UyBjYS1jZW50cmFsLTEgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB\n'
- + 'AQCZYI/iQ6DrS3ny3t1EwX1wAD+3LMgh7Fd01EW5LIuaK2kYIIQpsVKhxLCit/V5\n'
- + 'AGc/1qiJS1Qz9ODLTh0Na6bZW6EakRzuHJLe32KJtoFYPC7Z09UqzXrpA/XL+1hM\n'
- + 'P0ZmCWsU7Nn/EmvfBp9zX3dZp6P6ATrvDuYaVFr+SA7aT3FXpBroqBS1fyzUPs+W\n'
- + 'c6zTR6+yc4zkHX0XQxC5RH6xjgpeRkoOajA/sNo7AQF7KlWmKHbdVF44cvvAhRKZ\n'
- + 'XaoVs/C4GjkaAEPTCbopYdhzg+KLx9eB2BQnYLRrIOQZtRfbQI2Nbj7p3VsRuOW1\n'
- + 'tlcks2w1Gb0YC6w6SuIMFkl1AgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNV\n'
- + 'HRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBToYWxE1lawl6Ks6NsvpbHQ3GKEtzAf\n'
- + 'BgNVHSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQsFAAOC\n'
- + 'AQEAG/8tQ0ooi3hoQpa5EJz0/E5VYBsAz3YxA2HoIonn0jJyG16bzB4yZt4vNQMA\n'
- + 'KsNlQ1uwDWYL1nz63axieUUFIxqxl1KmwfhsmLgZ0Hd2mnTPIl2Hw3uj5+wdgGBg\n'
- + 'agnAZ0bajsBYgD2VGQbqjdk2Qn7Fjy3LEWIvGZx4KyZ99OJ2QxB7JOPdauURAtWA\n'
- + 'DKYkP4LLJxtj07DSzG8kuRWb9B47uqUD+eKDIyjfjbnzGtd9HqqzYFau7EX3HVD9\n'
- + '9Qhnjl7bTZ6YfAEZ3nH2t3Vc0z76XfGh47rd0pNRhMV+xpok75asKf/lNh5mcUrr\n'
- + 'VKwflyMkQpSbDCmcdJ90N2xEXQ==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-west-2 certificate CA 2016 to 2020
- *
- * CN = Amazon RDS eu-west-2 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2016-10-10T17:44:42Z/2020-03-05T17:44:42Z
- * F = 47:79:51:9F:FF:07:D3:F4:27:D3:AB:64:56:7F:00:45:BB:84:C1:71
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/DCCAuSgAwIBAgIBUDANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNjEwMTAxNzQ0NDJaFw0y\n'
- + 'MDAzMDUxNzQ0NDJaMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJE\n'
- + 'UyBldS13ZXN0LTIgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDO\n'
- + 'cttLJfubB4XMMIGWNfJISkIdCMGJyOzLiMJaiWB5GYoXKhEl7YGotpy0qklwW3BQ\n'
- + 'a0fmVdcCLX+dIuVQ9iFK+ZcK7zwm7HtdDTCHOCKeOh2IcnU4c/VIokFi6Gn8udM6\n'
- + 'N/Zi5M5OGpVwLVALQU7Yctsn3c95el6MdVx6mJiIPVu7tCVZn88Z2koBQ2gq9P4O\n'
- + 'Sb249SHFqOb03lYDsaqy1NDsznEOhaRBw7DPJFpvmw1lA3/Y6qrExRI06H2VYR2i\n'
- + '7qxwDV50N58fs10n7Ye1IOxTVJsgEA7X6EkRRXqYaM39Z76R894548WHfwXWjUsi\n'
- + 'MEX0RS0/t1GmnUQjvevDAgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB\n'
- + 'Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBQBxmcuRSxERYCtNnSr5xNfySokHjAfBgNV\n'
- + 'HSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQsFAAOCAQEA\n'
- + 'UyCUQjsF3nUAABjfEZmpksTuUo07aT3KGYt+EMMFdejnBQ0+2lJJFGtT+CDAk1SD\n'
- + 'RSgfEBon5vvKEtlnTf9a3pv8WXOAkhfxnryr9FH6NiB8obISHNQNPHn0ljT2/T+I\n'
- + 'Y6ytfRvKHa0cu3V0NXbJm2B4KEOt4QCDiFxUIX9z6eB4Kditwu05OgQh6KcogOiP\n'
- + 'JesWxBMXXGoDC1rIYTFO7szwDyOHlCcVXJDNsTJhc32oDWYdeIbW7o/5I+aQsrXZ\n'
- + 'C96HykZcgWzz6sElrQxUaT3IoMw/5nmw4uWKKnZnxgI9bY4fpQwMeBZ96iHfFxvH\n'
- + 'mqfEEuC7uUoPofXdBp2ObQ==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-gov-west-1 CA 2017 to 2022
- *
- * CN = Amazon RDS us-gov-west-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2017-05-19T22:31:19Z/2022-05-18T12:00:00Z
- * F = 77:55:8C:C4:5E:71:1F:1B:57:E3:DA:6E:5B:74:27:12:4E:E8:69:E8
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIECjCCAvKgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgZMxCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSQwIgYDVQQDDBtBbWF6b24gUkRTIEdvdkNsb3VkIFJvb3QgQ0EwHhcNMTcwNTE5\n'
- + 'MjIzMTE5WhcNMjIwNTE4MTIwMDAwWjCBkzELMAkGA1UEBhMCVVMxEzARBgNVBAgM\n'
- + 'Cldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoMGUFtYXpvbiBX\n'
- + 'ZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMxJDAiBgNVBAMM\n'
- + 'G0FtYXpvbiBSRFMgdXMtZ292LXdlc3QtMSBDQTCCASIwDQYJKoZIhvcNAQEBBQAD\n'
- + 'ggEPADCCAQoCggEBAM8YZLKAzzOdNnoi7Klih26Zkj+OCpDfwx4ZYB6f8L8UoQi5\n'
- + '8z9ZtIwMjiJ/kO08P1yl4gfc7YZcNFvhGruQZNat3YNpxwUpQcr4mszjuffbL4uz\n'
- + '+/8FBxALdqCVOJ5Q0EVSfz3d9Bd1pUPL7ARtSpy7bn/tUPyQeI+lODYO906C0TQ3\n'
- + 'b9bjOsgAdBKkHfjLdsknsOZYYIzYWOJyFJJa0B11XjDUNBy/3IuC0KvDl6At0V5b\n'
- + '8M6cWcKhte2hgjwTYepV+/GTadeube1z5z6mWsN5arOAQUtYDLH6Aztq9mCJzLHm\n'
- + 'RccBugnGl3fRLJ2VjioN8PoGoN9l9hFBy5fnFgsCAwEAAaNmMGQwDgYDVR0PAQH/\n'
- + 'BAQDAgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFEG7+br8KkvwPd5g\n'
- + '71Rvh2stclJbMB8GA1UdIwQYMBaAFEkQz6S4NS5lOYKcDjBSuCcVpdzjMA0GCSqG\n'
- + 'SIb3DQEBCwUAA4IBAQBMA327u5ABmhX+aPxljoIbxnydmAFWxW6wNp5+rZrvPig8\n'
- + 'zDRqGQWWr7wWOIjfcWugSElYtf/m9KZHG/Z6+NG7nAoUrdcd1h/IQhb+lFQ2b5g9\n'
- + 'sVzQv/H2JNkfZA8fL/Ko/Tm/f9tcqe0zrGCtT+5u0Nvz35Wl8CEUKLloS5xEb3k5\n'
- + '7D9IhG3fsE3vHWlWrGCk1cKry3j12wdPG5cUsug0vt34u6rdhP+FsM0tHI15Kjch\n'
- + 'RuUCvyQecy2ZFNAa3jmd5ycNdL63RWe8oayRBpQBxPPCbHfILxGZEdJbCH9aJ2D/\n'
- + 'l8oHIDnvOLdv7/cBjyYuvmprgPtu3QEkbre5Hln/\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-west-3 certificate CA 2017 to 2020
- *
- * CN = Amazon RDS eu-west-3 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2017-08-25T21:39:26Z/2020-03-05T21:39:26Z
- * F = FD:35:A7:84:60:68:98:00:12:54:ED:34:26:8C:66:0F:72:DD:B2:F4
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIID/DCCAuSgAwIBAgIBUTANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNzA4MjUyMTM5MjZaFw0y\n'
- + 'MDAzMDUyMTM5MjZaMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEgMB4GA1UEAwwXQW1hem9uIFJE\n'
- + 'UyBldS13ZXN0LTMgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+\n'
- + 'xmlEC/3a4cJH+UPwXCE02lC7Zq5NHd0dn6peMeLN8agb6jW4VfSY0NydjRj2DJZ8\n'
- + 'K7wV6sub5NUGT1NuFmvSmdbNR2T59KX0p2dVvxmXHHtIpQ9Y8Aq3ZfhmC5q5Bqgw\n'
- + 'tMA1xayDi7HmoPX3R8kk9ktAZQf6lDeksCvok8idjTu9tiSpDiMwds5BjMsWfyjZ\n'
- + 'd13PTGGNHYVdP692BSyXzSP1Vj84nJKnciW8tAqwIiadreJt5oXyrCXi8ekUMs80\n'
- + 'cUTuGm3aA3Q7PB5ljJMPqz0eVddaiIvmTJ9O3Ez3Du/HpImyMzXjkFaf+oNXf/Hx\n'
- + '/EW5jCRR6vEiXJcDRDS7AgMBAAGjZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNVHRMB\n'
- + 'Af8ECDAGAQH/AgEAMB0GA1UdDgQWBBRZ9mRtS5fHk3ZKhG20Oack4cAqMTAfBgNV\n'
- + 'HSMEGDAWgBROAu6sPvYVyEztLPUFwY+chAhJgzANBgkqhkiG9w0BAQsFAAOCAQEA\n'
- + 'F/u/9L6ExQwD73F/bhCw7PWcwwqsK1mypIdrjdIsu0JSgwWwGCXmrIspA3n3Dqxq\n'
- + 'sMhAJD88s9Em7337t+naar2VyLO63MGwjj+vA4mtvQRKq8ScIpiEc7xN6g8HUMsd\n'
- + 'gPG9lBGfNjuAZsrGJflrko4HyuSM7zHExMjXLH+CXcv/m3lWOZwnIvlVMa4x0Tz0\n'
- + 'A4fklaawryngzeEjuW6zOiYCzjZtPlP8Fw0SpzppJ8VpQfrZ751RDo4yudmPqoPK\n'
- + '5EUe36L8U+oYBXnC5TlYs9bpVv9o5wJQI5qA9oQE2eFWxF1E0AyZ4V5sgGUBStaX\n'
- + 'BjDDWul0wSo7rt1Tq7XpnA==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-northeast-3 certificate CA 2017 to 2020
- *
- * CN = Amazon RDS ap-northeast-3 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2017-12-01T00:55:42Z/2020-03-05T00:55:42Z
- * F = C0:C7:D4:B3:91:40:A0:77:43:28:BF:AF:77:57:DF:FD:98:FB:10:3F
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEATCCAumgAwIBAgIBTjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UEBhMCVVMx\n'
- + 'EzARBgNVBAgMCldhc2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'GzAZBgNVBAMMEkFtYXpvbiBSRFMgUm9vdCBDQTAeFw0xNzEyMDEwMDU1NDJaFw0y\n'
- + 'MDAzMDUwMDU1NDJaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3Rv\n'
- + 'bjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNl\n'
- + 'cywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1hem9uIFJE\n'
- + 'UyBhcC1ub3J0aGVhc3QtMyBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC\n'
- + 'ggEBAMZtQNnm/XT19mTa10ftHLzg5UhajoI65JHv4TQNdGXdsv+CQdGYU49BJ9Eu\n'
- + '3bYgiEtTzR2lQe9zGMvtuJobLhOWuavzp7IixoIQcHkFHN6wJ1CvqrxgvJfBq6Hy\n'
- + 'EuCDCiU+PPDLUNA6XM6Qx3IpHd1wrJkjRB80dhmMSpxmRmx849uFafhN+P1QybsM\n'
- + 'TI0o48VON2+vj+mNuQTyLMMP8D4odSQHjaoG+zyJfJGZeAyqQyoOUOFEyQaHC3TT\n'
- + '3IDSNCQlpxb9LerbCoKu79WFBBq3CS5cYpg8/fsnV2CniRBFFUumBt5z4dhw9RJU\n'
- + 'qlUXXO1ZyzpGd+c5v6FtrfXtnIUCAwEAAaNmMGQwDgYDVR0PAQH/BAQDAgEGMBIG\n'
- + 'A1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFETv7ELNplYy/xTeIOInl6nzeiHg\n'
- + 'MB8GA1UdIwQYMBaAFE4C7qw+9hXITO0s9QXBj5yECEmDMA0GCSqGSIb3DQEBBQUA\n'
- + 'A4IBAQCpKxOQcd0tEKb3OtsOY8q/MPwTyustGk2Rt7t9G68idADp8IytB7M0SDRo\n'
- + 'wWZqynEq7orQVKdVOanhEWksNDzGp0+FPAf/KpVvdYCd7ru3+iI+V4ZEp2JFdjuZ\n'
- + 'Zz0PIjS6AgsZqE5Ri1J+NmfmjGZCPhsHnGZiBaenX6K5VRwwwmLN6xtoqrrfR5zL\n'
- + 'QfBeeZNJG6KiM3R/DxJ5rAa6Fz+acrhJ60L7HprhB7SFtj1RCijau3+ZwiGmUOMr\n'
- + 'yKlMv+VgmzSw7o4Hbxy1WVrA6zQsTHHSGf+vkQn2PHvnFMUEu/ZLbTDYFNmTLK91\n'
- + 'K6o4nMsEvhBKgo4z7H1EqqxXhvN2\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS GovCloud Root CA 2017 to 2022
- *
- * CN = Amazon RDS GovCloud Root CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2017-05-19T22:29:11Z/2022-05-18T22:29:11Z
- * F = A3:61:F9:C9:A2:5B:91:FE:73:A6:52:E3:59:14:8E:CE:35:12:0F:FD
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEDjCCAvagAwIBAgIJAMM61RQn3/kdMA0GCSqGSIb3DQEBCwUAMIGTMQswCQYD\n'
- + 'VQQGEwJVUzEQMA4GA1UEBwwHU2VhdHRsZTETMBEGA1UECAwKV2FzaGluZ3RvbjEi\n'
- + 'MCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1h\n'
- + 'em9uIFJEUzEkMCIGA1UEAwwbQW1hem9uIFJEUyBHb3ZDbG91ZCBSb290IENBMB4X\n'
- + 'DTE3MDUxOTIyMjkxMVoXDTIyMDUxODIyMjkxMVowgZMxCzAJBgNVBAYTAlVTMRAw\n'
- + 'DgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQKDBlB\n'
- + 'bWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRTMSQw\n'
- + 'IgYDVQQDDBtBbWF6b24gUkRTIEdvdkNsb3VkIFJvb3QgQ0EwggEiMA0GCSqGSIb3\n'
- + 'DQEBAQUAA4IBDwAwggEKAoIBAQDGS9bh1FGiJPT+GRb3C5aKypJVDC1H2gbh6n3u\n'
- + 'j8cUiyMXfmm+ak402zdLpSYMaxiQ7oL/B3wEmumIpRDAsQrSp3B/qEeY7ipQGOfh\n'
- + 'q2TXjXGIUjiJ/FaoGqkymHRLG+XkNNBtb7MRItsjlMVNELXECwSiMa3nJL2/YyHW\n'
- + 'nTr1+11/weeZEKgVbCUrOugFkMXnfZIBSn40j6EnRlO2u/NFU5ksK5ak2+j8raZ7\n'
- + 'xW7VXp9S1Tgf1IsWHjGZZZguwCkkh1tHOlHC9gVA3p63WecjrIzcrR/V27atul4m\n'
- + 'tn56s5NwFvYPUIx1dbC8IajLUrepVm6XOwdQCfd02DmOyjWJAgMBAAGjYzBhMA4G\n'
- + 'A1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJEM+kuDUu\n'
- + 'ZTmCnA4wUrgnFaXc4zAfBgNVHSMEGDAWgBRJEM+kuDUuZTmCnA4wUrgnFaXc4zAN\n'
- + 'BgkqhkiG9w0BAQsFAAOCAQEAcfA7uirXsNZyI2j4AJFVtOTKOZlQwqbyNducnmlg\n'
- + '/5nug9fAkwM4AgvF5bBOD1Hw6khdsccMwIj+1S7wpL+EYb/nSc8G0qe1p/9lZ/mZ\n'
- + 'ff5g4JOa26lLuCrZDqAk4TzYnt6sQKfa5ZXVUUn0BK3okhiXS0i+NloMyaBCL7vk\n'
- + 'kDwkHwEqflRKfZ9/oFTcCfoiHPA7AdBtaPVr0/Kj9L7k+ouz122huqG5KqX0Zpo8\n'
- + 'S0IGvcd2FZjNSNPttNAK7YuBVsZ0m2nIH1SLp//00v7yAHIgytQwwB17PBcp4NXD\n'
- + 'pCfTa27ng9mMMC2YLqWQpW4TkqjDin2ZC+5X/mbrjzTvVg==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-east-1 certificate CA 2019 to 2022
- *
- * CN = Amazon RDS ap-east-1 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-02-17T02:47:00Z/2022-06-01T12:00:00Z
- * F = BC:F8:70:75:1F:93:3F:A7:82:86:67:63:A8:86:1F:A4:E8:07:CE:06
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEBzCCAu+gAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgZQxCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSUwIwYDVQQDDBxBbWF6b24gUkRTIGFwLWVhc3QtMSBSb290IENBMB4XDTE5MDIx\n'
- + 'NzAyNDcwMFoXDTIyMDYwMTEyMDAwMFowgY8xCzAJBgNVBAYTAlVTMRMwEQYDVQQI\n'
- + 'DApXYXNoaW5ndG9uMRAwDgYDVQQHDAdTZWF0dGxlMSIwIAYDVQQKDBlBbWF6b24g\n'
- + 'V2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRTMSAwHgYDVQQD\n'
- + 'DBdBbWF6b24gUkRTIGFwLWVhc3QtMSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP\n'
- + 'ADCCAQoCggEBAOcJAUofyJuBuPr5ISHi/Ha5ed8h3eGdzn4MBp6rytPOg9NVGRQs\n'
- + 'O93fNGCIKsUT6gPuk+1f1ncMTV8Y0Fdf4aqGWme+Khm3ZOP3V1IiGnVq0U2xiOmn\n'
- + 'SQ4Q7LoeQC4lC6zpoCHVJyDjZ4pAknQQfsXb77Togdt/tK5ahev0D+Q3gCwAoBoO\n'
- + 'DHKJ6t820qPi63AeGbJrsfNjLKiXlFPDUj4BGir4dUzjEeH7/hx37na1XG/3EcxP\n'
- + '399cT5k7sY/CR9kctMlUyEEUNQOmhi/ly1Lgtihm3QfjL6K9aGLFNwX35Bkh9aL2\n'
- + 'F058u+n8DP/dPeKUAcJKiQZUmzuen5n57x8CAwEAAaNmMGQwDgYDVR0PAQH/BAQD\n'
- + 'AgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFFlqgF4FQlb9yP6c+Q3E\n'
- + 'O3tXv+zOMB8GA1UdIwQYMBaAFK9T6sY/PBZVbnHcNcQXf58P4OuPMA0GCSqGSIb3\n'
- + 'DQEBCwUAA4IBAQDeXiS3v1z4jWAo1UvVyKDeHjtrtEH1Rida1eOXauFuEQa5tuOk\n'
- + 'E53Os4haZCW4mOlKjigWs4LN+uLIAe1aFXGo92nGIqyJISHJ1L+bopx/JmIbHMCZ\n'
- + '0lTNJfR12yBma5VQy7vzeFku/SisKwX0Lov1oHD4MVhJoHbUJYkmAjxorcIHORvh\n'
- + 'I3Vj5XrgDWtLDPL8/Id/roul/L+WX5ir+PGScKBfQIIN2lWdZoqdsx8YWqhm/ikL\n'
- + 'C6qNieSwcvWL7C03ri0DefTQMY54r5wP33QU5hJ71JoaZI3YTeT0Nf+NRL4hM++w\n'
- + 'Q0veeNzBQXg1f/JxfeA39IDIX1kiCf71tGlT\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-northeast-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS ap-northeast-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-18T16:56:20Z/2024-08-22T17:08:50Z
- * F = 47:A3:F9:20:64:5C:9F:9D:48:8C:7D:E6:0B:86:D6:05:13:00:16:A1
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEDDCCAvSgAwIBAgICcEUwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTgxNjU2\n'
- + 'MjBaFw0yNDA4MjIxNzA4NTBaMIGZMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEqMCgGA1UEAwwhQW1h\n'
- + 'em9uIFJEUyBhcC1ub3J0aGVhc3QtMSAyMDE5IENBMIIBIjANBgkqhkiG9w0BAQEF\n'
- + 'AAOCAQ8AMIIBCgKCAQEAndtkldmHtk4TVQAyqhAvtEHSMb6pLhyKrIFved1WO3S7\n'
- + '+I+bWwv9b2W/ljJxLq9kdT43bhvzonNtI4a1LAohS6bqyirmk8sFfsWT3akb+4Sx\n'
- + '1sjc8Ovc9eqIWJCrUiSvv7+cS7ZTA9AgM1PxvHcsqrcUXiK3Jd/Dax9jdZE1e15s\n'
- + 'BEhb2OEPE+tClFZ+soj8h8Pl2Clo5OAppEzYI4LmFKtp1X/BOf62k4jviXuCSst3\n'
- + 'UnRJzE/CXtjmN6oZySVWSe0rQYuyqRl6//9nK40cfGKyxVnimB8XrrcxUN743Vud\n'
- + 'QQVU0Esm8OVTX013mXWQXJHP2c0aKkog8LOga0vobQIDAQABo2YwZDAOBgNVHQ8B\n'
- + 'Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQULmoOS1mFSjj+\n'
- + 'snUPx4DgS3SkLFYwHwYDVR0jBBgwFoAUc19g2LzLA5j0Kxc0LjZapmD/vB8wDQYJ\n'
- + 'KoZIhvcNAQELBQADggEBAAkVL2P1M2/G9GM3DANVAqYOwmX0Xk58YBHQu6iiQg4j\n'
- + 'b4Ky/qsZIsgT7YBsZA4AOcPKQFgGTWhe9pvhmXqoN3RYltN8Vn7TbUm/ZVDoMsrM\n'
- + 'gwv0+TKxW1/u7s8cXYfHPiTzVSJuOogHx99kBW6b2f99GbP7O1Sv3sLq4j6lVvBX\n'
- + 'Fiacf5LAWC925nvlTzLlBgIc3O9xDtFeAGtZcEtxZJ4fnGXiqEnN4539+nqzIyYq\n'
- + 'nvlgCzyvcfRAxwltrJHuuRu6Maw5AGcd2Y0saMhqOVq9KYKFKuD/927BTrbd2JVf\n'
- + '2sGWyuPZPCk3gq+5pCjbD0c6DkhcMGI6WwxvM5V/zSM=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-northeast-2 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS ap-northeast-2 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-10T17:46:21Z/2024-08-22T17:08:50Z
- * F = 8E:1C:70:C1:64:BD:FC:F9:93:9B:A2:67:CA:CF:52:F0:E1:F7:B4:F0
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEDDCCAvSgAwIBAgICOFAwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTAxNzQ2\n'
- + 'MjFaFw0yNDA4MjIxNzA4NTBaMIGZMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEqMCgGA1UEAwwhQW1h\n'
- + 'em9uIFJEUyBhcC1ub3J0aGVhc3QtMiAyMDE5IENBMIIBIjANBgkqhkiG9w0BAQEF\n'
- + 'AAOCAQ8AMIIBCgKCAQEAzU72e6XbaJbi4HjJoRNjKxzUEuChKQIt7k3CWzNnmjc5\n'
- + '8I1MjCpa2W1iw1BYVysXSNSsLOtUsfvBZxi/1uyMn5ZCaf9aeoA9UsSkFSZBjOCN\n'
- + 'DpKPCmfV1zcEOvJz26+1m8WDg+8Oa60QV0ou2AU1tYcw98fOQjcAES0JXXB80P2s\n'
- + '3UfkNcnDz+l4k7j4SllhFPhH6BQ4lD2NiFAP4HwoG6FeJUn45EPjzrydxjq6v5Fc\n'
- + 'cQ8rGuHADVXotDbEhaYhNjIrsPL+puhjWfhJjheEw8c4whRZNp6gJ/b6WEes/ZhZ\n'
- + 'h32DwsDsZw0BfRDUMgUn8TdecNexHUw8vQWeC181hwIDAQABo2YwZDAOBgNVHQ8B\n'
- + 'Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUwW9bWgkWkr0U\n'
- + 'lrOsq2kvIdrECDgwHwYDVR0jBBgwFoAUc19g2LzLA5j0Kxc0LjZapmD/vB8wDQYJ\n'
- + 'KoZIhvcNAQELBQADggEBAEugF0Gj7HVhX0ehPZoGRYRt3PBuI2YjfrrJRTZ9X5wc\n'
- + '9T8oHmw07mHmNy1qqWvooNJg09bDGfB0k5goC2emDiIiGfc/kvMLI7u+eQOoMKj6\n'
- + 'mkfCncyRN3ty08Po45vTLBFZGUvtQmjM6yKewc4sXiASSBmQUpsMbiHRCL72M5qV\n'
- + 'obcJOjGcIdDTmV1BHdWT+XcjynsGjUqOvQWWhhLPrn4jWe6Xuxll75qlrpn3IrIx\n'
- + 'CRBv/5r7qbcQJPOgwQsyK4kv9Ly8g7YT1/vYBlR3cRsYQjccw5ceWUj2DrMVWhJ4\n'
- + 'prf+E3Aa4vYmLLOUUvKnDQ1k3RGNu56V0tonsQbfsaM=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-northeast-3 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS ap-northeast-3 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-17T20:05:29Z/2024-08-22T17:08:50Z
- * F = D1:08:B1:40:6D:6C:80:8E:F4:C1:2C:8A:1F:66:17:01:54:CD:1A:4E
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEDDCCAvSgAwIBAgICOYIwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTcyMDA1\n'
- + 'MjlaFw0yNDA4MjIxNzA4NTBaMIGZMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEqMCgGA1UEAwwhQW1h\n'
- + 'em9uIFJEUyBhcC1ub3J0aGVhc3QtMyAyMDE5IENBMIIBIjANBgkqhkiG9w0BAQEF\n'
- + 'AAOCAQ8AMIIBCgKCAQEA4dMak8W+XW8y/2F6nRiytFiA4XLwePadqWebGtlIgyCS\n'
- + 'kbug8Jv5w7nlMkuxOxoUeD4WhI6A9EkAn3r0REM/2f0aYnd2KPxeqS2MrtdxxHw1\n'
- + 'xoOxk2x0piNSlOz6yog1idsKR5Wurf94fvM9FdTrMYPPrDabbGqiBMsZZmoHLvA3\n'
- + 'Z+57HEV2tU0Ei3vWeGIqnNjIekS+E06KhASxrkNU5vi611UsnYZlSi0VtJsH4UGV\n'
- + 'LhnHl53aZL0YFO5mn/fzuNG/51qgk/6EFMMhaWInXX49Dia9FnnuWXwVwi6uX1Wn\n'
- + '7kjoHi5VtmC8ZlGEHroxX2DxEr6bhJTEpcLMnoQMqwIDAQABo2YwZDAOBgNVHQ8B\n'
- + 'Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUsUI5Cb3SWB8+\n'
- + 'gv1YLN/ABPMdxSAwHwYDVR0jBBgwFoAUc19g2LzLA5j0Kxc0LjZapmD/vB8wDQYJ\n'
- + 'KoZIhvcNAQELBQADggEBAJAF3E9PM1uzVL8YNdzb6fwJrxxqI2shvaMVmC1mXS+w\n'
- + 'G0zh4v2hBZOf91l1EO0rwFD7+fxoI6hzQfMxIczh875T6vUXePKVOCOKI5wCrDad\n'
- + 'zQbVqbFbdhsBjF4aUilOdtw2qjjs9JwPuB0VXN4/jY7m21oKEOcnpe36+7OiSPjN\n'
- + 'xngYewCXKrSRqoj3mw+0w/+exYj3Wsush7uFssX18av78G+ehKPIVDXptOCP/N7W\n'
- + '8iKVNeQ2QGTnu2fzWsGUSvMGyM7yqT+h1ILaT//yQS8er511aHMLc142bD4D9VSy\n'
- + 'DgactwPDTShK/PXqhvNey9v/sKXm4XatZvwcc8KYlW4=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-south-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS ap-south-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-04T17:13:04Z/2024-08-22T17:08:50Z
- * F = D6:AD:45:A9:54:36:E4:BA:9C:B7:9B:06:8C:0C:CD:CC:1E:81:B5:00
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIECDCCAvCgAwIBAgICVIYwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MDQxNzEz\n'
- + 'MDRaFw0yNDA4MjIxNzA4NTBaMIGVMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEmMCQGA1UEAwwdQW1h\n'
- + 'em9uIFJEUyBhcC1zb3V0aC0xIDIwMTkgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IB\n'
- + 'DwAwggEKAoIBAQDUYOz1hGL42yUCrcsMSOoU8AeD/3KgZ4q7gP+vAz1WnY9K/kim\n'
- + 'eWN/2Qqzlo3+mxSFQFyD4MyV3+CnCPnBl9Sh1G/F6kThNiJ7dEWSWBQGAB6HMDbC\n'
- + 'BaAsmUc1UIz8sLTL3fO+S9wYhA63Wun0Fbm/Rn2yk/4WnJAaMZcEtYf6e0KNa0LM\n'
- + 'p/kN/70/8cD3iz3dDR8zOZFpHoCtf0ek80QqTich0A9n3JLxR6g6tpwoYviVg89e\n'
- + 'qCjQ4axxOkWWeusLeTJCcY6CkVyFvDAKvcUl1ytM5AiaUkXblE7zDFXRM4qMMRdt\n'
- + 'lPm8d3pFxh0fRYk8bIKnpmtOpz3RIctDrZZxAgMBAAGjZjBkMA4GA1UdDwEB/wQE\n'
- + 'AwIBBjASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBT99wKJftD3jb4sHoHG\n'
- + 'i3uGlH6W6TAfBgNVHSMEGDAWgBRzX2DYvMsDmPQrFzQuNlqmYP+8HzANBgkqhkiG\n'
- + '9w0BAQsFAAOCAQEAZ17hhr3dII3hUfuHQ1hPWGrpJOX/G9dLzkprEIcCidkmRYl+\n'
- + 'hu1Pe3caRMh/17+qsoEErmnVq5jNY9X1GZL04IZH8YbHc7iRHw3HcWAdhN8633+K\n'
- + 'jYEB2LbJ3vluCGnCejq9djDb6alOugdLMJzxOkHDhMZ6/gYbECOot+ph1tQuZXzD\n'
- + 'tZ7prRsrcuPBChHlPjmGy8M9z8u+kF196iNSUGC4lM8vLkHM7ycc1/ZOwRq9aaTe\n'
- + 'iOghbQQyAEe03MWCyDGtSmDfr0qEk+CHN+6hPiaL8qKt4s+V9P7DeK4iW08ny8Ox\n'
- + 'AVS7u0OK/5+jKMAMrKwpYrBydOjTUTHScocyNw==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-southeast-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS ap-southeast-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-13T20:11:42Z/2024-08-22T17:08:50Z
- * F = 0D:20:FB:91:DE:BE:D2:CF:F3:F8:F8:43:AF:68:C6:03:76:F3:DD:B8
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEDDCCAvSgAwIBAgICY4kwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTMyMDEx\n'
- + 'NDJaFw0yNDA4MjIxNzA4NTBaMIGZMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEqMCgGA1UEAwwhQW1h\n'
- + 'em9uIFJEUyBhcC1zb3V0aGVhc3QtMSAyMDE5IENBMIIBIjANBgkqhkiG9w0BAQEF\n'
- + 'AAOCAQ8AMIIBCgKCAQEAr5u9OuLL/OF/fBNUX2kINJLzFl4DnmrhnLuSeSnBPgbb\n'
- + 'qddjf5EFFJBfv7IYiIWEFPDbDG5hoBwgMup5bZDbas+ZTJTotnnxVJTQ6wlhTmns\n'
- + 'eHECcg2pqGIKGrxZfbQhlj08/4nNAPvyYCTS0bEcmQ1emuDPyvJBYDDLDU6AbCB5\n'
- + '6Z7YKFQPTiCBblvvNzchjLWF9IpkqiTsPHiEt21sAdABxj9ityStV3ja/W9BfgxH\n'
- + 'wzABSTAQT6FbDwmQMo7dcFOPRX+hewQSic2Rn1XYjmNYzgEHisdUsH7eeXREAcTw\n'
- + '61TRvaLH8AiOWBnTEJXPAe6wYfrcSd1pD0MXpoB62wIDAQABo2YwZDAOBgNVHQ8B\n'
- + 'Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUytwMiomQOgX5\n'
- + 'Ichd+2lDWRUhkikwHwYDVR0jBBgwFoAUc19g2LzLA5j0Kxc0LjZapmD/vB8wDQYJ\n'
- + 'KoZIhvcNAQELBQADggEBACf6lRDpfCD7BFRqiWM45hqIzffIaysmVfr+Jr+fBTjP\n'
- + 'uYe/ba1omSrNGG23bOcT9LJ8hkQJ9d+FxUwYyICQNWOy6ejicm4z0C3VhphbTPqj\n'
- + 'yjpt9nG56IAcV8BcRJh4o/2IfLNzC/dVuYJV8wj7XzwlvjysenwdrJCoLadkTr1h\n'
- + 'eIdG6Le07sB9IxrGJL9e04afk37h7c8ESGSE4E+oS4JQEi3ATq8ne1B9DQ9SasXi\n'
- + 'IRmhNAaISDzOPdyLXi9N9V9Lwe/DHcja7hgLGYx3UqfjhLhOKwp8HtoZORixAmOI\n'
- + 'HfILgNmwyugAbuZoCazSKKBhQ0wgO0WZ66ZKTMG8Oho=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ap-southeast-2 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS ap-southeast-2 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-16T19:53:47Z/2024-08-22T17:08:50Z
- * F = D5:D4:51:83:D9:A3:AC:47:B0:0A:5A:77:D8:A0:79:A9:6A:3F:6D:96
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEDDCCAvSgAwIBAgICEkYwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTYxOTUz\n'
- + 'NDdaFw0yNDA4MjIxNzA4NTBaMIGZMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEqMCgGA1UEAwwhQW1h\n'
- + 'em9uIFJEUyBhcC1zb3V0aGVhc3QtMiAyMDE5IENBMIIBIjANBgkqhkiG9w0BAQEF\n'
- + 'AAOCAQ8AMIIBCgKCAQEAufodI2Flker8q7PXZG0P0vmFSlhQDw907A6eJuF/WeMo\n'
- + 'GHnll3b4S6nC3oRS3nGeRMHbyU2KKXDwXNb3Mheu+ox+n5eb/BJ17eoj9HbQR1cd\n'
- + 'gEkIciiAltf8gpMMQH4anP7TD+HNFlZnP7ii3geEJB2GGXSxgSWvUzH4etL67Zmn\n'
- + 'TpGDWQMB0T8lK2ziLCMF4XAC/8xDELN/buHCNuhDpxpPebhct0T+f6Arzsiswt2j\n'
- + '7OeNeLLZwIZvVwAKF7zUFjC6m7/VmTQC8nidVY559D6l0UhhU0Co/txgq3HVsMOH\n'
- + 'PbxmQUwJEKAzQXoIi+4uZzHFZrvov/nDTNJUhC6DqwIDAQABo2YwZDAOBgNVHQ8B\n'
- + 'Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUwaZpaCme+EiV\n'
- + 'M5gcjeHZSTgOn4owHwYDVR0jBBgwFoAUc19g2LzLA5j0Kxc0LjZapmD/vB8wDQYJ\n'
- + 'KoZIhvcNAQELBQADggEBAAR6a2meCZuXO2TF9bGqKGtZmaah4pH2ETcEVUjkvXVz\n'
- + 'sl+ZKbYjrun+VkcMGGKLUjS812e7eDF726ptoku9/PZZIxlJB0isC/0OyixI8N4M\n'
- + 'NsEyvp52XN9QundTjkl362bomPnHAApeU0mRbMDRR2JdT70u6yAzGLGsUwMkoNnw\n'
- + '1VR4XKhXHYGWo7KMvFrZ1KcjWhubxLHxZWXRulPVtGmyWg/MvE6KF+2XMLhojhUL\n'
- + '+9jB3Fpn53s6KMx5tVq1x8PukHmowcZuAF8k+W4gk8Y68wIwynrdZrKRyRv6CVtR\n'
- + 'FZ8DeJgoNZT3y/GT254VqMxxfuy2Ccb/RInd16tEvVk=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS ca-central-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS ca-central-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-10T20:52:25Z/2024-08-22T17:08:50Z
- * F = A1:03:46:F2:BB:29:BF:4F:EC:04:7E:82:9A:A6:C0:11:4D:AB:82:25
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIECjCCAvKgAwIBAgICEzUwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTAyMDUy\n'
- + 'MjVaFw0yNDA4MjIxNzA4NTBaMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEoMCYGA1UEAwwfQW1h\n'
- + 'em9uIFJEUyBjYS1jZW50cmFsLTEgMjAxOSBDQTCCASIwDQYJKoZIhvcNAQEBBQAD\n'
- + 'ggEPADCCAQoCggEBAOxHqdcPSA2uBjsCP4DLSlqSoPuQ/X1kkJLusVRKiQE2zayB\n'
- + 'viuCBt4VB9Qsh2rW3iYGM+usDjltGnI1iUWA5KHcvHszSMkWAOYWLiMNKTlg6LCp\n'
- + 'XnE89tvj5dIH6U8WlDvXLdjB/h30gW9JEX7S8supsBSci2GxEzb5mRdKaDuuF/0O\n'
- + 'qvz4YE04pua3iZ9QwmMFuTAOYzD1M72aOpj+7Ac+YLMM61qOtU+AU6MndnQkKoQi\n'
- + 'qmUN2A9IFaqHFzRlSdXwKCKUA4otzmz+/N3vFwjb5F4DSsbsrMfjeHMo6o/nb6Nh\n'
- + 'YDb0VJxxPee6TxSuN7CQJ2FxMlFUezcoXqwqXD0CAwEAAaNmMGQwDgYDVR0PAQH/\n'
- + 'BAQDAgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDGGpon9WfIpsggE\n'
- + 'CxHq8hZ7E2ESMB8GA1UdIwQYMBaAFHNfYNi8ywOY9CsXNC42WqZg/7wfMA0GCSqG\n'
- + 'SIb3DQEBCwUAA4IBAQAvpeQYEGZvoTVLgV9rd2+StPYykMsmFjWQcyn3dBTZRXC2\n'
- + 'lKq7QhQczMAOhEaaN29ZprjQzsA2X/UauKzLR2Uyqc2qOeO9/YOl0H3qauo8C/W9\n'
- + 'r8xqPbOCDLEXlOQ19fidXyyEPHEq5WFp8j+fTh+s8WOx2M7IuC0ANEetIZURYhSp\n'
- + 'xl9XOPRCJxOhj7JdelhpweX0BJDNHeUFi0ClnFOws8oKQ7sQEv66d5ddxqqZ3NVv\n'
- + 'RbCvCtEutQMOUMIuaygDlMn1anSM8N7Wndx8G6+Uy67AnhjGx7jw/0YPPxopEj6x\n'
- + 'JXP8j0sJbcT9K/9/fPVLNT25RvQ/93T2+IQL4Ca2\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-central-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS eu-central-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-11T19:36:20Z/2024-08-22T17:08:50Z
- * F = 53:46:18:4A:42:65:A2:8C:5F:5B:0A:AD:E2:2C:80:E5:E6:8A:6D:2F
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIECjCCAvKgAwIBAgICV2YwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTExOTM2\n'
- + 'MjBaFw0yNDA4MjIxNzA4NTBaMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEoMCYGA1UEAwwfQW1h\n'
- + 'em9uIFJEUyBldS1jZW50cmFsLTEgMjAxOSBDQTCCASIwDQYJKoZIhvcNAQEBBQAD\n'
- + 'ggEPADCCAQoCggEBAMEx54X2pHVv86APA0RWqxxRNmdkhAyp2R1cFWumKQRofoFv\n'
- + 'n+SPXdkpIINpMuEIGJANozdiEz7SPsrAf8WHyD93j/ZxrdQftRcIGH41xasetKGl\n'
- + 'I67uans8d+pgJgBKGb/Z+B5m+UsIuEVekpvgpwKtmmaLFC/NCGuSsJoFsRqoa6Gh\n'
- + 'm34W6yJoY87UatddCqLY4IIXaBFsgK9Q/wYzYLbnWM6ZZvhJ52VMtdhcdzeTHNW0\n'
- + '5LGuXJOF7Ahb4JkEhoo6TS2c0NxB4l4MBfBPgti+O7WjR3FfZHpt18A6Zkq6A2u6\n'
- + 'D/oTSL6c9/3sAaFTFgMyL3wHb2YlW0BPiljZIqECAwEAAaNmMGQwDgYDVR0PAQH/\n'
- + 'BAQDAgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFOcAToAc6skWffJa\n'
- + 'TnreaswAfrbcMB8GA1UdIwQYMBaAFHNfYNi8ywOY9CsXNC42WqZg/7wfMA0GCSqG\n'
- + 'SIb3DQEBCwUAA4IBAQA1d0Whc1QtspK496mFWfFEQNegLh0a9GWYlJm+Htcj5Nxt\n'
- + 'DAIGXb+8xrtOZFHmYP7VLCT5Zd2C+XytqseK/+s07iAr0/EPF+O2qcyQWMN5KhgE\n'
- + 'cXw2SwuP9FPV3i+YAm11PBVeenrmzuk9NrdHQ7TxU4v7VGhcsd2C++0EisrmquWH\n'
- + 'mgIfmVDGxphwoES52cY6t3fbnXmTkvENvR+h3rj+fUiSz0aSo+XZUGHPgvuEKM/W\n'
- + 'CBD9Smc9CBoBgvy7BgHRgRUmwtABZHFUIEjHI5rIr7ZvYn+6A0O6sogRfvVYtWFc\n'
- + 'qpyrW1YX8mD0VlJ8fGKM3G+aCOsiiPKDV/Uafrm+\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-north-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS eu-north-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-12T18:19:44Z/2024-08-22T17:08:50Z
- * F = D0:CA:9C:6E:47:4C:4F:DB:85:28:03:4A:60:AC:14:E0:E6:DF:D4:42
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIECDCCAvCgAwIBAgICGAcwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTIxODE5\n'
- + 'NDRaFw0yNDA4MjIxNzA4NTBaMIGVMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzEmMCQGA1UEAwwdQW1h\n'
- + 'em9uIFJEUyBldS1ub3J0aC0xIDIwMTkgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IB\n'
- + 'DwAwggEKAoIBAQCiIYnhe4UNBbdBb/nQxl5giM0XoVHWNrYV5nB0YukA98+TPn9v\n'
- + 'Aoj1RGYmtryjhrf01Kuv8SWO+Eom95L3zquoTFcE2gmxCfk7bp6qJJ3eHOJB+QUO\n'
- + 'XsNRh76fwDzEF1yTeZWH49oeL2xO13EAx4PbZuZpZBttBM5zAxgZkqu4uWQczFEs\n'
- + 'JXfla7z2fvWmGcTagX10O5C18XaFroV0ubvSyIi75ue9ykg/nlFAeB7O0Wxae88e\n'
- + 'uhiBEFAuLYdqWnsg3459NfV8Yi1GnaitTym6VI3tHKIFiUvkSiy0DAlAGV2iiyJE\n'
- + 'q+DsVEO4/hSINJEtII4TMtysOsYPpINqeEzRAgMBAAGjZjBkMA4GA1UdDwEB/wQE\n'
- + 'AwIBBjASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBRR0UpnbQyjnHChgmOc\n'
- + 'hnlc0PogzTAfBgNVHSMEGDAWgBRzX2DYvMsDmPQrFzQuNlqmYP+8HzANBgkqhkiG\n'
- + '9w0BAQsFAAOCAQEAKJD4xVzSf4zSGTBJrmamo86jl1NHQxXUApAZuBZEc8tqC6TI\n'
- + 'T5CeoSr9CMuVC8grYyBjXblC4OsM5NMvmsrXl/u5C9dEwtBFjo8mm53rOOIm1fxl\n'
- + 'I1oYB/9mtO9ANWjkykuLzWeBlqDT/i7ckaKwalhLODsRDO73vRhYNjsIUGloNsKe\n'
- + 'pxw3dzHwAZx4upSdEVG4RGCZ1D0LJ4Gw40OfD69hfkDfRVVxKGrbEzqxXRvovmDc\n'
- + 'tKLdYZO/6REoca36v4BlgIs1CbUXJGLSXUwtg7YXGLSVBJ/U0+22iGJmBSNcoyUN\n'
- + 'cjPFD9JQEhDDIYYKSGzIYpvslvGc4T5ISXFiuQ==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-west-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS eu-west-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-11T17:31:48Z/2024-08-22T17:08:50Z
- * F = 2D:1A:A6:3E:0D:EB:D6:26:03:3E:A1:8A:0A:DF:14:80:78:EC:B6:63
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEBzCCAu+gAwIBAgICYpgwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTExNzMx\n'
- + 'NDhaFw0yNDA4MjIxNzA4NTBaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1h\n'
- + 'em9uIFJEUyBldS13ZXN0LTEgMjAxOSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP\n'
- + 'ADCCAQoCggEBAMk3YdSZ64iAYp6MyyKtYJtNzv7zFSnnNf6vv0FB4VnfITTMmOyZ\n'
- + 'LXqKAT2ahZ00hXi34ewqJElgU6eUZT/QlzdIu359TEZyLVPwURflL6SWgdG01Q5X\n'
- + 'O++7fSGcBRyIeuQWs9FJNIIqK8daF6qw0Rl5TXfu7P9dBc3zkgDXZm2DHmxGDD69\n'
- + '7liQUiXzoE1q2Z9cA8+jirDioJxN9av8hQt12pskLQumhlArsMIhjhHRgF03HOh5\n'
- + 'tvi+RCfihVOxELyIRTRpTNiIwAqfZxxTWFTgfn+gijTmd0/1DseAe82aYic8JbuS\n'
- + 'EMbrDduAWsqrnJ4GPzxHKLXX0JasCUcWyMECAwEAAaNmMGQwDgYDVR0PAQH/BAQD\n'
- + 'AgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFPLtsq1NrwJXO13C9eHt\n'
- + 'sLY11AGwMB8GA1UdIwQYMBaAFHNfYNi8ywOY9CsXNC42WqZg/7wfMA0GCSqGSIb3\n'
- + 'DQEBCwUAA4IBAQAnWBKj5xV1A1mYd0kIgDdkjCwQkiKF5bjIbGkT3YEFFbXoJlSP\n'
- + '0lZZ/hDaOHI8wbLT44SzOvPEEmWF9EE7SJzkvSdQrUAWR9FwDLaU427ALI3ngNHy\n'
- + 'lGJ2hse1fvSRNbmg8Sc9GBv8oqNIBPVuw+AJzHTacZ1OkyLZrz1c1QvwvwN2a+Jd\n'
- + 'vH0V0YIhv66llKcYDMUQJAQi4+8nbRxXWv6Gq3pvrFoorzsnkr42V3JpbhnYiK+9\n'
- + 'nRKd4uWl62KRZjGkfMbmsqZpj2fdSWMY1UGyN1k+kDmCSWYdrTRDP0xjtIocwg+A\n'
- + 'J116n4hV/5mbA0BaPiS2krtv17YAeHABZcvz\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-west-2 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS eu-west-2 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-12T21:32:32Z/2024-08-22T17:08:50Z
- * F = 60:65:44:F4:74:6E:2E:29:50:19:38:7C:4B:BE:18:B9:5B:D4:CD:23
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEBzCCAu+gAwIBAgICZIEwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTIyMTMy\n'
- + 'MzJaFw0yNDA4MjIxNzA4NTBaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1h\n'
- + 'em9uIFJEUyBldS13ZXN0LTIgMjAxOSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP\n'
- + 'ADCCAQoCggEBALGiwqjiF7xIjT0Sx7zB3764K2T2a1DHnAxEOr+/EIftWKxWzT3u\n'
- + 'PFwS2eEZcnKqSdRQ+vRzonLBeNLO4z8aLjQnNbkizZMBuXGm4BqRm1Kgq3nlLDQn\n'
- + '7YqdijOq54SpShvR/8zsO4sgMDMmHIYAJJOJqBdaus2smRt0NobIKc0liy7759KB\n'
- + '6kmQ47Gg+kfIwxrQA5zlvPLeQImxSoPi9LdbRoKvu7Iot7SOa+jGhVBh3VdqndJX\n'
- + '7tm/saj4NE375csmMETFLAOXjat7zViMRwVorX4V6AzEg1vkzxXpA9N7qywWIT5Y\n'
- + 'fYaq5M8i6vvLg0CzrH9fHORtnkdjdu1y+0MCAwEAAaNmMGQwDgYDVR0PAQH/BAQD\n'
- + 'AgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFFOhOx1yt3Z7mvGB9jBv\n'
- + '2ymdZwiOMB8GA1UdIwQYMBaAFHNfYNi8ywOY9CsXNC42WqZg/7wfMA0GCSqGSIb3\n'
- + 'DQEBCwUAA4IBAQBehqY36UGDvPVU9+vtaYGr38dBbp+LzkjZzHwKT1XJSSUc2wqM\n'
- + 'hnCIQKilonrTIvP1vmkQi8qHPvDRtBZKqvz/AErW/ZwQdZzqYNFd+BmOXaeZWV0Q\n'
- + 'oHtDzXmcwtP8aUQpxN0e1xkWb1E80qoy+0uuRqb/50b/R4Q5qqSfJhkn6z8nwB10\n'
- + '7RjLtJPrK8igxdpr3tGUzfAOyiPrIDncY7UJaL84GFp7WWAkH0WG3H8Y8DRcRXOU\n'
- + 'mqDxDLUP3rNuow3jnGxiUY+gGX5OqaZg4f4P6QzOSmeQYs6nLpH0PiN00+oS1BbD\n'
- + 'bpWdZEttILPI+vAYkU4QuBKKDjJL6HbSd+cn\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS eu-west-3 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS eu-west-3 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-18T17:03:15Z/2024-08-22T17:08:50Z
- * F = 6F:79:56:B0:74:9C:C6:3E:3B:50:26:C8:51:55:08:F0:BB:7E:32:04
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEBzCCAu+gAwIBAgICJDQwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTgxNzAz\n'
- + 'MTVaFw0yNDA4MjIxNzA4NTBaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1h\n'
- + 'em9uIFJEUyBldS13ZXN0LTMgMjAxOSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP\n'
- + 'ADCCAQoCggEBAL9bL7KE0n02DLVtlZ2PL+g/BuHpMYFq2JnE2RgompGurDIZdjmh\n'
- + '1pxfL3nT+QIVMubuAOy8InRfkRxfpxyjKYdfLJTPJG+jDVL+wDcPpACFVqoV7Prg\n'
- + 'pVYEV0lc5aoYw4bSeYFhdzgim6F8iyjoPnObjll9mo4XsHzSoqJLCd0QC+VG9Fw2\n'
- + 'q+GDRZrLRmVM2oNGDRbGpGIFg77aRxRapFZa8SnUgs2AqzuzKiprVH5i0S0M6dWr\n'
- + 'i+kk5epmTtkiDHceX+dP/0R1NcnkCPoQ9TglyXyPdUdTPPRfKCq12dftqll+u4mV\n'
- + 'ARdN6WFjovxax8EAP2OAUTi1afY+1JFMj+sCAwEAAaNmMGQwDgYDVR0PAQH/BAQD\n'
- + 'AgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFLfhrbrO5exkCVgxW0x3\n'
- + 'Y2mAi8lNMB8GA1UdIwQYMBaAFHNfYNi8ywOY9CsXNC42WqZg/7wfMA0GCSqGSIb3\n'
- + 'DQEBCwUAA4IBAQAigQ5VBNGyw+OZFXwxeJEAUYaXVoP/qrhTOJ6mCE2DXUVEoJeV\n'
- + 'SxScy/TlFA9tJXqmit8JH8VQ/xDL4ubBfeMFAIAo4WzNWDVoeVMqphVEcDWBHsI1\n'
- + 'AETWzfsapRS9yQekOMmxg63d/nV8xewIl8aNVTHdHYXMqhhik47VrmaVEok1UQb3\n'
- + 'O971RadLXIEbVd9tjY5bMEHm89JsZDnDEw1hQXBb67Elu64OOxoKaHBgUH8AZn/2\n'
- + 'zFsL1ynNUjOhCSAA15pgd1vjwc0YsBbAEBPcHBWYBEyME6NLNarjOzBl4FMtATSF\n'
- + 'wWCKRGkvqN8oxYhwR2jf2rR5Mu4DWkK5Q8Ep\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS me-south-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS me-south-1 Root CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-05-10T21:48:27Z/2024-05-08T21:48:27Z
- * F = 8A:69:D7:00:FB:5D:62:9C:B0:D1:75:6F:B7:B6:38:AA:76:C4:BD:1F
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEEjCCAvqgAwIBAgIJANew34ehz5l8MA0GCSqGSIb3DQEBCwUAMIGVMQswCQYD\n'
- + 'VQQGEwJVUzEQMA4GA1UEBwwHU2VhdHRsZTETMBEGA1UECAwKV2FzaGluZ3RvbjEi\n'
- + 'MCAGA1UECgwZQW1hem9uIFdlYiBTZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1h\n'
- + 'em9uIFJEUzEmMCQGA1UEAwwdQW1hem9uIFJEUyBtZS1zb3V0aC0xIFJvb3QgQ0Ew\n'
- + 'HhcNMTkwNTEwMjE0ODI3WhcNMjQwNTA4MjE0ODI3WjCBlTELMAkGA1UEBhMCVVMx\n'
- + 'EDAOBgNVBAcMB1NlYXR0bGUxEzARBgNVBAgMCldhc2hpbmd0b24xIjAgBgNVBAoM\n'
- + 'GUFtYXpvbiBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMx\n'
- + 'JjAkBgNVBAMMHUFtYXpvbiBSRFMgbWUtc291dGgtMSBSb290IENBMIIBIjANBgkq\n'
- + 'hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp7BYV88MukcY+rq0r79+C8UzkT30fEfT\n'
- + 'aPXbx1d6M7uheGN4FMaoYmL+JE1NZPaMRIPTHhFtLSdPccInvenRDIatcXX+jgOk\n'
- + 'UA6lnHQ98pwN0pfDUyz/Vph4jBR9LcVkBbe0zdoKKp+HGbMPRU0N2yNrog9gM5O8\n'
- + 'gkU/3O2csJ/OFQNnj4c2NQloGMUpEmedwJMOyQQfcUyt9CvZDfIPNnheUS29jGSw\n'
- + 'ERpJe/AENu8Pxyc72jaXQuD+FEi2Ck6lBkSlWYQFhTottAeGvVFNCzKszCntrtqd\n'
- + 'rdYUwurYsLTXDHv9nW2hfDUQa0mhXf9gNDOBIVAZugR9NqNRNyYLHQIDAQABo2Mw\n'
- + 'YTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU54cf\n'
- + 'DjgwBx4ycBH8+/r8WXdaiqYwHwYDVR0jBBgwFoAU54cfDjgwBx4ycBH8+/r8WXda\n'
- + 'iqYwDQYJKoZIhvcNAQELBQADggEBAIIMTSPx/dR7jlcxggr+O6OyY49Rlap2laKA\n'
- + 'eC/XI4ySP3vQkIFlP822U9Kh8a9s46eR0uiwV4AGLabcu0iKYfXjPkIprVCqeXV7\n'
- + 'ny9oDtrbflyj7NcGdZLvuzSwgl9SYTJp7PVCZtZutsPYlbJrBPHwFABvAkMvRtDB\n'
- + 'hitIg4AESDGPoCl94sYHpfDfjpUDMSrAMDUyO6DyBdZH5ryRMAs3lGtsmkkNUrso\n'
- + 'aTW6R05681Z0mvkRdb+cdXtKOSuDZPoe2wJJIaz3IlNQNSrB5TImMYgmt6iAsFhv\n'
- + '3vfTSTKrZDNTJn4ybG6pq1zWExoXsktZPylJly6R3RBwV6nwqBM=\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS sa-east-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS sa-east-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-05T18:46:29Z/2024-08-22T17:08:50Z
- * F = 8C:34:0F:AA:FB:10:80:9C:05:CE:D7:BF:0B:12:4D:07:42:39:74:7A
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEBzCCAu+gAwIBAgICQ2QwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MDUxODQ2\n'
- + 'MjlaFw0yNDA4MjIxNzA4NTBaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1h\n'
- + 'em9uIFJEUyBzYS1lYXN0LTEgMjAxOSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP\n'
- + 'ADCCAQoCggEBAMMvR+ReRnOzqJzoaPipNTt1Z2VA968jlN1+SYKUrYM3No+Vpz0H\n'
- + 'M6Tn0oYB66ByVsXiGc28ulsqX1HbHsxqDPwvQTKvO7SrmDokoAkjJgLocOLUAeld\n'
- + '5AwvUjxGRP6yY90NV7X786MpnYb2Il9DIIaV9HjCmPt+rjy2CZjS0UjPjCKNfB8J\n'
- + 'bFjgW6GGscjeyGb/zFwcom5p4j0rLydbNaOr9wOyQrtt3ZQWLYGY9Zees/b8pmcc\n'
- + 'Jt+7jstZ2UMV32OO/kIsJ4rMUn2r/uxccPwAc1IDeRSSxOrnFKhW3Cu69iB3bHp7\n'
- + 'JbawY12g7zshE4I14sHjv3QoXASoXjx4xgMCAwEAAaNmMGQwDgYDVR0PAQH/BAQD\n'
- + 'AgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFI1Fc/Ql2jx+oJPgBVYq\n'
- + 'ccgP0pQ8MB8GA1UdIwQYMBaAFHNfYNi8ywOY9CsXNC42WqZg/7wfMA0GCSqGSIb3\n'
- + 'DQEBCwUAA4IBAQB4VVVabVp70myuYuZ3vltQIWqSUMhkaTzehMgGcHjMf9iLoZ/I\n'
- + '93KiFUSGnek5cRePyS9wcpp0fcBT3FvkjpUdCjVtdttJgZFhBxgTd8y26ImdDDMR\n'
- + '4+BUuhI5msvjL08f+Vkkpu1GQcGmyFVPFOy/UY8iefu+QyUuiBUnUuEDd49Hw0Fn\n'
- + '/kIPII6Vj82a2mWV/Q8e+rgN8dIRksRjKI03DEoP8lhPlsOkhdwU6Uz9Vu6NOB2Q\n'
- + 'Ls1kbcxAc7cFSyRVJEhh12Sz9d0q/CQSTFsVJKOjSNQBQfVnLz1GwO/IieUEAr4C\n'
- + 'jkTntH0r1LX5b/GwN4R887LvjAEdTbg1his7\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-east-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS us-east-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-19T18:16:53Z/2024-08-22T17:08:50Z
- * F = F0:ED:82:3E:D1:44:47:BA:B5:57:FD:F3:E4:92:74:66:98:8C:1C:78
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEBzCCAu+gAwIBAgICJVUwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTkxODE2\n'
- + 'NTNaFw0yNDA4MjIxNzA4NTBaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1h\n'
- + 'em9uIFJEUyB1cy1lYXN0LTEgMjAxOSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP\n'
- + 'ADCCAQoCggEBAM3i/k2u6cqbMdcISGRvh+m+L0yaSIoOXjtpNEoIftAipTUYoMhL\n'
- + 'InXGlQBVA4shkekxp1N7HXe1Y/iMaPEyb3n+16pf3vdjKl7kaSkIhjdUz3oVUEYt\n'
- + 'i8Z/XeJJ9H2aEGuiZh3kHixQcZczn8cg3dA9aeeyLSEnTkl/npzLf//669Ammyhs\n'
- + 'XcAo58yvT0D4E0D/EEHf2N7HRX7j/TlyWvw/39SW0usiCrHPKDLxByLojxLdHzso\n'
- + 'QIp/S04m+eWn6rmD+uUiRteN1hI5ncQiA3wo4G37mHnUEKo6TtTUh+sd/ku6a8HK\n'
- + 'glMBcgqudDI90s1OpuIAWmuWpY//8xEG2YECAwEAAaNmMGQwDgYDVR0PAQH/BAQD\n'
- + 'AgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFPqhoWZcrVY9mU7tuemR\n'
- + 'RBnQIj1jMB8GA1UdIwQYMBaAFHNfYNi8ywOY9CsXNC42WqZg/7wfMA0GCSqGSIb3\n'
- + 'DQEBCwUAA4IBAQB6zOLZ+YINEs72heHIWlPZ8c6WY8MDU+Be5w1M+BK2kpcVhCUK\n'
- + 'PJO4nMXpgamEX8DIiaO7emsunwJzMSvavSPRnxXXTKIc0i/g1EbiDjnYX9d85DkC\n'
- + 'E1LaAUCmCZBVi9fIe0H2r9whIh4uLWZA41oMnJx/MOmo3XyMfQoWcqaSFlMqfZM4\n'
- + '0rNoB/tdHLNuV4eIdaw2mlHxdWDtF4oH+HFm+2cVBUVC1jXKrFv/euRVtsTT+A6i\n'
- + 'h2XBHKxQ1Y4HgAn0jACP2QSPEmuoQEIa57bEKEcZsBR8SDY6ZdTd2HLRIApcCOSF\n'
- + 'MRM8CKLeF658I0XgF8D5EsYoKPsA+74Z+jDH\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-east-2 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS us-east-2 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-13T17:06:41Z/2024-08-22T17:08:50Z
- * F = E9:FE:27:2A:A0:0F:CE:DF:AD:51:03:A6:94:F7:1F:6F:BD:1E:28:D3
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIECDCCAvCgAwIBAgIDAIVCMA0GCSqGSIb3DQEBCwUAMIGPMQswCQYDVQQGEwJV\n'
- + 'UzEQMA4GA1UEBwwHU2VhdHRsZTETMBEGA1UECAwKV2FzaGluZ3RvbjEiMCAGA1UE\n'
- + 'CgwZQW1hem9uIFdlYiBTZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJE\n'
- + 'UzEgMB4GA1UEAwwXQW1hem9uIFJEUyBSb290IDIwMTkgQ0EwHhcNMTkwOTEzMTcw\n'
- + 'NjQxWhcNMjQwODIyMTcwODUwWjCBlDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldh\n'
- + 'c2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoMGUFtYXpvbiBXZWIg\n'
- + 'U2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMxJTAjBgNVBAMMHEFt\n'
- + 'YXpvbiBSRFMgdXMtZWFzdC0yIDIwMTkgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IB\n'
- + 'DwAwggEKAoIBAQDE+T2xYjUbxOp+pv+gRA3FO24+1zCWgXTDF1DHrh1lsPg5k7ht\n'
- + '2KPYzNc+Vg4E+jgPiW0BQnA6jStX5EqVh8BU60zELlxMNvpg4KumniMCZ3krtMUC\n'
- + 'au1NF9rM7HBh+O+DYMBLK5eSIVt6lZosOb7bCi3V6wMLA8YqWSWqabkxwN4w0vXI\n'
- + '8lu5uXXFRemHnlNf+yA/4YtN4uaAyd0ami9+klwdkZfkrDOaiy59haOeBGL8EB/c\n'
- + 'dbJJlguHH5CpCscs3RKtOOjEonXnKXldxarFdkMzi+aIIjQ8GyUOSAXHtQHb3gZ4\n'
- + 'nS6Ey0CMlwkB8vUObZU9fnjKJcL5QCQqOfwvAgMBAAGjZjBkMA4GA1UdDwEB/wQE\n'
- + 'AwIBBjASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBQUPuRHohPxx4VjykmH\n'
- + '6usGrLL1ETAfBgNVHSMEGDAWgBRzX2DYvMsDmPQrFzQuNlqmYP+8HzANBgkqhkiG\n'
- + '9w0BAQsFAAOCAQEAUdR9Vb3y33Yj6X6KGtuthZ08SwjImVQPtknzpajNE5jOJAh8\n'
- + 'quvQnU9nlnMO85fVDU1Dz3lLHGJ/YG1pt1Cqq2QQ200JcWCvBRgdvH6MjHoDQpqZ\n'
- + 'HvQ3vLgOGqCLNQKFuet9BdpsHzsctKvCVaeBqbGpeCtt3Hh/26tgx0rorPLw90A2\n'
- + 'V8QSkZJjlcKkLa58N5CMM8Xz8KLWg3MZeT4DmlUXVCukqK2RGuP2L+aME8dOxqNv\n'
- + 'OnOz1zrL5mR2iJoDpk8+VE/eBDmJX40IJk6jBjWoxAO/RXq+vBozuF5YHN1ujE92\n'
- + 'tO8HItgTp37XT8bJBAiAnt5mxw+NLSqtxk2QdQ==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-west-1 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS us-west-1 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-06T17:40:21Z/2024-08-22T17:08:50Z
- * F = 1C:9F:DF:84:E6:13:32:F3:91:12:2D:0D:A5:9A:16:5D:AC:DC:E8:93
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIECDCCAvCgAwIBAgIDAIkHMA0GCSqGSIb3DQEBCwUAMIGPMQswCQYDVQQGEwJV\n'
- + 'UzEQMA4GA1UEBwwHU2VhdHRsZTETMBEGA1UECAwKV2FzaGluZ3RvbjEiMCAGA1UE\n'
- + 'CgwZQW1hem9uIFdlYiBTZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJE\n'
- + 'UzEgMB4GA1UEAwwXQW1hem9uIFJEUyBSb290IDIwMTkgQ0EwHhcNMTkwOTA2MTc0\n'
- + 'MDIxWhcNMjQwODIyMTcwODUwWjCBlDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldh\n'
- + 'c2hpbmd0b24xEDAOBgNVBAcMB1NlYXR0bGUxIjAgBgNVBAoMGUFtYXpvbiBXZWIg\n'
- + 'U2VydmljZXMsIEluYy4xEzARBgNVBAsMCkFtYXpvbiBSRFMxJTAjBgNVBAMMHEFt\n'
- + 'YXpvbiBSRFMgdXMtd2VzdC0xIDIwMTkgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IB\n'
- + 'DwAwggEKAoIBAQDD2yzbbAl77OofTghDMEf624OvU0eS9O+lsdO0QlbfUfWa1Kd6\n'
- + '0WkgjkLZGfSRxEHMCnrv4UPBSK/Qwn6FTjkDLgemhqBtAnplN4VsoDL+BkRX4Wwq\n'
- + '/dSQJE2b+0hm9w9UMVGFDEq1TMotGGTD2B71eh9HEKzKhGzqiNeGsiX4VV+LJzdH\n'
- + 'uM23eGisNqmd4iJV0zcAZ+Gbh2zK6fqTOCvXtm7Idccv8vZZnyk1FiWl3NR4WAgK\n'
- + 'AkvWTIoFU3Mt7dIXKKClVmvssG8WHCkd3Xcb4FHy/G756UZcq67gMMTX/9fOFM/v\n'
- + 'l5C0+CHl33Yig1vIDZd+fXV1KZD84dEJfEvHAgMBAAGjZjBkMA4GA1UdDwEB/wQE\n'
- + 'AwIBBjASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBR+ap20kO/6A7pPxo3+\n'
- + 'T3CfqZpQWjAfBgNVHSMEGDAWgBRzX2DYvMsDmPQrFzQuNlqmYP+8HzANBgkqhkiG\n'
- + '9w0BAQsFAAOCAQEAHCJky2tPjPttlDM/RIqExupBkNrnSYnOK4kr9xJ3sl8UF2DA\n'
- + 'PAnYsjXp3rfcjN/k/FVOhxwzi3cXJF/2Tjj39Bm/OEfYTOJDNYtBwB0VVH4ffa/6\n'
- + 'tZl87jaIkrxJcreeeHqYMnIxeN0b/kliyA+a5L2Yb0VPjt9INq34QDc1v74FNZ17\n'
- + '4z8nr1nzg4xsOWu0Dbjo966lm4nOYIGBRGOKEkHZRZ4mEiMgr3YLkv8gSmeitx57\n'
- + 'Z6dVemNtUic/LVo5Iqw4n3TBS0iF2C1Q1xT/s3h+0SXZlfOWttzSluDvoMv5PvCd\n'
- + 'pFjNn+aXLAALoihL1MJSsxydtsLjOBro5eK0Vw==\n'
- + '-----END CERTIFICATE-----\n',
-
- /**
- * Amazon RDS us-west-2 certificate CA 2019 to 2024
- *
- * CN = Amazon RDS us-west-2 2019 CA
- * OU = Amazon RDS
- * O = Amazon Web Services, Inc.
- * L = Seattle
- * ST = Washington
- * C = US
- * P = 2019-09-16T18:21:15Z/2024-08-22T17:08:50Z
- * F = C8:DE:1D:13:AD:35:9B:3D:EA:18:2A:DC:B4:79:6D:22:47:75:3C:4A
- */
- '-----BEGIN CERTIFICATE-----\n'
- + 'MIIEBzCCAu+gAwIBAgICUYkwDQYJKoZIhvcNAQELBQAwgY8xCzAJBgNVBAYTAlVT\n'
- + 'MRAwDgYDVQQHDAdTZWF0dGxlMRMwEQYDVQQIDApXYXNoaW5ndG9uMSIwIAYDVQQK\n'
- + 'DBlBbWF6b24gV2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQLDApBbWF6b24gUkRT\n'
- + 'MSAwHgYDVQQDDBdBbWF6b24gUkRTIFJvb3QgMjAxOSBDQTAeFw0xOTA5MTYxODIx\n'
- + 'MTVaFw0yNDA4MjIxNzA4NTBaMIGUMQswCQYDVQQGEwJVUzETMBEGA1UECAwKV2Fz\n'
- + 'aGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEiMCAGA1UECgwZQW1hem9uIFdlYiBT\n'
- + 'ZXJ2aWNlcywgSW5jLjETMBEGA1UECwwKQW1hem9uIFJEUzElMCMGA1UEAwwcQW1h\n'
- + 'em9uIFJEUyB1cy13ZXN0LTIgMjAxOSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEP\n'
- + 'ADCCAQoCggEBANCEZBZyu6yJQFZBJmSUZfSZd3Ui2gitczMKC4FLr0QzkbxY+cLa\n'
- + 'uVONIOrPt4Rwi+3h/UdnUg917xao3S53XDf1TDMFEYp4U8EFPXqCn/GXBIWlU86P\n'
- + 'PvBN+gzw3nS+aco7WXb+woTouvFVkk8FGU7J532llW8o/9ydQyDIMtdIkKTuMfho\n'
- + 'OiNHSaNc+QXQ32TgvM9A/6q7ksUoNXGCP8hDOkSZ/YOLiI5TcdLh/aWj00ziL5bj\n'
- + 'pvytiMZkilnc9dLY9QhRNr0vGqL0xjmWdoEXz9/OwjmCihHqJq+20MJPsvFm7D6a\n'
- + '2NKybR9U+ddrjb8/iyLOjURUZnj5O+2+OPcCAwEAAaNmMGQwDgYDVR0PAQH/BAQD\n'
- + 'AgEGMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFEBxMBdv81xuzqcK5TVu\n'
- + 'pHj+Aor8MB8GA1UdIwQYMBaAFHNfYNi8ywOY9CsXNC42WqZg/7wfMA0GCSqGSIb3\n'
- + 'DQEBCwUAA4IBAQBZkfiVqGoJjBI37aTlLOSjLcjI75L5wBrwO39q+B4cwcmpj58P\n'
- + '3sivv+jhYfAGEbQnGRzjuFoyPzWnZ1DesRExX+wrmHsLLQbF2kVjLZhEJMHF9eB7\n'
- + 'GZlTPdTzHErcnuXkwA/OqyXMpj9aghcQFuhCNguEfnROY9sAoK2PTfnTz9NJHL+Q\n'
- + 'UpDLEJEUfc0GZMVWYhahc0x38ZnSY2SKacIPECQrTI0KpqZv/P+ijCEcMD9xmYEb\n'
- + 'jL4en+XKS1uJpw5fIU5Sj0MxhdGstH6S84iAE5J3GM3XHklGSFwwqPYvuTXvANH6\n'
- + 'uboynxRgSae59jIlAK6Jrr6GWMwQRbgcaAlW\n'
- + '-----END CERTIFICATE-----\n'
- ]
-};
diff --git a/Server/node_modules/mysql/lib/protocol/constants/types.js b/Server/node_modules/mysql/lib/protocol/constants/types.js
deleted file mode 100644
index a33cd50..0000000
--- a/Server/node_modules/mysql/lib/protocol/constants/types.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * MySQL type constants
- *
- * Extracted from version 5.7.29
- *
- * !! Generated by generate-type-constants.js, do not modify by hand !!
- */
-
-exports.DECIMAL = 0;
-exports.TINY = 1;
-exports.SHORT = 2;
-exports.LONG = 3;
-exports.FLOAT = 4;
-exports.DOUBLE = 5;
-exports.NULL = 6;
-exports.TIMESTAMP = 7;
-exports.LONGLONG = 8;
-exports.INT24 = 9;
-exports.DATE = 10;
-exports.TIME = 11;
-exports.DATETIME = 12;
-exports.YEAR = 13;
-exports.NEWDATE = 14;
-exports.VARCHAR = 15;
-exports.BIT = 16;
-exports.TIMESTAMP2 = 17;
-exports.DATETIME2 = 18;
-exports.TIME2 = 19;
-exports.JSON = 245;
-exports.NEWDECIMAL = 246;
-exports.ENUM = 247;
-exports.SET = 248;
-exports.TINY_BLOB = 249;
-exports.MEDIUM_BLOB = 250;
-exports.LONG_BLOB = 251;
-exports.BLOB = 252;
-exports.VAR_STRING = 253;
-exports.STRING = 254;
-exports.GEOMETRY = 255;
-
-// Lookup-by-number table
-exports[0] = 'DECIMAL';
-exports[1] = 'TINY';
-exports[2] = 'SHORT';
-exports[3] = 'LONG';
-exports[4] = 'FLOAT';
-exports[5] = 'DOUBLE';
-exports[6] = 'NULL';
-exports[7] = 'TIMESTAMP';
-exports[8] = 'LONGLONG';
-exports[9] = 'INT24';
-exports[10] = 'DATE';
-exports[11] = 'TIME';
-exports[12] = 'DATETIME';
-exports[13] = 'YEAR';
-exports[14] = 'NEWDATE';
-exports[15] = 'VARCHAR';
-exports[16] = 'BIT';
-exports[17] = 'TIMESTAMP2';
-exports[18] = 'DATETIME2';
-exports[19] = 'TIME2';
-exports[245] = 'JSON';
-exports[246] = 'NEWDECIMAL';
-exports[247] = 'ENUM';
-exports[248] = 'SET';
-exports[249] = 'TINY_BLOB';
-exports[250] = 'MEDIUM_BLOB';
-exports[251] = 'LONG_BLOB';
-exports[252] = 'BLOB';
-exports[253] = 'VAR_STRING';
-exports[254] = 'STRING';
-exports[255] = 'GEOMETRY';
diff --git a/Server/node_modules/mysql/lib/protocol/packets/AuthSwitchRequestPacket.js b/Server/node_modules/mysql/lib/protocol/packets/AuthSwitchRequestPacket.js
deleted file mode 100644
index c74e6ec..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/AuthSwitchRequestPacket.js
+++ /dev/null
@@ -1,20 +0,0 @@
-module.exports = AuthSwitchRequestPacket;
-function AuthSwitchRequestPacket(options) {
- options = options || {};
-
- this.status = 0xfe;
- this.authMethodName = options.authMethodName;
- this.authMethodData = options.authMethodData;
-}
-
-AuthSwitchRequestPacket.prototype.parse = function parse(parser) {
- this.status = parser.parseUnsignedNumber(1);
- this.authMethodName = parser.parseNullTerminatedString();
- this.authMethodData = parser.parsePacketTerminatedBuffer();
-};
-
-AuthSwitchRequestPacket.prototype.write = function write(writer) {
- writer.writeUnsignedNumber(1, this.status);
- writer.writeNullTerminatedString(this.authMethodName);
- writer.writeBuffer(this.authMethodData);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/AuthSwitchResponsePacket.js b/Server/node_modules/mysql/lib/protocol/packets/AuthSwitchResponsePacket.js
deleted file mode 100644
index 488abbd..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/AuthSwitchResponsePacket.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = AuthSwitchResponsePacket;
-function AuthSwitchResponsePacket(options) {
- options = options || {};
-
- this.data = options.data;
-}
-
-AuthSwitchResponsePacket.prototype.parse = function parse(parser) {
- this.data = parser.parsePacketTerminatedBuffer();
-};
-
-AuthSwitchResponsePacket.prototype.write = function write(writer) {
- writer.writeBuffer(this.data);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/ClientAuthenticationPacket.js b/Server/node_modules/mysql/lib/protocol/packets/ClientAuthenticationPacket.js
deleted file mode 100644
index 595db77..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/ClientAuthenticationPacket.js
+++ /dev/null
@@ -1,54 +0,0 @@
-var Buffer = require('safe-buffer').Buffer;
-
-module.exports = ClientAuthenticationPacket;
-function ClientAuthenticationPacket(options) {
- options = options || {};
-
- this.clientFlags = options.clientFlags;
- this.maxPacketSize = options.maxPacketSize;
- this.charsetNumber = options.charsetNumber;
- this.filler = undefined;
- this.user = options.user;
- this.scrambleBuff = options.scrambleBuff;
- this.database = options.database;
- this.protocol41 = options.protocol41;
-}
-
-ClientAuthenticationPacket.prototype.parse = function(parser) {
- if (this.protocol41) {
- this.clientFlags = parser.parseUnsignedNumber(4);
- this.maxPacketSize = parser.parseUnsignedNumber(4);
- this.charsetNumber = parser.parseUnsignedNumber(1);
- this.filler = parser.parseFiller(23);
- this.user = parser.parseNullTerminatedString();
- this.scrambleBuff = parser.parseLengthCodedBuffer();
- this.database = parser.parseNullTerminatedString();
- } else {
- this.clientFlags = parser.parseUnsignedNumber(2);
- this.maxPacketSize = parser.parseUnsignedNumber(3);
- this.user = parser.parseNullTerminatedString();
- this.scrambleBuff = parser.parseBuffer(8);
- this.database = parser.parseLengthCodedBuffer();
- }
-};
-
-ClientAuthenticationPacket.prototype.write = function(writer) {
- if (this.protocol41) {
- writer.writeUnsignedNumber(4, this.clientFlags);
- writer.writeUnsignedNumber(4, this.maxPacketSize);
- writer.writeUnsignedNumber(1, this.charsetNumber);
- writer.writeFiller(23);
- writer.writeNullTerminatedString(this.user);
- writer.writeLengthCodedBuffer(this.scrambleBuff);
- writer.writeNullTerminatedString(this.database);
- } else {
- writer.writeUnsignedNumber(2, this.clientFlags);
- writer.writeUnsignedNumber(3, this.maxPacketSize);
- writer.writeNullTerminatedString(this.user);
- writer.writeBuffer(this.scrambleBuff);
- if (this.database && this.database.length) {
- writer.writeFiller(1);
- writer.writeBuffer(Buffer.from(this.database));
- }
- }
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/ComChangeUserPacket.js b/Server/node_modules/mysql/lib/protocol/packets/ComChangeUserPacket.js
deleted file mode 100644
index 3278842..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/ComChangeUserPacket.js
+++ /dev/null
@@ -1,26 +0,0 @@
-module.exports = ComChangeUserPacket;
-function ComChangeUserPacket(options) {
- options = options || {};
-
- this.command = 0x11;
- this.user = options.user;
- this.scrambleBuff = options.scrambleBuff;
- this.database = options.database;
- this.charsetNumber = options.charsetNumber;
-}
-
-ComChangeUserPacket.prototype.parse = function(parser) {
- this.command = parser.parseUnsignedNumber(1);
- this.user = parser.parseNullTerminatedString();
- this.scrambleBuff = parser.parseLengthCodedBuffer();
- this.database = parser.parseNullTerminatedString();
- this.charsetNumber = parser.parseUnsignedNumber(1);
-};
-
-ComChangeUserPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, this.command);
- writer.writeNullTerminatedString(this.user);
- writer.writeLengthCodedBuffer(this.scrambleBuff);
- writer.writeNullTerminatedString(this.database);
- writer.writeUnsignedNumber(2, this.charsetNumber);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/ComPingPacket.js b/Server/node_modules/mysql/lib/protocol/packets/ComPingPacket.js
deleted file mode 100644
index dd332c9..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/ComPingPacket.js
+++ /dev/null
@@ -1,12 +0,0 @@
-module.exports = ComPingPacket;
-function ComPingPacket() {
- this.command = 0x0e;
-}
-
-ComPingPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, this.command);
-};
-
-ComPingPacket.prototype.parse = function(parser) {
- this.command = parser.parseUnsignedNumber(1);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/ComQueryPacket.js b/Server/node_modules/mysql/lib/protocol/packets/ComQueryPacket.js
deleted file mode 100644
index 7ac191f..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/ComQueryPacket.js
+++ /dev/null
@@ -1,15 +0,0 @@
-module.exports = ComQueryPacket;
-function ComQueryPacket(sql) {
- this.command = 0x03;
- this.sql = sql;
-}
-
-ComQueryPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, this.command);
- writer.writeString(this.sql);
-};
-
-ComQueryPacket.prototype.parse = function(parser) {
- this.command = parser.parseUnsignedNumber(1);
- this.sql = parser.parsePacketTerminatedString();
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/ComQuitPacket.js b/Server/node_modules/mysql/lib/protocol/packets/ComQuitPacket.js
deleted file mode 100644
index 1104061..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/ComQuitPacket.js
+++ /dev/null
@@ -1,12 +0,0 @@
-module.exports = ComQuitPacket;
-function ComQuitPacket() {
- this.command = 0x01;
-}
-
-ComQuitPacket.prototype.parse = function parse(parser) {
- this.command = parser.parseUnsignedNumber(1);
-};
-
-ComQuitPacket.prototype.write = function write(writer) {
- writer.writeUnsignedNumber(1, this.command);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/ComStatisticsPacket.js b/Server/node_modules/mysql/lib/protocol/packets/ComStatisticsPacket.js
deleted file mode 100644
index 5e3913e..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/ComStatisticsPacket.js
+++ /dev/null
@@ -1,12 +0,0 @@
-module.exports = ComStatisticsPacket;
-function ComStatisticsPacket() {
- this.command = 0x09;
-}
-
-ComStatisticsPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, this.command);
-};
-
-ComStatisticsPacket.prototype.parse = function(parser) {
- this.command = parser.parseUnsignedNumber(1);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/EmptyPacket.js b/Server/node_modules/mysql/lib/protocol/packets/EmptyPacket.js
deleted file mode 100644
index 27dd686..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/EmptyPacket.js
+++ /dev/null
@@ -1,9 +0,0 @@
-module.exports = EmptyPacket;
-function EmptyPacket() {
-}
-
-EmptyPacket.prototype.parse = function parse() {
-};
-
-EmptyPacket.prototype.write = function write() {
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/EofPacket.js b/Server/node_modules/mysql/lib/protocol/packets/EofPacket.js
deleted file mode 100644
index b80ca5e..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/EofPacket.js
+++ /dev/null
@@ -1,25 +0,0 @@
-module.exports = EofPacket;
-function EofPacket(options) {
- options = options || {};
-
- this.fieldCount = undefined;
- this.warningCount = options.warningCount;
- this.serverStatus = options.serverStatus;
- this.protocol41 = options.protocol41;
-}
-
-EofPacket.prototype.parse = function(parser) {
- this.fieldCount = parser.parseUnsignedNumber(1);
- if (this.protocol41) {
- this.warningCount = parser.parseUnsignedNumber(2);
- this.serverStatus = parser.parseUnsignedNumber(2);
- }
-};
-
-EofPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, 0xfe);
- if (this.protocol41) {
- writer.writeUnsignedNumber(2, this.warningCount);
- writer.writeUnsignedNumber(2, this.serverStatus);
- }
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/ErrorPacket.js b/Server/node_modules/mysql/lib/protocol/packets/ErrorPacket.js
deleted file mode 100644
index e03de00..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/ErrorPacket.js
+++ /dev/null
@@ -1,35 +0,0 @@
-module.exports = ErrorPacket;
-function ErrorPacket(options) {
- options = options || {};
-
- this.fieldCount = options.fieldCount;
- this.errno = options.errno;
- this.sqlStateMarker = options.sqlStateMarker;
- this.sqlState = options.sqlState;
- this.message = options.message;
-}
-
-ErrorPacket.prototype.parse = function(parser) {
- this.fieldCount = parser.parseUnsignedNumber(1);
- this.errno = parser.parseUnsignedNumber(2);
-
- // sqlStateMarker ('#' = 0x23) indicates error packet format
- if (parser.peak() === 0x23) {
- this.sqlStateMarker = parser.parseString(1);
- this.sqlState = parser.parseString(5);
- }
-
- this.message = parser.parsePacketTerminatedString();
-};
-
-ErrorPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, 0xff);
- writer.writeUnsignedNumber(2, this.errno);
-
- if (this.sqlStateMarker) {
- writer.writeString(this.sqlStateMarker);
- writer.writeString(this.sqlState);
- }
-
- writer.writeString(this.message);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/Field.js b/Server/node_modules/mysql/lib/protocol/packets/Field.js
deleted file mode 100644
index a5d58ed..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/Field.js
+++ /dev/null
@@ -1,26 +0,0 @@
-var Types = require('../constants/types');
-
-module.exports = Field;
-function Field(options) {
- options = options || {};
-
- this.parser = options.parser;
- this.packet = options.packet;
- this.db = options.packet.db;
- this.table = options.packet.table;
- this.name = options.packet.name;
- this.type = Types[options.packet.type];
- this.length = options.packet.length;
-}
-
-Field.prototype.string = function () {
- return this.parser.parseLengthCodedString();
-};
-
-Field.prototype.buffer = function () {
- return this.parser.parseLengthCodedBuffer();
-};
-
-Field.prototype.geometry = function () {
- return this.parser.parseGeometryValue();
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/FieldPacket.js b/Server/node_modules/mysql/lib/protocol/packets/FieldPacket.js
deleted file mode 100644
index 12cfed1..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/FieldPacket.js
+++ /dev/null
@@ -1,93 +0,0 @@
-module.exports = FieldPacket;
-function FieldPacket(options) {
- options = options || {};
-
- this.catalog = options.catalog;
- this.db = options.db;
- this.table = options.table;
- this.orgTable = options.orgTable;
- this.name = options.name;
- this.orgName = options.orgName;
- this.charsetNr = options.charsetNr;
- this.length = options.length;
- this.type = options.type;
- this.flags = options.flags;
- this.decimals = options.decimals;
- this.default = options.default;
- this.zeroFill = options.zeroFill;
- this.protocol41 = options.protocol41;
-}
-
-FieldPacket.prototype.parse = function(parser) {
- if (this.protocol41) {
- this.catalog = parser.parseLengthCodedString();
- this.db = parser.parseLengthCodedString();
- this.table = parser.parseLengthCodedString();
- this.orgTable = parser.parseLengthCodedString();
- this.name = parser.parseLengthCodedString();
- this.orgName = parser.parseLengthCodedString();
-
- if (parser.parseLengthCodedNumber() !== 0x0c) {
- var err = new TypeError('Received invalid field length');
- err.code = 'PARSER_INVALID_FIELD_LENGTH';
- throw err;
- }
-
- this.charsetNr = parser.parseUnsignedNumber(2);
- this.length = parser.parseUnsignedNumber(4);
- this.type = parser.parseUnsignedNumber(1);
- this.flags = parser.parseUnsignedNumber(2);
- this.decimals = parser.parseUnsignedNumber(1);
-
- var filler = parser.parseBuffer(2);
- if (filler[0] !== 0x0 || filler[1] !== 0x0) {
- var err = new TypeError('Received invalid filler');
- err.code = 'PARSER_INVALID_FILLER';
- throw err;
- }
-
- // parsed flags
- this.zeroFill = (this.flags & 0x0040 ? true : false);
-
- if (parser.reachedPacketEnd()) {
- return;
- }
-
- this.default = parser.parseLengthCodedString();
- } else {
- this.table = parser.parseLengthCodedString();
- this.name = parser.parseLengthCodedString();
- this.length = parser.parseUnsignedNumber(parser.parseUnsignedNumber(1));
- this.type = parser.parseUnsignedNumber(parser.parseUnsignedNumber(1));
- }
-};
-
-FieldPacket.prototype.write = function(writer) {
- if (this.protocol41) {
- writer.writeLengthCodedString(this.catalog);
- writer.writeLengthCodedString(this.db);
- writer.writeLengthCodedString(this.table);
- writer.writeLengthCodedString(this.orgTable);
- writer.writeLengthCodedString(this.name);
- writer.writeLengthCodedString(this.orgName);
-
- writer.writeLengthCodedNumber(0x0c);
- writer.writeUnsignedNumber(2, this.charsetNr || 0);
- writer.writeUnsignedNumber(4, this.length || 0);
- writer.writeUnsignedNumber(1, this.type || 0);
- writer.writeUnsignedNumber(2, this.flags || 0);
- writer.writeUnsignedNumber(1, this.decimals || 0);
- writer.writeFiller(2);
-
- if (this.default !== undefined) {
- writer.writeLengthCodedString(this.default);
- }
- } else {
- writer.writeLengthCodedString(this.table);
- writer.writeLengthCodedString(this.name);
- writer.writeUnsignedNumber(1, 0x01);
- writer.writeUnsignedNumber(1, this.length);
- writer.writeUnsignedNumber(1, 0x01);
- writer.writeUnsignedNumber(1, this.type);
- }
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/HandshakeInitializationPacket.js b/Server/node_modules/mysql/lib/protocol/packets/HandshakeInitializationPacket.js
deleted file mode 100644
index b251063..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/HandshakeInitializationPacket.js
+++ /dev/null
@@ -1,103 +0,0 @@
-var Buffer = require('safe-buffer').Buffer;
-var Client = require('../constants/client');
-
-module.exports = HandshakeInitializationPacket;
-function HandshakeInitializationPacket(options) {
- options = options || {};
-
- this.protocolVersion = options.protocolVersion;
- this.serverVersion = options.serverVersion;
- this.threadId = options.threadId;
- this.scrambleBuff1 = options.scrambleBuff1;
- this.filler1 = options.filler1;
- this.serverCapabilities1 = options.serverCapabilities1;
- this.serverLanguage = options.serverLanguage;
- this.serverStatus = options.serverStatus;
- this.serverCapabilities2 = options.serverCapabilities2;
- this.scrambleLength = options.scrambleLength;
- this.filler2 = options.filler2;
- this.scrambleBuff2 = options.scrambleBuff2;
- this.filler3 = options.filler3;
- this.pluginData = options.pluginData;
- this.protocol41 = options.protocol41;
-
- if (this.protocol41) {
- // force set the bit in serverCapabilities1
- this.serverCapabilities1 |= Client.CLIENT_PROTOCOL_41;
- }
-}
-
-HandshakeInitializationPacket.prototype.parse = function(parser) {
- this.protocolVersion = parser.parseUnsignedNumber(1);
- this.serverVersion = parser.parseNullTerminatedString();
- this.threadId = parser.parseUnsignedNumber(4);
- this.scrambleBuff1 = parser.parseBuffer(8);
- this.filler1 = parser.parseFiller(1);
- this.serverCapabilities1 = parser.parseUnsignedNumber(2);
- this.serverLanguage = parser.parseUnsignedNumber(1);
- this.serverStatus = parser.parseUnsignedNumber(2);
-
- this.protocol41 = (this.serverCapabilities1 & (1 << 9)) > 0;
-
- if (this.protocol41) {
- this.serverCapabilities2 = parser.parseUnsignedNumber(2);
- this.scrambleLength = parser.parseUnsignedNumber(1);
- this.filler2 = parser.parseFiller(10);
- // scrambleBuff2 should be 0x00 terminated, but sphinx does not do this
- // so we assume scrambleBuff2 to be 12 byte and treat the next byte as a
- // filler byte.
- this.scrambleBuff2 = parser.parseBuffer(12);
- this.filler3 = parser.parseFiller(1);
- } else {
- this.filler2 = parser.parseFiller(13);
- }
-
- if (parser.reachedPacketEnd()) {
- return;
- }
-
- // According to the docs this should be 0x00 terminated, but MariaDB does
- // not do this, so we assume this string to be packet terminated.
- this.pluginData = parser.parsePacketTerminatedString();
-
- // However, if there is a trailing '\0', strip it
- var lastChar = this.pluginData.length - 1;
- if (this.pluginData[lastChar] === '\0') {
- this.pluginData = this.pluginData.substr(0, lastChar);
- }
-};
-
-HandshakeInitializationPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, this.protocolVersion);
- writer.writeNullTerminatedString(this.serverVersion);
- writer.writeUnsignedNumber(4, this.threadId);
- writer.writeBuffer(this.scrambleBuff1);
- writer.writeFiller(1);
- writer.writeUnsignedNumber(2, this.serverCapabilities1);
- writer.writeUnsignedNumber(1, this.serverLanguage);
- writer.writeUnsignedNumber(2, this.serverStatus);
- if (this.protocol41) {
- writer.writeUnsignedNumber(2, this.serverCapabilities2);
- writer.writeUnsignedNumber(1, this.scrambleLength);
- writer.writeFiller(10);
- }
- writer.writeNullTerminatedBuffer(this.scrambleBuff2);
-
- if (this.pluginData !== undefined) {
- writer.writeNullTerminatedString(this.pluginData);
- }
-};
-
-HandshakeInitializationPacket.prototype.scrambleBuff = function() {
- var buffer = null;
-
- if (typeof this.scrambleBuff2 === 'undefined') {
- buffer = Buffer.from(this.scrambleBuff1);
- } else {
- buffer = Buffer.allocUnsafe(this.scrambleBuff1.length + this.scrambleBuff2.length);
- this.scrambleBuff1.copy(buffer, 0);
- this.scrambleBuff2.copy(buffer, this.scrambleBuff1.length);
- }
-
- return buffer;
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js b/Server/node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js
deleted file mode 100644
index af7aaa0..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/LocalDataFilePacket.js
+++ /dev/null
@@ -1,15 +0,0 @@
-module.exports = LocalDataFilePacket;
-
-/**
- * Create a new LocalDataFilePacket
- * @constructor
- * @param {Buffer} data The data contents of the packet
- * @public
- */
-function LocalDataFilePacket(data) {
- this.data = data;
-}
-
-LocalDataFilePacket.prototype.write = function(writer) {
- writer.writeBuffer(this.data);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/LocalInfileRequestPacket.js b/Server/node_modules/mysql/lib/protocol/packets/LocalInfileRequestPacket.js
deleted file mode 100644
index b1f68ba..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/LocalInfileRequestPacket.js
+++ /dev/null
@@ -1,21 +0,0 @@
-module.exports = LocalInfileRequestPacket;
-function LocalInfileRequestPacket(options) {
- options = options || {};
-
- this.filename = options.filename;
-}
-
-LocalInfileRequestPacket.prototype.parse = function parse(parser) {
- if (parser.parseLengthCodedNumber() !== null) {
- var err = new TypeError('Received invalid field length');
- err.code = 'PARSER_INVALID_FIELD_LENGTH';
- throw err;
- }
-
- this.filename = parser.parsePacketTerminatedString();
-};
-
-LocalInfileRequestPacket.prototype.write = function write(writer) {
- writer.writeLengthCodedNumber(null);
- writer.writeString(this.filename);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/OkPacket.js b/Server/node_modules/mysql/lib/protocol/packets/OkPacket.js
deleted file mode 100644
index 7caf3b0..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/OkPacket.js
+++ /dev/null
@@ -1,44 +0,0 @@
-
-// Language-neutral expression to match ER_UPDATE_INFO
-var ER_UPDATE_INFO_REGEXP = /^[^:0-9]+: [0-9]+[^:0-9]+: ([0-9]+)[^:0-9]+: [0-9]+[^:0-9]*$/;
-
-module.exports = OkPacket;
-function OkPacket(options) {
- options = options || {};
-
- this.fieldCount = undefined;
- this.affectedRows = undefined;
- this.insertId = undefined;
- this.serverStatus = undefined;
- this.warningCount = undefined;
- this.message = undefined;
- this.protocol41 = options.protocol41;
-}
-
-OkPacket.prototype.parse = function(parser) {
- this.fieldCount = parser.parseUnsignedNumber(1);
- this.affectedRows = parser.parseLengthCodedNumber();
- this.insertId = parser.parseLengthCodedNumber();
- if (this.protocol41) {
- this.serverStatus = parser.parseUnsignedNumber(2);
- this.warningCount = parser.parseUnsignedNumber(2);
- }
- this.message = parser.parsePacketTerminatedString();
- this.changedRows = 0;
-
- var m = ER_UPDATE_INFO_REGEXP.exec(this.message);
- if (m !== null) {
- this.changedRows = parseInt(m[1], 10);
- }
-};
-
-OkPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, 0x00);
- writer.writeLengthCodedNumber(this.affectedRows || 0);
- writer.writeLengthCodedNumber(this.insertId || 0);
- if (this.protocol41) {
- writer.writeUnsignedNumber(2, this.serverStatus || 0);
- writer.writeUnsignedNumber(2, this.warningCount || 0);
- }
- writer.writeString(this.message);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/OldPasswordPacket.js b/Server/node_modules/mysql/lib/protocol/packets/OldPasswordPacket.js
deleted file mode 100644
index a729510..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/OldPasswordPacket.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = OldPasswordPacket;
-function OldPasswordPacket(options) {
- options = options || {};
-
- this.scrambleBuff = options.scrambleBuff;
-}
-
-OldPasswordPacket.prototype.parse = function(parser) {
- this.scrambleBuff = parser.parsePacketTerminatedBuffer();
-};
-
-OldPasswordPacket.prototype.write = function(writer) {
- writer.writeBuffer(this.scrambleBuff);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/ResultSetHeaderPacket.js b/Server/node_modules/mysql/lib/protocol/packets/ResultSetHeaderPacket.js
deleted file mode 100644
index a097ea1..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/ResultSetHeaderPacket.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = ResultSetHeaderPacket;
-function ResultSetHeaderPacket(options) {
- options = options || {};
-
- this.fieldCount = options.fieldCount;
-}
-
-ResultSetHeaderPacket.prototype.parse = function(parser) {
- this.fieldCount = parser.parseLengthCodedNumber();
-};
-
-ResultSetHeaderPacket.prototype.write = function(writer) {
- writer.writeLengthCodedNumber(this.fieldCount);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/RowDataPacket.js b/Server/node_modules/mysql/lib/protocol/packets/RowDataPacket.js
deleted file mode 100644
index b8ec4b8..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/RowDataPacket.js
+++ /dev/null
@@ -1,130 +0,0 @@
-var Types = require('../constants/types');
-var Charsets = require('../constants/charsets');
-var Field = require('./Field');
-var IEEE_754_BINARY_64_PRECISION = Math.pow(2, 53);
-
-module.exports = RowDataPacket;
-function RowDataPacket() {
-}
-
-Object.defineProperty(RowDataPacket.prototype, 'parse', {
- configurable : true,
- enumerable : false,
- value : parse
-});
-
-Object.defineProperty(RowDataPacket.prototype, '_typeCast', {
- configurable : true,
- enumerable : false,
- value : typeCast
-});
-
-function parse(parser, fieldPackets, typeCast, nestTables, connection) {
- var self = this;
- var next = function () {
- return self._typeCast(fieldPacket, parser, connection.config.timezone, connection.config.supportBigNumbers, connection.config.bigNumberStrings, connection.config.dateStrings);
- };
-
- for (var i = 0; i < fieldPackets.length; i++) {
- var fieldPacket = fieldPackets[i];
- var value;
-
- if (typeof typeCast === 'function') {
- value = typeCast.apply(connection, [ new Field({ packet: fieldPacket, parser: parser }), next ]);
- } else {
- value = (typeCast)
- ? this._typeCast(fieldPacket, parser, connection.config.timezone, connection.config.supportBigNumbers, connection.config.bigNumberStrings, connection.config.dateStrings)
- : ( (fieldPacket.charsetNr === Charsets.BINARY)
- ? parser.parseLengthCodedBuffer()
- : parser.parseLengthCodedString() );
- }
-
- if (typeof nestTables === 'string' && nestTables.length) {
- this[fieldPacket.table + nestTables + fieldPacket.name] = value;
- } else if (nestTables) {
- this[fieldPacket.table] = this[fieldPacket.table] || {};
- this[fieldPacket.table][fieldPacket.name] = value;
- } else {
- this[fieldPacket.name] = value;
- }
- }
-}
-
-function typeCast(field, parser, timeZone, supportBigNumbers, bigNumberStrings, dateStrings) {
- var numberString;
-
- switch (field.type) {
- case Types.TIMESTAMP:
- case Types.TIMESTAMP2:
- case Types.DATE:
- case Types.DATETIME:
- case Types.DATETIME2:
- case Types.NEWDATE:
- var dateString = parser.parseLengthCodedString();
-
- if (typeMatch(field.type, dateStrings)) {
- return dateString;
- }
-
- if (dateString === null) {
- return null;
- }
-
- var originalString = dateString;
- if (field.type === Types.DATE) {
- dateString += ' 00:00:00';
- }
-
- if (timeZone !== 'local') {
- dateString += ' ' + timeZone;
- }
-
- var dt = new Date(dateString);
- if (isNaN(dt.getTime())) {
- return originalString;
- }
-
- return dt;
- case Types.TINY:
- case Types.SHORT:
- case Types.LONG:
- case Types.INT24:
- case Types.YEAR:
- case Types.FLOAT:
- case Types.DOUBLE:
- numberString = parser.parseLengthCodedString();
- return (numberString === null || (field.zeroFill && numberString[0] === '0'))
- ? numberString : Number(numberString);
- case Types.NEWDECIMAL:
- case Types.LONGLONG:
- numberString = parser.parseLengthCodedString();
- return (numberString === null || (field.zeroFill && numberString[0] === '0'))
- ? numberString
- : ((supportBigNumbers && (bigNumberStrings || (Number(numberString) >= IEEE_754_BINARY_64_PRECISION) || Number(numberString) <= -IEEE_754_BINARY_64_PRECISION))
- ? numberString
- : Number(numberString));
- case Types.BIT:
- return parser.parseLengthCodedBuffer();
- case Types.STRING:
- case Types.VAR_STRING:
- case Types.TINY_BLOB:
- case Types.MEDIUM_BLOB:
- case Types.LONG_BLOB:
- case Types.BLOB:
- return (field.charsetNr === Charsets.BINARY)
- ? parser.parseLengthCodedBuffer()
- : parser.parseLengthCodedString();
- case Types.GEOMETRY:
- return parser.parseGeometryValue();
- default:
- return parser.parseLengthCodedString();
- }
-}
-
-function typeMatch(type, list) {
- if (Array.isArray(list)) {
- return list.indexOf(Types[type]) !== -1;
- } else {
- return Boolean(list);
- }
-}
diff --git a/Server/node_modules/mysql/lib/protocol/packets/SSLRequestPacket.js b/Server/node_modules/mysql/lib/protocol/packets/SSLRequestPacket.js
deleted file mode 100644
index a57cfc1..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/SSLRequestPacket.js
+++ /dev/null
@@ -1,27 +0,0 @@
-// http://dev.mysql.com/doc/internals/en/ssl.html
-// http://dev.mysql.com/doc/internals/en/connection-phase-packets.html#packet-Protocol::SSLRequest
-
-var ClientConstants = require('../constants/client');
-
-module.exports = SSLRequestPacket;
-
-function SSLRequestPacket(options) {
- options = options || {};
- this.clientFlags = options.clientFlags | ClientConstants.CLIENT_SSL;
- this.maxPacketSize = options.maxPacketSize;
- this.charsetNumber = options.charsetNumber;
-}
-
-SSLRequestPacket.prototype.parse = function(parser) {
- // TODO: check SSLRequest packet v41 vs pre v41
- this.clientFlags = parser.parseUnsignedNumber(4);
- this.maxPacketSize = parser.parseUnsignedNumber(4);
- this.charsetNumber = parser.parseUnsignedNumber(1);
-};
-
-SSLRequestPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(4, this.clientFlags);
- writer.writeUnsignedNumber(4, this.maxPacketSize);
- writer.writeUnsignedNumber(1, this.charsetNumber);
- writer.writeFiller(23);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/StatisticsPacket.js b/Server/node_modules/mysql/lib/protocol/packets/StatisticsPacket.js
deleted file mode 100644
index 5f70b3b..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/StatisticsPacket.js
+++ /dev/null
@@ -1,20 +0,0 @@
-module.exports = StatisticsPacket;
-function StatisticsPacket() {
- this.message = undefined;
-}
-
-StatisticsPacket.prototype.parse = function(parser) {
- this.message = parser.parsePacketTerminatedString();
-
- var items = this.message.split(/\s\s/);
- for (var i = 0; i < items.length; i++) {
- var m = items[i].match(/^(.+)\:\s+(.+)$/);
- if (m !== null) {
- this[m[1].toLowerCase().replace(/\s/g, '_')] = Number(m[2]);
- }
- }
-};
-
-StatisticsPacket.prototype.write = function(writer) {
- writer.writeString(this.message);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/UseOldPasswordPacket.js b/Server/node_modules/mysql/lib/protocol/packets/UseOldPasswordPacket.js
deleted file mode 100644
index d73bf44..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/UseOldPasswordPacket.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = UseOldPasswordPacket;
-function UseOldPasswordPacket(options) {
- options = options || {};
-
- this.firstByte = options.firstByte || 0xfe;
-}
-
-UseOldPasswordPacket.prototype.parse = function(parser) {
- this.firstByte = parser.parseUnsignedNumber(1);
-};
-
-UseOldPasswordPacket.prototype.write = function(writer) {
- writer.writeUnsignedNumber(1, this.firstByte);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/packets/index.js b/Server/node_modules/mysql/lib/protocol/packets/index.js
deleted file mode 100644
index 5e93524..0000000
--- a/Server/node_modules/mysql/lib/protocol/packets/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-exports.AuthSwitchRequestPacket = require('./AuthSwitchRequestPacket');
-exports.AuthSwitchResponsePacket = require('./AuthSwitchResponsePacket');
-exports.ClientAuthenticationPacket = require('./ClientAuthenticationPacket');
-exports.ComChangeUserPacket = require('./ComChangeUserPacket');
-exports.ComPingPacket = require('./ComPingPacket');
-exports.ComQueryPacket = require('./ComQueryPacket');
-exports.ComQuitPacket = require('./ComQuitPacket');
-exports.ComStatisticsPacket = require('./ComStatisticsPacket');
-exports.EmptyPacket = require('./EmptyPacket');
-exports.EofPacket = require('./EofPacket');
-exports.ErrorPacket = require('./ErrorPacket');
-exports.Field = require('./Field');
-exports.FieldPacket = require('./FieldPacket');
-exports.HandshakeInitializationPacket = require('./HandshakeInitializationPacket');
-exports.LocalDataFilePacket = require('./LocalDataFilePacket');
-exports.LocalInfileRequestPacket = require('./LocalInfileRequestPacket');
-exports.OkPacket = require('./OkPacket');
-exports.OldPasswordPacket = require('./OldPasswordPacket');
-exports.ResultSetHeaderPacket = require('./ResultSetHeaderPacket');
-exports.RowDataPacket = require('./RowDataPacket');
-exports.SSLRequestPacket = require('./SSLRequestPacket');
-exports.StatisticsPacket = require('./StatisticsPacket');
-exports.UseOldPasswordPacket = require('./UseOldPasswordPacket');
diff --git a/Server/node_modules/mysql/lib/protocol/sequences/ChangeUser.js b/Server/node_modules/mysql/lib/protocol/sequences/ChangeUser.js
deleted file mode 100644
index e1cc1fb..0000000
--- a/Server/node_modules/mysql/lib/protocol/sequences/ChangeUser.js
+++ /dev/null
@@ -1,67 +0,0 @@
-var Sequence = require('./Sequence');
-var Util = require('util');
-var Packets = require('../packets');
-var Auth = require('../Auth');
-
-module.exports = ChangeUser;
-Util.inherits(ChangeUser, Sequence);
-function ChangeUser(options, callback) {
- Sequence.call(this, options, callback);
-
- this._user = options.user;
- this._password = options.password;
- this._database = options.database;
- this._charsetNumber = options.charsetNumber;
- this._currentConfig = options.currentConfig;
-}
-
-ChangeUser.prototype.determinePacket = function determinePacket(firstByte) {
- switch (firstByte) {
- case 0xfe: return Packets.AuthSwitchRequestPacket;
- case 0xff: return Packets.ErrorPacket;
- default: return undefined;
- }
-};
-
-ChangeUser.prototype.start = function(handshakeInitializationPacket) {
- var scrambleBuff = handshakeInitializationPacket.scrambleBuff();
- scrambleBuff = Auth.token(this._password, scrambleBuff);
-
- var packet = new Packets.ComChangeUserPacket({
- user : this._user,
- scrambleBuff : scrambleBuff,
- database : this._database,
- charsetNumber : this._charsetNumber
- });
-
- this._currentConfig.user = this._user;
- this._currentConfig.password = this._password;
- this._currentConfig.database = this._database;
- this._currentConfig.charsetNumber = this._charsetNumber;
-
- this.emit('packet', packet);
-};
-
-ChangeUser.prototype['AuthSwitchRequestPacket'] = function (packet) {
- var name = packet.authMethodName;
- var data = Auth.auth(name, packet.authMethodData, {
- password: this._password
- });
-
- if (data !== undefined) {
- this.emit('packet', new Packets.AuthSwitchResponsePacket({
- data: data
- }));
- } else {
- var err = new Error('MySQL is requesting the ' + name + ' authentication method, which is not supported.');
- err.code = 'UNSUPPORTED_AUTH_METHOD';
- err.fatal = true;
- this.end(err);
- }
-};
-
-ChangeUser.prototype['ErrorPacket'] = function(packet) {
- var err = this._packetToError(packet);
- err.fatal = true;
- this.end(err);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/sequences/Handshake.js b/Server/node_modules/mysql/lib/protocol/sequences/Handshake.js
deleted file mode 100644
index 8fad0fc..0000000
--- a/Server/node_modules/mysql/lib/protocol/sequences/Handshake.js
+++ /dev/null
@@ -1,126 +0,0 @@
-var Sequence = require('./Sequence');
-var Util = require('util');
-var Packets = require('../packets');
-var Auth = require('../Auth');
-var ClientConstants = require('../constants/client');
-
-module.exports = Handshake;
-Util.inherits(Handshake, Sequence);
-function Handshake(options, callback) {
- Sequence.call(this, options, callback);
-
- options = options || {};
-
- this._config = options.config;
- this._handshakeInitializationPacket = null;
-}
-
-Handshake.prototype.determinePacket = function determinePacket(firstByte, parser) {
- if (firstByte === 0xff) {
- return Packets.ErrorPacket;
- }
-
- if (!this._handshakeInitializationPacket) {
- return Packets.HandshakeInitializationPacket;
- }
-
- if (firstByte === 0xfe) {
- return (parser.packetLength() === 1)
- ? Packets.UseOldPasswordPacket
- : Packets.AuthSwitchRequestPacket;
- }
-
- return undefined;
-};
-
-Handshake.prototype['AuthSwitchRequestPacket'] = function (packet) {
- var name = packet.authMethodName;
- var data = Auth.auth(name, packet.authMethodData, {
- password: this._config.password
- });
-
- if (data !== undefined) {
- this.emit('packet', new Packets.AuthSwitchResponsePacket({
- data: data
- }));
- } else {
- var err = new Error('MySQL is requesting the ' + name + ' authentication method, which is not supported.');
- err.code = 'UNSUPPORTED_AUTH_METHOD';
- err.fatal = true;
- this.end(err);
- }
-};
-
-Handshake.prototype['HandshakeInitializationPacket'] = function(packet) {
- this._handshakeInitializationPacket = packet;
-
- this._config.protocol41 = packet.protocol41;
-
- var serverSSLSupport = packet.serverCapabilities1 & ClientConstants.CLIENT_SSL;
-
- if (this._config.ssl) {
- if (!serverSSLSupport) {
- var err = new Error('Server does not support secure connection');
-
- err.code = 'HANDSHAKE_NO_SSL_SUPPORT';
- err.fatal = true;
-
- this.end(err);
- return;
- }
-
- this._config.clientFlags |= ClientConstants.CLIENT_SSL;
- this.emit('packet', new Packets.SSLRequestPacket({
- clientFlags : this._config.clientFlags,
- maxPacketSize : this._config.maxPacketSize,
- charsetNumber : this._config.charsetNumber
- }));
- this.emit('start-tls');
- } else {
- this._sendCredentials();
- }
-};
-
-Handshake.prototype._tlsUpgradeCompleteHandler = function() {
- this._sendCredentials();
-};
-
-Handshake.prototype._sendCredentials = function() {
- var packet = this._handshakeInitializationPacket;
- this.emit('packet', new Packets.ClientAuthenticationPacket({
- clientFlags : this._config.clientFlags,
- maxPacketSize : this._config.maxPacketSize,
- charsetNumber : this._config.charsetNumber,
- user : this._config.user,
- database : this._config.database,
- protocol41 : packet.protocol41,
- scrambleBuff : (packet.protocol41)
- ? Auth.token(this._config.password, packet.scrambleBuff())
- : Auth.scramble323(packet.scrambleBuff(), this._config.password)
- }));
-};
-
-Handshake.prototype['UseOldPasswordPacket'] = function() {
- if (!this._config.insecureAuth) {
- var err = new Error(
- 'MySQL server is requesting the old and insecure pre-4.1 auth mechanism. ' +
- 'Upgrade the user password or use the {insecureAuth: true} option.'
- );
-
- err.code = 'HANDSHAKE_INSECURE_AUTH';
- err.fatal = true;
-
- this.end(err);
- return;
- }
-
- this.emit('packet', new Packets.OldPasswordPacket({
- scrambleBuff: Auth.scramble323(this._handshakeInitializationPacket.scrambleBuff(), this._config.password)
- }));
-};
-
-Handshake.prototype['ErrorPacket'] = function(packet) {
- var err = this._packetToError(packet, true);
- err.fatal = true;
- this.end(err);
-};
diff --git a/Server/node_modules/mysql/lib/protocol/sequences/Ping.js b/Server/node_modules/mysql/lib/protocol/sequences/Ping.js
deleted file mode 100644
index 230f3c1..0000000
--- a/Server/node_modules/mysql/lib/protocol/sequences/Ping.js
+++ /dev/null
@@ -1,19 +0,0 @@
-var Sequence = require('./Sequence');
-var Util = require('util');
-var Packets = require('../packets');
-
-module.exports = Ping;
-Util.inherits(Ping, Sequence);
-
-function Ping(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- Sequence.call(this, options, callback);
-}
-
-Ping.prototype.start = function() {
- this.emit('packet', new Packets.ComPingPacket());
-};
diff --git a/Server/node_modules/mysql/lib/protocol/sequences/Query.js b/Server/node_modules/mysql/lib/protocol/sequences/Query.js
deleted file mode 100644
index b763295..0000000
--- a/Server/node_modules/mysql/lib/protocol/sequences/Query.js
+++ /dev/null
@@ -1,228 +0,0 @@
-var ClientConstants = require('../constants/client');
-var fs = require('fs');
-var Packets = require('../packets');
-var ResultSet = require('../ResultSet');
-var Sequence = require('./Sequence');
-var ServerStatus = require('../constants/server_status');
-var Readable = require('readable-stream');
-var Util = require('util');
-
-module.exports = Query;
-Util.inherits(Query, Sequence);
-function Query(options, callback) {
- Sequence.call(this, options, callback);
-
- this.sql = options.sql;
- this.values = options.values;
- this.typeCast = (options.typeCast === undefined)
- ? true
- : options.typeCast;
- this.nestTables = options.nestTables || false;
-
- this._resultSet = null;
- this._results = [];
- this._fields = [];
- this._index = 0;
- this._loadError = null;
-}
-
-Query.prototype.start = function() {
- this.emit('packet', new Packets.ComQueryPacket(this.sql));
-};
-
-Query.prototype.determinePacket = function determinePacket(byte, parser) {
- var resultSet = this._resultSet;
-
- if (!resultSet) {
- switch (byte) {
- case 0x00: return Packets.OkPacket;
- case 0xfb: return Packets.LocalInfileRequestPacket;
- case 0xff: return Packets.ErrorPacket;
- default: return Packets.ResultSetHeaderPacket;
- }
- }
-
- if (resultSet.eofPackets.length === 0) {
- return (resultSet.fieldPackets.length < resultSet.resultSetHeaderPacket.fieldCount)
- ? Packets.FieldPacket
- : Packets.EofPacket;
- }
-
- if (byte === 0xff) {
- return Packets.ErrorPacket;
- }
-
- if (byte === 0xfe && parser.packetLength() < 9) {
- return Packets.EofPacket;
- }
-
- return Packets.RowDataPacket;
-};
-
-Query.prototype['OkPacket'] = function(packet) {
- // try...finally for exception safety
- try {
- if (!this._callback) {
- this.emit('result', packet, this._index);
- } else {
- this._results.push(packet);
- this._fields.push(undefined);
- }
- } finally {
- this._index++;
- this._resultSet = null;
- this._handleFinalResultPacket(packet);
- }
-};
-
-Query.prototype['ErrorPacket'] = function(packet) {
- var err = this._packetToError(packet);
-
- var results = (this._results.length > 0)
- ? this._results
- : undefined;
-
- var fields = (this._fields.length > 0)
- ? this._fields
- : undefined;
-
- err.index = this._index;
- err.sql = this.sql;
-
- this.end(err, results, fields);
-};
-
-Query.prototype['LocalInfileRequestPacket'] = function(packet) {
- if (this._connection.config.clientFlags & ClientConstants.CLIENT_LOCAL_FILES) {
- this._sendLocalDataFile(packet.filename);
- } else {
- this._loadError = new Error('Load local files command is disabled');
- this._loadError.code = 'LOCAL_FILES_DISABLED';
- this._loadError.fatal = false;
-
- this.emit('packet', new Packets.EmptyPacket());
- }
-};
-
-Query.prototype['ResultSetHeaderPacket'] = function(packet) {
- this._resultSet = new ResultSet(packet);
-};
-
-Query.prototype['FieldPacket'] = function(packet) {
- this._resultSet.fieldPackets.push(packet);
-};
-
-Query.prototype['EofPacket'] = function(packet) {
- this._resultSet.eofPackets.push(packet);
-
- if (this._resultSet.eofPackets.length === 1 && !this._callback) {
- this.emit('fields', this._resultSet.fieldPackets, this._index);
- }
-
- if (this._resultSet.eofPackets.length !== 2) {
- return;
- }
-
- if (this._callback) {
- this._results.push(this._resultSet.rows);
- this._fields.push(this._resultSet.fieldPackets);
- }
-
- this._index++;
- this._resultSet = null;
- this._handleFinalResultPacket(packet);
-};
-
-Query.prototype._handleFinalResultPacket = function(packet) {
- if (packet.serverStatus & ServerStatus.SERVER_MORE_RESULTS_EXISTS) {
- return;
- }
-
- var results = (this._results.length > 1)
- ? this._results
- : this._results[0];
-
- var fields = (this._fields.length > 1)
- ? this._fields
- : this._fields[0];
-
- this.end(this._loadError, results, fields);
-};
-
-Query.prototype['RowDataPacket'] = function(packet, parser, connection) {
- packet.parse(parser, this._resultSet.fieldPackets, this.typeCast, this.nestTables, connection);
-
- if (this._callback) {
- this._resultSet.rows.push(packet);
- } else {
- this.emit('result', packet, this._index);
- }
-};
-
-Query.prototype._sendLocalDataFile = function(path) {
- var self = this;
- var localStream = fs.createReadStream(path, {
- flag : 'r',
- encoding : null,
- autoClose : true
- });
-
- this.on('pause', function () {
- localStream.pause();
- });
-
- this.on('resume', function () {
- localStream.resume();
- });
-
- localStream.on('data', function (data) {
- self.emit('packet', new Packets.LocalDataFilePacket(data));
- });
-
- localStream.on('error', function (err) {
- self._loadError = err;
- localStream.emit('end');
- });
-
- localStream.on('end', function () {
- self.emit('packet', new Packets.EmptyPacket());
- });
-};
-
-Query.prototype.stream = function(options) {
- var self = this;
-
- options = options || {};
- options.objectMode = true;
-
- var stream = new Readable(options);
-
- stream._read = function() {
- self._connection && self._connection.resume();
- };
-
- stream.once('end', function() {
- process.nextTick(function () {
- stream.emit('close');
- });
- });
-
- this.on('result', function(row, i) {
- if (!stream.push(row)) self._connection.pause();
- stream.emit('result', row, i); // replicate old emitter
- });
-
- this.on('error', function(err) {
- stream.emit('error', err); // Pass on any errors
- });
-
- this.on('end', function() {
- stream.push(null); // pushing null, indicating EOF
- });
-
- this.on('fields', function(fields, i) {
- stream.emit('fields', fields, i); // replicate old emitter
- });
-
- return stream;
-};
diff --git a/Server/node_modules/mysql/lib/protocol/sequences/Quit.js b/Server/node_modules/mysql/lib/protocol/sequences/Quit.js
deleted file mode 100644
index 3c34c58..0000000
--- a/Server/node_modules/mysql/lib/protocol/sequences/Quit.js
+++ /dev/null
@@ -1,40 +0,0 @@
-var Sequence = require('./Sequence');
-var Util = require('util');
-var Packets = require('../packets');
-
-module.exports = Quit;
-Util.inherits(Quit, Sequence);
-function Quit(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- Sequence.call(this, options, callback);
-
- this._started = false;
-}
-
-Quit.prototype.end = function end(err) {
- if (this._ended) {
- return;
- }
-
- if (!this._started) {
- Sequence.prototype.end.call(this, err);
- return;
- }
-
- if (err && err.code === 'ECONNRESET' && err.syscall === 'read') {
- // Ignore read errors after packet sent
- Sequence.prototype.end.call(this);
- return;
- }
-
- Sequence.prototype.end.call(this, err);
-};
-
-Quit.prototype.start = function() {
- this._started = true;
- this.emit('packet', new Packets.ComQuitPacket());
-};
diff --git a/Server/node_modules/mysql/lib/protocol/sequences/Sequence.js b/Server/node_modules/mysql/lib/protocol/sequences/Sequence.js
deleted file mode 100644
index de82dc2..0000000
--- a/Server/node_modules/mysql/lib/protocol/sequences/Sequence.js
+++ /dev/null
@@ -1,125 +0,0 @@
-var Util = require('util');
-var EventEmitter = require('events').EventEmitter;
-var Packets = require('../packets');
-var ErrorConstants = require('../constants/errors');
-var Timer = require('../Timer');
-
-// istanbul ignore next: Node.js < 0.10 not covered
-var listenerCount = EventEmitter.listenerCount
- || function(emitter, type){ return emitter.listeners(type).length; };
-
-var LONG_STACK_DELIMITER = '\n --------------------\n';
-
-module.exports = Sequence;
-Util.inherits(Sequence, EventEmitter);
-function Sequence(options, callback) {
- if (typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- EventEmitter.call(this);
-
- options = options || {};
-
- this._callback = callback;
- this._callSite = null;
- this._ended = false;
- this._timeout = options.timeout;
- this._timer = new Timer(this);
-}
-
-Sequence.determinePacket = function(byte) {
- switch (byte) {
- case 0x00: return Packets.OkPacket;
- case 0xfe: return Packets.EofPacket;
- case 0xff: return Packets.ErrorPacket;
- default: return undefined;
- }
-};
-
-Sequence.prototype.hasErrorHandler = function() {
- return Boolean(this._callback) || listenerCount(this, 'error') > 1;
-};
-
-Sequence.prototype._packetToError = function(packet) {
- var code = ErrorConstants[packet.errno] || 'UNKNOWN_CODE_PLEASE_REPORT';
- var err = new Error(code + ': ' + packet.message);
- err.code = code;
- err.errno = packet.errno;
-
- err.sqlMessage = packet.message;
- err.sqlState = packet.sqlState;
-
- return err;
-};
-
-Sequence.prototype.end = function(err) {
- if (this._ended) {
- return;
- }
-
- this._ended = true;
-
- if (err) {
- this._addLongStackTrace(err);
- }
-
- // Without this we are leaking memory. This problem was introduced in
- // 8189925374e7ce3819bbe88b64c7b15abac96b16. I suspect that the error object
- // causes a cyclic reference that the GC does not detect properly, but I was
- // unable to produce a standalone version of this leak. This would be a great
- // challenge for somebody interested in difficult problems : )!
- this._callSite = null;
-
- // try...finally for exception safety
- try {
- if (err) {
- this.emit('error', err);
- }
- } finally {
- try {
- if (this._callback) {
- this._callback.apply(this, arguments);
- }
- } finally {
- this.emit('end');
- }
- }
-};
-
-Sequence.prototype['OkPacket'] = function(packet) {
- this.end(null, packet);
-};
-
-Sequence.prototype['ErrorPacket'] = function(packet) {
- this.end(this._packetToError(packet));
-};
-
-// Implemented by child classes
-Sequence.prototype.start = function() {};
-
-Sequence.prototype._addLongStackTrace = function _addLongStackTrace(err) {
- var callSiteStack = this._callSite && this._callSite.stack;
-
- if (!callSiteStack || typeof callSiteStack !== 'string') {
- // No recorded call site
- return;
- }
-
- if (err.stack.indexOf(LONG_STACK_DELIMITER) !== -1) {
- // Error stack already looks long
- return;
- }
-
- var index = callSiteStack.indexOf('\n');
-
- if (index !== -1) {
- // Append recorded call site
- err.stack += LONG_STACK_DELIMITER + callSiteStack.substr(index + 1);
- }
-};
-
-Sequence.prototype._onTimeout = function _onTimeout() {
- this.emit('timeout');
-};
diff --git a/Server/node_modules/mysql/lib/protocol/sequences/Statistics.js b/Server/node_modules/mysql/lib/protocol/sequences/Statistics.js
deleted file mode 100644
index c75b5d9..0000000
--- a/Server/node_modules/mysql/lib/protocol/sequences/Statistics.js
+++ /dev/null
@@ -1,30 +0,0 @@
-var Sequence = require('./Sequence');
-var Util = require('util');
-var Packets = require('../packets');
-
-module.exports = Statistics;
-Util.inherits(Statistics, Sequence);
-function Statistics(options, callback) {
- if (!callback && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- Sequence.call(this, options, callback);
-}
-
-Statistics.prototype.start = function() {
- this.emit('packet', new Packets.ComStatisticsPacket());
-};
-
-Statistics.prototype['StatisticsPacket'] = function (packet) {
- this.end(null, packet);
-};
-
-Statistics.prototype.determinePacket = function determinePacket(firstByte) {
- if (firstByte === 0x55) {
- return Packets.StatisticsPacket;
- }
-
- return undefined;
-};
diff --git a/Server/node_modules/mysql/lib/protocol/sequences/index.js b/Server/node_modules/mysql/lib/protocol/sequences/index.js
deleted file mode 100644
index 0eae5ce..0000000
--- a/Server/node_modules/mysql/lib/protocol/sequences/index.js
+++ /dev/null
@@ -1,7 +0,0 @@
-exports.ChangeUser = require('./ChangeUser');
-exports.Handshake = require('./Handshake');
-exports.Ping = require('./Ping');
-exports.Query = require('./Query');
-exports.Quit = require('./Quit');
-exports.Sequence = require('./Sequence');
-exports.Statistics = require('./Statistics');
diff --git a/Server/node_modules/mysql/package.json b/Server/node_modules/mysql/package.json
deleted file mode 100644
index 53c3da4..0000000
--- a/Server/node_modules/mysql/package.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "_from": "mysql@^2.18.1",
- "_id": "mysql@2.18.1",
- "_inBundle": false,
- "_integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==",
- "_location": "/mysql",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "mysql@^2.18.1",
- "name": "mysql",
- "escapedName": "mysql",
- "rawSpec": "^2.18.1",
- "saveSpec": null,
- "fetchSpec": "^2.18.1"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz",
- "_shasum": "2254143855c5a8c73825e4522baf2ea021766717",
- "_spec": "mysql@^2.18.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server",
- "author": {
- "name": "Felix Geisendörfer",
- "email": "felix@debuggable.com",
- "url": "http://debuggable.com/"
- },
- "bugs": {
- "url": "https://github.com/mysqljs/mysql/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Andrey Sidorov",
- "email": "sidorares@yandex.ru"
- },
- {
- "name": "Bradley Grainger",
- "email": "bgrainger@gmail.com"
- },
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Diogo Resende",
- "email": "dresende@thinkdigital.pt"
- },
- {
- "name": "Nathan Woltman",
- "email": "nwoltman@outlook.com"
- }
- ],
- "dependencies": {
- "bignumber.js": "9.0.0",
- "readable-stream": "2.3.7",
- "safe-buffer": "5.1.2",
- "sqlstring": "2.3.1"
- },
- "deprecated": false,
- "description": "A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.",
- "devDependencies": {
- "after": "0.8.2",
- "eslint": "5.16.0",
- "seedrandom": "3.0.5",
- "timezone-mock": "0.0.7",
- "urun": "0.0.8",
- "utest": "0.0.8"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "lib/",
- "Changes.md",
- "License",
- "Readme.md",
- "index.js"
- ],
- "homepage": "https://github.com/mysqljs/mysql#readme",
- "license": "MIT",
- "name": "mysql",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/mysqljs/mysql.git"
- },
- "scripts": {
- "lint": "eslint . && node tool/lint-readme.js",
- "test": "node test/run.js",
- "test-ci": "node tool/install-nyc.js --nyc-optional --reporter=text -- npm test",
- "test-cov": "node tool/install-nyc.js --reporter=html --reporter=text -- npm test",
- "version": "node tool/version-changes.js && git add Changes.md"
- },
- "version": "2.18.1"
-}
diff --git a/Server/node_modules/negotiator/HISTORY.md b/Server/node_modules/negotiator/HISTORY.md
deleted file mode 100644
index 6d06c76..0000000
--- a/Server/node_modules/negotiator/HISTORY.md
+++ /dev/null
@@ -1,103 +0,0 @@
-0.6.2 / 2019-04-29
-==================
-
- * Fix sorting charset, encoding, and language with extra parameters
-
-0.6.1 / 2016-05-02
-==================
-
- * perf: improve `Accept` parsing speed
- * perf: improve `Accept-Charset` parsing speed
- * perf: improve `Accept-Encoding` parsing speed
- * perf: improve `Accept-Language` parsing speed
-
-0.6.0 / 2015-09-29
-==================
-
- * Fix including type extensions in parameters in `Accept` parsing
- * Fix parsing `Accept` parameters with quoted equals
- * Fix parsing `Accept` parameters with quoted semicolons
- * Lazy-load modules from main entry point
- * perf: delay type concatenation until needed
- * perf: enable strict mode
- * perf: hoist regular expressions
- * perf: remove closures getting spec properties
- * perf: remove a closure from media type parsing
- * perf: remove property delete from media type parsing
-
-0.5.3 / 2015-05-10
-==================
-
- * Fix media type parameter matching to be case-insensitive
-
-0.5.2 / 2015-05-06
-==================
-
- * Fix comparing media types with quoted values
- * Fix splitting media types with quoted commas
-
-0.5.1 / 2015-02-14
-==================
-
- * Fix preference sorting to be stable for long acceptable lists
-
-0.5.0 / 2014-12-18
-==================
-
- * Fix list return order when large accepted list
- * Fix missing identity encoding when q=0 exists
- * Remove dynamic building of Negotiator class
-
-0.4.9 / 2014-10-14
-==================
-
- * Fix error when media type has invalid parameter
-
-0.4.8 / 2014-09-28
-==================
-
- * Fix all negotiations to be case-insensitive
- * Stable sort preferences of same quality according to client order
- * Support Node.js 0.6
-
-0.4.7 / 2014-06-24
-==================
-
- * Handle invalid provided languages
- * Handle invalid provided media types
-
-0.4.6 / 2014-06-11
-==================
-
- * Order by specificity when quality is the same
-
-0.4.5 / 2014-05-29
-==================
-
- * Fix regression in empty header handling
-
-0.4.4 / 2014-05-29
-==================
-
- * Fix behaviors when headers are not present
-
-0.4.3 / 2014-04-16
-==================
-
- * Handle slashes on media params correctly
-
-0.4.2 / 2014-02-28
-==================
-
- * Fix media type sorting
- * Handle media types params strictly
-
-0.4.1 / 2014-01-16
-==================
-
- * Use most specific matches
-
-0.4.0 / 2014-01-09
-==================
-
- * Remove preferred prefix from methods
diff --git a/Server/node_modules/negotiator/LICENSE b/Server/node_modules/negotiator/LICENSE
deleted file mode 100644
index ea6b9e2..0000000
--- a/Server/node_modules/negotiator/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012-2014 Federico Romero
-Copyright (c) 2012-2014 Isaac Z. Schlueter
-Copyright (c) 2014-2015 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/negotiator/README.md b/Server/node_modules/negotiator/README.md
deleted file mode 100644
index 04a67ff..0000000
--- a/Server/node_modules/negotiator/README.md
+++ /dev/null
@@ -1,203 +0,0 @@
-# negotiator
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-An HTTP content negotiator for Node.js
-
-## Installation
-
-```sh
-$ npm install negotiator
-```
-
-## API
-
-```js
-var Negotiator = require('negotiator')
-```
-
-### Accept Negotiation
-
-```js
-availableMediaTypes = ['text/html', 'text/plain', 'application/json']
-
-// The negotiator constructor receives a request object
-negotiator = new Negotiator(request)
-
-// Let's say Accept header is 'text/html, application/*;q=0.2, image/jpeg;q=0.8'
-
-negotiator.mediaTypes()
-// -> ['text/html', 'image/jpeg', 'application/*']
-
-negotiator.mediaTypes(availableMediaTypes)
-// -> ['text/html', 'application/json']
-
-negotiator.mediaType(availableMediaTypes)
-// -> 'text/html'
-```
-
-You can check a working example at `examples/accept.js`.
-
-#### Methods
-
-##### mediaType()
-
-Returns the most preferred media type from the client.
-
-##### mediaType(availableMediaType)
-
-Returns the most preferred media type from a list of available media types.
-
-##### mediaTypes()
-
-Returns an array of preferred media types ordered by the client preference.
-
-##### mediaTypes(availableMediaTypes)
-
-Returns an array of preferred media types ordered by priority from a list of
-available media types.
-
-### Accept-Language Negotiation
-
-```js
-negotiator = new Negotiator(request)
-
-availableLanguages = ['en', 'es', 'fr']
-
-// Let's say Accept-Language header is 'en;q=0.8, es, pt'
-
-negotiator.languages()
-// -> ['es', 'pt', 'en']
-
-negotiator.languages(availableLanguages)
-// -> ['es', 'en']
-
-language = negotiator.language(availableLanguages)
-// -> 'es'
-```
-
-You can check a working example at `examples/language.js`.
-
-#### Methods
-
-##### language()
-
-Returns the most preferred language from the client.
-
-##### language(availableLanguages)
-
-Returns the most preferred language from a list of available languages.
-
-##### languages()
-
-Returns an array of preferred languages ordered by the client preference.
-
-##### languages(availableLanguages)
-
-Returns an array of preferred languages ordered by priority from a list of
-available languages.
-
-### Accept-Charset Negotiation
-
-```js
-availableCharsets = ['utf-8', 'iso-8859-1', 'iso-8859-5']
-
-negotiator = new Negotiator(request)
-
-// Let's say Accept-Charset header is 'utf-8, iso-8859-1;q=0.8, utf-7;q=0.2'
-
-negotiator.charsets()
-// -> ['utf-8', 'iso-8859-1', 'utf-7']
-
-negotiator.charsets(availableCharsets)
-// -> ['utf-8', 'iso-8859-1']
-
-negotiator.charset(availableCharsets)
-// -> 'utf-8'
-```
-
-You can check a working example at `examples/charset.js`.
-
-#### Methods
-
-##### charset()
-
-Returns the most preferred charset from the client.
-
-##### charset(availableCharsets)
-
-Returns the most preferred charset from a list of available charsets.
-
-##### charsets()
-
-Returns an array of preferred charsets ordered by the client preference.
-
-##### charsets(availableCharsets)
-
-Returns an array of preferred charsets ordered by priority from a list of
-available charsets.
-
-### Accept-Encoding Negotiation
-
-```js
-availableEncodings = ['identity', 'gzip']
-
-negotiator = new Negotiator(request)
-
-// Let's say Accept-Encoding header is 'gzip, compress;q=0.2, identity;q=0.5'
-
-negotiator.encodings()
-// -> ['gzip', 'identity', 'compress']
-
-negotiator.encodings(availableEncodings)
-// -> ['gzip', 'identity']
-
-negotiator.encoding(availableEncodings)
-// -> 'gzip'
-```
-
-You can check a working example at `examples/encoding.js`.
-
-#### Methods
-
-##### encoding()
-
-Returns the most preferred encoding from the client.
-
-##### encoding(availableEncodings)
-
-Returns the most preferred encoding from a list of available encodings.
-
-##### encodings()
-
-Returns an array of preferred encodings ordered by the client preference.
-
-##### encodings(availableEncodings)
-
-Returns an array of preferred encodings ordered by priority from a list of
-available encodings.
-
-## See Also
-
-The [accepts](https://npmjs.org/package/accepts#readme) module builds on
-this module and provides an alternative interface, mime type validation,
-and more.
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/negotiator.svg
-[npm-url]: https://npmjs.org/package/negotiator
-[node-version-image]: https://img.shields.io/node/v/negotiator.svg
-[node-version-url]: https://nodejs.org/en/download/
-[travis-image]: https://img.shields.io/travis/jshttp/negotiator/master.svg
-[travis-url]: https://travis-ci.org/jshttp/negotiator
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/negotiator/master.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/negotiator?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/negotiator.svg
-[downloads-url]: https://npmjs.org/package/negotiator
diff --git a/Server/node_modules/negotiator/index.js b/Server/node_modules/negotiator/index.js
deleted file mode 100644
index 8d4f6a2..0000000
--- a/Server/node_modules/negotiator/index.js
+++ /dev/null
@@ -1,124 +0,0 @@
-/*!
- * negotiator
- * Copyright(c) 2012 Federico Romero
- * Copyright(c) 2012-2014 Isaac Z. Schlueter
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Cached loaded submodules.
- * @private
- */
-
-var modules = Object.create(null);
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = Negotiator;
-module.exports.Negotiator = Negotiator;
-
-/**
- * Create a Negotiator instance from a request.
- * @param {object} request
- * @public
- */
-
-function Negotiator(request) {
- if (!(this instanceof Negotiator)) {
- return new Negotiator(request);
- }
-
- this.request = request;
-}
-
-Negotiator.prototype.charset = function charset(available) {
- var set = this.charsets(available);
- return set && set[0];
-};
-
-Negotiator.prototype.charsets = function charsets(available) {
- var preferredCharsets = loadModule('charset').preferredCharsets;
- return preferredCharsets(this.request.headers['accept-charset'], available);
-};
-
-Negotiator.prototype.encoding = function encoding(available) {
- var set = this.encodings(available);
- return set && set[0];
-};
-
-Negotiator.prototype.encodings = function encodings(available) {
- var preferredEncodings = loadModule('encoding').preferredEncodings;
- return preferredEncodings(this.request.headers['accept-encoding'], available);
-};
-
-Negotiator.prototype.language = function language(available) {
- var set = this.languages(available);
- return set && set[0];
-};
-
-Negotiator.prototype.languages = function languages(available) {
- var preferredLanguages = loadModule('language').preferredLanguages;
- return preferredLanguages(this.request.headers['accept-language'], available);
-};
-
-Negotiator.prototype.mediaType = function mediaType(available) {
- var set = this.mediaTypes(available);
- return set && set[0];
-};
-
-Negotiator.prototype.mediaTypes = function mediaTypes(available) {
- var preferredMediaTypes = loadModule('mediaType').preferredMediaTypes;
- return preferredMediaTypes(this.request.headers.accept, available);
-};
-
-// Backwards compatibility
-Negotiator.prototype.preferredCharset = Negotiator.prototype.charset;
-Negotiator.prototype.preferredCharsets = Negotiator.prototype.charsets;
-Negotiator.prototype.preferredEncoding = Negotiator.prototype.encoding;
-Negotiator.prototype.preferredEncodings = Negotiator.prototype.encodings;
-Negotiator.prototype.preferredLanguage = Negotiator.prototype.language;
-Negotiator.prototype.preferredLanguages = Negotiator.prototype.languages;
-Negotiator.prototype.preferredMediaType = Negotiator.prototype.mediaType;
-Negotiator.prototype.preferredMediaTypes = Negotiator.prototype.mediaTypes;
-
-/**
- * Load the given module.
- * @private
- */
-
-function loadModule(moduleName) {
- var module = modules[moduleName];
-
- if (module !== undefined) {
- return module;
- }
-
- // This uses a switch for static require analysis
- switch (moduleName) {
- case 'charset':
- module = require('./lib/charset');
- break;
- case 'encoding':
- module = require('./lib/encoding');
- break;
- case 'language':
- module = require('./lib/language');
- break;
- case 'mediaType':
- module = require('./lib/mediaType');
- break;
- default:
- throw new Error('Cannot find module \'' + moduleName + '\'');
- }
-
- // Store to prevent invoking require()
- modules[moduleName] = module;
-
- return module;
-}
diff --git a/Server/node_modules/negotiator/lib/charset.js b/Server/node_modules/negotiator/lib/charset.js
deleted file mode 100644
index cdd0148..0000000
--- a/Server/node_modules/negotiator/lib/charset.js
+++ /dev/null
@@ -1,169 +0,0 @@
-/**
- * negotiator
- * Copyright(c) 2012 Isaac Z. Schlueter
- * Copyright(c) 2014 Federico Romero
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = preferredCharsets;
-module.exports.preferredCharsets = preferredCharsets;
-
-/**
- * Module variables.
- * @private
- */
-
-var simpleCharsetRegExp = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
-
-/**
- * Parse the Accept-Charset header.
- * @private
- */
-
-function parseAcceptCharset(accept) {
- var accepts = accept.split(',');
-
- for (var i = 0, j = 0; i < accepts.length; i++) {
- var charset = parseCharset(accepts[i].trim(), i);
-
- if (charset) {
- accepts[j++] = charset;
- }
- }
-
- // trim accepts
- accepts.length = j;
-
- return accepts;
-}
-
-/**
- * Parse a charset from the Accept-Charset header.
- * @private
- */
-
-function parseCharset(str, i) {
- var match = simpleCharsetRegExp.exec(str);
- if (!match) return null;
-
- var charset = match[1];
- var q = 1;
- if (match[2]) {
- var params = match[2].split(';')
- for (var j = 0; j < params.length; j++) {
- var p = params[j].trim().split('=');
- if (p[0] === 'q') {
- q = parseFloat(p[1]);
- break;
- }
- }
- }
-
- return {
- charset: charset,
- q: q,
- i: i
- };
-}
-
-/**
- * Get the priority of a charset.
- * @private
- */
-
-function getCharsetPriority(charset, accepted, index) {
- var priority = {o: -1, q: 0, s: 0};
-
- for (var i = 0; i < accepted.length; i++) {
- var spec = specify(charset, accepted[i], index);
-
- if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {
- priority = spec;
- }
- }
-
- return priority;
-}
-
-/**
- * Get the specificity of the charset.
- * @private
- */
-
-function specify(charset, spec, index) {
- var s = 0;
- if(spec.charset.toLowerCase() === charset.toLowerCase()){
- s |= 1;
- } else if (spec.charset !== '*' ) {
- return null
- }
-
- return {
- i: index,
- o: spec.i,
- q: spec.q,
- s: s
- }
-}
-
-/**
- * Get the preferred charsets from an Accept-Charset header.
- * @public
- */
-
-function preferredCharsets(accept, provided) {
- // RFC 2616 sec 14.2: no header = *
- var accepts = parseAcceptCharset(accept === undefined ? '*' : accept || '');
-
- if (!provided) {
- // sorted list of all charsets
- return accepts
- .filter(isQuality)
- .sort(compareSpecs)
- .map(getFullCharset);
- }
-
- var priorities = provided.map(function getPriority(type, index) {
- return getCharsetPriority(type, accepts, index);
- });
-
- // sorted list of accepted charsets
- return priorities.filter(isQuality).sort(compareSpecs).map(function getCharset(priority) {
- return provided[priorities.indexOf(priority)];
- });
-}
-
-/**
- * Compare two specs.
- * @private
- */
-
-function compareSpecs(a, b) {
- return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0;
-}
-
-/**
- * Get full charset string.
- * @private
- */
-
-function getFullCharset(spec) {
- return spec.charset;
-}
-
-/**
- * Check if a spec has any quality.
- * @private
- */
-
-function isQuality(spec) {
- return spec.q > 0;
-}
diff --git a/Server/node_modules/negotiator/lib/encoding.js b/Server/node_modules/negotiator/lib/encoding.js
deleted file mode 100644
index 8432cd7..0000000
--- a/Server/node_modules/negotiator/lib/encoding.js
+++ /dev/null
@@ -1,184 +0,0 @@
-/**
- * negotiator
- * Copyright(c) 2012 Isaac Z. Schlueter
- * Copyright(c) 2014 Federico Romero
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = preferredEncodings;
-module.exports.preferredEncodings = preferredEncodings;
-
-/**
- * Module variables.
- * @private
- */
-
-var simpleEncodingRegExp = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
-
-/**
- * Parse the Accept-Encoding header.
- * @private
- */
-
-function parseAcceptEncoding(accept) {
- var accepts = accept.split(',');
- var hasIdentity = false;
- var minQuality = 1;
-
- for (var i = 0, j = 0; i < accepts.length; i++) {
- var encoding = parseEncoding(accepts[i].trim(), i);
-
- if (encoding) {
- accepts[j++] = encoding;
- hasIdentity = hasIdentity || specify('identity', encoding);
- minQuality = Math.min(minQuality, encoding.q || 1);
- }
- }
-
- if (!hasIdentity) {
- /*
- * If identity doesn't explicitly appear in the accept-encoding header,
- * it's added to the list of acceptable encoding with the lowest q
- */
- accepts[j++] = {
- encoding: 'identity',
- q: minQuality,
- i: i
- };
- }
-
- // trim accepts
- accepts.length = j;
-
- return accepts;
-}
-
-/**
- * Parse an encoding from the Accept-Encoding header.
- * @private
- */
-
-function parseEncoding(str, i) {
- var match = simpleEncodingRegExp.exec(str);
- if (!match) return null;
-
- var encoding = match[1];
- var q = 1;
- if (match[2]) {
- var params = match[2].split(';');
- for (var j = 0; j < params.length; j++) {
- var p = params[j].trim().split('=');
- if (p[0] === 'q') {
- q = parseFloat(p[1]);
- break;
- }
- }
- }
-
- return {
- encoding: encoding,
- q: q,
- i: i
- };
-}
-
-/**
- * Get the priority of an encoding.
- * @private
- */
-
-function getEncodingPriority(encoding, accepted, index) {
- var priority = {o: -1, q: 0, s: 0};
-
- for (var i = 0; i < accepted.length; i++) {
- var spec = specify(encoding, accepted[i], index);
-
- if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {
- priority = spec;
- }
- }
-
- return priority;
-}
-
-/**
- * Get the specificity of the encoding.
- * @private
- */
-
-function specify(encoding, spec, index) {
- var s = 0;
- if(spec.encoding.toLowerCase() === encoding.toLowerCase()){
- s |= 1;
- } else if (spec.encoding !== '*' ) {
- return null
- }
-
- return {
- i: index,
- o: spec.i,
- q: spec.q,
- s: s
- }
-};
-
-/**
- * Get the preferred encodings from an Accept-Encoding header.
- * @public
- */
-
-function preferredEncodings(accept, provided) {
- var accepts = parseAcceptEncoding(accept || '');
-
- if (!provided) {
- // sorted list of all encodings
- return accepts
- .filter(isQuality)
- .sort(compareSpecs)
- .map(getFullEncoding);
- }
-
- var priorities = provided.map(function getPriority(type, index) {
- return getEncodingPriority(type, accepts, index);
- });
-
- // sorted list of accepted encodings
- return priorities.filter(isQuality).sort(compareSpecs).map(function getEncoding(priority) {
- return provided[priorities.indexOf(priority)];
- });
-}
-
-/**
- * Compare two specs.
- * @private
- */
-
-function compareSpecs(a, b) {
- return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0;
-}
-
-/**
- * Get full encoding string.
- * @private
- */
-
-function getFullEncoding(spec) {
- return spec.encoding;
-}
-
-/**
- * Check if a spec has any quality.
- * @private
- */
-
-function isQuality(spec) {
- return spec.q > 0;
-}
diff --git a/Server/node_modules/negotiator/lib/language.js b/Server/node_modules/negotiator/lib/language.js
deleted file mode 100644
index 62f737f..0000000
--- a/Server/node_modules/negotiator/lib/language.js
+++ /dev/null
@@ -1,179 +0,0 @@
-/**
- * negotiator
- * Copyright(c) 2012 Isaac Z. Schlueter
- * Copyright(c) 2014 Federico Romero
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = preferredLanguages;
-module.exports.preferredLanguages = preferredLanguages;
-
-/**
- * Module variables.
- * @private
- */
-
-var simpleLanguageRegExp = /^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;
-
-/**
- * Parse the Accept-Language header.
- * @private
- */
-
-function parseAcceptLanguage(accept) {
- var accepts = accept.split(',');
-
- for (var i = 0, j = 0; i < accepts.length; i++) {
- var language = parseLanguage(accepts[i].trim(), i);
-
- if (language) {
- accepts[j++] = language;
- }
- }
-
- // trim accepts
- accepts.length = j;
-
- return accepts;
-}
-
-/**
- * Parse a language from the Accept-Language header.
- * @private
- */
-
-function parseLanguage(str, i) {
- var match = simpleLanguageRegExp.exec(str);
- if (!match) return null;
-
- var prefix = match[1],
- suffix = match[2],
- full = prefix;
-
- if (suffix) full += "-" + suffix;
-
- var q = 1;
- if (match[3]) {
- var params = match[3].split(';')
- for (var j = 0; j < params.length; j++) {
- var p = params[j].split('=');
- if (p[0] === 'q') q = parseFloat(p[1]);
- }
- }
-
- return {
- prefix: prefix,
- suffix: suffix,
- q: q,
- i: i,
- full: full
- };
-}
-
-/**
- * Get the priority of a language.
- * @private
- */
-
-function getLanguagePriority(language, accepted, index) {
- var priority = {o: -1, q: 0, s: 0};
-
- for (var i = 0; i < accepted.length; i++) {
- var spec = specify(language, accepted[i], index);
-
- if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {
- priority = spec;
- }
- }
-
- return priority;
-}
-
-/**
- * Get the specificity of the language.
- * @private
- */
-
-function specify(language, spec, index) {
- var p = parseLanguage(language)
- if (!p) return null;
- var s = 0;
- if(spec.full.toLowerCase() === p.full.toLowerCase()){
- s |= 4;
- } else if (spec.prefix.toLowerCase() === p.full.toLowerCase()) {
- s |= 2;
- } else if (spec.full.toLowerCase() === p.prefix.toLowerCase()) {
- s |= 1;
- } else if (spec.full !== '*' ) {
- return null
- }
-
- return {
- i: index,
- o: spec.i,
- q: spec.q,
- s: s
- }
-};
-
-/**
- * Get the preferred languages from an Accept-Language header.
- * @public
- */
-
-function preferredLanguages(accept, provided) {
- // RFC 2616 sec 14.4: no header = *
- var accepts = parseAcceptLanguage(accept === undefined ? '*' : accept || '');
-
- if (!provided) {
- // sorted list of all languages
- return accepts
- .filter(isQuality)
- .sort(compareSpecs)
- .map(getFullLanguage);
- }
-
- var priorities = provided.map(function getPriority(type, index) {
- return getLanguagePriority(type, accepts, index);
- });
-
- // sorted list of accepted languages
- return priorities.filter(isQuality).sort(compareSpecs).map(function getLanguage(priority) {
- return provided[priorities.indexOf(priority)];
- });
-}
-
-/**
- * Compare two specs.
- * @private
- */
-
-function compareSpecs(a, b) {
- return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0;
-}
-
-/**
- * Get full language string.
- * @private
- */
-
-function getFullLanguage(spec) {
- return spec.full;
-}
-
-/**
- * Check if a spec has any quality.
- * @private
- */
-
-function isQuality(spec) {
- return spec.q > 0;
-}
diff --git a/Server/node_modules/negotiator/lib/mediaType.js b/Server/node_modules/negotiator/lib/mediaType.js
deleted file mode 100644
index 67309dd..0000000
--- a/Server/node_modules/negotiator/lib/mediaType.js
+++ /dev/null
@@ -1,294 +0,0 @@
-/**
- * negotiator
- * Copyright(c) 2012 Isaac Z. Schlueter
- * Copyright(c) 2014 Federico Romero
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = preferredMediaTypes;
-module.exports.preferredMediaTypes = preferredMediaTypes;
-
-/**
- * Module variables.
- * @private
- */
-
-var simpleMediaTypeRegExp = /^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;
-
-/**
- * Parse the Accept header.
- * @private
- */
-
-function parseAccept(accept) {
- var accepts = splitMediaTypes(accept);
-
- for (var i = 0, j = 0; i < accepts.length; i++) {
- var mediaType = parseMediaType(accepts[i].trim(), i);
-
- if (mediaType) {
- accepts[j++] = mediaType;
- }
- }
-
- // trim accepts
- accepts.length = j;
-
- return accepts;
-}
-
-/**
- * Parse a media type from the Accept header.
- * @private
- */
-
-function parseMediaType(str, i) {
- var match = simpleMediaTypeRegExp.exec(str);
- if (!match) return null;
-
- var params = Object.create(null);
- var q = 1;
- var subtype = match[2];
- var type = match[1];
-
- if (match[3]) {
- var kvps = splitParameters(match[3]).map(splitKeyValuePair);
-
- for (var j = 0; j < kvps.length; j++) {
- var pair = kvps[j];
- var key = pair[0].toLowerCase();
- var val = pair[1];
-
- // get the value, unwrapping quotes
- var value = val && val[0] === '"' && val[val.length - 1] === '"'
- ? val.substr(1, val.length - 2)
- : val;
-
- if (key === 'q') {
- q = parseFloat(value);
- break;
- }
-
- // store parameter
- params[key] = value;
- }
- }
-
- return {
- type: type,
- subtype: subtype,
- params: params,
- q: q,
- i: i
- };
-}
-
-/**
- * Get the priority of a media type.
- * @private
- */
-
-function getMediaTypePriority(type, accepted, index) {
- var priority = {o: -1, q: 0, s: 0};
-
- for (var i = 0; i < accepted.length; i++) {
- var spec = specify(type, accepted[i], index);
-
- if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {
- priority = spec;
- }
- }
-
- return priority;
-}
-
-/**
- * Get the specificity of the media type.
- * @private
- */
-
-function specify(type, spec, index) {
- var p = parseMediaType(type);
- var s = 0;
-
- if (!p) {
- return null;
- }
-
- if(spec.type.toLowerCase() == p.type.toLowerCase()) {
- s |= 4
- } else if(spec.type != '*') {
- return null;
- }
-
- if(spec.subtype.toLowerCase() == p.subtype.toLowerCase()) {
- s |= 2
- } else if(spec.subtype != '*') {
- return null;
- }
-
- var keys = Object.keys(spec.params);
- if (keys.length > 0) {
- if (keys.every(function (k) {
- return spec.params[k] == '*' || (spec.params[k] || '').toLowerCase() == (p.params[k] || '').toLowerCase();
- })) {
- s |= 1
- } else {
- return null
- }
- }
-
- return {
- i: index,
- o: spec.i,
- q: spec.q,
- s: s,
- }
-}
-
-/**
- * Get the preferred media types from an Accept header.
- * @public
- */
-
-function preferredMediaTypes(accept, provided) {
- // RFC 2616 sec 14.2: no header = */*
- var accepts = parseAccept(accept === undefined ? '*/*' : accept || '');
-
- if (!provided) {
- // sorted list of all types
- return accepts
- .filter(isQuality)
- .sort(compareSpecs)
- .map(getFullType);
- }
-
- var priorities = provided.map(function getPriority(type, index) {
- return getMediaTypePriority(type, accepts, index);
- });
-
- // sorted list of accepted types
- return priorities.filter(isQuality).sort(compareSpecs).map(function getType(priority) {
- return provided[priorities.indexOf(priority)];
- });
-}
-
-/**
- * Compare two specs.
- * @private
- */
-
-function compareSpecs(a, b) {
- return (b.q - a.q) || (b.s - a.s) || (a.o - b.o) || (a.i - b.i) || 0;
-}
-
-/**
- * Get full type string.
- * @private
- */
-
-function getFullType(spec) {
- return spec.type + '/' + spec.subtype;
-}
-
-/**
- * Check if a spec has any quality.
- * @private
- */
-
-function isQuality(spec) {
- return spec.q > 0;
-}
-
-/**
- * Count the number of quotes in a string.
- * @private
- */
-
-function quoteCount(string) {
- var count = 0;
- var index = 0;
-
- while ((index = string.indexOf('"', index)) !== -1) {
- count++;
- index++;
- }
-
- return count;
-}
-
-/**
- * Split a key value pair.
- * @private
- */
-
-function splitKeyValuePair(str) {
- var index = str.indexOf('=');
- var key;
- var val;
-
- if (index === -1) {
- key = str;
- } else {
- key = str.substr(0, index);
- val = str.substr(index + 1);
- }
-
- return [key, val];
-}
-
-/**
- * Split an Accept header into media types.
- * @private
- */
-
-function splitMediaTypes(accept) {
- var accepts = accept.split(',');
-
- for (var i = 1, j = 0; i < accepts.length; i++) {
- if (quoteCount(accepts[j]) % 2 == 0) {
- accepts[++j] = accepts[i];
- } else {
- accepts[j] += ',' + accepts[i];
- }
- }
-
- // trim accepts
- accepts.length = j + 1;
-
- return accepts;
-}
-
-/**
- * Split a string of parameters.
- * @private
- */
-
-function splitParameters(str) {
- var parameters = str.split(';');
-
- for (var i = 1, j = 0; i < parameters.length; i++) {
- if (quoteCount(parameters[j]) % 2 == 0) {
- parameters[++j] = parameters[i];
- } else {
- parameters[j] += ';' + parameters[i];
- }
- }
-
- // trim parameters
- parameters.length = j + 1;
-
- for (var i = 0; i < parameters.length; i++) {
- parameters[i] = parameters[i].trim();
- }
-
- return parameters;
-}
diff --git a/Server/node_modules/negotiator/package.json b/Server/node_modules/negotiator/package.json
deleted file mode 100644
index 3d417d9..0000000
--- a/Server/node_modules/negotiator/package.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "_from": "negotiator@0.6.2",
- "_id": "negotiator@0.6.2",
- "_inBundle": false,
- "_integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",
- "_location": "/negotiator",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "negotiator@0.6.2",
- "name": "negotiator",
- "escapedName": "negotiator",
- "rawSpec": "0.6.2",
- "saveSpec": null,
- "fetchSpec": "0.6.2"
- },
- "_requiredBy": [
- "/accepts"
- ],
- "_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
- "_shasum": "feacf7ccf525a77ae9634436a64883ffeca346fb",
- "_spec": "negotiator@0.6.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/accepts",
- "bugs": {
- "url": "https://github.com/jshttp/negotiator/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Federico Romero",
- "email": "federico.romero@outboxlabs.com"
- },
- {
- "name": "Isaac Z. Schlueter",
- "email": "i@izs.me",
- "url": "http://blog.izs.me/"
- }
- ],
- "deprecated": false,
- "description": "HTTP content negotiation",
- "devDependencies": {
- "eslint": "5.16.0",
- "eslint-plugin-markdown": "1.0.0",
- "mocha": "6.1.4",
- "nyc": "14.0.0"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "lib/",
- "HISTORY.md",
- "LICENSE",
- "index.js",
- "README.md"
- ],
- "homepage": "https://github.com/jshttp/negotiator#readme",
- "keywords": [
- "http",
- "content negotiation",
- "accept",
- "accept-language",
- "accept-encoding",
- "accept-charset"
- ],
- "license": "MIT",
- "name": "negotiator",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/negotiator.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --check-leaks --bail test/",
- "test-cov": "nyc --reporter=html --reporter=text npm test",
- "test-travis": "nyc --reporter=text npm test"
- },
- "version": "0.6.2"
-}
diff --git a/Server/node_modules/object-assign/index.js b/Server/node_modules/object-assign/index.js
deleted file mode 100644
index 0930cf8..0000000
--- a/Server/node_modules/object-assign/index.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
-object-assign
-(c) Sindre Sorhus
-@license MIT
-*/
-
-'use strict';
-/* eslint-disable no-unused-vars */
-var getOwnPropertySymbols = Object.getOwnPropertySymbols;
-var hasOwnProperty = Object.prototype.hasOwnProperty;
-var propIsEnumerable = Object.prototype.propertyIsEnumerable;
-
-function toObject(val) {
- if (val === null || val === undefined) {
- throw new TypeError('Object.assign cannot be called with null or undefined');
- }
-
- return Object(val);
-}
-
-function shouldUseNative() {
- try {
- if (!Object.assign) {
- return false;
- }
-
- // Detect buggy property enumeration order in older V8 versions.
-
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
- test1[5] = 'de';
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
- return false;
- }
-
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
- var test2 = {};
- for (var i = 0; i < 10; i++) {
- test2['_' + String.fromCharCode(i)] = i;
- }
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
- return test2[n];
- });
- if (order2.join('') !== '0123456789') {
- return false;
- }
-
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
- var test3 = {};
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
- test3[letter] = letter;
- });
- if (Object.keys(Object.assign({}, test3)).join('') !==
- 'abcdefghijklmnopqrst') {
- return false;
- }
-
- return true;
- } catch (err) {
- // We don't expect any of the above to throw, but better to be safe.
- return false;
- }
-}
-
-module.exports = shouldUseNative() ? Object.assign : function (target, source) {
- var from;
- var to = toObject(target);
- var symbols;
-
- for (var s = 1; s < arguments.length; s++) {
- from = Object(arguments[s]);
-
- for (var key in from) {
- if (hasOwnProperty.call(from, key)) {
- to[key] = from[key];
- }
- }
-
- if (getOwnPropertySymbols) {
- symbols = getOwnPropertySymbols(from);
- for (var i = 0; i < symbols.length; i++) {
- if (propIsEnumerable.call(from, symbols[i])) {
- to[symbols[i]] = from[symbols[i]];
- }
- }
- }
- }
-
- return to;
-};
diff --git a/Server/node_modules/object-assign/license b/Server/node_modules/object-assign/license
deleted file mode 100644
index 654d0bf..0000000
--- a/Server/node_modules/object-assign/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-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.
diff --git a/Server/node_modules/object-assign/package.json b/Server/node_modules/object-assign/package.json
deleted file mode 100644
index 2de7056..0000000
--- a/Server/node_modules/object-assign/package.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "_from": "object-assign@^4",
- "_id": "object-assign@4.1.1",
- "_inBundle": false,
- "_integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
- "_location": "/object-assign",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "object-assign@^4",
- "name": "object-assign",
- "escapedName": "object-assign",
- "rawSpec": "^4",
- "saveSpec": null,
- "fetchSpec": "^4"
- },
- "_requiredBy": [
- "/cors"
- ],
- "_resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "_shasum": "2109adc7965887cfc05cbbd442cac8bfbb360863",
- "_spec": "object-assign@^4",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/cors",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/object-assign/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "ES2015 `Object.assign()` ponyfill",
- "devDependencies": {
- "ava": "^0.16.0",
- "lodash": "^4.16.4",
- "matcha": "^0.7.0",
- "xo": "^0.16.0"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/object-assign#readme",
- "keywords": [
- "object",
- "assign",
- "extend",
- "properties",
- "es2015",
- "ecmascript",
- "harmony",
- "ponyfill",
- "prollyfill",
- "polyfill",
- "shim",
- "browser"
- ],
- "license": "MIT",
- "name": "object-assign",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/object-assign.git"
- },
- "scripts": {
- "bench": "matcha bench.js",
- "test": "xo && ava"
- },
- "version": "4.1.1"
-}
diff --git a/Server/node_modules/object-assign/readme.md b/Server/node_modules/object-assign/readme.md
deleted file mode 100644
index 1be09d3..0000000
--- a/Server/node_modules/object-assign/readme.md
+++ /dev/null
@@ -1,61 +0,0 @@
-# object-assign [![Build Status](https://travis-ci.org/sindresorhus/object-assign.svg?branch=master)](https://travis-ci.org/sindresorhus/object-assign)
-
-> ES2015 [`Object.assign()`](http://www.2ality.com/2014/01/object-assign.html) [ponyfill](https://ponyfill.com)
-
-
-## Use the built-in
-
-Node.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari),
-support `Object.assign()` :tada:. If you target only those environments, then by all
-means, use `Object.assign()` instead of this package.
-
-
-## Install
-
-```
-$ npm install --save object-assign
-```
-
-
-## Usage
-
-```js
-const objectAssign = require('object-assign');
-
-objectAssign({foo: 0}, {bar: 1});
-//=> {foo: 0, bar: 1}
-
-// multiple sources
-objectAssign({foo: 0}, {bar: 1}, {baz: 2});
-//=> {foo: 0, bar: 1, baz: 2}
-
-// overwrites equal keys
-objectAssign({foo: 0}, {foo: 1}, {foo: 2});
-//=> {foo: 2}
-
-// ignores null and undefined sources
-objectAssign({foo: 0}, null, {bar: 1}, undefined);
-//=> {foo: 0, bar: 1}
-```
-
-
-## API
-
-### objectAssign(target, [source, ...])
-
-Assigns enumerable own properties of `source` objects to the `target` object and returns the `target` object. Additional `source` objects will overwrite previous ones.
-
-
-## Resources
-
-- [ES2015 spec - Object.assign](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.assign)
-
-
-## Related
-
-- [deep-assign](https://github.com/sindresorhus/deep-assign) - Recursive `Object.assign()`
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/Server/node_modules/on-finished/HISTORY.md b/Server/node_modules/on-finished/HISTORY.md
deleted file mode 100644
index 98ff0e9..0000000
--- a/Server/node_modules/on-finished/HISTORY.md
+++ /dev/null
@@ -1,88 +0,0 @@
-2.3.0 / 2015-05-26
-==================
-
- * Add defined behavior for HTTP `CONNECT` requests
- * Add defined behavior for HTTP `Upgrade` requests
- * deps: ee-first@1.1.1
-
-2.2.1 / 2015-04-22
-==================
-
- * Fix `isFinished(req)` when data buffered
-
-2.2.0 / 2014-12-22
-==================
-
- * Add message object to callback arguments
-
-2.1.1 / 2014-10-22
-==================
-
- * Fix handling of pipelined requests
-
-2.1.0 / 2014-08-16
-==================
-
- * Check if `socket` is detached
- * Return `undefined` for `isFinished` if state unknown
-
-2.0.0 / 2014-08-16
-==================
-
- * Add `isFinished` function
- * Move to `jshttp` organization
- * Remove support for plain socket argument
- * Rename to `on-finished`
- * Support both `req` and `res` as arguments
- * deps: ee-first@1.0.5
-
-1.2.2 / 2014-06-10
-==================
-
- * Reduce listeners added to emitters
- - avoids "event emitter leak" warnings when used multiple times on same request
-
-1.2.1 / 2014-06-08
-==================
-
- * Fix returned value when already finished
-
-1.2.0 / 2014-06-05
-==================
-
- * Call callback when called on already-finished socket
-
-1.1.4 / 2014-05-27
-==================
-
- * Support node.js 0.8
-
-1.1.3 / 2014-04-30
-==================
-
- * Make sure errors passed as instanceof `Error`
-
-1.1.2 / 2014-04-18
-==================
-
- * Default the `socket` to passed-in object
-
-1.1.1 / 2014-01-16
-==================
-
- * Rename module to `finished`
-
-1.1.0 / 2013-12-25
-==================
-
- * Call callback when called on already-errored socket
-
-1.0.1 / 2013-12-20
-==================
-
- * Actually pass the error to the callback
-
-1.0.0 / 2013-12-20
-==================
-
- * Initial release
diff --git a/Server/node_modules/on-finished/LICENSE b/Server/node_modules/on-finished/LICENSE
deleted file mode 100644
index 5931fd2..0000000
--- a/Server/node_modules/on-finished/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2013 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2014 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/on-finished/README.md b/Server/node_modules/on-finished/README.md
deleted file mode 100644
index a0e1157..0000000
--- a/Server/node_modules/on-finished/README.md
+++ /dev/null
@@ -1,154 +0,0 @@
-# on-finished
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Execute a callback when a HTTP request closes, finishes, or errors.
-
-## Install
-
-```sh
-$ npm install on-finished
-```
-
-## API
-
-```js
-var onFinished = require('on-finished')
-```
-
-### onFinished(res, listener)
-
-Attach a listener to listen for the response to finish. The listener will
-be invoked only once when the response finished. If the response finished
-to an error, the first argument will contain the error. If the response
-has already finished, the listener will be invoked.
-
-Listening to the end of a response would be used to close things associated
-with the response, like open files.
-
-Listener is invoked as `listener(err, res)`.
-
-```js
-onFinished(res, function (err, res) {
- // clean up open fds, etc.
- // err contains the error is request error'd
-})
-```
-
-### onFinished(req, listener)
-
-Attach a listener to listen for the request to finish. The listener will
-be invoked only once when the request finished. If the request finished
-to an error, the first argument will contain the error. If the request
-has already finished, the listener will be invoked.
-
-Listening to the end of a request would be used to know when to continue
-after reading the data.
-
-Listener is invoked as `listener(err, req)`.
-
-```js
-var data = ''
-
-req.setEncoding('utf8')
-res.on('data', function (str) {
- data += str
-})
-
-onFinished(req, function (err, req) {
- // data is read unless there is err
-})
-```
-
-### onFinished.isFinished(res)
-
-Determine if `res` is already finished. This would be useful to check and
-not even start certain operations if the response has already finished.
-
-### onFinished.isFinished(req)
-
-Determine if `req` is already finished. This would be useful to check and
-not even start certain operations if the request has already finished.
-
-## Special Node.js requests
-
-### HTTP CONNECT method
-
-The meaning of the `CONNECT` method from RFC 7231, section 4.3.6:
-
-> The CONNECT method requests that the recipient establish a tunnel to
-> the destination origin server identified by the request-target and,
-> if successful, thereafter restrict its behavior to blind forwarding
-> of packets, in both directions, until the tunnel is closed. Tunnels
-> are commonly used to create an end-to-end virtual connection, through
-> one or more proxies, which can then be secured using TLS (Transport
-> Layer Security, [RFC5246]).
-
-In Node.js, these request objects come from the `'connect'` event on
-the HTTP server.
-
-When this module is used on a HTTP `CONNECT` request, the request is
-considered "finished" immediately, **due to limitations in the Node.js
-interface**. This means if the `CONNECT` request contains a request entity,
-the request will be considered "finished" even before it has been read.
-
-There is no such thing as a response object to a `CONNECT` request in
-Node.js, so there is no support for for one.
-
-### HTTP Upgrade request
-
-The meaning of the `Upgrade` header from RFC 7230, section 6.1:
-
-> The "Upgrade" header field is intended to provide a simple mechanism
-> for transitioning from HTTP/1.1 to some other protocol on the same
-> connection.
-
-In Node.js, these request objects come from the `'upgrade'` event on
-the HTTP server.
-
-When this module is used on a HTTP request with an `Upgrade` header, the
-request is considered "finished" immediately, **due to limitations in the
-Node.js interface**. This means if the `Upgrade` request contains a request
-entity, the request will be considered "finished" even before it has been
-read.
-
-There is no such thing as a response object to a `Upgrade` request in
-Node.js, so there is no support for for one.
-
-## Example
-
-The following code ensures that file descriptors are always closed
-once the response finishes.
-
-```js
-var destroy = require('destroy')
-var http = require('http')
-var onFinished = require('on-finished')
-
-http.createServer(function onRequest(req, res) {
- var stream = fs.createReadStream('package.json')
- stream.pipe(res)
- onFinished(res, function (err) {
- destroy(stream)
- })
-})
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/on-finished.svg
-[npm-url]: https://npmjs.org/package/on-finished
-[node-version-image]: https://img.shields.io/node/v/on-finished.svg
-[node-version-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/jshttp/on-finished/master.svg
-[travis-url]: https://travis-ci.org/jshttp/on-finished
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/on-finished/master.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/on-finished?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/on-finished.svg
-[downloads-url]: https://npmjs.org/package/on-finished
diff --git a/Server/node_modules/on-finished/index.js b/Server/node_modules/on-finished/index.js
deleted file mode 100644
index 9abd98f..0000000
--- a/Server/node_modules/on-finished/index.js
+++ /dev/null
@@ -1,196 +0,0 @@
-/*!
- * on-finished
- * Copyright(c) 2013 Jonathan Ong
- * Copyright(c) 2014 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = onFinished
-module.exports.isFinished = isFinished
-
-/**
- * Module dependencies.
- * @private
- */
-
-var first = require('ee-first')
-
-/**
- * Variables.
- * @private
- */
-
-/* istanbul ignore next */
-var defer = typeof setImmediate === 'function'
- ? setImmediate
- : function(fn){ process.nextTick(fn.bind.apply(fn, arguments)) }
-
-/**
- * Invoke callback when the response has finished, useful for
- * cleaning up resources afterwards.
- *
- * @param {object} msg
- * @param {function} listener
- * @return {object}
- * @public
- */
-
-function onFinished(msg, listener) {
- if (isFinished(msg) !== false) {
- defer(listener, null, msg)
- return msg
- }
-
- // attach the listener to the message
- attachListener(msg, listener)
-
- return msg
-}
-
-/**
- * Determine if message is already finished.
- *
- * @param {object} msg
- * @return {boolean}
- * @public
- */
-
-function isFinished(msg) {
- var socket = msg.socket
-
- if (typeof msg.finished === 'boolean') {
- // OutgoingMessage
- return Boolean(msg.finished || (socket && !socket.writable))
- }
-
- if (typeof msg.complete === 'boolean') {
- // IncomingMessage
- return Boolean(msg.upgrade || !socket || !socket.readable || (msg.complete && !msg.readable))
- }
-
- // don't know
- return undefined
-}
-
-/**
- * Attach a finished listener to the message.
- *
- * @param {object} msg
- * @param {function} callback
- * @private
- */
-
-function attachFinishedListener(msg, callback) {
- var eeMsg
- var eeSocket
- var finished = false
-
- function onFinish(error) {
- eeMsg.cancel()
- eeSocket.cancel()
-
- finished = true
- callback(error)
- }
-
- // finished on first message event
- eeMsg = eeSocket = first([[msg, 'end', 'finish']], onFinish)
-
- function onSocket(socket) {
- // remove listener
- msg.removeListener('socket', onSocket)
-
- if (finished) return
- if (eeMsg !== eeSocket) return
-
- // finished on first socket event
- eeSocket = first([[socket, 'error', 'close']], onFinish)
- }
-
- if (msg.socket) {
- // socket already assigned
- onSocket(msg.socket)
- return
- }
-
- // wait for socket to be assigned
- msg.on('socket', onSocket)
-
- if (msg.socket === undefined) {
- // node.js 0.8 patch
- patchAssignSocket(msg, onSocket)
- }
-}
-
-/**
- * Attach the listener to the message.
- *
- * @param {object} msg
- * @return {function}
- * @private
- */
-
-function attachListener(msg, listener) {
- var attached = msg.__onFinished
-
- // create a private single listener with queue
- if (!attached || !attached.queue) {
- attached = msg.__onFinished = createListener(msg)
- attachFinishedListener(msg, attached)
- }
-
- attached.queue.push(listener)
-}
-
-/**
- * Create listener on message.
- *
- * @param {object} msg
- * @return {function}
- * @private
- */
-
-function createListener(msg) {
- function listener(err) {
- if (msg.__onFinished === listener) msg.__onFinished = null
- if (!listener.queue) return
-
- var queue = listener.queue
- listener.queue = null
-
- for (var i = 0; i < queue.length; i++) {
- queue[i](err, msg)
- }
- }
-
- listener.queue = []
-
- return listener
-}
-
-/**
- * Patch ServerResponse.prototype.assignSocket for node.js 0.8.
- *
- * @param {ServerResponse} res
- * @param {function} callback
- * @private
- */
-
-function patchAssignSocket(res, callback) {
- var assignSocket = res.assignSocket
-
- if (typeof assignSocket !== 'function') return
-
- // res.on('socket', callback) is broken in 0.8
- res.assignSocket = function _assignSocket(socket) {
- assignSocket.call(this, socket)
- callback(socket)
- }
-}
diff --git a/Server/node_modules/on-finished/package.json b/Server/node_modules/on-finished/package.json
deleted file mode 100644
index 8da199c..0000000
--- a/Server/node_modules/on-finished/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "_from": "on-finished@~2.3.0",
- "_id": "on-finished@2.3.0",
- "_inBundle": false,
- "_integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
- "_location": "/on-finished",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "on-finished@~2.3.0",
- "name": "on-finished",
- "escapedName": "on-finished",
- "rawSpec": "~2.3.0",
- "saveSpec": null,
- "fetchSpec": "~2.3.0"
- },
- "_requiredBy": [
- "/body-parser",
- "/express",
- "/finalhandler",
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
- "_shasum": "20f1336481b083cd75337992a16971aa2d906947",
- "_spec": "on-finished@~2.3.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "bugs": {
- "url": "https://github.com/jshttp/on-finished/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "dependencies": {
- "ee-first": "1.1.1"
- },
- "deprecated": false,
- "description": "Execute a callback when a request closes, finishes, or errors",
- "devDependencies": {
- "istanbul": "0.3.9",
- "mocha": "2.2.5"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/on-finished#readme",
- "license": "MIT",
- "name": "on-finished",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/on-finished.git"
- },
- "scripts": {
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "2.3.0"
-}
diff --git a/Server/node_modules/parseurl/HISTORY.md b/Server/node_modules/parseurl/HISTORY.md
deleted file mode 100644
index 8e40954..0000000
--- a/Server/node_modules/parseurl/HISTORY.md
+++ /dev/null
@@ -1,58 +0,0 @@
-1.3.3 / 2019-04-15
-==================
-
- * Fix Node.js 0.8 return value inconsistencies
-
-1.3.2 / 2017-09-09
-==================
-
- * perf: reduce overhead for full URLs
- * perf: unroll the "fast-path" `RegExp`
-
-1.3.1 / 2016-01-17
-==================
-
- * perf: enable strict mode
-
-1.3.0 / 2014-08-09
-==================
-
- * Add `parseurl.original` for parsing `req.originalUrl` with fallback
- * Return `undefined` if `req.url` is `undefined`
-
-1.2.0 / 2014-07-21
-==================
-
- * Cache URLs based on original value
- * Remove no-longer-needed URL mis-parse work-around
- * Simplify the "fast-path" `RegExp`
-
-1.1.3 / 2014-07-08
-==================
-
- * Fix typo
-
-1.1.2 / 2014-07-08
-==================
-
- * Seriously fix Node.js 0.8 compatibility
-
-1.1.1 / 2014-07-08
-==================
-
- * Fix Node.js 0.8 compatibility
-
-1.1.0 / 2014-07-08
-==================
-
- * Incorporate URL href-only parse fast-path
-
-1.0.1 / 2014-03-08
-==================
-
- * Add missing `require`
-
-1.0.0 / 2014-03-08
-==================
-
- * Genesis from `connect`
diff --git a/Server/node_modules/parseurl/LICENSE b/Server/node_modules/parseurl/LICENSE
deleted file mode 100644
index 27653d3..0000000
--- a/Server/node_modules/parseurl/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2014-2017 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/parseurl/README.md b/Server/node_modules/parseurl/README.md
deleted file mode 100644
index 443e716..0000000
--- a/Server/node_modules/parseurl/README.md
+++ /dev/null
@@ -1,133 +0,0 @@
-# parseurl
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Parse a URL with memoization.
-
-## Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install parseurl
-```
-
-## API
-
-```js
-var parseurl = require('parseurl')
-```
-
-### parseurl(req)
-
-Parse the URL of the given request object (looks at the `req.url` property)
-and return the result. The result is the same as `url.parse` in Node.js core.
-Calling this function multiple times on the same `req` where `req.url` does
-not change will return a cached parsed object, rather than parsing again.
-
-### parseurl.original(req)
-
-Parse the original URL of the given request object and return the result.
-This works by trying to parse `req.originalUrl` if it is a string, otherwise
-parses `req.url`. The result is the same as `url.parse` in Node.js core.
-Calling this function multiple times on the same `req` where `req.originalUrl`
-does not change will return a cached parsed object, rather than parsing again.
-
-## Benchmark
-
-```bash
-$ npm run-script bench
-
-> parseurl@1.3.3 bench nodejs-parseurl
-> node benchmark/index.js
-
- http_parser@2.8.0
- node@10.6.0
- v8@6.7.288.46-node.13
- uv@1.21.0
- zlib@1.2.11
- ares@1.14.0
- modules@64
- nghttp2@1.32.0
- napi@3
- openssl@1.1.0h
- icu@61.1
- unicode@10.0
- cldr@33.0
- tz@2018c
-
-> node benchmark/fullurl.js
-
- Parsing URL "http://localhost:8888/foo/bar?user=tj&pet=fluffy"
-
- 4 tests completed.
-
- fasturl x 2,207,842 ops/sec ±3.76% (184 runs sampled)
- nativeurl - legacy x 507,180 ops/sec ±0.82% (191 runs sampled)
- nativeurl - whatwg x 290,044 ops/sec ±1.96% (189 runs sampled)
- parseurl x 488,907 ops/sec ±2.13% (192 runs sampled)
-
-> node benchmark/pathquery.js
-
- Parsing URL "/foo/bar?user=tj&pet=fluffy"
-
- 4 tests completed.
-
- fasturl x 3,812,564 ops/sec ±3.15% (188 runs sampled)
- nativeurl - legacy x 2,651,631 ops/sec ±1.68% (189 runs sampled)
- nativeurl - whatwg x 161,837 ops/sec ±2.26% (189 runs sampled)
- parseurl x 4,166,338 ops/sec ±2.23% (184 runs sampled)
-
-> node benchmark/samerequest.js
-
- Parsing URL "/foo/bar?user=tj&pet=fluffy" on same request object
-
- 4 tests completed.
-
- fasturl x 3,821,651 ops/sec ±2.42% (185 runs sampled)
- nativeurl - legacy x 2,651,162 ops/sec ±1.90% (187 runs sampled)
- nativeurl - whatwg x 175,166 ops/sec ±1.44% (188 runs sampled)
- parseurl x 14,912,606 ops/sec ±3.59% (183 runs sampled)
-
-> node benchmark/simplepath.js
-
- Parsing URL "/foo/bar"
-
- 4 tests completed.
-
- fasturl x 12,421,765 ops/sec ±2.04% (191 runs sampled)
- nativeurl - legacy x 7,546,036 ops/sec ±1.41% (188 runs sampled)
- nativeurl - whatwg x 198,843 ops/sec ±1.83% (189 runs sampled)
- parseurl x 24,244,006 ops/sec ±0.51% (194 runs sampled)
-
-> node benchmark/slash.js
-
- Parsing URL "/"
-
- 4 tests completed.
-
- fasturl x 17,159,456 ops/sec ±3.25% (188 runs sampled)
- nativeurl - legacy x 11,635,097 ops/sec ±3.79% (184 runs sampled)
- nativeurl - whatwg x 240,693 ops/sec ±0.83% (189 runs sampled)
- parseurl x 42,279,067 ops/sec ±0.55% (190 runs sampled)
-```
-
-## License
-
- [MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/pillarjs/parseurl/master
-[coveralls-url]: https://coveralls.io/r/pillarjs/parseurl?branch=master
-[node-image]: https://badgen.net/npm/node/parseurl
-[node-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/parseurl
-[npm-url]: https://npmjs.org/package/parseurl
-[npm-version-image]: https://badgen.net/npm/v/parseurl
-[travis-image]: https://badgen.net/travis/pillarjs/parseurl/master
-[travis-url]: https://travis-ci.org/pillarjs/parseurl
diff --git a/Server/node_modules/parseurl/index.js b/Server/node_modules/parseurl/index.js
deleted file mode 100644
index ece7223..0000000
--- a/Server/node_modules/parseurl/index.js
+++ /dev/null
@@ -1,158 +0,0 @@
-/*!
- * parseurl
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2014-2017 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var url = require('url')
-var parse = url.parse
-var Url = url.Url
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = parseurl
-module.exports.original = originalurl
-
-/**
- * Parse the `req` url with memoization.
- *
- * @param {ServerRequest} req
- * @return {Object}
- * @public
- */
-
-function parseurl (req) {
- var url = req.url
-
- if (url === undefined) {
- // URL is undefined
- return undefined
- }
-
- var parsed = req._parsedUrl
-
- if (fresh(url, parsed)) {
- // Return cached URL parse
- return parsed
- }
-
- // Parse the URL
- parsed = fastparse(url)
- parsed._raw = url
-
- return (req._parsedUrl = parsed)
-};
-
-/**
- * Parse the `req` original url with fallback and memoization.
- *
- * @param {ServerRequest} req
- * @return {Object}
- * @public
- */
-
-function originalurl (req) {
- var url = req.originalUrl
-
- if (typeof url !== 'string') {
- // Fallback
- return parseurl(req)
- }
-
- var parsed = req._parsedOriginalUrl
-
- if (fresh(url, parsed)) {
- // Return cached URL parse
- return parsed
- }
-
- // Parse the URL
- parsed = fastparse(url)
- parsed._raw = url
-
- return (req._parsedOriginalUrl = parsed)
-};
-
-/**
- * Parse the `str` url with fast-path short-cut.
- *
- * @param {string} str
- * @return {Object}
- * @private
- */
-
-function fastparse (str) {
- if (typeof str !== 'string' || str.charCodeAt(0) !== 0x2f /* / */) {
- return parse(str)
- }
-
- var pathname = str
- var query = null
- var search = null
-
- // This takes the regexp from https://github.com/joyent/node/pull/7878
- // Which is /^(\/[^?#\s]*)(\?[^#\s]*)?$/
- // And unrolls it into a for loop
- for (var i = 1; i < str.length; i++) {
- switch (str.charCodeAt(i)) {
- case 0x3f: /* ? */
- if (search === null) {
- pathname = str.substring(0, i)
- query = str.substring(i + 1)
- search = str.substring(i)
- }
- break
- case 0x09: /* \t */
- case 0x0a: /* \n */
- case 0x0c: /* \f */
- case 0x0d: /* \r */
- case 0x20: /* */
- case 0x23: /* # */
- case 0xa0:
- case 0xfeff:
- return parse(str)
- }
- }
-
- var url = Url !== undefined
- ? new Url()
- : {}
-
- url.path = str
- url.href = str
- url.pathname = pathname
-
- if (search !== null) {
- url.query = query
- url.search = search
- }
-
- return url
-}
-
-/**
- * Determine if parsed is still fresh for url.
- *
- * @param {string} url
- * @param {object} parsedUrl
- * @return {boolean}
- * @private
- */
-
-function fresh (url, parsedUrl) {
- return typeof parsedUrl === 'object' &&
- parsedUrl !== null &&
- (Url === undefined || parsedUrl instanceof Url) &&
- parsedUrl._raw === url
-}
diff --git a/Server/node_modules/parseurl/package.json b/Server/node_modules/parseurl/package.json
deleted file mode 100644
index d2bc4a6..0000000
--- a/Server/node_modules/parseurl/package.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "_from": "parseurl@~1.3.3",
- "_id": "parseurl@1.3.3",
- "_inBundle": false,
- "_integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
- "_location": "/parseurl",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "parseurl@~1.3.3",
- "name": "parseurl",
- "escapedName": "parseurl",
- "rawSpec": "~1.3.3",
- "saveSpec": null,
- "fetchSpec": "~1.3.3"
- },
- "_requiredBy": [
- "/express",
- "/finalhandler",
- "/serve-static"
- ],
- "_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
- "_shasum": "9da19e7bee8d12dff0513ed5b76957793bc2e8d4",
- "_spec": "parseurl@~1.3.3",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "bugs": {
- "url": "https://github.com/pillarjs/parseurl/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "deprecated": false,
- "description": "parse a url with memoization",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.17.1",
- "eslint-plugin-node": "7.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "fast-url-parser": "1.1.3",
- "istanbul": "0.4.5",
- "mocha": "6.1.3"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/pillarjs/parseurl#readme",
- "license": "MIT",
- "name": "parseurl",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/pillarjs/parseurl.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint .",
- "test": "mocha --check-leaks --bail --reporter spec test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
- },
- "version": "1.3.3"
-}
diff --git a/Server/node_modules/path-to-regexp/History.md b/Server/node_modules/path-to-regexp/History.md
deleted file mode 100644
index 7f65878..0000000
--- a/Server/node_modules/path-to-regexp/History.md
+++ /dev/null
@@ -1,36 +0,0 @@
-0.1.7 / 2015-07-28
-==================
-
- * Fixed regression with escaped round brackets and matching groups.
-
-0.1.6 / 2015-06-19
-==================
-
- * Replace `index` feature by outputting all parameters, unnamed and named.
-
-0.1.5 / 2015-05-08
-==================
-
- * Add an index property for position in match result.
-
-0.1.4 / 2015-03-05
-==================
-
- * Add license information
-
-0.1.3 / 2014-07-06
-==================
-
- * Better array support
- * Improved support for trailing slash in non-ending mode
-
-0.1.0 / 2014-03-06
-==================
-
- * add options.end
-
-0.0.2 / 2013-02-10
-==================
-
- * Update to match current express
- * add .license property to component.json
diff --git a/Server/node_modules/path-to-regexp/LICENSE b/Server/node_modules/path-to-regexp/LICENSE
deleted file mode 100644
index 983fbe8..0000000
--- a/Server/node_modules/path-to-regexp/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
-
-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.
diff --git a/Server/node_modules/path-to-regexp/Readme.md b/Server/node_modules/path-to-regexp/Readme.md
deleted file mode 100644
index 95452a6..0000000
--- a/Server/node_modules/path-to-regexp/Readme.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# Path-to-RegExp
-
-Turn an Express-style path string such as `/user/:name` into a regular expression.
-
-**Note:** This is a legacy branch. You should upgrade to `1.x`.
-
-## Usage
-
-```javascript
-var pathToRegexp = require('path-to-regexp');
-```
-
-### pathToRegexp(path, keys, options)
-
- - **path** A string in the express format, an array of such strings, or a regular expression
- - **keys** An array to be populated with the keys present in the url. Once the function completes, this will be an array of strings.
- - **options**
- - **options.sensitive** Defaults to false, set this to true to make routes case sensitive
- - **options.strict** Defaults to false, set this to true to make the trailing slash matter.
- - **options.end** Defaults to true, set this to false to only match the prefix of the URL.
-
-```javascript
-var keys = [];
-var exp = pathToRegexp('/foo/:bar', keys);
-//keys = ['bar']
-//exp = /^\/foo\/(?:([^\/]+?))\/?$/i
-```
-
-## Live Demo
-
-You can see a live demo of this library in use at [express-route-tester](http://forbeslindesay.github.com/express-route-tester/).
-
-## License
-
- MIT
diff --git a/Server/node_modules/path-to-regexp/index.js b/Server/node_modules/path-to-regexp/index.js
deleted file mode 100644
index 500d1da..0000000
--- a/Server/node_modules/path-to-regexp/index.js
+++ /dev/null
@@ -1,129 +0,0 @@
-/**
- * Expose `pathtoRegexp`.
- */
-
-module.exports = pathtoRegexp;
-
-/**
- * Match matching groups in a regular expression.
- */
-var MATCHING_GROUP_REGEXP = /\((?!\?)/g;
-
-/**
- * Normalize the given path string,
- * returning a regular expression.
- *
- * An empty array should be passed,
- * which will contain the placeholder
- * key names. For example "/user/:id" will
- * then contain ["id"].
- *
- * @param {String|RegExp|Array} path
- * @param {Array} keys
- * @param {Object} options
- * @return {RegExp}
- * @api private
- */
-
-function pathtoRegexp(path, keys, options) {
- options = options || {};
- keys = keys || [];
- var strict = options.strict;
- var end = options.end !== false;
- var flags = options.sensitive ? '' : 'i';
- var extraOffset = 0;
- var keysOffset = keys.length;
- var i = 0;
- var name = 0;
- var m;
-
- if (path instanceof RegExp) {
- while (m = MATCHING_GROUP_REGEXP.exec(path.source)) {
- keys.push({
- name: name++,
- optional: false,
- offset: m.index
- });
- }
-
- return path;
- }
-
- if (Array.isArray(path)) {
- // Map array parts into regexps and return their source. We also pass
- // the same keys and options instance into every generation to get
- // consistent matching groups before we join the sources together.
- path = path.map(function (value) {
- return pathtoRegexp(value, keys, options).source;
- });
-
- return new RegExp('(?:' + path.join('|') + ')', flags);
- }
-
- path = ('^' + path + (strict ? '' : path[path.length - 1] === '/' ? '?' : '/?'))
- .replace(/\/\(/g, '/(?:')
- .replace(/([\/\.])/g, '\\$1')
- .replace(/(\\\/)?(\\\.)?:(\w+)(\(.*?\))?(\*)?(\?)?/g, function (match, slash, format, key, capture, star, optional, offset) {
- slash = slash || '';
- format = format || '';
- capture = capture || '([^\\/' + format + ']+?)';
- optional = optional || '';
-
- keys.push({
- name: key,
- optional: !!optional,
- offset: offset + extraOffset
- });
-
- var result = ''
- + (optional ? '' : slash)
- + '(?:'
- + format + (optional ? slash : '') + capture
- + (star ? '((?:[\\/' + format + '].+?)?)' : '')
- + ')'
- + optional;
-
- extraOffset += result.length - match.length;
-
- return result;
- })
- .replace(/\*/g, function (star, index) {
- var len = keys.length
-
- while (len-- > keysOffset && keys[len].offset > index) {
- keys[len].offset += 3; // Replacement length minus asterisk length.
- }
-
- return '(.*)';
- });
-
- // This is a workaround for handling unnamed matching groups.
- while (m = MATCHING_GROUP_REGEXP.exec(path)) {
- var escapeCount = 0;
- var index = m.index;
-
- while (path.charAt(--index) === '\\') {
- escapeCount++;
- }
-
- // It's possible to escape the bracket.
- if (escapeCount % 2 === 1) {
- continue;
- }
-
- if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) {
- keys.splice(keysOffset + i, 0, {
- name: name++, // Unnamed matching groups must be consistently linear.
- optional: false,
- offset: m.index
- });
- }
-
- i++;
- }
-
- // If the path is non-ending, match until the end or a slash.
- path += (end ? '$' : (path[path.length - 1] === '/' ? '' : '(?=\\/|$)'));
-
- return new RegExp(path, flags);
-};
diff --git a/Server/node_modules/path-to-regexp/package.json b/Server/node_modules/path-to-regexp/package.json
deleted file mode 100644
index f9a368e..0000000
--- a/Server/node_modules/path-to-regexp/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "_from": "path-to-regexp@0.1.7",
- "_id": "path-to-regexp@0.1.7",
- "_inBundle": false,
- "_integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=",
- "_location": "/path-to-regexp",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "path-to-regexp@0.1.7",
- "name": "path-to-regexp",
- "escapedName": "path-to-regexp",
- "rawSpec": "0.1.7",
- "saveSpec": null,
- "fetchSpec": "0.1.7"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
- "_shasum": "df604178005f522f15eb4490e7247a1bfaa67f8c",
- "_spec": "path-to-regexp@0.1.7",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "bugs": {
- "url": "https://github.com/component/path-to-regexp/issues"
- },
- "bundleDependencies": false,
- "component": {
- "scripts": {
- "path-to-regexp": "index.js"
- }
- },
- "deprecated": false,
- "description": "Express style path to RegExp utility",
- "devDependencies": {
- "istanbul": "^0.2.6",
- "mocha": "^1.17.1"
- },
- "files": [
- "index.js",
- "LICENSE"
- ],
- "homepage": "https://github.com/component/path-to-regexp#readme",
- "keywords": [
- "express",
- "regexp"
- ],
- "license": "MIT",
- "name": "path-to-regexp",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/component/path-to-regexp.git"
- },
- "scripts": {
- "test": "istanbul cover _mocha -- -R spec"
- },
- "version": "0.1.7"
-}
diff --git a/Server/node_modules/process-nextick-args/index.js b/Server/node_modules/process-nextick-args/index.js
deleted file mode 100644
index 3eecf11..0000000
--- a/Server/node_modules/process-nextick-args/index.js
+++ /dev/null
@@ -1,45 +0,0 @@
-'use strict';
-
-if (typeof process === 'undefined' ||
- !process.version ||
- process.version.indexOf('v0.') === 0 ||
- process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {
- module.exports = { nextTick: nextTick };
-} else {
- module.exports = process
-}
-
-function nextTick(fn, arg1, arg2, arg3) {
- if (typeof fn !== 'function') {
- throw new TypeError('"callback" argument must be a function');
- }
- var len = arguments.length;
- var args, i;
- switch (len) {
- case 0:
- case 1:
- return process.nextTick(fn);
- case 2:
- return process.nextTick(function afterTickOne() {
- fn.call(null, arg1);
- });
- case 3:
- return process.nextTick(function afterTickTwo() {
- fn.call(null, arg1, arg2);
- });
- case 4:
- return process.nextTick(function afterTickThree() {
- fn.call(null, arg1, arg2, arg3);
- });
- default:
- args = new Array(len - 1);
- i = 0;
- while (i < args.length) {
- args[i++] = arguments[i];
- }
- return process.nextTick(function afterTick() {
- fn.apply(null, args);
- });
- }
-}
-
diff --git a/Server/node_modules/process-nextick-args/license.md b/Server/node_modules/process-nextick-args/license.md
deleted file mode 100644
index c67e353..0000000
--- a/Server/node_modules/process-nextick-args/license.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright (c) 2015 Calvin Metcalf
-
-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.**
diff --git a/Server/node_modules/process-nextick-args/package.json b/Server/node_modules/process-nextick-args/package.json
deleted file mode 100644
index ade3f4e..0000000
--- a/Server/node_modules/process-nextick-args/package.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "_from": "process-nextick-args@~2.0.0",
- "_id": "process-nextick-args@2.0.1",
- "_inBundle": false,
- "_integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
- "_location": "/process-nextick-args",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "process-nextick-args@~2.0.0",
- "name": "process-nextick-args",
- "escapedName": "process-nextick-args",
- "rawSpec": "~2.0.0",
- "saveSpec": null,
- "fetchSpec": "~2.0.0"
- },
- "_requiredBy": [
- "/readable-stream"
- ],
- "_resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
- "_shasum": "7820d9b16120cc55ca9ae7792680ae7dba6d7fe2",
- "_spec": "process-nextick-args@~2.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/readable-stream",
- "author": "",
- "bugs": {
- "url": "https://github.com/calvinmetcalf/process-nextick-args/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "process.nextTick but always with args",
- "devDependencies": {
- "tap": "~0.2.6"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/calvinmetcalf/process-nextick-args",
- "license": "MIT",
- "main": "index.js",
- "name": "process-nextick-args",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/calvinmetcalf/process-nextick-args.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "2.0.1"
-}
diff --git a/Server/node_modules/process-nextick-args/readme.md b/Server/node_modules/process-nextick-args/readme.md
deleted file mode 100644
index ecb432c..0000000
--- a/Server/node_modules/process-nextick-args/readme.md
+++ /dev/null
@@ -1,18 +0,0 @@
-process-nextick-args
-=====
-
-[![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args)
-
-```bash
-npm install --save process-nextick-args
-```
-
-Always be able to pass arguments to process.nextTick, no matter the platform
-
-```js
-var pna = require('process-nextick-args');
-
-pna.nextTick(function (a, b, c) {
- console.log(a, b, c);
-}, 'step', 3, 'profit');
-```
diff --git a/Server/node_modules/proxy-addr/HISTORY.md b/Server/node_modules/proxy-addr/HISTORY.md
deleted file mode 100644
index be765b7..0000000
--- a/Server/node_modules/proxy-addr/HISTORY.md
+++ /dev/null
@@ -1,155 +0,0 @@
-2.0.6 / 2020-02-24
-==================
-
- * deps: ipaddr.js@1.9.1
-
-2.0.5 / 2019-04-16
-==================
-
- * deps: ipaddr.js@1.9.0
-
-2.0.4 / 2018-07-26
-==================
-
- * deps: ipaddr.js@1.8.0
-
-2.0.3 / 2018-02-19
-==================
-
- * deps: ipaddr.js@1.6.0
-
-2.0.2 / 2017-09-24
-==================
-
- * deps: forwarded@~0.1.2
- - perf: improve header parsing
- - perf: reduce overhead when no `X-Forwarded-For` header
-
-2.0.1 / 2017-09-10
-==================
-
- * deps: forwarded@~0.1.1
- - Fix trimming leading / trailing OWS
- - perf: hoist regular expression
- * deps: ipaddr.js@1.5.2
-
-2.0.0 / 2017-08-08
-==================
-
- * Drop support for Node.js below 0.10
-
-1.1.5 / 2017-07-25
-==================
-
- * Fix array argument being altered
- * deps: ipaddr.js@1.4.0
-
-1.1.4 / 2017-03-24
-==================
-
- * deps: ipaddr.js@1.3.0
-
-1.1.3 / 2017-01-14
-==================
-
- * deps: ipaddr.js@1.2.0
-
-1.1.2 / 2016-05-29
-==================
-
- * deps: ipaddr.js@1.1.1
- - Fix IPv6-mapped IPv4 validation edge cases
-
-1.1.1 / 2016-05-03
-==================
-
- * Fix regression matching mixed versions against multiple subnets
-
-1.1.0 / 2016-05-01
-==================
-
- * Fix accepting various invalid netmasks
- - IPv4 netmasks must be contingous
- - IPv6 addresses cannot be used as a netmask
- * deps: ipaddr.js@1.1.0
-
-1.0.10 / 2015-12-09
-===================
-
- * deps: ipaddr.js@1.0.5
- - Fix regression in `isValid` with non-string arguments
-
-1.0.9 / 2015-12-01
-==================
-
- * deps: ipaddr.js@1.0.4
- - Fix accepting some invalid IPv6 addresses
- - Reject CIDRs with negative or overlong masks
- * perf: enable strict mode
-
-1.0.8 / 2015-05-10
-==================
-
- * deps: ipaddr.js@1.0.1
-
-1.0.7 / 2015-03-16
-==================
-
- * deps: ipaddr.js@0.1.9
- - Fix OOM on certain inputs to `isValid`
-
-1.0.6 / 2015-02-01
-==================
-
- * deps: ipaddr.js@0.1.8
-
-1.0.5 / 2015-01-08
-==================
-
- * deps: ipaddr.js@0.1.6
-
-1.0.4 / 2014-11-23
-==================
-
- * deps: ipaddr.js@0.1.5
- - Fix edge cases with `isValid`
-
-1.0.3 / 2014-09-21
-==================
-
- * Use `forwarded` npm module
-
-1.0.2 / 2014-09-18
-==================
-
- * Fix a global leak when multiple subnets are trusted
- * Support Node.js 0.6
- * deps: ipaddr.js@0.1.3
-
-1.0.1 / 2014-06-03
-==================
-
- * Fix links in npm package
-
-1.0.0 / 2014-05-08
-==================
-
- * Add `trust` argument to determine proxy trust on
- * Accepts custom function
- * Accepts IPv4/IPv6 address(es)
- * Accepts subnets
- * Accepts pre-defined names
- * Add optional `trust` argument to `proxyaddr.all` to
- stop at first untrusted
- * Add `proxyaddr.compile` to pre-compile `trust` function
- to make subsequent calls faster
-
-0.0.1 / 2014-05-04
-==================
-
- * Fix bad npm publish
-
-0.0.0 / 2014-05-04
-==================
-
- * Initial release
diff --git a/Server/node_modules/proxy-addr/LICENSE b/Server/node_modules/proxy-addr/LICENSE
deleted file mode 100644
index cab251c..0000000
--- a/Server/node_modules/proxy-addr/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014-2016 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/proxy-addr/README.md b/Server/node_modules/proxy-addr/README.md
deleted file mode 100644
index 8c176ea..0000000
--- a/Server/node_modules/proxy-addr/README.md
+++ /dev/null
@@ -1,155 +0,0 @@
-# proxy-addr
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Determine address of proxied request
-
-## Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install proxy-addr
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var proxyaddr = require('proxy-addr')
-```
-
-### proxyaddr(req, trust)
-
-Return the address of the request, using the given `trust` parameter.
-
-The `trust` argument is a function that returns `true` if you trust
-the address, `false` if you don't. The closest untrusted address is
-returned.
-
-<!-- eslint-disable no-undef -->
-
-```js
-proxyaddr(req, function (addr) { return addr === '127.0.0.1' })
-proxyaddr(req, function (addr, i) { return i < 1 })
-```
-
-The `trust` arugment may also be a single IP address string or an
-array of trusted addresses, as plain IP addresses, CIDR-formatted
-strings, or IP/netmask strings.
-
-<!-- eslint-disable no-undef -->
-
-```js
-proxyaddr(req, '127.0.0.1')
-proxyaddr(req, ['127.0.0.0/8', '10.0.0.0/8'])
-proxyaddr(req, ['127.0.0.0/255.0.0.0', '192.168.0.0/255.255.0.0'])
-```
-
-This module also supports IPv6. Your IPv6 addresses will be normalized
-automatically (i.e. `fe80::00ed:1` equals `fe80:0:0:0:0:0:ed:1`).
-
-<!-- eslint-disable no-undef -->
-
-```js
-proxyaddr(req, '::1')
-proxyaddr(req, ['::1/128', 'fe80::/10'])
-```
-
-This module will automatically work with IPv4-mapped IPv6 addresses
-as well to support node.js in IPv6-only mode. This means that you do
-not have to specify both `::ffff:a00:1` and `10.0.0.1`.
-
-As a convenience, this module also takes certain pre-defined names
-in addition to IP addresses, which expand into IP addresses:
-
-<!-- eslint-disable no-undef -->
-
-```js
-proxyaddr(req, 'loopback')
-proxyaddr(req, ['loopback', 'fc00:ac:1ab5:fff::1/64'])
-```
-
- * `loopback`: IPv4 and IPv6 loopback addresses (like `::1` and
- `127.0.0.1`).
- * `linklocal`: IPv4 and IPv6 link-local addresses (like
- `fe80::1:1:1:1` and `169.254.0.1`).
- * `uniquelocal`: IPv4 private addresses and IPv6 unique-local
- addresses (like `fc00:ac:1ab5:fff::1` and `192.168.0.1`).
-
-When `trust` is specified as a function, it will be called for each
-address to determine if it is a trusted address. The function is
-given two arguments: `addr` and `i`, where `addr` is a string of
-the address to check and `i` is a number that represents the distance
-from the socket address.
-
-### proxyaddr.all(req, [trust])
-
-Return all the addresses of the request, optionally stopping at the
-first untrusted. This array is ordered from closest to furthest
-(i.e. `arr[0] === req.connection.remoteAddress`).
-
-<!-- eslint-disable no-undef -->
-
-```js
-proxyaddr.all(req)
-```
-
-The optional `trust` argument takes the same arguments as `trust`
-does in `proxyaddr(req, trust)`.
-
-<!-- eslint-disable no-undef -->
-
-```js
-proxyaddr.all(req, 'loopback')
-```
-
-### proxyaddr.compile(val)
-
-Compiles argument `val` into a `trust` function. This function takes
-the same arguments as `trust` does in `proxyaddr(req, trust)` and
-returns a function suitable for `proxyaddr(req, trust)`.
-
-<!-- eslint-disable no-undef, no-unused-vars -->
-
-```js
-var trust = proxyaddr.compile('loopback')
-var addr = proxyaddr(req, trust)
-```
-
-This function is meant to be optimized for use against every request.
-It is recommend to compile a trust function up-front for the trusted
-configuration and pass that to `proxyaddr(req, trust)` for each request.
-
-## Testing
-
-```sh
-$ npm test
-```
-
-## Benchmarks
-
-```sh
-$ npm run-script bench
-```
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/proxy-addr/master
-[coveralls-url]: https://coveralls.io/r/jshttp/proxy-addr?branch=master
-[node-image]: https://badgen.net/npm/node/proxy-addr
-[node-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/proxy-addr
-[npm-url]: https://npmjs.org/package/proxy-addr
-[npm-version-image]: https://badgen.net/npm/v/proxy-addr
-[travis-image]: https://badgen.net/travis/jshttp/proxy-addr/master
-[travis-url]: https://travis-ci.org/jshttp/proxy-addr
diff --git a/Server/node_modules/proxy-addr/index.js b/Server/node_modules/proxy-addr/index.js
deleted file mode 100644
index a909b05..0000000
--- a/Server/node_modules/proxy-addr/index.js
+++ /dev/null
@@ -1,327 +0,0 @@
-/*!
- * proxy-addr
- * Copyright(c) 2014-2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = proxyaddr
-module.exports.all = alladdrs
-module.exports.compile = compile
-
-/**
- * Module dependencies.
- * @private
- */
-
-var forwarded = require('forwarded')
-var ipaddr = require('ipaddr.js')
-
-/**
- * Variables.
- * @private
- */
-
-var DIGIT_REGEXP = /^[0-9]+$/
-var isip = ipaddr.isValid
-var parseip = ipaddr.parse
-
-/**
- * Pre-defined IP ranges.
- * @private
- */
-
-var IP_RANGES = {
- linklocal: ['169.254.0.0/16', 'fe80::/10'],
- loopback: ['127.0.0.1/8', '::1/128'],
- uniquelocal: ['10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', 'fc00::/7']
-}
-
-/**
- * Get all addresses in the request, optionally stopping
- * at the first untrusted.
- *
- * @param {Object} request
- * @param {Function|Array|String} [trust]
- * @public
- */
-
-function alladdrs (req, trust) {
- // get addresses
- var addrs = forwarded(req)
-
- if (!trust) {
- // Return all addresses
- return addrs
- }
-
- if (typeof trust !== 'function') {
- trust = compile(trust)
- }
-
- for (var i = 0; i < addrs.length - 1; i++) {
- if (trust(addrs[i], i)) continue
-
- addrs.length = i + 1
- }
-
- return addrs
-}
-
-/**
- * Compile argument into trust function.
- *
- * @param {Array|String} val
- * @private
- */
-
-function compile (val) {
- if (!val) {
- throw new TypeError('argument is required')
- }
-
- var trust
-
- if (typeof val === 'string') {
- trust = [val]
- } else if (Array.isArray(val)) {
- trust = val.slice()
- } else {
- throw new TypeError('unsupported trust argument')
- }
-
- for (var i = 0; i < trust.length; i++) {
- val = trust[i]
-
- if (!Object.prototype.hasOwnProperty.call(IP_RANGES, val)) {
- continue
- }
-
- // Splice in pre-defined range
- val = IP_RANGES[val]
- trust.splice.apply(trust, [i, 1].concat(val))
- i += val.length - 1
- }
-
- return compileTrust(compileRangeSubnets(trust))
-}
-
-/**
- * Compile `arr` elements into range subnets.
- *
- * @param {Array} arr
- * @private
- */
-
-function compileRangeSubnets (arr) {
- var rangeSubnets = new Array(arr.length)
-
- for (var i = 0; i < arr.length; i++) {
- rangeSubnets[i] = parseipNotation(arr[i])
- }
-
- return rangeSubnets
-}
-
-/**
- * Compile range subnet array into trust function.
- *
- * @param {Array} rangeSubnets
- * @private
- */
-
-function compileTrust (rangeSubnets) {
- // Return optimized function based on length
- var len = rangeSubnets.length
- return len === 0
- ? trustNone
- : len === 1
- ? trustSingle(rangeSubnets[0])
- : trustMulti(rangeSubnets)
-}
-
-/**
- * Parse IP notation string into range subnet.
- *
- * @param {String} note
- * @private
- */
-
-function parseipNotation (note) {
- var pos = note.lastIndexOf('/')
- var str = pos !== -1
- ? note.substring(0, pos)
- : note
-
- if (!isip(str)) {
- throw new TypeError('invalid IP address: ' + str)
- }
-
- var ip = parseip(str)
-
- if (pos === -1 && ip.kind() === 'ipv6' && ip.isIPv4MappedAddress()) {
- // Store as IPv4
- ip = ip.toIPv4Address()
- }
-
- var max = ip.kind() === 'ipv6'
- ? 128
- : 32
-
- var range = pos !== -1
- ? note.substring(pos + 1, note.length)
- : null
-
- if (range === null) {
- range = max
- } else if (DIGIT_REGEXP.test(range)) {
- range = parseInt(range, 10)
- } else if (ip.kind() === 'ipv4' && isip(range)) {
- range = parseNetmask(range)
- } else {
- range = null
- }
-
- if (range <= 0 || range > max) {
- throw new TypeError('invalid range on address: ' + note)
- }
-
- return [ip, range]
-}
-
-/**
- * Parse netmask string into CIDR range.
- *
- * @param {String} netmask
- * @private
- */
-
-function parseNetmask (netmask) {
- var ip = parseip(netmask)
- var kind = ip.kind()
-
- return kind === 'ipv4'
- ? ip.prefixLengthFromSubnetMask()
- : null
-}
-
-/**
- * Determine address of proxied request.
- *
- * @param {Object} request
- * @param {Function|Array|String} trust
- * @public
- */
-
-function proxyaddr (req, trust) {
- if (!req) {
- throw new TypeError('req argument is required')
- }
-
- if (!trust) {
- throw new TypeError('trust argument is required')
- }
-
- var addrs = alladdrs(req, trust)
- var addr = addrs[addrs.length - 1]
-
- return addr
-}
-
-/**
- * Static trust function to trust nothing.
- *
- * @private
- */
-
-function trustNone () {
- return false
-}
-
-/**
- * Compile trust function for multiple subnets.
- *
- * @param {Array} subnets
- * @private
- */
-
-function trustMulti (subnets) {
- return function trust (addr) {
- if (!isip(addr)) return false
-
- var ip = parseip(addr)
- var ipconv
- var kind = ip.kind()
-
- for (var i = 0; i < subnets.length; i++) {
- var subnet = subnets[i]
- var subnetip = subnet[0]
- var subnetkind = subnetip.kind()
- var subnetrange = subnet[1]
- var trusted = ip
-
- if (kind !== subnetkind) {
- if (subnetkind === 'ipv4' && !ip.isIPv4MappedAddress()) {
- // Incompatible IP addresses
- continue
- }
-
- if (!ipconv) {
- // Convert IP to match subnet IP kind
- ipconv = subnetkind === 'ipv4'
- ? ip.toIPv4Address()
- : ip.toIPv4MappedAddress()
- }
-
- trusted = ipconv
- }
-
- if (trusted.match(subnetip, subnetrange)) {
- return true
- }
- }
-
- return false
- }
-}
-
-/**
- * Compile trust function for single subnet.
- *
- * @param {Object} subnet
- * @private
- */
-
-function trustSingle (subnet) {
- var subnetip = subnet[0]
- var subnetkind = subnetip.kind()
- var subnetisipv4 = subnetkind === 'ipv4'
- var subnetrange = subnet[1]
-
- return function trust (addr) {
- if (!isip(addr)) return false
-
- var ip = parseip(addr)
- var kind = ip.kind()
-
- if (kind !== subnetkind) {
- if (subnetisipv4 && !ip.isIPv4MappedAddress()) {
- // Incompatible IP addresses
- return false
- }
-
- // Convert IP to match subnet IP kind
- ip = subnetisipv4
- ? ip.toIPv4Address()
- : ip.toIPv4MappedAddress()
- }
-
- return ip.match(subnetip, subnetrange)
- }
-}
diff --git a/Server/node_modules/proxy-addr/package.json b/Server/node_modules/proxy-addr/package.json
deleted file mode 100644
index 326be77..0000000
--- a/Server/node_modules/proxy-addr/package.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "_from": "proxy-addr@~2.0.5",
- "_id": "proxy-addr@2.0.6",
- "_inBundle": false,
- "_integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
- "_location": "/proxy-addr",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "proxy-addr@~2.0.5",
- "name": "proxy-addr",
- "escapedName": "proxy-addr",
- "rawSpec": "~2.0.5",
- "saveSpec": null,
- "fetchSpec": "~2.0.5"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
- "_shasum": "fdc2336505447d3f2f2c638ed272caf614bbb2bf",
- "_spec": "proxy-addr@~2.0.5",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/proxy-addr/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "forwarded": "~0.1.2",
- "ipaddr.js": "1.9.1"
- },
- "deprecated": false,
- "description": "Determine address of proxied request",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "deep-equal": "1.0.1",
- "eslint": "6.8.0",
- "eslint-config-standard": "14.1.0",
- "eslint-plugin-import": "2.20.1",
- "eslint-plugin-markdown": "1.0.1",
- "eslint-plugin-node": "11.0.0",
- "eslint-plugin-promise": "4.2.1",
- "eslint-plugin-standard": "4.0.1",
- "mocha": "7.0.1",
- "nyc": "15.0.0"
- },
- "engines": {
- "node": ">= 0.10"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/proxy-addr#readme",
- "keywords": [
- "ip",
- "proxy",
- "x-forwarded-for"
- ],
- "license": "MIT",
- "name": "proxy-addr",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/proxy-addr.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "nyc --reporter=text npm test",
- "test-travis": "nyc --reporter=html --reporter=text npm test"
- },
- "version": "2.0.6"
-}
diff --git a/Server/node_modules/qs/.editorconfig b/Server/node_modules/qs/.editorconfig
deleted file mode 100644
index a4893dd..0000000
--- a/Server/node_modules/qs/.editorconfig
+++ /dev/null
@@ -1,30 +0,0 @@
-root = true
-
-[*]
-indent_style = space
-indent_size = 4
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-max_line_length = 160
-
-[test/*]
-max_line_length = off
-
-[*.md]
-max_line_length = off
-
-[*.json]
-max_line_length = off
-
-[Makefile]
-max_line_length = off
-
-[CHANGELOG.md]
-indent_style = space
-indent_size = 2
-
-[LICENSE]
-indent_size = 2
-max_line_length = off
diff --git a/Server/node_modules/qs/.eslintignore b/Server/node_modules/qs/.eslintignore
deleted file mode 100644
index 1521c8b..0000000
--- a/Server/node_modules/qs/.eslintignore
+++ /dev/null
@@ -1 +0,0 @@
-dist
diff --git a/Server/node_modules/qs/.eslintrc b/Server/node_modules/qs/.eslintrc
deleted file mode 100644
index e3bde89..0000000
--- a/Server/node_modules/qs/.eslintrc
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "root": true,
-
- "extends": "@ljharb",
-
- "rules": {
- "complexity": 0,
- "consistent-return": 1,
- "func-name-matching": 0,
- "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
- "indent": [2, 4],
- "max-lines-per-function": [2, { "max": 150 }],
- "max-params": [2, 14],
- "max-statements": [2, 52],
- "multiline-comment-style": 0,
- "no-continue": 1,
- "no-magic-numbers": 0,
- "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
- "operator-linebreak": [2, "before"],
- }
-}
diff --git a/Server/node_modules/qs/CHANGELOG.md b/Server/node_modules/qs/CHANGELOG.md
deleted file mode 100644
index 50505c4..0000000
--- a/Server/node_modules/qs/CHANGELOG.md
+++ /dev/null
@@ -1,256 +0,0 @@
-## **6.7.0**
-- [New] `stringify`/`parse`: add `comma` as an `arrayFormat` option (#276, #219)
-- [Fix] correctly parse nested arrays (#212)
-- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source, also with an array source
-- [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty`
-- [Refactor] `utils`: `isBuffer`: small tweak; add tests
-- [Refactor] use cached `Array.isArray`
-- [Refactor] `parse`/`stringify`: make a function to normalize the options
-- [Refactor] `utils`: reduce observable [[Get]]s
-- [Refactor] `stringify`/`utils`: cache `Array.isArray`
-- [Tests] always use `String(x)` over `x.toString()`
-- [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10
-- [Tests] temporarily allow coverage to fail
-
-## **6.6.0**
-- [New] Add support for iso-8859-1, utf8 "sentinel" and numeric entities (#268)
-- [New] move two-value combine to a `utils` function (#189)
-- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279)
-- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` (#260)
-- [Fix] `stringify`: do not crash in an obscure combo of `interpretNumericEntities`, a bad custom `decoder`, & `iso-8859-1`
-- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided
-- [refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269)
-- [Refactor] `parse`: only need to reassign the var once
-- [Refactor] `parse`/`stringify`: clean up `charset` options checking; fix defaults
-- [Refactor] add missing defaults
-- [Refactor] `parse`: one less `concat` call
-- [Refactor] `utils`: `compactQueue`: make it explicitly side-effecting
-- [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`, `iconv-lite`, `safe-publish-latest`, `tape`
-- [Tests] up to `node` `v10.10`, `v9.11`, `v8.12`, `v6.14`, `v4.9`; pin included builds to LTS
-
-## **6.5.2**
-- [Fix] use `safer-buffer` instead of `Buffer` constructor
-- [Refactor] utils: `module.exports` one thing, instead of mutating `exports` (#230)
-- [Dev Deps] update `browserify`, `eslint`, `iconv-lite`, `safer-buffer`, `tape`, `browserify`
-
-## **6.5.1**
-- [Fix] Fix parsing & compacting very deep objects (#224)
-- [Refactor] name utils functions
-- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`
-- [Tests] up to `node` `v8.4`; use `nvm install-latest-npm` so newer npm doesn’t break older node
-- [Tests] Use precise dist for Node.js 0.6 runtime (#225)
-- [Tests] make 0.6 required, now that it’s passing
-- [Tests] on `node` `v8.2`; fix npm on node 0.6
-
-## **6.5.0**
-- [New] add `utils.assign`
-- [New] pass default encoder/decoder to custom encoder/decoder functions (#206)
-- [New] `parse`/`stringify`: add `ignoreQueryPrefix`/`addQueryPrefix` options, respectively (#213)
-- [Fix] Handle stringifying empty objects with addQueryPrefix (#217)
-- [Fix] do not mutate `options` argument (#207)
-- [Refactor] `parse`: cache index to reuse in else statement (#182)
-- [Docs] add various badges to readme (#208)
-- [Dev Deps] update `eslint`, `browserify`, `iconv-lite`, `tape`
-- [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4
-- [Tests] add `editorconfig-tools`
-
-## **6.4.0**
-- [New] `qs.stringify`: add `encodeValuesOnly` option
-- [Fix] follow `allowPrototypes` option during merge (#201, #201)
-- [Fix] support keys starting with brackets (#202, #200)
-- [Fix] chmod a-x
-- [Dev Deps] update `eslint`
-- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
-- [eslint] reduce warnings
-
-## **6.3.2**
-- [Fix] follow `allowPrototypes` option during merge (#201, #200)
-- [Dev Deps] update `eslint`
-- [Fix] chmod a-x
-- [Fix] support keys starting with brackets (#202, #200)
-- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
-
-## **6.3.1**
-- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties (thanks, @snyk!)
-- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `iconv-lite`, `qs-iconv`, `tape`
-- [Tests] on all node minors; improve test matrix
-- [Docs] document stringify option `allowDots` (#195)
-- [Docs] add empty object and array values example (#195)
-- [Docs] Fix minor inconsistency/typo (#192)
-- [Docs] document stringify option `sort` (#191)
-- [Refactor] `stringify`: throw faster with an invalid encoder
-- [Refactor] remove unnecessary escapes (#184)
-- Remove contributing.md, since `qs` is no longer part of `hapi` (#183)
-
-## **6.3.0**
-- [New] Add support for RFC 1738 (#174, #173)
-- [New] `stringify`: Add `serializeDate` option to customize Date serialization (#159)
-- [Fix] ensure `utils.merge` handles merging two arrays
-- [Refactor] only constructors should be capitalized
-- [Refactor] capitalized var names are for constructors only
-- [Refactor] avoid using a sparse array
-- [Robustness] `formats`: cache `String#replace`
-- [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`; add `safe-publish-latest`
-- [Tests] up to `node` `v6.8`, `v4.6`; improve test matrix
-- [Tests] flesh out arrayLimit/arrayFormat tests (#107)
-- [Tests] skip Object.create tests when null objects are not available
-- [Tests] Turn on eslint for test files (#175)
-
-## **6.2.3**
-- [Fix] follow `allowPrototypes` option during merge (#201, #200)
-- [Fix] chmod a-x
-- [Fix] support keys starting with brackets (#202, #200)
-- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
-
-## **6.2.2**
-- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
-
-## **6.2.1**
-- [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
-- [Refactor] Be explicit and use `Object.prototype.hasOwnProperty.call`
-- [Tests] remove `parallelshell` since it does not reliably report failures
-- [Tests] up to `node` `v6.3`, `v5.12`
-- [Dev Deps] update `tape`, `eslint`, `@ljharb/eslint-config`, `qs-iconv`
-
-## [**6.2.0**](https://github.com/ljharb/qs/issues?milestone=36&state=closed)
-- [New] pass Buffers to the encoder/decoder directly (#161)
-- [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160)
-- [Fix] fix compacting of nested sparse arrays (#150)
-
-## **6.1.2
-- [Fix] follow `allowPrototypes` option during merge (#201, #200)
-- [Fix] chmod a-x
-- [Fix] support keys starting with brackets (#202, #200)
-- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
-
-## **6.1.1**
-- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
-
-## [**6.1.0**](https://github.com/ljharb/qs/issues?milestone=35&state=closed)
-- [New] allowDots option for `stringify` (#151)
-- [Fix] "sort" option should work at a depth of 3 or more (#151)
-- [Fix] Restore `dist` directory; will be removed in v7 (#148)
-
-## **6.0.4**
-- [Fix] follow `allowPrototypes` option during merge (#201, #200)
-- [Fix] chmod a-x
-- [Fix] support keys starting with brackets (#202, #200)
-- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds
-
-## **6.0.3**
-- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties
-- [Fix] Restore `dist` directory; will be removed in v7 (#148)
-
-## [**6.0.2**](https://github.com/ljharb/qs/issues?milestone=33&state=closed)
-- Revert ES6 requirement and restore support for node down to v0.8.
-
-## [**6.0.1**](https://github.com/ljharb/qs/issues?milestone=32&state=closed)
-- [**#127**](https://github.com/ljharb/qs/pull/127) Fix engines definition in package.json
-
-## [**6.0.0**](https://github.com/ljharb/qs/issues?milestone=31&state=closed)
-- [**#124**](https://github.com/ljharb/qs/issues/124) Use ES6 and drop support for node < v4
-
-## **5.2.1**
-- [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values
-
-## [**5.2.0**](https://github.com/ljharb/qs/issues?milestone=30&state=closed)
-- [**#64**](https://github.com/ljharb/qs/issues/64) Add option to sort object keys in the query string
-
-## [**5.1.0**](https://github.com/ljharb/qs/issues?milestone=29&state=closed)
-- [**#117**](https://github.com/ljharb/qs/issues/117) make URI encoding stringified results optional
-- [**#106**](https://github.com/ljharb/qs/issues/106) Add flag `skipNulls` to optionally skip null values in stringify
-
-## [**5.0.0**](https://github.com/ljharb/qs/issues?milestone=28&state=closed)
-- [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false
-- [**#100**](https://github.com/ljharb/qs/issues/100) include dist to npm
-
-## [**4.0.0**](https://github.com/ljharb/qs/issues?milestone=26&state=closed)
-- [**#98**](https://github.com/ljharb/qs/issues/98) make returning plain objects and allowing prototype overwriting properties optional
-
-## [**3.1.0**](https://github.com/ljharb/qs/issues?milestone=24&state=closed)
-- [**#89**](https://github.com/ljharb/qs/issues/89) Add option to disable "Transform dot notation to bracket notation"
-
-## [**3.0.0**](https://github.com/ljharb/qs/issues?milestone=23&state=closed)
-- [**#80**](https://github.com/ljharb/qs/issues/80) qs.parse silently drops properties
-- [**#77**](https://github.com/ljharb/qs/issues/77) Perf boost
-- [**#60**](https://github.com/ljharb/qs/issues/60) Add explicit option to disable array parsing
-- [**#74**](https://github.com/ljharb/qs/issues/74) Bad parse when turning array into object
-- [**#81**](https://github.com/ljharb/qs/issues/81) Add a `filter` option
-- [**#68**](https://github.com/ljharb/qs/issues/68) Fixed issue with recursion and passing strings into objects.
-- [**#66**](https://github.com/ljharb/qs/issues/66) Add mixed array and object dot notation support Closes: #47
-- [**#76**](https://github.com/ljharb/qs/issues/76) RFC 3986
-- [**#85**](https://github.com/ljharb/qs/issues/85) No equal sign
-- [**#84**](https://github.com/ljharb/qs/issues/84) update license attribute
-
-## [**2.4.1**](https://github.com/ljharb/qs/issues?milestone=20&state=closed)
-- [**#73**](https://github.com/ljharb/qs/issues/73) Property 'hasOwnProperty' of object #<Object> is not a function
-
-## [**2.4.0**](https://github.com/ljharb/qs/issues?milestone=19&state=closed)
-- [**#70**](https://github.com/ljharb/qs/issues/70) Add arrayFormat option
-
-## [**2.3.3**](https://github.com/ljharb/qs/issues?milestone=18&state=closed)
-- [**#59**](https://github.com/ljharb/qs/issues/59) make sure array indexes are >= 0, closes #57
-- [**#58**](https://github.com/ljharb/qs/issues/58) make qs usable for browser loader
-
-## [**2.3.2**](https://github.com/ljharb/qs/issues?milestone=17&state=closed)
-- [**#55**](https://github.com/ljharb/qs/issues/55) allow merging a string into an object
-
-## [**2.3.1**](https://github.com/ljharb/qs/issues?milestone=16&state=closed)
-- [**#52**](https://github.com/ljharb/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError".
-
-## [**2.3.0**](https://github.com/ljharb/qs/issues?milestone=15&state=closed)
-- [**#50**](https://github.com/ljharb/qs/issues/50) add option to omit array indices, closes #46
-
-## [**2.2.5**](https://github.com/ljharb/qs/issues?milestone=14&state=closed)
-- [**#39**](https://github.com/ljharb/qs/issues/39) Is there an alternative to Buffer.isBuffer?
-- [**#49**](https://github.com/ljharb/qs/issues/49) refactor utils.merge, fixes #45
-- [**#41**](https://github.com/ljharb/qs/issues/41) avoid browserifying Buffer, for #39
-
-## [**2.2.4**](https://github.com/ljharb/qs/issues?milestone=13&state=closed)
-- [**#38**](https://github.com/ljharb/qs/issues/38) how to handle object keys beginning with a number
-
-## [**2.2.3**](https://github.com/ljharb/qs/issues?milestone=12&state=closed)
-- [**#37**](https://github.com/ljharb/qs/issues/37) parser discards first empty value in array
-- [**#36**](https://github.com/ljharb/qs/issues/36) Update to lab 4.x
-
-## [**2.2.2**](https://github.com/ljharb/qs/issues?milestone=11&state=closed)
-- [**#33**](https://github.com/ljharb/qs/issues/33) Error when plain object in a value
-- [**#34**](https://github.com/ljharb/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty
-- [**#24**](https://github.com/ljharb/qs/issues/24) Changelog? Semver?
-
-## [**2.2.1**](https://github.com/ljharb/qs/issues?milestone=10&state=closed)
-- [**#32**](https://github.com/ljharb/qs/issues/32) account for circular references properly, closes #31
-- [**#31**](https://github.com/ljharb/qs/issues/31) qs.parse stackoverflow on circular objects
-
-## [**2.2.0**](https://github.com/ljharb/qs/issues?milestone=9&state=closed)
-- [**#26**](https://github.com/ljharb/qs/issues/26) Don't use Buffer global if it's not present
-- [**#30**](https://github.com/ljharb/qs/issues/30) Bug when merging non-object values into arrays
-- [**#29**](https://github.com/ljharb/qs/issues/29) Don't call Utils.clone at the top of Utils.merge
-- [**#23**](https://github.com/ljharb/qs/issues/23) Ability to not limit parameters?
-
-## [**2.1.0**](https://github.com/ljharb/qs/issues?milestone=8&state=closed)
-- [**#22**](https://github.com/ljharb/qs/issues/22) Enable using a RegExp as delimiter
-
-## [**2.0.0**](https://github.com/ljharb/qs/issues?milestone=7&state=closed)
-- [**#18**](https://github.com/ljharb/qs/issues/18) Why is there arrayLimit?
-- [**#20**](https://github.com/ljharb/qs/issues/20) Configurable parametersLimit
-- [**#21**](https://github.com/ljharb/qs/issues/21) make all limits optional, for #18, for #20
-
-## [**1.2.2**](https://github.com/ljharb/qs/issues?milestone=6&state=closed)
-- [**#19**](https://github.com/ljharb/qs/issues/19) Don't overwrite null values
-
-## [**1.2.1**](https://github.com/ljharb/qs/issues?milestone=5&state=closed)
-- [**#16**](https://github.com/ljharb/qs/issues/16) ignore non-string delimiters
-- [**#15**](https://github.com/ljharb/qs/issues/15) Close code block
-
-## [**1.2.0**](https://github.com/ljharb/qs/issues?milestone=4&state=closed)
-- [**#12**](https://github.com/ljharb/qs/issues/12) Add optional delim argument
-- [**#13**](https://github.com/ljharb/qs/issues/13) fix #11: flattened keys in array are now correctly parsed
-
-## [**1.1.0**](https://github.com/ljharb/qs/issues?milestone=3&state=closed)
-- [**#7**](https://github.com/ljharb/qs/issues/7) Empty values of a POST array disappear after being submitted
-- [**#9**](https://github.com/ljharb/qs/issues/9) Should not omit equals signs (=) when value is null
-- [**#6**](https://github.com/ljharb/qs/issues/6) Minor grammar fix in README
-
-## [**1.0.2**](https://github.com/ljharb/qs/issues?milestone=2&state=closed)
-- [**#5**](https://github.com/ljharb/qs/issues/5) array holes incorrectly copied into object on large index
diff --git a/Server/node_modules/qs/LICENSE b/Server/node_modules/qs/LICENSE
deleted file mode 100644
index d456948..0000000
--- a/Server/node_modules/qs/LICENSE
+++ /dev/null
@@ -1,28 +0,0 @@
-Copyright (c) 2014 Nathan LaFreniere and other contributors.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * 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.
- * The names of any contributors 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 THE COPYRIGHT HOLDERS AND 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.
-
- * * *
-
-The complete list of contributors can be found at: https://github.com/hapijs/qs/graphs/contributors
diff --git a/Server/node_modules/qs/README.md b/Server/node_modules/qs/README.md
deleted file mode 100644
index 8590cfd..0000000
--- a/Server/node_modules/qs/README.md
+++ /dev/null
@@ -1,570 +0,0 @@
-# qs <sup>[![Version Badge][2]][1]</sup>
-
-[![Build Status][3]][4]
-[![dependency status][5]][6]
-[![dev dependency status][7]][8]
-[![License][license-image]][license-url]
-[![Downloads][downloads-image]][downloads-url]
-
-[![npm badge][11]][1]
-
-A querystring parsing and stringifying library with some added security.
-
-Lead Maintainer: [Jordan Harband](https://github.com/ljharb)
-
-The **qs** module was originally created and maintained by [TJ Holowaychuk](https://github.com/visionmedia/node-querystring).
-
-## Usage
-
-```javascript
-var qs = require('qs');
-var assert = require('assert');
-
-var obj = qs.parse('a=c');
-assert.deepEqual(obj, { a: 'c' });
-
-var str = qs.stringify(obj);
-assert.equal(str, 'a=c');
-```
-
-### Parsing Objects
-
-[](#preventEval)
-```javascript
-qs.parse(string, [options]);
-```
-
-**qs** allows you to create nested objects within your query strings, by surrounding the name of sub-keys with square brackets `[]`.
-For example, the string `'foo[bar]=baz'` converts to:
-
-```javascript
-assert.deepEqual(qs.parse('foo[bar]=baz'), {
- foo: {
- bar: 'baz'
- }
-});
-```
-
-When using the `plainObjects` option the parsed value is returned as a null object, created via `Object.create(null)` and as such you should be aware that prototype methods will not exist on it and a user may set those names to whatever value they like:
-
-```javascript
-var nullObject = qs.parse('a[hasOwnProperty]=b', { plainObjects: true });
-assert.deepEqual(nullObject, { a: { hasOwnProperty: 'b' } });
-```
-
-By default parameters that would overwrite properties on the object prototype are ignored, if you wish to keep the data from those fields either use `plainObjects` as mentioned above, or set `allowPrototypes` to `true` which will allow user input to overwrite those properties. *WARNING* It is generally a bad idea to enable this option as it can cause problems when attempting to use the properties that have been overwritten. Always be careful with this option.
-
-```javascript
-var protoObject = qs.parse('a[hasOwnProperty]=b', { allowPrototypes: true });
-assert.deepEqual(protoObject, { a: { hasOwnProperty: 'b' } });
-```
-
-URI encoded strings work too:
-
-```javascript
-assert.deepEqual(qs.parse('a%5Bb%5D=c'), {
- a: { b: 'c' }
-});
-```
-
-You can also nest your objects, like `'foo[bar][baz]=foobarbaz'`:
-
-```javascript
-assert.deepEqual(qs.parse('foo[bar][baz]=foobarbaz'), {
- foo: {
- bar: {
- baz: 'foobarbaz'
- }
- }
-});
-```
-
-By default, when nesting objects **qs** will only parse up to 5 children deep. This means if you attempt to parse a string like
-`'a[b][c][d][e][f][g][h][i]=j'` your resulting object will be:
-
-```javascript
-var expected = {
- a: {
- b: {
- c: {
- d: {
- e: {
- f: {
- '[g][h][i]': 'j'
- }
- }
- }
- }
- }
- }
-};
-var string = 'a[b][c][d][e][f][g][h][i]=j';
-assert.deepEqual(qs.parse(string), expected);
-```
-
-This depth can be overridden by passing a `depth` option to `qs.parse(string, [options])`:
-
-```javascript
-var deep = qs.parse('a[b][c][d][e][f][g][h][i]=j', { depth: 1 });
-assert.deepEqual(deep, { a: { b: { '[c][d][e][f][g][h][i]': 'j' } } });
-```
-
-The depth limit helps mitigate abuse when **qs** is used to parse user input, and it is recommended to keep it a reasonably small number.
-
-For similar reasons, by default **qs** will only parse up to 1000 parameters. This can be overridden by passing a `parameterLimit` option:
-
-```javascript
-var limited = qs.parse('a=b&c=d', { parameterLimit: 1 });
-assert.deepEqual(limited, { a: 'b' });
-```
-
-To bypass the leading question mark, use `ignoreQueryPrefix`:
-
-```javascript
-var prefixed = qs.parse('?a=b&c=d', { ignoreQueryPrefix: true });
-assert.deepEqual(prefixed, { a: 'b', c: 'd' });
-```
-
-An optional delimiter can also be passed:
-
-```javascript
-var delimited = qs.parse('a=b;c=d', { delimiter: ';' });
-assert.deepEqual(delimited, { a: 'b', c: 'd' });
-```
-
-Delimiters can be a regular expression too:
-
-```javascript
-var regexed = qs.parse('a=b;c=d,e=f', { delimiter: /[;,]/ });
-assert.deepEqual(regexed, { a: 'b', c: 'd', e: 'f' });
-```
-
-Option `allowDots` can be used to enable dot notation:
-
-```javascript
-var withDots = qs.parse('a.b=c', { allowDots: true });
-assert.deepEqual(withDots, { a: { b: 'c' } });
-```
-
-If you have to deal with legacy browsers or services, there's
-also support for decoding percent-encoded octets as iso-8859-1:
-
-```javascript
-var oldCharset = qs.parse('a=%A7', { charset: 'iso-8859-1' });
-assert.deepEqual(oldCharset, { a: '§' });
-```
-
-Some services add an initial `utf8=✓` value to forms so that old
-Internet Explorer versions are more likely to submit the form as
-utf-8. Additionally, the server can check the value against wrong
-encodings of the checkmark character and detect that a query string
-or `application/x-www-form-urlencoded` body was *not* sent as
-utf-8, eg. if the form had an `accept-charset` parameter or the
-containing page had a different character set.
-
-**qs** supports this mechanism via the `charsetSentinel` option.
-If specified, the `utf8` parameter will be omitted from the
-returned object. It will be used to switch to `iso-8859-1`/`utf-8`
-mode depending on how the checkmark is encoded.
-
-**Important**: When you specify both the `charset` option and the
-`charsetSentinel` option, the `charset` will be overridden when
-the request contains a `utf8` parameter from which the actual
-charset can be deduced. In that sense the `charset` will behave
-as the default charset rather than the authoritative charset.
-
-```javascript
-var detectedAsUtf8 = qs.parse('utf8=%E2%9C%93&a=%C3%B8', {
- charset: 'iso-8859-1',
- charsetSentinel: true
-});
-assert.deepEqual(detectedAsUtf8, { a: 'ø' });
-
-// Browsers encode the checkmark as &#10003; when submitting as iso-8859-1:
-var detectedAsIso8859_1 = qs.parse('utf8=%26%2310003%3B&a=%F8', {
- charset: 'utf-8',
- charsetSentinel: true
-});
-assert.deepEqual(detectedAsIso8859_1, { a: 'ø' });
-```
-
-If you want to decode the `&#...;` syntax to the actual character,
-you can specify the `interpretNumericEntities` option as well:
-
-```javascript
-var detectedAsIso8859_1 = qs.parse('a=%26%239786%3B', {
- charset: 'iso-8859-1',
- interpretNumericEntities: true
-});
-assert.deepEqual(detectedAsIso8859_1, { a: '☺' });
-```
-
-It also works when the charset has been detected in `charsetSentinel`
-mode.
-
-### Parsing Arrays
-
-**qs** can also parse arrays using a similar `[]` notation:
-
-```javascript
-var withArray = qs.parse('a[]=b&a[]=c');
-assert.deepEqual(withArray, { a: ['b', 'c'] });
-```
-
-You may specify an index as well:
-
-```javascript
-var withIndexes = qs.parse('a[1]=c&a[0]=b');
-assert.deepEqual(withIndexes, { a: ['b', 'c'] });
-```
-
-Note that the only difference between an index in an array and a key in an object is that the value between the brackets must be a number
-to create an array. When creating arrays with specific indices, **qs** will compact a sparse array to only the existing values preserving
-their order:
-
-```javascript
-var noSparse = qs.parse('a[1]=b&a[15]=c');
-assert.deepEqual(noSparse, { a: ['b', 'c'] });
-```
-
-Note that an empty string is also a value, and will be preserved:
-
-```javascript
-var withEmptyString = qs.parse('a[]=&a[]=b');
-assert.deepEqual(withEmptyString, { a: ['', 'b'] });
-
-var withIndexedEmptyString = qs.parse('a[0]=b&a[1]=&a[2]=c');
-assert.deepEqual(withIndexedEmptyString, { a: ['b', '', 'c'] });
-```
-
-**qs** will also limit specifying indices in an array to a maximum index of `20`. Any array members with an index of greater than `20` will
-instead be converted to an object with the index as the key. This is needed to handle cases when someone sent, for example, `a[999999999]` and it will take significant time to iterate over this huge array.
-
-```javascript
-var withMaxIndex = qs.parse('a[100]=b');
-assert.deepEqual(withMaxIndex, { a: { '100': 'b' } });
-```
-
-This limit can be overridden by passing an `arrayLimit` option:
-
-```javascript
-var withArrayLimit = qs.parse('a[1]=b', { arrayLimit: 0 });
-assert.deepEqual(withArrayLimit, { a: { '1': 'b' } });
-```
-
-To disable array parsing entirely, set `parseArrays` to `false`.
-
-```javascript
-var noParsingArrays = qs.parse('a[]=b', { parseArrays: false });
-assert.deepEqual(noParsingArrays, { a: { '0': 'b' } });
-```
-
-If you mix notations, **qs** will merge the two items into an object:
-
-```javascript
-var mixedNotation = qs.parse('a[0]=b&a[b]=c');
-assert.deepEqual(mixedNotation, { a: { '0': 'b', b: 'c' } });
-```
-
-You can also create arrays of objects:
-
-```javascript
-var arraysOfObjects = qs.parse('a[][b]=c');
-assert.deepEqual(arraysOfObjects, { a: [{ b: 'c' }] });
-```
-
-Some people use comma to join array, **qs** can parse it:
-```javascript
-var arraysOfObjects = qs.parse('a=b,c', { comma: true })
-assert.deepEqual(arraysOfObjects, { a: ['b', 'c'] })
-```
-(_this cannot convert nested objects, such as `a={b:1},{c:d}`_)
-
-### Stringifying
-
-[](#preventEval)
-```javascript
-qs.stringify(object, [options]);
-```
-
-When stringifying, **qs** by default URI encodes output. Objects are stringified as you would expect:
-
-```javascript
-assert.equal(qs.stringify({ a: 'b' }), 'a=b');
-assert.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
-```
-
-This encoding can be disabled by setting the `encode` option to `false`:
-
-```javascript
-var unencoded = qs.stringify({ a: { b: 'c' } }, { encode: false });
-assert.equal(unencoded, 'a[b]=c');
-```
-
-Encoding can be disabled for keys by setting the `encodeValuesOnly` option to `true`:
-```javascript
-var encodedValues = qs.stringify(
- { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
- { encodeValuesOnly: true }
-);
-assert.equal(encodedValues,'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h');
-```
-
-This encoding can also be replaced by a custom encoding method set as `encoder` option:
-
-```javascript
-var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str) {
- // Passed in values `a`, `b`, `c`
- return // Return encoded string
-}})
-```
-
-_(Note: the `encoder` option does not apply if `encode` is `false`)_
-
-Analogue to the `encoder` there is a `decoder` option for `parse` to override decoding of properties and values:
-
-```javascript
-var decoded = qs.parse('x=z', { decoder: function (str) {
- // Passed in values `x`, `z`
- return // Return decoded string
-}})
-```
-
-Examples beyond this point will be shown as though the output is not URI encoded for clarity. Please note that the return values in these cases *will* be URI encoded during real usage.
-
-When arrays are stringified, by default they are given explicit indices:
-
-```javascript
-qs.stringify({ a: ['b', 'c', 'd'] });
-// 'a[0]=b&a[1]=c&a[2]=d'
-```
-
-You may override this by setting the `indices` option to `false`:
-
-```javascript
-qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false });
-// 'a=b&a=c&a=d'
-```
-
-You may use the `arrayFormat` option to specify the format of the output array:
-
-```javascript
-qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' })
-// 'a[0]=b&a[1]=c'
-qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' })
-// 'a[]=b&a[]=c'
-qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' })
-// 'a=b&a=c'
-qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'comma' })
-// 'a=b,c'
-```
-
-When objects are stringified, by default they use bracket notation:
-
-```javascript
-qs.stringify({ a: { b: { c: 'd', e: 'f' } } });
-// 'a[b][c]=d&a[b][e]=f'
-```
-
-You may override this to use dot notation by setting the `allowDots` option to `true`:
-
-```javascript
-qs.stringify({ a: { b: { c: 'd', e: 'f' } } }, { allowDots: true });
-// 'a.b.c=d&a.b.e=f'
-```
-
-Empty strings and null values will omit the value, but the equals sign (=) remains in place:
-
-```javascript
-assert.equal(qs.stringify({ a: '' }), 'a=');
-```
-
-Key with no values (such as an empty object or array) will return nothing:
-
-```javascript
-assert.equal(qs.stringify({ a: [] }), '');
-assert.equal(qs.stringify({ a: {} }), '');
-assert.equal(qs.stringify({ a: [{}] }), '');
-assert.equal(qs.stringify({ a: { b: []} }), '');
-assert.equal(qs.stringify({ a: { b: {}} }), '');
-```
-
-Properties that are set to `undefined` will be omitted entirely:
-
-```javascript
-assert.equal(qs.stringify({ a: null, b: undefined }), 'a=');
-```
-
-The query string may optionally be prepended with a question mark:
-
-```javascript
-assert.equal(qs.stringify({ a: 'b', c: 'd' }, { addQueryPrefix: true }), '?a=b&c=d');
-```
-
-The delimiter may be overridden with stringify as well:
-
-```javascript
-assert.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d');
-```
-
-If you only want to override the serialization of `Date` objects, you can provide a `serializeDate` option:
-
-```javascript
-var date = new Date(7);
-assert.equal(qs.stringify({ a: date }), 'a=1970-01-01T00:00:00.007Z'.replace(/:/g, '%3A'));
-assert.equal(
- qs.stringify({ a: date }, { serializeDate: function (d) { return d.getTime(); } }),
- 'a=7'
-);
-```
-
-You may use the `sort` option to affect the order of parameter keys:
-
-```javascript
-function alphabeticalSort(a, b) {
- return a.localeCompare(b);
-}
-assert.equal(qs.stringify({ a: 'c', z: 'y', b : 'f' }, { sort: alphabeticalSort }), 'a=c&b=f&z=y');
-```
-
-Finally, you can use the `filter` option to restrict which keys will be included in the stringified output.
-If you pass a function, it will be called for each key to obtain the replacement value. Otherwise, if you
-pass an array, it will be used to select properties and array indices for stringification:
-
-```javascript
-function filterFunc(prefix, value) {
- if (prefix == 'b') {
- // Return an `undefined` value to omit a property.
- return;
- }
- if (prefix == 'e[f]') {
- return value.getTime();
- }
- if (prefix == 'e[g][0]') {
- return value * 2;
- }
- return value;
-}
-qs.stringify({ a: 'b', c: 'd', e: { f: new Date(123), g: [2] } }, { filter: filterFunc });
-// 'a=b&c=d&e[f]=123&e[g][0]=4'
-qs.stringify({ a: 'b', c: 'd', e: 'f' }, { filter: ['a', 'e'] });
-// 'a=b&e=f'
-qs.stringify({ a: ['b', 'c', 'd'], e: 'f' }, { filter: ['a', 0, 2] });
-// 'a[0]=b&a[2]=d'
-```
-
-### Handling of `null` values
-
-By default, `null` values are treated like empty strings:
-
-```javascript
-var withNull = qs.stringify({ a: null, b: '' });
-assert.equal(withNull, 'a=&b=');
-```
-
-Parsing does not distinguish between parameters with and without equal signs. Both are converted to empty strings.
-
-```javascript
-var equalsInsensitive = qs.parse('a&b=');
-assert.deepEqual(equalsInsensitive, { a: '', b: '' });
-```
-
-To distinguish between `null` values and empty strings use the `strictNullHandling` flag. In the result string the `null`
-values have no `=` sign:
-
-```javascript
-var strictNull = qs.stringify({ a: null, b: '' }, { strictNullHandling: true });
-assert.equal(strictNull, 'a&b=');
-```
-
-To parse values without `=` back to `null` use the `strictNullHandling` flag:
-
-```javascript
-var parsedStrictNull = qs.parse('a&b=', { strictNullHandling: true });
-assert.deepEqual(parsedStrictNull, { a: null, b: '' });
-```
-
-To completely skip rendering keys with `null` values, use the `skipNulls` flag:
-
-```javascript
-var nullsSkipped = qs.stringify({ a: 'b', c: null}, { skipNulls: true });
-assert.equal(nullsSkipped, 'a=b');
-```
-
-If you're communicating with legacy systems, you can switch to `iso-8859-1`
-using the `charset` option:
-
-```javascript
-var iso = qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' });
-assert.equal(iso, '%E6=%E6');
-```
-
-Characters that don't exist in `iso-8859-1` will be converted to numeric
-entities, similar to what browsers do:
-
-```javascript
-var numeric = qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' });
-assert.equal(numeric, 'a=%26%239786%3B');
-```
-
-You can use the `charsetSentinel` option to announce the character by
-including an `utf8=✓` parameter with the proper encoding if the checkmark,
-similar to what Ruby on Rails and others do when submitting forms.
-
-```javascript
-var sentinel = qs.stringify({ a: '☺' }, { charsetSentinel: true });
-assert.equal(sentinel, 'utf8=%E2%9C%93&a=%E2%98%BA');
-
-var isoSentinel = qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' });
-assert.equal(isoSentinel, 'utf8=%26%2310003%3B&a=%E6');
-```
-
-### Dealing with special character sets
-
-By default the encoding and decoding of characters is done in `utf-8`,
-and `iso-8859-1` support is also built in via the `charset` parameter.
-
-If you wish to encode querystrings to a different character set (i.e.
-[Shift JIS](https://en.wikipedia.org/wiki/Shift_JIS)) you can use the
-[`qs-iconv`](https://github.com/martinheidegger/qs-iconv) library:
-
-```javascript
-var encoder = require('qs-iconv/encoder')('shift_jis');
-var shiftJISEncoded = qs.stringify({ a: 'こんにちは!' }, { encoder: encoder });
-assert.equal(shiftJISEncoded, 'a=%82%B1%82%F1%82%C9%82%BF%82%CD%81I');
-```
-
-This also works for decoding of query strings:
-
-```javascript
-var decoder = require('qs-iconv/decoder')('shift_jis');
-var obj = qs.parse('a=%82%B1%82%F1%82%C9%82%BF%82%CD%81I', { decoder: decoder });
-assert.deepEqual(obj, { a: 'こんにちは!' });
-```
-
-### RFC 3986 and RFC 1738 space encoding
-
-RFC3986 used as default option and encodes ' ' to *%20* which is backward compatible.
-In the same time, output can be stringified as per RFC1738 with ' ' equal to '+'.
-
-```
-assert.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
-assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC3986' }), 'a=b%20c');
-assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC1738' }), 'a=b+c');
-```
-
-[1]: https://npmjs.org/package/qs
-[2]: http://versionbadg.es/ljharb/qs.svg
-[3]: https://api.travis-ci.org/ljharb/qs.svg
-[4]: https://travis-ci.org/ljharb/qs
-[5]: https://david-dm.org/ljharb/qs.svg
-[6]: https://david-dm.org/ljharb/qs
-[7]: https://david-dm.org/ljharb/qs/dev-status.svg
-[8]: https://david-dm.org/ljharb/qs?type=dev
-[9]: https://ci.testling.com/ljharb/qs.png
-[10]: https://ci.testling.com/ljharb/qs
-[11]: https://nodei.co/npm/qs.png?downloads=true&stars=true
-[license-image]: http://img.shields.io/npm/l/qs.svg
-[license-url]: LICENSE
-[downloads-image]: http://img.shields.io/npm/dm/qs.svg
-[downloads-url]: http://npm-stat.com/charts.html?package=qs
diff --git a/Server/node_modules/qs/dist/qs.js b/Server/node_modules/qs/dist/qs.js
deleted file mode 100644
index 17f4e60..0000000
--- a/Server/node_modules/qs/dist/qs.js
+++ /dev/null
@@ -1,782 +0,0 @@
-(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Qs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
-'use strict';
-
-var replace = String.prototype.replace;
-var percentTwenties = /%20/g;
-
-module.exports = {
- 'default': 'RFC3986',
- formatters: {
- RFC1738: function (value) {
- return replace.call(value, percentTwenties, '+');
- },
- RFC3986: function (value) {
- return value;
- }
- },
- RFC1738: 'RFC1738',
- RFC3986: 'RFC3986'
-};
-
-},{}],2:[function(require,module,exports){
-'use strict';
-
-var stringify = require('./stringify');
-var parse = require('./parse');
-var formats = require('./formats');
-
-module.exports = {
- formats: formats,
- parse: parse,
- stringify: stringify
-};
-
-},{"./formats":1,"./parse":3,"./stringify":4}],3:[function(require,module,exports){
-'use strict';
-
-var utils = require('./utils');
-
-var has = Object.prototype.hasOwnProperty;
-
-var defaults = {
- allowDots: false,
- allowPrototypes: false,
- arrayLimit: 20,
- charset: 'utf-8',
- charsetSentinel: false,
- comma: false,
- decoder: utils.decode,
- delimiter: '&',
- depth: 5,
- ignoreQueryPrefix: false,
- interpretNumericEntities: false,
- parameterLimit: 1000,
- parseArrays: true,
- plainObjects: false,
- strictNullHandling: false
-};
-
-var interpretNumericEntities = function (str) {
- return str.replace(/&#(\d+);/g, function ($0, numberStr) {
- return String.fromCharCode(parseInt(numberStr, 10));
- });
-};
-
-// This is what browsers will submit when the ✓ character occurs in an
-// application/x-www-form-urlencoded body and the encoding of the page containing
-// the form is iso-8859-1, or when the submitted form has an accept-charset
-// attribute of iso-8859-1. Presumably also with other charsets that do not contain
-// the ✓ character, such as us-ascii.
-var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')
-
-// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
-var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
-
-var parseValues = function parseQueryStringValues(str, options) {
- var obj = {};
- var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
- var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
- var parts = cleanStr.split(options.delimiter, limit);
- var skipIndex = -1; // Keep track of where the utf8 sentinel was found
- var i;
-
- var charset = options.charset;
- if (options.charsetSentinel) {
- for (i = 0; i < parts.length; ++i) {
- if (parts[i].indexOf('utf8=') === 0) {
- if (parts[i] === charsetSentinel) {
- charset = 'utf-8';
- } else if (parts[i] === isoSentinel) {
- charset = 'iso-8859-1';
- }
- skipIndex = i;
- i = parts.length; // The eslint settings do not allow break;
- }
- }
- }
-
- for (i = 0; i < parts.length; ++i) {
- if (i === skipIndex) {
- continue;
- }
- var part = parts[i];
-
- var bracketEqualsPos = part.indexOf(']=');
- var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
-
- var key, val;
- if (pos === -1) {
- key = options.decoder(part, defaults.decoder, charset);
- val = options.strictNullHandling ? null : '';
- } else {
- key = options.decoder(part.slice(0, pos), defaults.decoder, charset);
- val = options.decoder(part.slice(pos + 1), defaults.decoder, charset);
- }
-
- if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
- val = interpretNumericEntities(val);
- }
-
- if (val && options.comma && val.indexOf(',') > -1) {
- val = val.split(',');
- }
-
- if (has.call(obj, key)) {
- obj[key] = utils.combine(obj[key], val);
- } else {
- obj[key] = val;
- }
- }
-
- return obj;
-};
-
-var parseObject = function (chain, val, options) {
- var leaf = val;
-
- for (var i = chain.length - 1; i >= 0; --i) {
- var obj;
- var root = chain[i];
-
- if (root === '[]' && options.parseArrays) {
- obj = [].concat(leaf);
- } else {
- obj = options.plainObjects ? Object.create(null) : {};
- var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
- var index = parseInt(cleanRoot, 10);
- if (!options.parseArrays && cleanRoot === '') {
- obj = { 0: leaf };
- } else if (
- !isNaN(index)
- && root !== cleanRoot
- && String(index) === cleanRoot
- && index >= 0
- && (options.parseArrays && index <= options.arrayLimit)
- ) {
- obj = [];
- obj[index] = leaf;
- } else {
- obj[cleanRoot] = leaf;
- }
- }
-
- leaf = obj;
- }
-
- return leaf;
-};
-
-var parseKeys = function parseQueryStringKeys(givenKey, val, options) {
- if (!givenKey) {
- return;
- }
-
- // Transform dot notation to bracket notation
- var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
-
- // The regex chunks
-
- var brackets = /(\[[^[\]]*])/;
- var child = /(\[[^[\]]*])/g;
-
- // Get the parent
-
- var segment = brackets.exec(key);
- var parent = segment ? key.slice(0, segment.index) : key;
-
- // Stash the parent if it exists
-
- var keys = [];
- if (parent) {
- // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
- if (!options.plainObjects && has.call(Object.prototype, parent)) {
- if (!options.allowPrototypes) {
- return;
- }
- }
-
- keys.push(parent);
- }
-
- // Loop through children appending to the array until we hit depth
-
- var i = 0;
- while ((segment = child.exec(key)) !== null && i < options.depth) {
- i += 1;
- if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
- if (!options.allowPrototypes) {
- return;
- }
- }
- keys.push(segment[1]);
- }
-
- // If there's a remainder, just add whatever is left
-
- if (segment) {
- keys.push('[' + key.slice(segment.index) + ']');
- }
-
- return parseObject(keys, val, options);
-};
-
-var normalizeParseOptions = function normalizeParseOptions(opts) {
- if (!opts) {
- return defaults;
- }
-
- if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
- throw new TypeError('Decoder has to be a function.');
- }
-
- if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
- throw new Error('The charset option must be either utf-8, iso-8859-1, or undefined');
- }
- var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
-
- return {
- allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
- allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
- arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
- charset: charset,
- charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
- comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
- decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
- delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
- depth: typeof opts.depth === 'number' ? opts.depth : defaults.depth,
- ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
- interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
- parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
- parseArrays: opts.parseArrays !== false,
- plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
- };
-};
-
-module.exports = function (str, opts) {
- var options = normalizeParseOptions(opts);
-
- if (str === '' || str === null || typeof str === 'undefined') {
- return options.plainObjects ? Object.create(null) : {};
- }
-
- var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
- var obj = options.plainObjects ? Object.create(null) : {};
-
- // Iterate over the keys and setup the new object
-
- var keys = Object.keys(tempObj);
- for (var i = 0; i < keys.length; ++i) {
- var key = keys[i];
- var newObj = parseKeys(key, tempObj[key], options);
- obj = utils.merge(obj, newObj, options);
- }
-
- return utils.compact(obj);
-};
-
-},{"./utils":5}],4:[function(require,module,exports){
-'use strict';
-
-var utils = require('./utils');
-var formats = require('./formats');
-var has = Object.prototype.hasOwnProperty;
-
-var arrayPrefixGenerators = {
- brackets: function brackets(prefix) { // eslint-disable-line func-name-matching
- return prefix + '[]';
- },
- comma: 'comma',
- indices: function indices(prefix, key) { // eslint-disable-line func-name-matching
- return prefix + '[' + key + ']';
- },
- repeat: function repeat(prefix) { // eslint-disable-line func-name-matching
- return prefix;
- }
-};
-
-var isArray = Array.isArray;
-var push = Array.prototype.push;
-var pushToArray = function (arr, valueOrArray) {
- push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
-};
-
-var toISO = Date.prototype.toISOString;
-
-var defaults = {
- addQueryPrefix: false,
- allowDots: false,
- charset: 'utf-8',
- charsetSentinel: false,
- delimiter: '&',
- encode: true,
- encoder: utils.encode,
- encodeValuesOnly: false,
- formatter: formats.formatters[formats['default']],
- // deprecated
- indices: false,
- serializeDate: function serializeDate(date) { // eslint-disable-line func-name-matching
- return toISO.call(date);
- },
- skipNulls: false,
- strictNullHandling: false
-};
-
-var stringify = function stringify( // eslint-disable-line func-name-matching
- object,
- prefix,
- generateArrayPrefix,
- strictNullHandling,
- skipNulls,
- encoder,
- filter,
- sort,
- allowDots,
- serializeDate,
- formatter,
- encodeValuesOnly,
- charset
-) {
- var obj = object;
- if (typeof filter === 'function') {
- obj = filter(prefix, obj);
- } else if (obj instanceof Date) {
- obj = serializeDate(obj);
- } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
- obj = obj.join(',');
- }
-
- if (obj === null) {
- if (strictNullHandling) {
- return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset) : prefix;
- }
-
- obj = '';
- }
-
- if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {
- if (encoder) {
- var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset);
- return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset))];
- }
- return [formatter(prefix) + '=' + formatter(String(obj))];
- }
-
- var values = [];
-
- if (typeof obj === 'undefined') {
- return values;
- }
-
- var objKeys;
- if (isArray(filter)) {
- objKeys = filter;
- } else {
- var keys = Object.keys(obj);
- objKeys = sort ? keys.sort(sort) : keys;
- }
-
- for (var i = 0; i < objKeys.length; ++i) {
- var key = objKeys[i];
-
- if (skipNulls && obj[key] === null) {
- continue;
- }
-
- if (isArray(obj)) {
- pushToArray(values, stringify(
- obj[key],
- typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix,
- generateArrayPrefix,
- strictNullHandling,
- skipNulls,
- encoder,
- filter,
- sort,
- allowDots,
- serializeDate,
- formatter,
- encodeValuesOnly,
- charset
- ));
- } else {
- pushToArray(values, stringify(
- obj[key],
- prefix + (allowDots ? '.' + key : '[' + key + ']'),
- generateArrayPrefix,
- strictNullHandling,
- skipNulls,
- encoder,
- filter,
- sort,
- allowDots,
- serializeDate,
- formatter,
- encodeValuesOnly,
- charset
- ));
- }
- }
-
- return values;
-};
-
-var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
- if (!opts) {
- return defaults;
- }
-
- if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {
- throw new TypeError('Encoder has to be a function.');
- }
-
- var charset = opts.charset || defaults.charset;
- if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
- throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
- }
-
- var format = formats['default'];
- if (typeof opts.format !== 'undefined') {
- if (!has.call(formats.formatters, opts.format)) {
- throw new TypeError('Unknown format option provided.');
- }
- format = opts.format;
- }
- var formatter = formats.formatters[format];
-
- var filter = defaults.filter;
- if (typeof opts.filter === 'function' || isArray(opts.filter)) {
- filter = opts.filter;
- }
-
- return {
- addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
- allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
- charset: charset,
- charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
- delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
- encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
- encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
- encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
- filter: filter,
- formatter: formatter,
- serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
- skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
- sort: typeof opts.sort === 'function' ? opts.sort : null,
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
- };
-};
-
-module.exports = function (object, opts) {
- var obj = object;
- var options = normalizeStringifyOptions(opts);
-
- var objKeys;
- var filter;
-
- if (typeof options.filter === 'function') {
- filter = options.filter;
- obj = filter('', obj);
- } else if (isArray(options.filter)) {
- filter = options.filter;
- objKeys = filter;
- }
-
- var keys = [];
-
- if (typeof obj !== 'object' || obj === null) {
- return '';
- }
-
- var arrayFormat;
- if (opts && opts.arrayFormat in arrayPrefixGenerators) {
- arrayFormat = opts.arrayFormat;
- } else if (opts && 'indices' in opts) {
- arrayFormat = opts.indices ? 'indices' : 'repeat';
- } else {
- arrayFormat = 'indices';
- }
-
- var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
-
- if (!objKeys) {
- objKeys = Object.keys(obj);
- }
-
- if (options.sort) {
- objKeys.sort(options.sort);
- }
-
- for (var i = 0; i < objKeys.length; ++i) {
- var key = objKeys[i];
-
- if (options.skipNulls && obj[key] === null) {
- continue;
- }
- pushToArray(keys, stringify(
- obj[key],
- key,
- generateArrayPrefix,
- options.strictNullHandling,
- options.skipNulls,
- options.encode ? options.encoder : null,
- options.filter,
- options.sort,
- options.allowDots,
- options.serializeDate,
- options.formatter,
- options.encodeValuesOnly,
- options.charset
- ));
- }
-
- var joined = keys.join(options.delimiter);
- var prefix = options.addQueryPrefix === true ? '?' : '';
-
- if (options.charsetSentinel) {
- if (options.charset === 'iso-8859-1') {
- // encodeURIComponent('&#10003;'), the "numeric entity" representation of a checkmark
- prefix += 'utf8=%26%2310003%3B&';
- } else {
- // encodeURIComponent('✓')
- prefix += 'utf8=%E2%9C%93&';
- }
- }
-
- return joined.length > 0 ? prefix + joined : '';
-};
-
-},{"./formats":1,"./utils":5}],5:[function(require,module,exports){
-'use strict';
-
-var has = Object.prototype.hasOwnProperty;
-var isArray = Array.isArray;
-
-var hexTable = (function () {
- var array = [];
- for (var i = 0; i < 256; ++i) {
- array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
- }
-
- return array;
-}());
-
-var compactQueue = function compactQueue(queue) {
- while (queue.length > 1) {
- var item = queue.pop();
- var obj = item.obj[item.prop];
-
- if (isArray(obj)) {
- var compacted = [];
-
- for (var j = 0; j < obj.length; ++j) {
- if (typeof obj[j] !== 'undefined') {
- compacted.push(obj[j]);
- }
- }
-
- item.obj[item.prop] = compacted;
- }
- }
-};
-
-var arrayToObject = function arrayToObject(source, options) {
- var obj = options && options.plainObjects ? Object.create(null) : {};
- for (var i = 0; i < source.length; ++i) {
- if (typeof source[i] !== 'undefined') {
- obj[i] = source[i];
- }
- }
-
- return obj;
-};
-
-var merge = function merge(target, source, options) {
- if (!source) {
- return target;
- }
-
- if (typeof source !== 'object') {
- if (isArray(target)) {
- target.push(source);
- } else if (target && typeof target === 'object') {
- if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
- target[source] = true;
- }
- } else {
- return [target, source];
- }
-
- return target;
- }
-
- if (!target || typeof target !== 'object') {
- return [target].concat(source);
- }
-
- var mergeTarget = target;
- if (isArray(target) && !isArray(source)) {
- mergeTarget = arrayToObject(target, options);
- }
-
- if (isArray(target) && isArray(source)) {
- source.forEach(function (item, i) {
- if (has.call(target, i)) {
- var targetItem = target[i];
- if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
- target[i] = merge(targetItem, item, options);
- } else {
- target.push(item);
- }
- } else {
- target[i] = item;
- }
- });
- return target;
- }
-
- return Object.keys(source).reduce(function (acc, key) {
- var value = source[key];
-
- if (has.call(acc, key)) {
- acc[key] = merge(acc[key], value, options);
- } else {
- acc[key] = value;
- }
- return acc;
- }, mergeTarget);
-};
-
-var assign = function assignSingleSource(target, source) {
- return Object.keys(source).reduce(function (acc, key) {
- acc[key] = source[key];
- return acc;
- }, target);
-};
-
-var decode = function (str, decoder, charset) {
- var strWithoutPlus = str.replace(/\+/g, ' ');
- if (charset === 'iso-8859-1') {
- // unescape never throws, no try...catch needed:
- return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
- }
- // utf-8
- try {
- return decodeURIComponent(strWithoutPlus);
- } catch (e) {
- return strWithoutPlus;
- }
-};
-
-var encode = function encode(str, defaultEncoder, charset) {
- // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
- // It has been adapted here for stricter adherence to RFC 3986
- if (str.length === 0) {
- return str;
- }
-
- var string = typeof str === 'string' ? str : String(str);
-
- if (charset === 'iso-8859-1') {
- return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
- return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
- });
- }
-
- var out = '';
- for (var i = 0; i < string.length; ++i) {
- var c = string.charCodeAt(i);
-
- if (
- c === 0x2D // -
- || c === 0x2E // .
- || c === 0x5F // _
- || c === 0x7E // ~
- || (c >= 0x30 && c <= 0x39) // 0-9
- || (c >= 0x41 && c <= 0x5A) // a-z
- || (c >= 0x61 && c <= 0x7A) // A-Z
- ) {
- out += string.charAt(i);
- continue;
- }
-
- if (c < 0x80) {
- out = out + hexTable[c];
- continue;
- }
-
- if (c < 0x800) {
- out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
- continue;
- }
-
- if (c < 0xD800 || c >= 0xE000) {
- out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
- continue;
- }
-
- i += 1;
- c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
- out += hexTable[0xF0 | (c >> 18)]
- + hexTable[0x80 | ((c >> 12) & 0x3F)]
- + hexTable[0x80 | ((c >> 6) & 0x3F)]
- + hexTable[0x80 | (c & 0x3F)];
- }
-
- return out;
-};
-
-var compact = function compact(value) {
- var queue = [{ obj: { o: value }, prop: 'o' }];
- var refs = [];
-
- for (var i = 0; i < queue.length; ++i) {
- var item = queue[i];
- var obj = item.obj[item.prop];
-
- var keys = Object.keys(obj);
- for (var j = 0; j < keys.length; ++j) {
- var key = keys[j];
- var val = obj[key];
- if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
- queue.push({ obj: obj, prop: key });
- refs.push(val);
- }
- }
- }
-
- compactQueue(queue);
-
- return value;
-};
-
-var isRegExp = function isRegExp(obj) {
- return Object.prototype.toString.call(obj) === '[object RegExp]';
-};
-
-var isBuffer = function isBuffer(obj) {
- if (!obj || typeof obj !== 'object') {
- return false;
- }
-
- return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
-};
-
-var combine = function combine(a, b) {
- return [].concat(a, b);
-};
-
-module.exports = {
- arrayToObject: arrayToObject,
- assign: assign,
- combine: combine,
- compact: compact,
- decode: decode,
- encode: encode,
- isBuffer: isBuffer,
- isRegExp: isRegExp,
- merge: merge
-};
-
-},{}]},{},[2])(2)
-});
diff --git a/Server/node_modules/qs/lib/formats.js b/Server/node_modules/qs/lib/formats.js
deleted file mode 100644
index df45997..0000000
--- a/Server/node_modules/qs/lib/formats.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict';
-
-var replace = String.prototype.replace;
-var percentTwenties = /%20/g;
-
-module.exports = {
- 'default': 'RFC3986',
- formatters: {
- RFC1738: function (value) {
- return replace.call(value, percentTwenties, '+');
- },
- RFC3986: function (value) {
- return value;
- }
- },
- RFC1738: 'RFC1738',
- RFC3986: 'RFC3986'
-};
diff --git a/Server/node_modules/qs/lib/index.js b/Server/node_modules/qs/lib/index.js
deleted file mode 100644
index 0d6a97d..0000000
--- a/Server/node_modules/qs/lib/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-'use strict';
-
-var stringify = require('./stringify');
-var parse = require('./parse');
-var formats = require('./formats');
-
-module.exports = {
- formats: formats,
- parse: parse,
- stringify: stringify
-};
diff --git a/Server/node_modules/qs/lib/parse.js b/Server/node_modules/qs/lib/parse.js
deleted file mode 100644
index d81628b..0000000
--- a/Server/node_modules/qs/lib/parse.js
+++ /dev/null
@@ -1,242 +0,0 @@
-'use strict';
-
-var utils = require('./utils');
-
-var has = Object.prototype.hasOwnProperty;
-
-var defaults = {
- allowDots: false,
- allowPrototypes: false,
- arrayLimit: 20,
- charset: 'utf-8',
- charsetSentinel: false,
- comma: false,
- decoder: utils.decode,
- delimiter: '&',
- depth: 5,
- ignoreQueryPrefix: false,
- interpretNumericEntities: false,
- parameterLimit: 1000,
- parseArrays: true,
- plainObjects: false,
- strictNullHandling: false
-};
-
-var interpretNumericEntities = function (str) {
- return str.replace(/&#(\d+);/g, function ($0, numberStr) {
- return String.fromCharCode(parseInt(numberStr, 10));
- });
-};
-
-// This is what browsers will submit when the ✓ character occurs in an
-// application/x-www-form-urlencoded body and the encoding of the page containing
-// the form is iso-8859-1, or when the submitted form has an accept-charset
-// attribute of iso-8859-1. Presumably also with other charsets that do not contain
-// the ✓ character, such as us-ascii.
-var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')
-
-// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
-var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
-
-var parseValues = function parseQueryStringValues(str, options) {
- var obj = {};
- var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
- var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
- var parts = cleanStr.split(options.delimiter, limit);
- var skipIndex = -1; // Keep track of where the utf8 sentinel was found
- var i;
-
- var charset = options.charset;
- if (options.charsetSentinel) {
- for (i = 0; i < parts.length; ++i) {
- if (parts[i].indexOf('utf8=') === 0) {
- if (parts[i] === charsetSentinel) {
- charset = 'utf-8';
- } else if (parts[i] === isoSentinel) {
- charset = 'iso-8859-1';
- }
- skipIndex = i;
- i = parts.length; // The eslint settings do not allow break;
- }
- }
- }
-
- for (i = 0; i < parts.length; ++i) {
- if (i === skipIndex) {
- continue;
- }
- var part = parts[i];
-
- var bracketEqualsPos = part.indexOf(']=');
- var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
-
- var key, val;
- if (pos === -1) {
- key = options.decoder(part, defaults.decoder, charset);
- val = options.strictNullHandling ? null : '';
- } else {
- key = options.decoder(part.slice(0, pos), defaults.decoder, charset);
- val = options.decoder(part.slice(pos + 1), defaults.decoder, charset);
- }
-
- if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
- val = interpretNumericEntities(val);
- }
-
- if (val && options.comma && val.indexOf(',') > -1) {
- val = val.split(',');
- }
-
- if (has.call(obj, key)) {
- obj[key] = utils.combine(obj[key], val);
- } else {
- obj[key] = val;
- }
- }
-
- return obj;
-};
-
-var parseObject = function (chain, val, options) {
- var leaf = val;
-
- for (var i = chain.length - 1; i >= 0; --i) {
- var obj;
- var root = chain[i];
-
- if (root === '[]' && options.parseArrays) {
- obj = [].concat(leaf);
- } else {
- obj = options.plainObjects ? Object.create(null) : {};
- var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
- var index = parseInt(cleanRoot, 10);
- if (!options.parseArrays && cleanRoot === '') {
- obj = { 0: leaf };
- } else if (
- !isNaN(index)
- && root !== cleanRoot
- && String(index) === cleanRoot
- && index >= 0
- && (options.parseArrays && index <= options.arrayLimit)
- ) {
- obj = [];
- obj[index] = leaf;
- } else {
- obj[cleanRoot] = leaf;
- }
- }
-
- leaf = obj;
- }
-
- return leaf;
-};
-
-var parseKeys = function parseQueryStringKeys(givenKey, val, options) {
- if (!givenKey) {
- return;
- }
-
- // Transform dot notation to bracket notation
- var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
-
- // The regex chunks
-
- var brackets = /(\[[^[\]]*])/;
- var child = /(\[[^[\]]*])/g;
-
- // Get the parent
-
- var segment = brackets.exec(key);
- var parent = segment ? key.slice(0, segment.index) : key;
-
- // Stash the parent if it exists
-
- var keys = [];
- if (parent) {
- // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
- if (!options.plainObjects && has.call(Object.prototype, parent)) {
- if (!options.allowPrototypes) {
- return;
- }
- }
-
- keys.push(parent);
- }
-
- // Loop through children appending to the array until we hit depth
-
- var i = 0;
- while ((segment = child.exec(key)) !== null && i < options.depth) {
- i += 1;
- if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
- if (!options.allowPrototypes) {
- return;
- }
- }
- keys.push(segment[1]);
- }
-
- // If there's a remainder, just add whatever is left
-
- if (segment) {
- keys.push('[' + key.slice(segment.index) + ']');
- }
-
- return parseObject(keys, val, options);
-};
-
-var normalizeParseOptions = function normalizeParseOptions(opts) {
- if (!opts) {
- return defaults;
- }
-
- if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
- throw new TypeError('Decoder has to be a function.');
- }
-
- if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
- throw new Error('The charset option must be either utf-8, iso-8859-1, or undefined');
- }
- var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
-
- return {
- allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
- allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
- arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
- charset: charset,
- charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
- comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
- decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
- delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
- depth: typeof opts.depth === 'number' ? opts.depth : defaults.depth,
- ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
- interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
- parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
- parseArrays: opts.parseArrays !== false,
- plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
- };
-};
-
-module.exports = function (str, opts) {
- var options = normalizeParseOptions(opts);
-
- if (str === '' || str === null || typeof str === 'undefined') {
- return options.plainObjects ? Object.create(null) : {};
- }
-
- var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
- var obj = options.plainObjects ? Object.create(null) : {};
-
- // Iterate over the keys and setup the new object
-
- var keys = Object.keys(tempObj);
- for (var i = 0; i < keys.length; ++i) {
- var key = keys[i];
- var newObj = parseKeys(key, tempObj[key], options);
- obj = utils.merge(obj, newObj, options);
- }
-
- return utils.compact(obj);
-};
diff --git a/Server/node_modules/qs/lib/stringify.js b/Server/node_modules/qs/lib/stringify.js
deleted file mode 100644
index 7455049..0000000
--- a/Server/node_modules/qs/lib/stringify.js
+++ /dev/null
@@ -1,269 +0,0 @@
-'use strict';
-
-var utils = require('./utils');
-var formats = require('./formats');
-var has = Object.prototype.hasOwnProperty;
-
-var arrayPrefixGenerators = {
- brackets: function brackets(prefix) { // eslint-disable-line func-name-matching
- return prefix + '[]';
- },
- comma: 'comma',
- indices: function indices(prefix, key) { // eslint-disable-line func-name-matching
- return prefix + '[' + key + ']';
- },
- repeat: function repeat(prefix) { // eslint-disable-line func-name-matching
- return prefix;
- }
-};
-
-var isArray = Array.isArray;
-var push = Array.prototype.push;
-var pushToArray = function (arr, valueOrArray) {
- push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
-};
-
-var toISO = Date.prototype.toISOString;
-
-var defaults = {
- addQueryPrefix: false,
- allowDots: false,
- charset: 'utf-8',
- charsetSentinel: false,
- delimiter: '&',
- encode: true,
- encoder: utils.encode,
- encodeValuesOnly: false,
- formatter: formats.formatters[formats['default']],
- // deprecated
- indices: false,
- serializeDate: function serializeDate(date) { // eslint-disable-line func-name-matching
- return toISO.call(date);
- },
- skipNulls: false,
- strictNullHandling: false
-};
-
-var stringify = function stringify( // eslint-disable-line func-name-matching
- object,
- prefix,
- generateArrayPrefix,
- strictNullHandling,
- skipNulls,
- encoder,
- filter,
- sort,
- allowDots,
- serializeDate,
- formatter,
- encodeValuesOnly,
- charset
-) {
- var obj = object;
- if (typeof filter === 'function') {
- obj = filter(prefix, obj);
- } else if (obj instanceof Date) {
- obj = serializeDate(obj);
- } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
- obj = obj.join(',');
- }
-
- if (obj === null) {
- if (strictNullHandling) {
- return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset) : prefix;
- }
-
- obj = '';
- }
-
- if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {
- if (encoder) {
- var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset);
- return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset))];
- }
- return [formatter(prefix) + '=' + formatter(String(obj))];
- }
-
- var values = [];
-
- if (typeof obj === 'undefined') {
- return values;
- }
-
- var objKeys;
- if (isArray(filter)) {
- objKeys = filter;
- } else {
- var keys = Object.keys(obj);
- objKeys = sort ? keys.sort(sort) : keys;
- }
-
- for (var i = 0; i < objKeys.length; ++i) {
- var key = objKeys[i];
-
- if (skipNulls && obj[key] === null) {
- continue;
- }
-
- if (isArray(obj)) {
- pushToArray(values, stringify(
- obj[key],
- typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix,
- generateArrayPrefix,
- strictNullHandling,
- skipNulls,
- encoder,
- filter,
- sort,
- allowDots,
- serializeDate,
- formatter,
- encodeValuesOnly,
- charset
- ));
- } else {
- pushToArray(values, stringify(
- obj[key],
- prefix + (allowDots ? '.' + key : '[' + key + ']'),
- generateArrayPrefix,
- strictNullHandling,
- skipNulls,
- encoder,
- filter,
- sort,
- allowDots,
- serializeDate,
- formatter,
- encodeValuesOnly,
- charset
- ));
- }
- }
-
- return values;
-};
-
-var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
- if (!opts) {
- return defaults;
- }
-
- if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {
- throw new TypeError('Encoder has to be a function.');
- }
-
- var charset = opts.charset || defaults.charset;
- if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
- throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
- }
-
- var format = formats['default'];
- if (typeof opts.format !== 'undefined') {
- if (!has.call(formats.formatters, opts.format)) {
- throw new TypeError('Unknown format option provided.');
- }
- format = opts.format;
- }
- var formatter = formats.formatters[format];
-
- var filter = defaults.filter;
- if (typeof opts.filter === 'function' || isArray(opts.filter)) {
- filter = opts.filter;
- }
-
- return {
- addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
- allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
- charset: charset,
- charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
- delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
- encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
- encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
- encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
- filter: filter,
- formatter: formatter,
- serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
- skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
- sort: typeof opts.sort === 'function' ? opts.sort : null,
- strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
- };
-};
-
-module.exports = function (object, opts) {
- var obj = object;
- var options = normalizeStringifyOptions(opts);
-
- var objKeys;
- var filter;
-
- if (typeof options.filter === 'function') {
- filter = options.filter;
- obj = filter('', obj);
- } else if (isArray(options.filter)) {
- filter = options.filter;
- objKeys = filter;
- }
-
- var keys = [];
-
- if (typeof obj !== 'object' || obj === null) {
- return '';
- }
-
- var arrayFormat;
- if (opts && opts.arrayFormat in arrayPrefixGenerators) {
- arrayFormat = opts.arrayFormat;
- } else if (opts && 'indices' in opts) {
- arrayFormat = opts.indices ? 'indices' : 'repeat';
- } else {
- arrayFormat = 'indices';
- }
-
- var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
-
- if (!objKeys) {
- objKeys = Object.keys(obj);
- }
-
- if (options.sort) {
- objKeys.sort(options.sort);
- }
-
- for (var i = 0; i < objKeys.length; ++i) {
- var key = objKeys[i];
-
- if (options.skipNulls && obj[key] === null) {
- continue;
- }
- pushToArray(keys, stringify(
- obj[key],
- key,
- generateArrayPrefix,
- options.strictNullHandling,
- options.skipNulls,
- options.encode ? options.encoder : null,
- options.filter,
- options.sort,
- options.allowDots,
- options.serializeDate,
- options.formatter,
- options.encodeValuesOnly,
- options.charset
- ));
- }
-
- var joined = keys.join(options.delimiter);
- var prefix = options.addQueryPrefix === true ? '?' : '';
-
- if (options.charsetSentinel) {
- if (options.charset === 'iso-8859-1') {
- // encodeURIComponent('&#10003;'), the "numeric entity" representation of a checkmark
- prefix += 'utf8=%26%2310003%3B&';
- } else {
- // encodeURIComponent('✓')
- prefix += 'utf8=%E2%9C%93&';
- }
- }
-
- return joined.length > 0 ? prefix + joined : '';
-};
diff --git a/Server/node_modules/qs/lib/utils.js b/Server/node_modules/qs/lib/utils.js
deleted file mode 100644
index 1b219cd..0000000
--- a/Server/node_modules/qs/lib/utils.js
+++ /dev/null
@@ -1,230 +0,0 @@
-'use strict';
-
-var has = Object.prototype.hasOwnProperty;
-var isArray = Array.isArray;
-
-var hexTable = (function () {
- var array = [];
- for (var i = 0; i < 256; ++i) {
- array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
- }
-
- return array;
-}());
-
-var compactQueue = function compactQueue(queue) {
- while (queue.length > 1) {
- var item = queue.pop();
- var obj = item.obj[item.prop];
-
- if (isArray(obj)) {
- var compacted = [];
-
- for (var j = 0; j < obj.length; ++j) {
- if (typeof obj[j] !== 'undefined') {
- compacted.push(obj[j]);
- }
- }
-
- item.obj[item.prop] = compacted;
- }
- }
-};
-
-var arrayToObject = function arrayToObject(source, options) {
- var obj = options && options.plainObjects ? Object.create(null) : {};
- for (var i = 0; i < source.length; ++i) {
- if (typeof source[i] !== 'undefined') {
- obj[i] = source[i];
- }
- }
-
- return obj;
-};
-
-var merge = function merge(target, source, options) {
- if (!source) {
- return target;
- }
-
- if (typeof source !== 'object') {
- if (isArray(target)) {
- target.push(source);
- } else if (target && typeof target === 'object') {
- if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
- target[source] = true;
- }
- } else {
- return [target, source];
- }
-
- return target;
- }
-
- if (!target || typeof target !== 'object') {
- return [target].concat(source);
- }
-
- var mergeTarget = target;
- if (isArray(target) && !isArray(source)) {
- mergeTarget = arrayToObject(target, options);
- }
-
- if (isArray(target) && isArray(source)) {
- source.forEach(function (item, i) {
- if (has.call(target, i)) {
- var targetItem = target[i];
- if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
- target[i] = merge(targetItem, item, options);
- } else {
- target.push(item);
- }
- } else {
- target[i] = item;
- }
- });
- return target;
- }
-
- return Object.keys(source).reduce(function (acc, key) {
- var value = source[key];
-
- if (has.call(acc, key)) {
- acc[key] = merge(acc[key], value, options);
- } else {
- acc[key] = value;
- }
- return acc;
- }, mergeTarget);
-};
-
-var assign = function assignSingleSource(target, source) {
- return Object.keys(source).reduce(function (acc, key) {
- acc[key] = source[key];
- return acc;
- }, target);
-};
-
-var decode = function (str, decoder, charset) {
- var strWithoutPlus = str.replace(/\+/g, ' ');
- if (charset === 'iso-8859-1') {
- // unescape never throws, no try...catch needed:
- return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
- }
- // utf-8
- try {
- return decodeURIComponent(strWithoutPlus);
- } catch (e) {
- return strWithoutPlus;
- }
-};
-
-var encode = function encode(str, defaultEncoder, charset) {
- // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
- // It has been adapted here for stricter adherence to RFC 3986
- if (str.length === 0) {
- return str;
- }
-
- var string = typeof str === 'string' ? str : String(str);
-
- if (charset === 'iso-8859-1') {
- return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
- return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
- });
- }
-
- var out = '';
- for (var i = 0; i < string.length; ++i) {
- var c = string.charCodeAt(i);
-
- if (
- c === 0x2D // -
- || c === 0x2E // .
- || c === 0x5F // _
- || c === 0x7E // ~
- || (c >= 0x30 && c <= 0x39) // 0-9
- || (c >= 0x41 && c <= 0x5A) // a-z
- || (c >= 0x61 && c <= 0x7A) // A-Z
- ) {
- out += string.charAt(i);
- continue;
- }
-
- if (c < 0x80) {
- out = out + hexTable[c];
- continue;
- }
-
- if (c < 0x800) {
- out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
- continue;
- }
-
- if (c < 0xD800 || c >= 0xE000) {
- out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
- continue;
- }
-
- i += 1;
- c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
- out += hexTable[0xF0 | (c >> 18)]
- + hexTable[0x80 | ((c >> 12) & 0x3F)]
- + hexTable[0x80 | ((c >> 6) & 0x3F)]
- + hexTable[0x80 | (c & 0x3F)];
- }
-
- return out;
-};
-
-var compact = function compact(value) {
- var queue = [{ obj: { o: value }, prop: 'o' }];
- var refs = [];
-
- for (var i = 0; i < queue.length; ++i) {
- var item = queue[i];
- var obj = item.obj[item.prop];
-
- var keys = Object.keys(obj);
- for (var j = 0; j < keys.length; ++j) {
- var key = keys[j];
- var val = obj[key];
- if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
- queue.push({ obj: obj, prop: key });
- refs.push(val);
- }
- }
- }
-
- compactQueue(queue);
-
- return value;
-};
-
-var isRegExp = function isRegExp(obj) {
- return Object.prototype.toString.call(obj) === '[object RegExp]';
-};
-
-var isBuffer = function isBuffer(obj) {
- if (!obj || typeof obj !== 'object') {
- return false;
- }
-
- return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
-};
-
-var combine = function combine(a, b) {
- return [].concat(a, b);
-};
-
-module.exports = {
- arrayToObject: arrayToObject,
- assign: assign,
- combine: combine,
- compact: compact,
- decode: decode,
- encode: encode,
- isBuffer: isBuffer,
- isRegExp: isRegExp,
- merge: merge
-};
diff --git a/Server/node_modules/qs/package.json b/Server/node_modules/qs/package.json
deleted file mode 100644
index 4631f97..0000000
--- a/Server/node_modules/qs/package.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- "_from": "qs@6.7.0",
- "_id": "qs@6.7.0",
- "_inBundle": false,
- "_integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",
- "_location": "/qs",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "qs@6.7.0",
- "name": "qs",
- "escapedName": "qs",
- "rawSpec": "6.7.0",
- "saveSpec": null,
- "fetchSpec": "6.7.0"
- },
- "_requiredBy": [
- "/body-parser",
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
- "_shasum": "41dc1a015e3d581f1621776be31afb2876a9b1bc",
- "_spec": "qs@6.7.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "bugs": {
- "url": "https://github.com/ljharb/qs/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Jordan Harband",
- "email": "ljharb@gmail.com",
- "url": "http://ljharb.codes"
- }
- ],
- "dependencies": {},
- "deprecated": false,
- "description": "A querystring parser that supports nesting and arrays, with a depth limit",
- "devDependencies": {
- "@ljharb/eslint-config": "^13.1.1",
- "browserify": "^16.2.3",
- "covert": "^1.1.1",
- "editorconfig-tools": "^0.1.1",
- "eslint": "^5.15.3",
- "evalmd": "^0.0.17",
- "for-each": "^0.3.3",
- "iconv-lite": "^0.4.24",
- "mkdirp": "^0.5.1",
- "object-inspect": "^1.6.0",
- "qs-iconv": "^1.0.4",
- "safe-publish-latest": "^1.1.2",
- "safer-buffer": "^2.1.2",
- "tape": "^4.10.1"
- },
- "engines": {
- "node": ">=0.6"
- },
- "homepage": "https://github.com/ljharb/qs",
- "keywords": [
- "querystring",
- "qs",
- "query",
- "url",
- "parse",
- "stringify"
- ],
- "license": "BSD-3-Clause",
- "main": "lib/index.js",
- "name": "qs",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/ljharb/qs.git"
- },
- "scripts": {
- "coverage": "covert test",
- "dist": "mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js",
- "lint": "eslint lib/*.js test/*.js",
- "postlint": "editorconfig-tools check * lib/* test/*",
- "prepublish": "safe-publish-latest && npm run dist",
- "pretest": "npm run --silent readme && npm run --silent lint",
- "readme": "evalmd README.md",
- "test": "npm run --silent coverage",
- "tests-only": "node test"
- },
- "version": "6.7.0"
-}
diff --git a/Server/node_modules/qs/test/.eslintrc b/Server/node_modules/qs/test/.eslintrc
deleted file mode 100644
index 9ebbb92..0000000
--- a/Server/node_modules/qs/test/.eslintrc
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "rules": {
- "array-bracket-newline": 0,
- "array-element-newline": 0,
- "consistent-return": 2,
- "function-paren-newline": 0,
- "max-lines": 0,
- "max-lines-per-function": 0,
- "max-nested-callbacks": [2, 3],
- "max-statements": 0,
- "no-buffer-constructor": 0,
- "no-extend-native": 0,
- "no-magic-numbers": 0,
- "object-curly-newline": 0,
- "sort-keys": 0
- }
-}
diff --git a/Server/node_modules/qs/test/index.js b/Server/node_modules/qs/test/index.js
deleted file mode 100644
index 5e6bc8f..0000000
--- a/Server/node_modules/qs/test/index.js
+++ /dev/null
@@ -1,7 +0,0 @@
-'use strict';
-
-require('./parse');
-
-require('./stringify');
-
-require('./utils');
diff --git a/Server/node_modules/qs/test/parse.js b/Server/node_modules/qs/test/parse.js
deleted file mode 100644
index 8967789..0000000
--- a/Server/node_modules/qs/test/parse.js
+++ /dev/null
@@ -1,676 +0,0 @@
-'use strict';
-
-var test = require('tape');
-var qs = require('../');
-var utils = require('../lib/utils');
-var iconv = require('iconv-lite');
-var SaferBuffer = require('safer-buffer').Buffer;
-
-test('parse()', function (t) {
- t.test('parses a simple string', function (st) {
- st.deepEqual(qs.parse('0=foo'), { 0: 'foo' });
- st.deepEqual(qs.parse('foo=c++'), { foo: 'c ' });
- st.deepEqual(qs.parse('a[>=]=23'), { a: { '>=': '23' } });
- st.deepEqual(qs.parse('a[<=>]==23'), { a: { '<=>': '=23' } });
- st.deepEqual(qs.parse('a[==]=23'), { a: { '==': '23' } });
- st.deepEqual(qs.parse('foo', { strictNullHandling: true }), { foo: null });
- st.deepEqual(qs.parse('foo'), { foo: '' });
- st.deepEqual(qs.parse('foo='), { foo: '' });
- st.deepEqual(qs.parse('foo=bar'), { foo: 'bar' });
- st.deepEqual(qs.parse(' foo = bar = baz '), { ' foo ': ' bar = baz ' });
- st.deepEqual(qs.parse('foo=bar=baz'), { foo: 'bar=baz' });
- st.deepEqual(qs.parse('foo=bar&bar=baz'), { foo: 'bar', bar: 'baz' });
- st.deepEqual(qs.parse('foo2=bar2&baz2='), { foo2: 'bar2', baz2: '' });
- st.deepEqual(qs.parse('foo=bar&baz', { strictNullHandling: true }), { foo: 'bar', baz: null });
- st.deepEqual(qs.parse('foo=bar&baz'), { foo: 'bar', baz: '' });
- st.deepEqual(qs.parse('cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World'), {
- cht: 'p3',
- chd: 't:60,40',
- chs: '250x100',
- chl: 'Hello|World'
- });
- st.end();
- });
-
- t.test('allows enabling dot notation', function (st) {
- st.deepEqual(qs.parse('a.b=c'), { 'a.b': 'c' });
- st.deepEqual(qs.parse('a.b=c', { allowDots: true }), { a: { b: 'c' } });
- st.end();
- });
-
- t.deepEqual(qs.parse('a[b]=c'), { a: { b: 'c' } }, 'parses a single nested string');
- t.deepEqual(qs.parse('a[b][c]=d'), { a: { b: { c: 'd' } } }, 'parses a double nested string');
- t.deepEqual(
- qs.parse('a[b][c][d][e][f][g][h]=i'),
- { a: { b: { c: { d: { e: { f: { '[g][h]': 'i' } } } } } } },
- 'defaults to a depth of 5'
- );
-
- t.test('only parses one level when depth = 1', function (st) {
- st.deepEqual(qs.parse('a[b][c]=d', { depth: 1 }), { a: { b: { '[c]': 'd' } } });
- st.deepEqual(qs.parse('a[b][c][d]=e', { depth: 1 }), { a: { b: { '[c][d]': 'e' } } });
- st.end();
- });
-
- t.deepEqual(qs.parse('a=b&a=c'), { a: ['b', 'c'] }, 'parses a simple array');
-
- t.test('parses an explicit array', function (st) {
- st.deepEqual(qs.parse('a[]=b'), { a: ['b'] });
- st.deepEqual(qs.parse('a[]=b&a[]=c'), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a[]=b&a[]=c&a[]=d'), { a: ['b', 'c', 'd'] });
- st.end();
- });
-
- t.test('parses a mix of simple and explicit arrays', function (st) {
- st.deepEqual(qs.parse('a=b&a[]=c'), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a[]=b&a=c'), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a[0]=b&a=c'), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a=b&a[0]=c'), { a: ['b', 'c'] });
-
- st.deepEqual(qs.parse('a[1]=b&a=c', { arrayLimit: 20 }), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a[]=b&a=c', { arrayLimit: 0 }), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a[]=b&a=c'), { a: ['b', 'c'] });
-
- st.deepEqual(qs.parse('a=b&a[1]=c', { arrayLimit: 20 }), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a=b&a[]=c', { arrayLimit: 0 }), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a=b&a[]=c'), { a: ['b', 'c'] });
-
- st.end();
- });
-
- t.test('parses a nested array', function (st) {
- st.deepEqual(qs.parse('a[b][]=c&a[b][]=d'), { a: { b: ['c', 'd'] } });
- st.deepEqual(qs.parse('a[>=]=25'), { a: { '>=': '25' } });
- st.end();
- });
-
- t.test('allows to specify array indices', function (st) {
- st.deepEqual(qs.parse('a[1]=c&a[0]=b&a[2]=d'), { a: ['b', 'c', 'd'] });
- st.deepEqual(qs.parse('a[1]=c&a[0]=b'), { a: ['b', 'c'] });
- st.deepEqual(qs.parse('a[1]=c', { arrayLimit: 20 }), { a: ['c'] });
- st.deepEqual(qs.parse('a[1]=c', { arrayLimit: 0 }), { a: { 1: 'c' } });
- st.deepEqual(qs.parse('a[1]=c'), { a: ['c'] });
- st.end();
- });
-
- t.test('limits specific array indices to arrayLimit', function (st) {
- st.deepEqual(qs.parse('a[20]=a', { arrayLimit: 20 }), { a: ['a'] });
- st.deepEqual(qs.parse('a[21]=a', { arrayLimit: 20 }), { a: { 21: 'a' } });
- st.end();
- });
-
- t.deepEqual(qs.parse('a[12b]=c'), { a: { '12b': 'c' } }, 'supports keys that begin with a number');
-
- t.test('supports encoded = signs', function (st) {
- st.deepEqual(qs.parse('he%3Dllo=th%3Dere'), { 'he=llo': 'th=ere' });
- st.end();
- });
-
- t.test('is ok with url encoded strings', function (st) {
- st.deepEqual(qs.parse('a[b%20c]=d'), { a: { 'b c': 'd' } });
- st.deepEqual(qs.parse('a[b]=c%20d'), { a: { b: 'c d' } });
- st.end();
- });
-
- t.test('allows brackets in the value', function (st) {
- st.deepEqual(qs.parse('pets=["tobi"]'), { pets: '["tobi"]' });
- st.deepEqual(qs.parse('operators=[">=", "<="]'), { operators: '[">=", "<="]' });
- st.end();
- });
-
- t.test('allows empty values', function (st) {
- st.deepEqual(qs.parse(''), {});
- st.deepEqual(qs.parse(null), {});
- st.deepEqual(qs.parse(undefined), {});
- st.end();
- });
-
- t.test('transforms arrays to objects', function (st) {
- st.deepEqual(qs.parse('foo[0]=bar&foo[bad]=baz'), { foo: { 0: 'bar', bad: 'baz' } });
- st.deepEqual(qs.parse('foo[bad]=baz&foo[0]=bar'), { foo: { bad: 'baz', 0: 'bar' } });
- st.deepEqual(qs.parse('foo[bad]=baz&foo[]=bar'), { foo: { bad: 'baz', 0: 'bar' } });
- st.deepEqual(qs.parse('foo[]=bar&foo[bad]=baz'), { foo: { 0: 'bar', bad: 'baz' } });
- st.deepEqual(qs.parse('foo[bad]=baz&foo[]=bar&foo[]=foo'), { foo: { bad: 'baz', 0: 'bar', 1: 'foo' } });
- st.deepEqual(qs.parse('foo[0][a]=a&foo[0][b]=b&foo[1][a]=aa&foo[1][b]=bb'), { foo: [{ a: 'a', b: 'b' }, { a: 'aa', b: 'bb' }] });
-
- st.deepEqual(qs.parse('a[]=b&a[t]=u&a[hasOwnProperty]=c', { allowPrototypes: false }), { a: { 0: 'b', t: 'u' } });
- st.deepEqual(qs.parse('a[]=b&a[t]=u&a[hasOwnProperty]=c', { allowPrototypes: true }), { a: { 0: 'b', t: 'u', hasOwnProperty: 'c' } });
- st.deepEqual(qs.parse('a[]=b&a[hasOwnProperty]=c&a[x]=y', { allowPrototypes: false }), { a: { 0: 'b', x: 'y' } });
- st.deepEqual(qs.parse('a[]=b&a[hasOwnProperty]=c&a[x]=y', { allowPrototypes: true }), { a: { 0: 'b', hasOwnProperty: 'c', x: 'y' } });
- st.end();
- });
-
- t.test('transforms arrays to objects (dot notation)', function (st) {
- st.deepEqual(qs.parse('foo[0].baz=bar&fool.bad=baz', { allowDots: true }), { foo: [{ baz: 'bar' }], fool: { bad: 'baz' } });
- st.deepEqual(qs.parse('foo[0].baz=bar&fool.bad.boo=baz', { allowDots: true }), { foo: [{ baz: 'bar' }], fool: { bad: { boo: 'baz' } } });
- st.deepEqual(qs.parse('foo[0][0].baz=bar&fool.bad=baz', { allowDots: true }), { foo: [[{ baz: 'bar' }]], fool: { bad: 'baz' } });
- st.deepEqual(qs.parse('foo[0].baz[0]=15&foo[0].bar=2', { allowDots: true }), { foo: [{ baz: ['15'], bar: '2' }] });
- st.deepEqual(qs.parse('foo[0].baz[0]=15&foo[0].baz[1]=16&foo[0].bar=2', { allowDots: true }), { foo: [{ baz: ['15', '16'], bar: '2' }] });
- st.deepEqual(qs.parse('foo.bad=baz&foo[0]=bar', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar' } });
- st.deepEqual(qs.parse('foo.bad=baz&foo[]=bar', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar' } });
- st.deepEqual(qs.parse('foo[]=bar&foo.bad=baz', { allowDots: true }), { foo: { 0: 'bar', bad: 'baz' } });
- st.deepEqual(qs.parse('foo.bad=baz&foo[]=bar&foo[]=foo', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar', 1: 'foo' } });
- st.deepEqual(qs.parse('foo[0].a=a&foo[0].b=b&foo[1].a=aa&foo[1].b=bb', { allowDots: true }), { foo: [{ a: 'a', b: 'b' }, { a: 'aa', b: 'bb' }] });
- st.end();
- });
-
- t.test('correctly prunes undefined values when converting an array to an object', function (st) {
- st.deepEqual(qs.parse('a[2]=b&a[99999999]=c'), { a: { 2: 'b', 99999999: 'c' } });
- st.end();
- });
-
- t.test('supports malformed uri characters', function (st) {
- st.deepEqual(qs.parse('{%:%}', { strictNullHandling: true }), { '{%:%}': null });
- st.deepEqual(qs.parse('{%:%}='), { '{%:%}': '' });
- st.deepEqual(qs.parse('foo=%:%}'), { foo: '%:%}' });
- st.end();
- });
-
- t.test('doesn\'t produce empty keys', function (st) {
- st.deepEqual(qs.parse('_r=1&'), { _r: '1' });
- st.end();
- });
-
- t.test('cannot access Object prototype', function (st) {
- qs.parse('constructor[prototype][bad]=bad');
- qs.parse('bad[constructor][prototype][bad]=bad');
- st.equal(typeof Object.prototype.bad, 'undefined');
- st.end();
- });
-
- t.test('parses arrays of objects', function (st) {
- st.deepEqual(qs.parse('a[][b]=c'), { a: [{ b: 'c' }] });
- st.deepEqual(qs.parse('a[0][b]=c'), { a: [{ b: 'c' }] });
- st.end();
- });
-
- t.test('allows for empty strings in arrays', function (st) {
- st.deepEqual(qs.parse('a[]=b&a[]=&a[]=c'), { a: ['b', '', 'c'] });
-
- st.deepEqual(
- qs.parse('a[0]=b&a[1]&a[2]=c&a[19]=', { strictNullHandling: true, arrayLimit: 20 }),
- { a: ['b', null, 'c', ''] },
- 'with arrayLimit 20 + array indices: null then empty string works'
- );
- st.deepEqual(
- qs.parse('a[]=b&a[]&a[]=c&a[]=', { strictNullHandling: true, arrayLimit: 0 }),
- { a: ['b', null, 'c', ''] },
- 'with arrayLimit 0 + array brackets: null then empty string works'
- );
-
- st.deepEqual(
- qs.parse('a[0]=b&a[1]=&a[2]=c&a[19]', { strictNullHandling: true, arrayLimit: 20 }),
- { a: ['b', '', 'c', null] },
- 'with arrayLimit 20 + array indices: empty string then null works'
- );
- st.deepEqual(
- qs.parse('a[]=b&a[]=&a[]=c&a[]', { strictNullHandling: true, arrayLimit: 0 }),
- { a: ['b', '', 'c', null] },
- 'with arrayLimit 0 + array brackets: empty string then null works'
- );
-
- st.deepEqual(
- qs.parse('a[]=&a[]=b&a[]=c'),
- { a: ['', 'b', 'c'] },
- 'array brackets: empty strings work'
- );
- st.end();
- });
-
- t.test('compacts sparse arrays', function (st) {
- st.deepEqual(qs.parse('a[10]=1&a[2]=2', { arrayLimit: 20 }), { a: ['2', '1'] });
- st.deepEqual(qs.parse('a[1][b][2][c]=1', { arrayLimit: 20 }), { a: [{ b: [{ c: '1' }] }] });
- st.deepEqual(qs.parse('a[1][2][3][c]=1', { arrayLimit: 20 }), { a: [[[{ c: '1' }]]] });
- st.deepEqual(qs.parse('a[1][2][3][c][1]=1', { arrayLimit: 20 }), { a: [[[{ c: ['1'] }]]] });
- st.end();
- });
-
- t.test('parses semi-parsed strings', function (st) {
- st.deepEqual(qs.parse({ 'a[b]': 'c' }), { a: { b: 'c' } });
- st.deepEqual(qs.parse({ 'a[b]': 'c', 'a[d]': 'e' }), { a: { b: 'c', d: 'e' } });
- st.end();
- });
-
- t.test('parses buffers correctly', function (st) {
- var b = SaferBuffer.from('test');
- st.deepEqual(qs.parse({ a: b }), { a: b });
- st.end();
- });
-
- t.test('parses jquery-param strings', function (st) {
- // readable = 'filter[0][]=int1&filter[0][]==&filter[0][]=77&filter[]=and&filter[2][]=int2&filter[2][]==&filter[2][]=8'
- var encoded = 'filter%5B0%5D%5B%5D=int1&filter%5B0%5D%5B%5D=%3D&filter%5B0%5D%5B%5D=77&filter%5B%5D=and&filter%5B2%5D%5B%5D=int2&filter%5B2%5D%5B%5D=%3D&filter%5B2%5D%5B%5D=8';
- var expected = { filter: [['int1', '=', '77'], 'and', ['int2', '=', '8']] };
- st.deepEqual(qs.parse(encoded), expected);
- st.end();
- });
-
- t.test('continues parsing when no parent is found', function (st) {
- st.deepEqual(qs.parse('[]=&a=b'), { 0: '', a: 'b' });
- st.deepEqual(qs.parse('[]&a=b', { strictNullHandling: true }), { 0: null, a: 'b' });
- st.deepEqual(qs.parse('[foo]=bar'), { foo: 'bar' });
- st.end();
- });
-
- t.test('does not error when parsing a very long array', function (st) {
- var str = 'a[]=a';
- while (Buffer.byteLength(str) < 128 * 1024) {
- str = str + '&' + str;
- }
-
- st.doesNotThrow(function () {
- qs.parse(str);
- });
-
- st.end();
- });
-
- t.test('should not throw when a native prototype has an enumerable property', function (st) {
- Object.prototype.crash = '';
- Array.prototype.crash = '';
- st.doesNotThrow(qs.parse.bind(null, 'a=b'));
- st.deepEqual(qs.parse('a=b'), { a: 'b' });
- st.doesNotThrow(qs.parse.bind(null, 'a[][b]=c'));
- st.deepEqual(qs.parse('a[][b]=c'), { a: [{ b: 'c' }] });
- delete Object.prototype.crash;
- delete Array.prototype.crash;
- st.end();
- });
-
- t.test('parses a string with an alternative string delimiter', function (st) {
- st.deepEqual(qs.parse('a=b;c=d', { delimiter: ';' }), { a: 'b', c: 'd' });
- st.end();
- });
-
- t.test('parses a string with an alternative RegExp delimiter', function (st) {
- st.deepEqual(qs.parse('a=b; c=d', { delimiter: /[;,] */ }), { a: 'b', c: 'd' });
- st.end();
- });
-
- t.test('does not use non-splittable objects as delimiters', function (st) {
- st.deepEqual(qs.parse('a=b&c=d', { delimiter: true }), { a: 'b', c: 'd' });
- st.end();
- });
-
- t.test('allows overriding parameter limit', function (st) {
- st.deepEqual(qs.parse('a=b&c=d', { parameterLimit: 1 }), { a: 'b' });
- st.end();
- });
-
- t.test('allows setting the parameter limit to Infinity', function (st) {
- st.deepEqual(qs.parse('a=b&c=d', { parameterLimit: Infinity }), { a: 'b', c: 'd' });
- st.end();
- });
-
- t.test('allows overriding array limit', function (st) {
- st.deepEqual(qs.parse('a[0]=b', { arrayLimit: -1 }), { a: { 0: 'b' } });
- st.deepEqual(qs.parse('a[-1]=b', { arrayLimit: -1 }), { a: { '-1': 'b' } });
- st.deepEqual(qs.parse('a[0]=b&a[1]=c', { arrayLimit: 0 }), { a: { 0: 'b', 1: 'c' } });
- st.end();
- });
-
- t.test('allows disabling array parsing', function (st) {
- var indices = qs.parse('a[0]=b&a[1]=c', { parseArrays: false });
- st.deepEqual(indices, { a: { 0: 'b', 1: 'c' } });
- st.equal(Array.isArray(indices.a), false, 'parseArrays:false, indices case is not an array');
-
- var emptyBrackets = qs.parse('a[]=b', { parseArrays: false });
- st.deepEqual(emptyBrackets, { a: { 0: 'b' } });
- st.equal(Array.isArray(emptyBrackets.a), false, 'parseArrays:false, empty brackets case is not an array');
-
- st.end();
- });
-
- t.test('allows for query string prefix', function (st) {
- st.deepEqual(qs.parse('?foo=bar', { ignoreQueryPrefix: true }), { foo: 'bar' });
- st.deepEqual(qs.parse('foo=bar', { ignoreQueryPrefix: true }), { foo: 'bar' });
- st.deepEqual(qs.parse('?foo=bar', { ignoreQueryPrefix: false }), { '?foo': 'bar' });
- st.end();
- });
-
- t.test('parses an object', function (st) {
- var input = {
- 'user[name]': { 'pop[bob]': 3 },
- 'user[email]': null
- };
-
- var expected = {
- user: {
- name: { 'pop[bob]': 3 },
- email: null
- }
- };
-
- var result = qs.parse(input);
-
- st.deepEqual(result, expected);
- st.end();
- });
-
- t.test('parses string with comma as array divider', function (st) {
- st.deepEqual(qs.parse('foo=bar,tee', { comma: true }), { foo: ['bar', 'tee'] });
- st.deepEqual(qs.parse('foo[bar]=coffee,tee', { comma: true }), { foo: { bar: ['coffee', 'tee'] } });
- st.deepEqual(qs.parse('foo=', { comma: true }), { foo: '' });
- st.deepEqual(qs.parse('foo', { comma: true }), { foo: '' });
- st.deepEqual(qs.parse('foo', { comma: true, strictNullHandling: true }), { foo: null });
- st.end();
- });
-
- t.test('parses an object in dot notation', function (st) {
- var input = {
- 'user.name': { 'pop[bob]': 3 },
- 'user.email.': null
- };
-
- var expected = {
- user: {
- name: { 'pop[bob]': 3 },
- email: null
- }
- };
-
- var result = qs.parse(input, { allowDots: true });
-
- st.deepEqual(result, expected);
- st.end();
- });
-
- t.test('parses an object and not child values', function (st) {
- var input = {
- 'user[name]': { 'pop[bob]': { test: 3 } },
- 'user[email]': null
- };
-
- var expected = {
- user: {
- name: { 'pop[bob]': { test: 3 } },
- email: null
- }
- };
-
- var result = qs.parse(input);
-
- st.deepEqual(result, expected);
- st.end();
- });
-
- t.test('does not blow up when Buffer global is missing', function (st) {
- var tempBuffer = global.Buffer;
- delete global.Buffer;
- var result = qs.parse('a=b&c=d');
- global.Buffer = tempBuffer;
- st.deepEqual(result, { a: 'b', c: 'd' });
- st.end();
- });
-
- t.test('does not crash when parsing circular references', function (st) {
- var a = {};
- a.b = a;
-
- var parsed;
-
- st.doesNotThrow(function () {
- parsed = qs.parse({ 'foo[bar]': 'baz', 'foo[baz]': a });
- });
-
- st.equal('foo' in parsed, true, 'parsed has "foo" property');
- st.equal('bar' in parsed.foo, true);
- st.equal('baz' in parsed.foo, true);
- st.equal(parsed.foo.bar, 'baz');
- st.deepEqual(parsed.foo.baz, a);
- st.end();
- });
-
- t.test('does not crash when parsing deep objects', function (st) {
- var parsed;
- var str = 'foo';
-
- for (var i = 0; i < 5000; i++) {
- str += '[p]';
- }
-
- str += '=bar';
-
- st.doesNotThrow(function () {
- parsed = qs.parse(str, { depth: 5000 });
- });
-
- st.equal('foo' in parsed, true, 'parsed has "foo" property');
-
- var depth = 0;
- var ref = parsed.foo;
- while ((ref = ref.p)) {
- depth += 1;
- }
-
- st.equal(depth, 5000, 'parsed is 5000 properties deep');
-
- st.end();
- });
-
- t.test('parses null objects correctly', { skip: !Object.create }, function (st) {
- var a = Object.create(null);
- a.b = 'c';
-
- st.deepEqual(qs.parse(a), { b: 'c' });
- var result = qs.parse({ a: a });
- st.equal('a' in result, true, 'result has "a" property');
- st.deepEqual(result.a, a);
- st.end();
- });
-
- t.test('parses dates correctly', function (st) {
- var now = new Date();
- st.deepEqual(qs.parse({ a: now }), { a: now });
- st.end();
- });
-
- t.test('parses regular expressions correctly', function (st) {
- var re = /^test$/;
- st.deepEqual(qs.parse({ a: re }), { a: re });
- st.end();
- });
-
- t.test('does not allow overwriting prototype properties', function (st) {
- st.deepEqual(qs.parse('a[hasOwnProperty]=b', { allowPrototypes: false }), {});
- st.deepEqual(qs.parse('hasOwnProperty=b', { allowPrototypes: false }), {});
-
- st.deepEqual(
- qs.parse('toString', { allowPrototypes: false }),
- {},
- 'bare "toString" results in {}'
- );
-
- st.end();
- });
-
- t.test('can allow overwriting prototype properties', function (st) {
- st.deepEqual(qs.parse('a[hasOwnProperty]=b', { allowPrototypes: true }), { a: { hasOwnProperty: 'b' } });
- st.deepEqual(qs.parse('hasOwnProperty=b', { allowPrototypes: true }), { hasOwnProperty: 'b' });
-
- st.deepEqual(
- qs.parse('toString', { allowPrototypes: true }),
- { toString: '' },
- 'bare "toString" results in { toString: "" }'
- );
-
- st.end();
- });
-
- t.test('params starting with a closing bracket', function (st) {
- st.deepEqual(qs.parse(']=toString'), { ']': 'toString' });
- st.deepEqual(qs.parse(']]=toString'), { ']]': 'toString' });
- st.deepEqual(qs.parse(']hello]=toString'), { ']hello]': 'toString' });
- st.end();
- });
-
- t.test('params starting with a starting bracket', function (st) {
- st.deepEqual(qs.parse('[=toString'), { '[': 'toString' });
- st.deepEqual(qs.parse('[[=toString'), { '[[': 'toString' });
- st.deepEqual(qs.parse('[hello[=toString'), { '[hello[': 'toString' });
- st.end();
- });
-
- t.test('add keys to objects', function (st) {
- st.deepEqual(
- qs.parse('a[b]=c&a=d'),
- { a: { b: 'c', d: true } },
- 'can add keys to objects'
- );
-
- st.deepEqual(
- qs.parse('a[b]=c&a=toString'),
- { a: { b: 'c' } },
- 'can not overwrite prototype'
- );
-
- st.deepEqual(
- qs.parse('a[b]=c&a=toString', { allowPrototypes: true }),
- { a: { b: 'c', toString: true } },
- 'can overwrite prototype with allowPrototypes true'
- );
-
- st.deepEqual(
- qs.parse('a[b]=c&a=toString', { plainObjects: true }),
- { a: { b: 'c', toString: true } },
- 'can overwrite prototype with plainObjects true'
- );
-
- st.end();
- });
-
- t.test('can return null objects', { skip: !Object.create }, function (st) {
- var expected = Object.create(null);
- expected.a = Object.create(null);
- expected.a.b = 'c';
- expected.a.hasOwnProperty = 'd';
- st.deepEqual(qs.parse('a[b]=c&a[hasOwnProperty]=d', { plainObjects: true }), expected);
- st.deepEqual(qs.parse(null, { plainObjects: true }), Object.create(null));
- var expectedArray = Object.create(null);
- expectedArray.a = Object.create(null);
- expectedArray.a[0] = 'b';
- expectedArray.a.c = 'd';
- st.deepEqual(qs.parse('a[]=b&a[c]=d', { plainObjects: true }), expectedArray);
- st.end();
- });
-
- t.test('can parse with custom encoding', function (st) {
- st.deepEqual(qs.parse('%8c%a7=%91%e5%8d%e3%95%7b', {
- decoder: function (str) {
- var reg = /%([0-9A-F]{2})/ig;
- var result = [];
- var parts = reg.exec(str);
- while (parts) {
- result.push(parseInt(parts[1], 16));
- parts = reg.exec(str);
- }
- return String(iconv.decode(SaferBuffer.from(result), 'shift_jis'));
- }
- }), { 県: '大阪府' });
- st.end();
- });
-
- t.test('receives the default decoder as a second argument', function (st) {
- st.plan(1);
- qs.parse('a', {
- decoder: function (str, defaultDecoder) {
- st.equal(defaultDecoder, utils.decode);
- }
- });
- st.end();
- });
-
- t.test('throws error with wrong decoder', function (st) {
- st['throws'](function () {
- qs.parse({}, { decoder: 'string' });
- }, new TypeError('Decoder has to be a function.'));
- st.end();
- });
-
- t.test('does not mutate the options argument', function (st) {
- var options = {};
- qs.parse('a[b]=true', options);
- st.deepEqual(options, {});
- st.end();
- });
-
- t.test('throws if an invalid charset is specified', function (st) {
- st['throws'](function () {
- qs.parse('a=b', { charset: 'foobar' });
- }, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'));
- st.end();
- });
-
- t.test('parses an iso-8859-1 string if asked to', function (st) {
- st.deepEqual(qs.parse('%A2=%BD', { charset: 'iso-8859-1' }), { '¢': '½' });
- st.end();
- });
-
- var urlEncodedCheckmarkInUtf8 = '%E2%9C%93';
- var urlEncodedOSlashInUtf8 = '%C3%B8';
- var urlEncodedNumCheckmark = '%26%2310003%3B';
- var urlEncodedNumSmiley = '%26%239786%3B';
-
- t.test('prefers an utf-8 charset specified by the utf8 sentinel to a default charset of iso-8859-1', function (st) {
- st.deepEqual(qs.parse('utf8=' + urlEncodedCheckmarkInUtf8 + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'iso-8859-1' }), { ø: 'ø' });
- st.end();
- });
-
- t.test('prefers an iso-8859-1 charset specified by the utf8 sentinel to a default charset of utf-8', function (st) {
- st.deepEqual(qs.parse('utf8=' + urlEncodedNumCheckmark + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'utf-8' }), { 'ø': 'ø' });
- st.end();
- });
-
- t.test('does not require the utf8 sentinel to be defined before the parameters whose decoding it affects', function (st) {
- st.deepEqual(qs.parse('a=' + urlEncodedOSlashInUtf8 + '&utf8=' + urlEncodedNumCheckmark, { charsetSentinel: true, charset: 'utf-8' }), { a: 'ø' });
- st.end();
- });
-
- t.test('should ignore an utf8 sentinel with an unknown value', function (st) {
- st.deepEqual(qs.parse('utf8=foo&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'utf-8' }), { ø: 'ø' });
- st.end();
- });
-
- t.test('uses the utf8 sentinel to switch to utf-8 when no default charset is given', function (st) {
- st.deepEqual(qs.parse('utf8=' + urlEncodedCheckmarkInUtf8 + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true }), { ø: 'ø' });
- st.end();
- });
-
- t.test('uses the utf8 sentinel to switch to iso-8859-1 when no default charset is given', function (st) {
- st.deepEqual(qs.parse('utf8=' + urlEncodedNumCheckmark + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true }), { 'ø': 'ø' });
- st.end();
- });
-
- t.test('interprets numeric entities in iso-8859-1 when `interpretNumericEntities`', function (st) {
- st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'iso-8859-1', interpretNumericEntities: true }), { foo: '☺' });
- st.end();
- });
-
- t.test('handles a custom decoder returning `null`, in the `iso-8859-1` charset, when `interpretNumericEntities`', function (st) {
- st.deepEqual(qs.parse('foo=&bar=' + urlEncodedNumSmiley, {
- charset: 'iso-8859-1',
- decoder: function (str, defaultDecoder, charset) {
- return str ? defaultDecoder(str, defaultDecoder, charset) : null;
- },
- interpretNumericEntities: true
- }), { foo: null, bar: '☺' });
- st.end();
- });
-
- t.test('does not interpret numeric entities in iso-8859-1 when `interpretNumericEntities` is absent', function (st) {
- st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'iso-8859-1' }), { foo: '&#9786;' });
- st.end();
- });
-
- t.test('does not interpret numeric entities when the charset is utf-8, even when `interpretNumericEntities`', function (st) {
- st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'utf-8', interpretNumericEntities: true }), { foo: '&#9786;' });
- st.end();
- });
-
- t.test('does not interpret %uXXXX syntax in iso-8859-1 mode', function (st) {
- st.deepEqual(qs.parse('%u263A=%u263A', { charset: 'iso-8859-1' }), { '%u263A': '%u263A' });
- st.end();
- });
-
- t.end();
-});
diff --git a/Server/node_modules/qs/test/stringify.js b/Server/node_modules/qs/test/stringify.js
deleted file mode 100644
index 53041c2..0000000
--- a/Server/node_modules/qs/test/stringify.js
+++ /dev/null
@@ -1,679 +0,0 @@
-'use strict';
-
-var test = require('tape');
-var qs = require('../');
-var utils = require('../lib/utils');
-var iconv = require('iconv-lite');
-var SaferBuffer = require('safer-buffer').Buffer;
-
-test('stringify()', function (t) {
- t.test('stringifies a querystring object', function (st) {
- st.equal(qs.stringify({ a: 'b' }), 'a=b');
- st.equal(qs.stringify({ a: 1 }), 'a=1');
- st.equal(qs.stringify({ a: 1, b: 2 }), 'a=1&b=2');
- st.equal(qs.stringify({ a: 'A_Z' }), 'a=A_Z');
- st.equal(qs.stringify({ a: '€' }), 'a=%E2%82%AC');
- st.equal(qs.stringify({ a: '' }), 'a=%EE%80%80');
- st.equal(qs.stringify({ a: 'א' }), 'a=%D7%90');
- st.equal(qs.stringify({ a: '𐐷' }), 'a=%F0%90%90%B7');
- st.end();
- });
-
- t.test('stringifies falsy values', function (st) {
- st.equal(qs.stringify(undefined), '');
- st.equal(qs.stringify(null), '');
- st.equal(qs.stringify(null, { strictNullHandling: true }), '');
- st.equal(qs.stringify(false), '');
- st.equal(qs.stringify(0), '');
- st.end();
- });
-
- t.test('adds query prefix', function (st) {
- st.equal(qs.stringify({ a: 'b' }, { addQueryPrefix: true }), '?a=b');
- st.end();
- });
-
- t.test('with query prefix, outputs blank string given an empty object', function (st) {
- st.equal(qs.stringify({}, { addQueryPrefix: true }), '');
- st.end();
- });
-
- t.test('stringifies nested falsy values', function (st) {
- st.equal(qs.stringify({ a: { b: { c: null } } }), 'a%5Bb%5D%5Bc%5D=');
- st.equal(qs.stringify({ a: { b: { c: null } } }, { strictNullHandling: true }), 'a%5Bb%5D%5Bc%5D');
- st.equal(qs.stringify({ a: { b: { c: false } } }), 'a%5Bb%5D%5Bc%5D=false');
- st.end();
- });
-
- t.test('stringifies a nested object', function (st) {
- st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
- st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }), 'a%5Bb%5D%5Bc%5D%5Bd%5D=e');
- st.end();
- });
-
- t.test('stringifies a nested object with dots notation', function (st) {
- st.equal(qs.stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c');
- st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }, { allowDots: true }), 'a.b.c.d=e');
- st.end();
- });
-
- t.test('stringifies an array value', function (st) {
- st.equal(
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'indices' }),
- 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d',
- 'indices => indices'
- );
- st.equal(
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'brackets' }),
- 'a%5B%5D=b&a%5B%5D=c&a%5B%5D=d',
- 'brackets => brackets'
- );
- st.equal(
- qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma' }),
- 'a=b%2Cc%2Cd',
- 'comma => comma'
- );
- st.equal(
- qs.stringify({ a: ['b', 'c', 'd'] }),
- 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d',
- 'default => indices'
- );
- st.end();
- });
-
- t.test('omits nulls when asked', function (st) {
- st.equal(qs.stringify({ a: 'b', c: null }, { skipNulls: true }), 'a=b');
- st.end();
- });
-
- t.test('omits nested nulls when asked', function (st) {
- st.equal(qs.stringify({ a: { b: 'c', d: null } }, { skipNulls: true }), 'a%5Bb%5D=c');
- st.end();
- });
-
- t.test('omits array indices when asked', function (st) {
- st.equal(qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false }), 'a=b&a=c&a=d');
- st.end();
- });
-
- t.test('stringifies a nested array value', function (st) {
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'indices' }), 'a%5Bb%5D%5B0%5D=c&a%5Bb%5D%5B1%5D=d');
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'brackets' }), 'a%5Bb%5D%5B%5D=c&a%5Bb%5D%5B%5D=d');
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'comma' }), 'a%5Bb%5D=c%2Cd'); // a[b]=c,d
- st.equal(qs.stringify({ a: { b: ['c', 'd'] } }), 'a%5Bb%5D%5B0%5D=c&a%5Bb%5D%5B1%5D=d');
- st.end();
- });
-
- t.test('stringifies a nested array value with dots notation', function (st) {
- st.equal(
- qs.stringify(
- { a: { b: ['c', 'd'] } },
- { allowDots: true, encode: false, arrayFormat: 'indices' }
- ),
- 'a.b[0]=c&a.b[1]=d',
- 'indices: stringifies with dots + indices'
- );
- st.equal(
- qs.stringify(
- { a: { b: ['c', 'd'] } },
- { allowDots: true, encode: false, arrayFormat: 'brackets' }
- ),
- 'a.b[]=c&a.b[]=d',
- 'brackets: stringifies with dots + brackets'
- );
- st.equal(
- qs.stringify(
- { a: { b: ['c', 'd'] } },
- { allowDots: true, encode: false, arrayFormat: 'comma' }
- ),
- 'a.b=c,d',
- 'comma: stringifies with dots + comma'
- );
- st.equal(
- qs.stringify(
- { a: { b: ['c', 'd'] } },
- { allowDots: true, encode: false }
- ),
- 'a.b[0]=c&a.b[1]=d',
- 'default: stringifies with dots + indices'
- );
- st.end();
- });
-
- t.test('stringifies an object inside an array', function (st) {
- st.equal(
- qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'indices' }),
- 'a%5B0%5D%5Bb%5D=c', // a[0][b]=c
- 'indices => brackets'
- );
- st.equal(
- qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'brackets' }),
- 'a%5B%5D%5Bb%5D=c', // a[][b]=c
- 'brackets => brackets'
- );
- st.equal(
- qs.stringify({ a: [{ b: 'c' }] }),
- 'a%5B0%5D%5Bb%5D=c',
- 'default => indices'
- );
-
- st.equal(
- qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'indices' }),
- 'a%5B0%5D%5Bb%5D%5Bc%5D%5B0%5D=1',
- 'indices => indices'
- );
-
- st.equal(
- qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'brackets' }),
- 'a%5B%5D%5Bb%5D%5Bc%5D%5B%5D=1',
- 'brackets => brackets'
- );
-
- st.equal(
- qs.stringify({ a: [{ b: { c: [1] } }] }),
- 'a%5B0%5D%5Bb%5D%5Bc%5D%5B0%5D=1',
- 'default => indices'
- );
-
- st.end();
- });
-
- t.test('stringifies an array with mixed objects and primitives', function (st) {
- st.equal(
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false, arrayFormat: 'indices' }),
- 'a[0][b]=1&a[1]=2&a[2]=3',
- 'indices => indices'
- );
- st.equal(
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false, arrayFormat: 'brackets' }),
- 'a[][b]=1&a[]=2&a[]=3',
- 'brackets => brackets'
- );
- st.equal(
- qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false }),
- 'a[0][b]=1&a[1]=2&a[2]=3',
- 'default => indices'
- );
-
- st.end();
- });
-
- t.test('stringifies an object inside an array with dots notation', function (st) {
- st.equal(
- qs.stringify(
- { a: [{ b: 'c' }] },
- { allowDots: true, encode: false, arrayFormat: 'indices' }
- ),
- 'a[0].b=c',
- 'indices => indices'
- );
- st.equal(
- qs.stringify(
- { a: [{ b: 'c' }] },
- { allowDots: true, encode: false, arrayFormat: 'brackets' }
- ),
- 'a[].b=c',
- 'brackets => brackets'
- );
- st.equal(
- qs.stringify(
- { a: [{ b: 'c' }] },
- { allowDots: true, encode: false }
- ),
- 'a[0].b=c',
- 'default => indices'
- );
-
- st.equal(
- qs.stringify(
- { a: [{ b: { c: [1] } }] },
- { allowDots: true, encode: false, arrayFormat: 'indices' }
- ),
- 'a[0].b.c[0]=1',
- 'indices => indices'
- );
- st.equal(
- qs.stringify(
- { a: [{ b: { c: [1] } }] },
- { allowDots: true, encode: false, arrayFormat: 'brackets' }
- ),
- 'a[].b.c[]=1',
- 'brackets => brackets'
- );
- st.equal(
- qs.stringify(
- { a: [{ b: { c: [1] } }] },
- { allowDots: true, encode: false }
- ),
- 'a[0].b.c[0]=1',
- 'default => indices'
- );
-
- st.end();
- });
-
- t.test('does not omit object keys when indices = false', function (st) {
- st.equal(qs.stringify({ a: [{ b: 'c' }] }, { indices: false }), 'a%5Bb%5D=c');
- st.end();
- });
-
- t.test('uses indices notation for arrays when indices=true', function (st) {
- st.equal(qs.stringify({ a: ['b', 'c'] }, { indices: true }), 'a%5B0%5D=b&a%5B1%5D=c');
- st.end();
- });
-
- t.test('uses indices notation for arrays when no arrayFormat is specified', function (st) {
- st.equal(qs.stringify({ a: ['b', 'c'] }), 'a%5B0%5D=b&a%5B1%5D=c');
- st.end();
- });
-
- t.test('uses indices notation for arrays when no arrayFormat=indices', function (st) {
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }), 'a%5B0%5D=b&a%5B1%5D=c');
- st.end();
- });
-
- t.test('uses repeat notation for arrays when no arrayFormat=repeat', function (st) {
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' }), 'a=b&a=c');
- st.end();
- });
-
- t.test('uses brackets notation for arrays when no arrayFormat=brackets', function (st) {
- st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' }), 'a%5B%5D=b&a%5B%5D=c');
- st.end();
- });
-
- t.test('stringifies a complicated object', function (st) {
- st.equal(qs.stringify({ a: { b: 'c', d: 'e' } }), 'a%5Bb%5D=c&a%5Bd%5D=e');
- st.end();
- });
-
- t.test('stringifies an empty value', function (st) {
- st.equal(qs.stringify({ a: '' }), 'a=');
- st.equal(qs.stringify({ a: null }, { strictNullHandling: true }), 'a');
-
- st.equal(qs.stringify({ a: '', b: '' }), 'a=&b=');
- st.equal(qs.stringify({ a: null, b: '' }, { strictNullHandling: true }), 'a&b=');
-
- st.equal(qs.stringify({ a: { b: '' } }), 'a%5Bb%5D=');
- st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: true }), 'a%5Bb%5D');
- st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: false }), 'a%5Bb%5D=');
-
- st.end();
- });
-
- t.test('stringifies a null object', { skip: !Object.create }, function (st) {
- var obj = Object.create(null);
- obj.a = 'b';
- st.equal(qs.stringify(obj), 'a=b');
- st.end();
- });
-
- t.test('returns an empty string for invalid input', function (st) {
- st.equal(qs.stringify(undefined), '');
- st.equal(qs.stringify(false), '');
- st.equal(qs.stringify(null), '');
- st.equal(qs.stringify(''), '');
- st.end();
- });
-
- t.test('stringifies an object with a null object as a child', { skip: !Object.create }, function (st) {
- var obj = { a: Object.create(null) };
-
- obj.a.b = 'c';
- st.equal(qs.stringify(obj), 'a%5Bb%5D=c');
- st.end();
- });
-
- t.test('drops keys with a value of undefined', function (st) {
- st.equal(qs.stringify({ a: undefined }), '');
-
- st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: true }), 'a%5Bc%5D');
- st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: false }), 'a%5Bc%5D=');
- st.equal(qs.stringify({ a: { b: undefined, c: '' } }), 'a%5Bc%5D=');
- st.end();
- });
-
- t.test('url encodes values', function (st) {
- st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
- st.end();
- });
-
- t.test('stringifies a date', function (st) {
- var now = new Date();
- var str = 'a=' + encodeURIComponent(now.toISOString());
- st.equal(qs.stringify({ a: now }), str);
- st.end();
- });
-
- t.test('stringifies the weird object from qs', function (st) {
- st.equal(qs.stringify({ 'my weird field': '~q1!2"\'w$5&7/z8)?' }), 'my%20weird%20field=~q1%212%22%27w%245%267%2Fz8%29%3F');
- st.end();
- });
-
- t.test('skips properties that are part of the object prototype', function (st) {
- Object.prototype.crash = 'test';
- st.equal(qs.stringify({ a: 'b' }), 'a=b');
- st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c');
- delete Object.prototype.crash;
- st.end();
- });
-
- t.test('stringifies boolean values', function (st) {
- st.equal(qs.stringify({ a: true }), 'a=true');
- st.equal(qs.stringify({ a: { b: true } }), 'a%5Bb%5D=true');
- st.equal(qs.stringify({ b: false }), 'b=false');
- st.equal(qs.stringify({ b: { c: false } }), 'b%5Bc%5D=false');
- st.end();
- });
-
- t.test('stringifies buffer values', function (st) {
- st.equal(qs.stringify({ a: SaferBuffer.from('test') }), 'a=test');
- st.equal(qs.stringify({ a: { b: SaferBuffer.from('test') } }), 'a%5Bb%5D=test');
- st.end();
- });
-
- t.test('stringifies an object using an alternative delimiter', function (st) {
- st.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d');
- st.end();
- });
-
- t.test('doesn\'t blow up when Buffer global is missing', function (st) {
- var tempBuffer = global.Buffer;
- delete global.Buffer;
- var result = qs.stringify({ a: 'b', c: 'd' });
- global.Buffer = tempBuffer;
- st.equal(result, 'a=b&c=d');
- st.end();
- });
-
- t.test('selects properties when filter=array', function (st) {
- st.equal(qs.stringify({ a: 'b' }, { filter: ['a'] }), 'a=b');
- st.equal(qs.stringify({ a: 1 }, { filter: [] }), '');
-
- st.equal(
- qs.stringify(
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
- { filter: ['a', 'b', 0, 2], arrayFormat: 'indices' }
- ),
- 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3',
- 'indices => indices'
- );
- st.equal(
- qs.stringify(
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
- { filter: ['a', 'b', 0, 2], arrayFormat: 'brackets' }
- ),
- 'a%5Bb%5D%5B%5D=1&a%5Bb%5D%5B%5D=3',
- 'brackets => brackets'
- );
- st.equal(
- qs.stringify(
- { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' },
- { filter: ['a', 'b', 0, 2] }
- ),
- 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3',
- 'default => indices'
- );
-
- st.end();
- });
-
- t.test('supports custom representations when filter=function', function (st) {
- var calls = 0;
- var obj = { a: 'b', c: 'd', e: { f: new Date(1257894000000) } };
- var filterFunc = function (prefix, value) {
- calls += 1;
- if (calls === 1) {
- st.equal(prefix, '', 'prefix is empty');
- st.equal(value, obj);
- } else if (prefix === 'c') {
- return void 0;
- } else if (value instanceof Date) {
- st.equal(prefix, 'e[f]');
- return value.getTime();
- }
- return value;
- };
-
- st.equal(qs.stringify(obj, { filter: filterFunc }), 'a=b&e%5Bf%5D=1257894000000');
- st.equal(calls, 5);
- st.end();
- });
-
- t.test('can disable uri encoding', function (st) {
- st.equal(qs.stringify({ a: 'b' }, { encode: false }), 'a=b');
- st.equal(qs.stringify({ a: { b: 'c' } }, { encode: false }), 'a[b]=c');
- st.equal(qs.stringify({ a: 'b', c: null }, { strictNullHandling: true, encode: false }), 'a=b&c');
- st.end();
- });
-
- t.test('can sort the keys', function (st) {
- var sort = function (a, b) {
- return a.localeCompare(b);
- };
- st.equal(qs.stringify({ a: 'c', z: 'y', b: 'f' }, { sort: sort }), 'a=c&b=f&z=y');
- st.equal(qs.stringify({ a: 'c', z: { j: 'a', i: 'b' }, b: 'f' }, { sort: sort }), 'a=c&b=f&z%5Bi%5D=b&z%5Bj%5D=a');
- st.end();
- });
-
- t.test('can sort the keys at depth 3 or more too', function (st) {
- var sort = function (a, b) {
- return a.localeCompare(b);
- };
- st.equal(
- qs.stringify(
- { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' },
- { sort: sort, encode: false }
- ),
- 'a=a&b=b&z[zi][zia]=zia&z[zi][zib]=zib&z[zj][zja]=zja&z[zj][zjb]=zjb'
- );
- st.equal(
- qs.stringify(
- { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' },
- { sort: null, encode: false }
- ),
- 'a=a&z[zj][zjb]=zjb&z[zj][zja]=zja&z[zi][zib]=zib&z[zi][zia]=zia&b=b'
- );
- st.end();
- });
-
- t.test('can stringify with custom encoding', function (st) {
- st.equal(qs.stringify({ 県: '大阪府', '': '' }, {
- encoder: function (str) {
- if (str.length === 0) {
- return '';
- }
- var buf = iconv.encode(str, 'shiftjis');
- var result = [];
- for (var i = 0; i < buf.length; ++i) {
- result.push(buf.readUInt8(i).toString(16));
- }
- return '%' + result.join('%');
- }
- }), '%8c%a7=%91%e5%8d%e3%95%7b&=');
- st.end();
- });
-
- t.test('receives the default encoder as a second argument', function (st) {
- st.plan(2);
- qs.stringify({ a: 1 }, {
- encoder: function (str, defaultEncoder) {
- st.equal(defaultEncoder, utils.encode);
- }
- });
- st.end();
- });
-
- t.test('throws error with wrong encoder', function (st) {
- st['throws'](function () {
- qs.stringify({}, { encoder: 'string' });
- }, new TypeError('Encoder has to be a function.'));
- st.end();
- });
-
- t.test('can use custom encoder for a buffer object', { skip: typeof Buffer === 'undefined' }, function (st) {
- st.equal(qs.stringify({ a: SaferBuffer.from([1]) }, {
- encoder: function (buffer) {
- if (typeof buffer === 'string') {
- return buffer;
- }
- return String.fromCharCode(buffer.readUInt8(0) + 97);
- }
- }), 'a=b');
- st.end();
- });
-
- t.test('serializeDate option', function (st) {
- var date = new Date();
- st.equal(
- qs.stringify({ a: date }),
- 'a=' + date.toISOString().replace(/:/g, '%3A'),
- 'default is toISOString'
- );
-
- var mutatedDate = new Date();
- mutatedDate.toISOString = function () {
- throw new SyntaxError();
- };
- st['throws'](function () {
- mutatedDate.toISOString();
- }, SyntaxError);
- st.equal(
- qs.stringify({ a: mutatedDate }),
- 'a=' + Date.prototype.toISOString.call(mutatedDate).replace(/:/g, '%3A'),
- 'toISOString works even when method is not locally present'
- );
-
- var specificDate = new Date(6);
- st.equal(
- qs.stringify(
- { a: specificDate },
- { serializeDate: function (d) { return d.getTime() * 7; } }
- ),
- 'a=42',
- 'custom serializeDate function called'
- );
-
- st.end();
- });
-
- t.test('RFC 1738 spaces serialization', function (st) {
- st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC1738 }), 'a=b+c');
- st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC1738 }), 'a+b=c+d');
- st.end();
- });
-
- t.test('RFC 3986 spaces serialization', function (st) {
- st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC3986 }), 'a=b%20c');
- st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC3986 }), 'a%20b=c%20d');
- st.end();
- });
-
- t.test('Backward compatibility to RFC 3986', function (st) {
- st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c');
- st.end();
- });
-
- t.test('Edge cases and unknown formats', function (st) {
- ['UFO1234', false, 1234, null, {}, []].forEach(
- function (format) {
- st['throws'](
- function () {
- qs.stringify({ a: 'b c' }, { format: format });
- },
- new TypeError('Unknown format option provided.')
- );
- }
- );
- st.end();
- });
-
- t.test('encodeValuesOnly', function (st) {
- st.equal(
- qs.stringify(
- { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] },
- { encodeValuesOnly: true }
- ),
- 'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h'
- );
- st.equal(
- qs.stringify(
- { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] }
- ),
- 'a=b&c%5B0%5D=d&c%5B1%5D=e&f%5B0%5D%5B0%5D=g&f%5B1%5D%5B0%5D=h'
- );
- st.end();
- });
-
- t.test('encodeValuesOnly - strictNullHandling', function (st) {
- st.equal(
- qs.stringify(
- { a: { b: null } },
- { encodeValuesOnly: true, strictNullHandling: true }
- ),
- 'a[b]'
- );
- st.end();
- });
-
- t.test('throws if an invalid charset is specified', function (st) {
- st['throws'](function () {
- qs.stringify({ a: 'b' }, { charset: 'foobar' });
- }, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'));
- st.end();
- });
-
- t.test('respects a charset of iso-8859-1', function (st) {
- st.equal(qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' }), '%E6=%E6');
- st.end();
- });
-
- t.test('encodes unrepresentable chars as numeric entities in iso-8859-1 mode', function (st) {
- st.equal(qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' }), 'a=%26%239786%3B');
- st.end();
- });
-
- t.test('respects an explicit charset of utf-8 (the default)', function (st) {
- st.equal(qs.stringify({ a: 'æ' }, { charset: 'utf-8' }), 'a=%C3%A6');
- st.end();
- });
-
- t.test('adds the right sentinel when instructed to and the charset is utf-8', function (st) {
- st.equal(qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'utf-8' }), 'utf8=%E2%9C%93&a=%C3%A6');
- st.end();
- });
-
- t.test('adds the right sentinel when instructed to and the charset is iso-8859-1', function (st) {
- st.equal(qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' }), 'utf8=%26%2310003%3B&a=%E6');
- st.end();
- });
-
- t.test('does not mutate the options argument', function (st) {
- var options = {};
- qs.stringify({}, options);
- st.deepEqual(options, {});
- st.end();
- });
-
- t.test('strictNullHandling works with custom filter', function (st) {
- var filter = function (prefix, value) {
- return value;
- };
-
- var options = { strictNullHandling: true, filter: filter };
- st.equal(qs.stringify({ key: null }, options), 'key');
- st.end();
- });
-
- t.test('strictNullHandling works with null serializeDate', function (st) {
- var serializeDate = function () {
- return null;
- };
- var options = { strictNullHandling: true, serializeDate: serializeDate };
- var date = new Date();
- st.equal(qs.stringify({ key: date }, options), 'key');
- st.end();
- });
-
- t.end();
-});
diff --git a/Server/node_modules/qs/test/utils.js b/Server/node_modules/qs/test/utils.js
deleted file mode 100644
index da31ce5..0000000
--- a/Server/node_modules/qs/test/utils.js
+++ /dev/null
@@ -1,136 +0,0 @@
-'use strict';
-
-var test = require('tape');
-var inspect = require('object-inspect');
-var SaferBuffer = require('safer-buffer').Buffer;
-var forEach = require('for-each');
-var utils = require('../lib/utils');
-
-test('merge()', function (t) {
- t.deepEqual(utils.merge(null, true), [null, true], 'merges true into null');
-
- t.deepEqual(utils.merge(null, [42]), [null, 42], 'merges null into an array');
-
- t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key');
-
- var oneMerged = utils.merge({ foo: 'bar' }, { foo: { first: '123' } });
- t.deepEqual(oneMerged, { foo: ['bar', { first: '123' }] }, 'merges a standalone and an object into an array');
-
- var twoMerged = utils.merge({ foo: ['bar', { first: '123' }] }, { foo: { second: '456' } });
- t.deepEqual(twoMerged, { foo: { 0: 'bar', 1: { first: '123' }, second: '456' } }, 'merges a standalone and two objects into an array');
-
- var sandwiched = utils.merge({ foo: ['bar', { first: '123', second: '456' }] }, { foo: 'baz' });
- t.deepEqual(sandwiched, { foo: ['bar', { first: '123', second: '456' }, 'baz'] }, 'merges an object sandwiched by two standalones into an array');
-
- var nestedArrays = utils.merge({ foo: ['baz'] }, { foo: ['bar', 'xyzzy'] });
- t.deepEqual(nestedArrays, { foo: ['baz', 'bar', 'xyzzy'] });
-
- var noOptionsNonObjectSource = utils.merge({ foo: 'baz' }, 'bar');
- t.deepEqual(noOptionsNonObjectSource, { foo: 'baz', bar: true });
-
- t.test(
- 'avoids invoking array setters unnecessarily',
- { skip: typeof Object.defineProperty !== 'function' },
- function (st) {
- var setCount = 0;
- var getCount = 0;
- var observed = [];
- Object.defineProperty(observed, 0, {
- get: function () {
- getCount += 1;
- return { bar: 'baz' };
- },
- set: function () { setCount += 1; }
- });
- utils.merge(observed, [null]);
- st.equal(setCount, 0);
- st.equal(getCount, 1);
- observed[0] = observed[0]; // eslint-disable-line no-self-assign
- st.equal(setCount, 1);
- st.equal(getCount, 2);
- st.end();
- }
- );
-
- t.end();
-});
-
-test('assign()', function (t) {
- var target = { a: 1, b: 2 };
- var source = { b: 3, c: 4 };
- var result = utils.assign(target, source);
-
- t.equal(result, target, 'returns the target');
- t.deepEqual(target, { a: 1, b: 3, c: 4 }, 'target and source are merged');
- t.deepEqual(source, { b: 3, c: 4 }, 'source is untouched');
-
- t.end();
-});
-
-test('combine()', function (t) {
- t.test('both arrays', function (st) {
- var a = [1];
- var b = [2];
- var combined = utils.combine(a, b);
-
- st.deepEqual(a, [1], 'a is not mutated');
- st.deepEqual(b, [2], 'b is not mutated');
- st.notEqual(a, combined, 'a !== combined');
- st.notEqual(b, combined, 'b !== combined');
- st.deepEqual(combined, [1, 2], 'combined is a + b');
-
- st.end();
- });
-
- t.test('one array, one non-array', function (st) {
- var aN = 1;
- var a = [aN];
- var bN = 2;
- var b = [bN];
-
- var combinedAnB = utils.combine(aN, b);
- st.deepEqual(b, [bN], 'b is not mutated');
- st.notEqual(aN, combinedAnB, 'aN + b !== aN');
- st.notEqual(a, combinedAnB, 'aN + b !== a');
- st.notEqual(bN, combinedAnB, 'aN + b !== bN');
- st.notEqual(b, combinedAnB, 'aN + b !== b');
- st.deepEqual([1, 2], combinedAnB, 'first argument is array-wrapped when not an array');
-
- var combinedABn = utils.combine(a, bN);
- st.deepEqual(a, [aN], 'a is not mutated');
- st.notEqual(aN, combinedABn, 'a + bN !== aN');
- st.notEqual(a, combinedABn, 'a + bN !== a');
- st.notEqual(bN, combinedABn, 'a + bN !== bN');
- st.notEqual(b, combinedABn, 'a + bN !== b');
- st.deepEqual([1, 2], combinedABn, 'second argument is array-wrapped when not an array');
-
- st.end();
- });
-
- t.test('neither is an array', function (st) {
- var combined = utils.combine(1, 2);
- st.notEqual(1, combined, '1 + 2 !== 1');
- st.notEqual(2, combined, '1 + 2 !== 2');
- st.deepEqual([1, 2], combined, 'both arguments are array-wrapped when not an array');
-
- st.end();
- });
-
- t.end();
-});
-
-test('isBuffer()', function (t) {
- forEach([null, undefined, true, false, '', 'abc', 42, 0, NaN, {}, [], function () {}, /a/g], function (x) {
- t.equal(utils.isBuffer(x), false, inspect(x) + ' is not a buffer');
- });
-
- var fakeBuffer = { constructor: Buffer };
- t.equal(utils.isBuffer(fakeBuffer), false, 'fake buffer is not a buffer');
-
- var saferBuffer = SaferBuffer.from('abc');
- t.equal(utils.isBuffer(saferBuffer), true, 'SaferBuffer instance is a buffer');
-
- var buffer = Buffer.from ? Buffer.from('abc') : new Buffer('abc');
- t.equal(utils.isBuffer(buffer), true, 'real Buffer instance is a buffer');
- t.end();
-});
diff --git a/Server/node_modules/range-parser/HISTORY.md b/Server/node_modules/range-parser/HISTORY.md
deleted file mode 100644
index 70a973d..0000000
--- a/Server/node_modules/range-parser/HISTORY.md
+++ /dev/null
@@ -1,56 +0,0 @@
-1.2.1 / 2019-05-10
-==================
-
- * Improve error when `str` is not a string
-
-1.2.0 / 2016-06-01
-==================
-
- * Add `combine` option to combine overlapping ranges
-
-1.1.0 / 2016-05-13
-==================
-
- * Fix incorrectly returning -1 when there is at least one valid range
- * perf: remove internal function
-
-1.0.3 / 2015-10-29
-==================
-
- * perf: enable strict mode
-
-1.0.2 / 2014-09-08
-==================
-
- * Support Node.js 0.6
-
-1.0.1 / 2014-09-07
-==================
-
- * Move repository to jshttp
-
-1.0.0 / 2013-12-11
-==================
-
- * Add repository to package.json
- * Add MIT license
-
-0.0.4 / 2012-06-17
-==================
-
- * Change ret -1 for unsatisfiable and -2 when invalid
-
-0.0.3 / 2012-06-17
-==================
-
- * Fix last-byte-pos default to len - 1
-
-0.0.2 / 2012-06-14
-==================
-
- * Add `.type`
-
-0.0.1 / 2012-06-11
-==================
-
- * Initial release
diff --git a/Server/node_modules/range-parser/LICENSE b/Server/node_modules/range-parser/LICENSE
deleted file mode 100644
index 3599954..0000000
--- a/Server/node_modules/range-parser/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012-2014 TJ Holowaychuk <tj@vision-media.ca>
-Copyright (c) 2015-2016 Douglas Christopher Wilson <doug@somethingdoug.com
-
-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.
diff --git a/Server/node_modules/range-parser/README.md b/Server/node_modules/range-parser/README.md
deleted file mode 100644
index c247e82..0000000
--- a/Server/node_modules/range-parser/README.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# range-parser
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Range header field parser.
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install range-parser
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var parseRange = require('range-parser')
-```
-
-### parseRange(size, header, options)
-
-Parse the given `header` string where `size` is the maximum size of the resource.
-An array of ranges will be returned or negative numbers indicating an error parsing.
-
- * `-2` signals a malformed header string
- * `-1` signals an unsatisfiable range
-
-<!-- eslint-disable no-undef -->
-
-```js
-// parse header from request
-var range = parseRange(size, req.headers.range)
-
-// the type of the range
-if (range.type === 'bytes') {
- // the ranges
- range.forEach(function (r) {
- // do something with r.start and r.end
- })
-}
-```
-
-#### Options
-
-These properties are accepted in the options object.
-
-##### combine
-
-Specifies if overlapping & adjacent ranges should be combined, defaults to `false`.
-When `true`, ranges will be combined and returned as if they were specified that
-way in the header.
-
-<!-- eslint-disable no-undef -->
-
-```js
-parseRange(100, 'bytes=50-55,0-10,5-10,56-60', { combine: true })
-// => [
-// { start: 0, end: 10 },
-// { start: 50, end: 60 }
-// ]
-```
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/range-parser/master
-[coveralls-url]: https://coveralls.io/r/jshttp/range-parser?branch=master
-[node-image]: https://badgen.net/npm/node/range-parser
-[node-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/range-parser
-[npm-url]: https://npmjs.org/package/range-parser
-[npm-version-image]: https://badgen.net/npm/v/range-parser
-[travis-image]: https://badgen.net/travis/jshttp/range-parser/master
-[travis-url]: https://travis-ci.org/jshttp/range-parser
diff --git a/Server/node_modules/range-parser/index.js b/Server/node_modules/range-parser/index.js
deleted file mode 100644
index b7dc5c0..0000000
--- a/Server/node_modules/range-parser/index.js
+++ /dev/null
@@ -1,162 +0,0 @@
-/*!
- * range-parser
- * Copyright(c) 2012-2014 TJ Holowaychuk
- * Copyright(c) 2015-2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = rangeParser
-
-/**
- * Parse "Range" header `str` relative to the given file `size`.
- *
- * @param {Number} size
- * @param {String} str
- * @param {Object} [options]
- * @return {Array}
- * @public
- */
-
-function rangeParser (size, str, options) {
- if (typeof str !== 'string') {
- throw new TypeError('argument str must be a string')
- }
-
- var index = str.indexOf('=')
-
- if (index === -1) {
- return -2
- }
-
- // split the range string
- var arr = str.slice(index + 1).split(',')
- var ranges = []
-
- // add ranges type
- ranges.type = str.slice(0, index)
-
- // parse all ranges
- for (var i = 0; i < arr.length; i++) {
- var range = arr[i].split('-')
- var start = parseInt(range[0], 10)
- var end = parseInt(range[1], 10)
-
- // -nnn
- if (isNaN(start)) {
- start = size - end
- end = size - 1
- // nnn-
- } else if (isNaN(end)) {
- end = size - 1
- }
-
- // limit last-byte-pos to current length
- if (end > size - 1) {
- end = size - 1
- }
-
- // invalid or unsatisifiable
- if (isNaN(start) || isNaN(end) || start > end || start < 0) {
- continue
- }
-
- // add range
- ranges.push({
- start: start,
- end: end
- })
- }
-
- if (ranges.length < 1) {
- // unsatisifiable
- return -1
- }
-
- return options && options.combine
- ? combineRanges(ranges)
- : ranges
-}
-
-/**
- * Combine overlapping & adjacent ranges.
- * @private
- */
-
-function combineRanges (ranges) {
- var ordered = ranges.map(mapWithIndex).sort(sortByRangeStart)
-
- for (var j = 0, i = 1; i < ordered.length; i++) {
- var range = ordered[i]
- var current = ordered[j]
-
- if (range.start > current.end + 1) {
- // next range
- ordered[++j] = range
- } else if (range.end > current.end) {
- // extend range
- current.end = range.end
- current.index = Math.min(current.index, range.index)
- }
- }
-
- // trim ordered array
- ordered.length = j + 1
-
- // generate combined range
- var combined = ordered.sort(sortByRangeIndex).map(mapWithoutIndex)
-
- // copy ranges type
- combined.type = ranges.type
-
- return combined
-}
-
-/**
- * Map function to add index value to ranges.
- * @private
- */
-
-function mapWithIndex (range, index) {
- return {
- start: range.start,
- end: range.end,
- index: index
- }
-}
-
-/**
- * Map function to remove index value from ranges.
- * @private
- */
-
-function mapWithoutIndex (range) {
- return {
- start: range.start,
- end: range.end
- }
-}
-
-/**
- * Sort function to sort ranges by index.
- * @private
- */
-
-function sortByRangeIndex (a, b) {
- return a.index - b.index
-}
-
-/**
- * Sort function to sort ranges by start position.
- * @private
- */
-
-function sortByRangeStart (a, b) {
- return a.start - b.start
-}
diff --git a/Server/node_modules/range-parser/package.json b/Server/node_modules/range-parser/package.json
deleted file mode 100644
index 3e3c342..0000000
--- a/Server/node_modules/range-parser/package.json
+++ /dev/null
@@ -1,91 +0,0 @@
-{
- "_from": "range-parser@~1.2.1",
- "_id": "range-parser@1.2.1",
- "_inBundle": false,
- "_integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
- "_location": "/range-parser",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "range-parser@~1.2.1",
- "name": "range-parser",
- "escapedName": "range-parser",
- "rawSpec": "~1.2.1",
- "saveSpec": null,
- "fetchSpec": "~1.2.1"
- },
- "_requiredBy": [
- "/express",
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
- "_shasum": "3cf37023d199e1c24d1a55b84800c2f3e6468031",
- "_spec": "range-parser@~1.2.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca",
- "url": "http://tjholowaychuk.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/range-parser/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "James Wyatt Cready",
- "email": "wyatt.cready@lanetix.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "deprecated": false,
- "description": "Range header field string parser",
- "devDependencies": {
- "deep-equal": "1.0.1",
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.17.2",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "8.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "mocha": "6.1.4",
- "nyc": "14.1.1"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/range-parser#readme",
- "keywords": [
- "range",
- "parser",
- "http"
- ],
- "license": "MIT",
- "name": "range-parser",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/range-parser.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec",
- "test-cov": "nyc --reporter=html --reporter=text npm test",
- "test-travis": "nyc --reporter=text npm test"
- },
- "version": "1.2.1"
-}
diff --git a/Server/node_modules/raw-body/HISTORY.md b/Server/node_modules/raw-body/HISTORY.md
deleted file mode 100644
index 88c79fc..0000000
--- a/Server/node_modules/raw-body/HISTORY.md
+++ /dev/null
@@ -1,270 +0,0 @@
-2.4.0 / 2019-04-17
-==================
-
- * deps: bytes@3.1.0
- - Add petabyte (`pb`) support
- * deps: http-errors@1.7.2
- - Set constructor name when possible
- - deps: setprototypeof@1.1.1
- - deps: statuses@'>= 1.5.0 < 2'
- * deps: iconv-lite@0.4.24
- - Added encoding MIK
-
-2.3.3 / 2018-05-08
-==================
-
- * deps: http-errors@1.6.3
- - deps: depd@~1.1.2
- - deps: setprototypeof@1.1.0
- - deps: statuses@'>= 1.3.1 < 2'
- * deps: iconv-lite@0.4.23
- - Fix loading encoding with year appended
- - Fix deprecation warnings on Node.js 10+
-
-2.3.2 / 2017-09-09
-==================
-
- * deps: iconv-lite@0.4.19
- - Fix ISO-8859-1 regression
- - Update Windows-1255
-
-2.3.1 / 2017-09-07
-==================
-
- * deps: bytes@3.0.0
- * deps: http-errors@1.6.2
- - deps: depd@1.1.1
- * perf: skip buffer decoding on overage chunk
-
-2.3.0 / 2017-08-04
-==================
-
- * Add TypeScript definitions
- * Use `http-errors` for standard emitted errors
- * deps: bytes@2.5.0
- * deps: iconv-lite@0.4.18
- - Add support for React Native
- - Add a warning if not loaded as utf-8
- - Fix CESU-8 decoding in Node.js 8
- - Improve speed of ISO-8859-1 encoding
-
-2.2.0 / 2017-01-02
-==================
-
- * deps: iconv-lite@0.4.15
- - Added encoding MS-31J
- - Added encoding MS-932
- - Added encoding MS-936
- - Added encoding MS-949
- - Added encoding MS-950
- - Fix GBK/GB18030 handling of Euro character
-
-2.1.7 / 2016-06-19
-==================
-
- * deps: bytes@2.4.0
- * perf: remove double-cleanup on happy path
-
-2.1.6 / 2016-03-07
-==================
-
- * deps: bytes@2.3.0
- - Drop partial bytes on all parsed units
- - Fix parsing byte string that looks like hex
-
-2.1.5 / 2015-11-30
-==================
-
- * deps: bytes@2.2.0
- * deps: iconv-lite@0.4.13
-
-2.1.4 / 2015-09-27
-==================
-
- * Fix masking critical errors from `iconv-lite`
- * deps: iconv-lite@0.4.12
- - Fix CESU-8 decoding in Node.js 4.x
-
-2.1.3 / 2015-09-12
-==================
-
- * Fix sync callback when attaching data listener causes sync read
- - Node.js 0.10 compatibility issue
-
-2.1.2 / 2015-07-05
-==================
-
- * Fix error stack traces to skip `makeError`
- * deps: iconv-lite@0.4.11
- - Add encoding CESU-8
-
-2.1.1 / 2015-06-14
-==================
-
- * Use `unpipe` module for unpiping requests
-
-2.1.0 / 2015-05-28
-==================
-
- * deps: iconv-lite@0.4.10
- - Improved UTF-16 endianness detection
- - Leading BOM is now removed when decoding
- - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
-
-2.0.2 / 2015-05-21
-==================
-
- * deps: bytes@2.1.0
- - Slight optimizations
-
-2.0.1 / 2015-05-10
-==================
-
- * Fix a false-positive when unpiping in Node.js 0.8
-
-2.0.0 / 2015-05-08
-==================
-
- * Return a promise without callback instead of thunk
- * deps: bytes@2.0.1
- - units no longer case sensitive when parsing
-
-1.3.4 / 2015-04-15
-==================
-
- * Fix hanging callback if request aborts during read
- * deps: iconv-lite@0.4.8
- - Add encoding alias UNICODE-1-1-UTF-7
-
-1.3.3 / 2015-02-08
-==================
-
- * deps: iconv-lite@0.4.7
- - Gracefully support enumerables on `Object.prototype`
-
-1.3.2 / 2015-01-20
-==================
-
- * deps: iconv-lite@0.4.6
- - Fix rare aliases of single-byte encodings
-
-1.3.1 / 2014-11-21
-==================
-
- * deps: iconv-lite@0.4.5
- - Fix Windows-31J and X-SJIS encoding support
-
-1.3.0 / 2014-07-20
-==================
-
- * Fully unpipe the stream on error
- - Fixes `Cannot switch to old mode now` error on Node.js 0.10+
-
-1.2.3 / 2014-07-20
-==================
-
- * deps: iconv-lite@0.4.4
- - Added encoding UTF-7
-
-1.2.2 / 2014-06-19
-==================
-
- * Send invalid encoding error to callback
-
-1.2.1 / 2014-06-15
-==================
-
- * deps: iconv-lite@0.4.3
- - Added encodings UTF-16BE and UTF-16 with BOM
-
-1.2.0 / 2014-06-13
-==================
-
- * Passing string as `options` interpreted as encoding
- * Support all encodings from `iconv-lite`
-
-1.1.7 / 2014-06-12
-==================
-
- * use `string_decoder` module from npm
-
-1.1.6 / 2014-05-27
-==================
-
- * check encoding for old streams1
- * support node.js < 0.10.6
-
-1.1.5 / 2014-05-14
-==================
-
- * bump bytes
-
-1.1.4 / 2014-04-19
-==================
-
- * allow true as an option
- * bump bytes
-
-1.1.3 / 2014-03-02
-==================
-
- * fix case when length=null
-
-1.1.2 / 2013-12-01
-==================
-
- * be less strict on state.encoding check
-
-1.1.1 / 2013-11-27
-==================
-
- * add engines
-
-1.1.0 / 2013-11-27
-==================
-
- * add err.statusCode and err.type
- * allow for encoding option to be true
- * pause the stream instead of dumping on error
- * throw if the stream's encoding is set
-
-1.0.1 / 2013-11-19
-==================
-
- * dont support streams1, throw if dev set encoding
-
-1.0.0 / 2013-11-17
-==================
-
- * rename `expected` option to `length`
-
-0.2.0 / 2013-11-15
-==================
-
- * republish
-
-0.1.1 / 2013-11-15
-==================
-
- * use bytes
-
-0.1.0 / 2013-11-11
-==================
-
- * generator support
-
-0.0.3 / 2013-10-10
-==================
-
- * update repo
-
-0.0.2 / 2013-09-14
-==================
-
- * dump stream on bad headers
- * listen to events after defining received and buffers
-
-0.0.1 / 2013-09-14
-==================
-
- * Initial release
diff --git a/Server/node_modules/raw-body/LICENSE b/Server/node_modules/raw-body/LICENSE
deleted file mode 100644
index d695c8f..0000000
--- a/Server/node_modules/raw-body/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2013-2014 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2014-2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/raw-body/README.md b/Server/node_modules/raw-body/README.md
deleted file mode 100644
index 2ce79d2..0000000
--- a/Server/node_modules/raw-body/README.md
+++ /dev/null
@@ -1,219 +0,0 @@
-# raw-body
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build status][travis-image]][travis-url]
-[![Test coverage][coveralls-image]][coveralls-url]
-
-Gets the entire buffer of a stream either as a `Buffer` or a string.
-Validates the stream's length against an expected length and maximum limit.
-Ideal for parsing request bodies.
-
-## Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install raw-body
-```
-
-### TypeScript
-
-This module includes a [TypeScript](https://www.typescriptlang.org/)
-declaration file to enable auto complete in compatible editors and type
-information for TypeScript projects. This module depends on the Node.js
-types, so install `@types/node`:
-
-```sh
-$ npm install @types/node
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var getRawBody = require('raw-body')
-```
-
-### getRawBody(stream, [options], [callback])
-
-**Returns a promise if no callback specified and global `Promise` exists.**
-
-Options:
-
-- `length` - The length of the stream.
- If the contents of the stream do not add up to this length,
- an `400` error code is returned.
-- `limit` - The byte limit of the body.
- This is the number of bytes or any string format supported by
- [bytes](https://www.npmjs.com/package/bytes),
- for example `1000`, `'500kb'` or `'3mb'`.
- If the body ends up being larger than this limit,
- a `413` error code is returned.
-- `encoding` - The encoding to use to decode the body into a string.
- By default, a `Buffer` instance will be returned when no encoding is specified.
- Most likely, you want `utf-8`, so setting `encoding` to `true` will decode as `utf-8`.
- You can use any type of encoding supported by [iconv-lite](https://www.npmjs.org/package/iconv-lite#readme).
-
-You can also pass a string in place of options to just specify the encoding.
-
-If an error occurs, the stream will be paused, everything unpiped,
-and you are responsible for correctly disposing the stream.
-For HTTP requests, no handling is required if you send a response.
-For streams that use file descriptors, you should `stream.destroy()` or `stream.close()` to prevent leaks.
-
-## Errors
-
-This module creates errors depending on the error condition during reading.
-The error may be an error from the underlying Node.js implementation, but is
-otherwise an error created by this module, which has the following attributes:
-
- * `limit` - the limit in bytes
- * `length` and `expected` - the expected length of the stream
- * `received` - the received bytes
- * `encoding` - the invalid encoding
- * `status` and `statusCode` - the corresponding status code for the error
- * `type` - the error type
-
-### Types
-
-The errors from this module have a `type` property which allows for the progamatic
-determination of the type of error returned.
-
-#### encoding.unsupported
-
-This error will occur when the `encoding` option is specified, but the value does
-not map to an encoding supported by the [iconv-lite](https://www.npmjs.org/package/iconv-lite#readme)
-module.
-
-#### entity.too.large
-
-This error will occur when the `limit` option is specified, but the stream has
-an entity that is larger.
-
-#### request.aborted
-
-This error will occur when the request stream is aborted by the client before
-reading the body has finished.
-
-#### request.size.invalid
-
-This error will occur when the `length` option is specified, but the stream has
-emitted more bytes.
-
-#### stream.encoding.set
-
-This error will occur when the given stream has an encoding set on it, making it
-a decoded stream. The stream should not have an encoding set and is expected to
-emit `Buffer` objects.
-
-## Examples
-
-### Simple Express example
-
-```js
-var contentType = require('content-type')
-var express = require('express')
-var getRawBody = require('raw-body')
-
-var app = express()
-
-app.use(function (req, res, next) {
- getRawBody(req, {
- length: req.headers['content-length'],
- limit: '1mb',
- encoding: contentType.parse(req).parameters.charset
- }, function (err, string) {
- if (err) return next(err)
- req.text = string
- next()
- })
-})
-
-// now access req.text
-```
-
-### Simple Koa example
-
-```js
-var contentType = require('content-type')
-var getRawBody = require('raw-body')
-var koa = require('koa')
-
-var app = koa()
-
-app.use(function * (next) {
- this.text = yield getRawBody(this.req, {
- length: this.req.headers['content-length'],
- limit: '1mb',
- encoding: contentType.parse(this.req).parameters.charset
- })
- yield next
-})
-
-// now access this.text
-```
-
-### Using as a promise
-
-To use this library as a promise, simply omit the `callback` and a promise is
-returned, provided that a global `Promise` is defined.
-
-```js
-var getRawBody = require('raw-body')
-var http = require('http')
-
-var server = http.createServer(function (req, res) {
- getRawBody(req)
- .then(function (buf) {
- res.statusCode = 200
- res.end(buf.length + ' bytes submitted')
- })
- .catch(function (err) {
- res.statusCode = 500
- res.end(err.message)
- })
-})
-
-server.listen(3000)
-```
-
-### Using with TypeScript
-
-```ts
-import * as getRawBody from 'raw-body';
-import * as http from 'http';
-
-const server = http.createServer((req, res) => {
- getRawBody(req)
- .then((buf) => {
- res.statusCode = 200;
- res.end(buf.length + ' bytes submitted');
- })
- .catch((err) => {
- res.statusCode = err.statusCode;
- res.end(err.message);
- });
-});
-
-server.listen(3000);
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/raw-body.svg
-[npm-url]: https://npmjs.org/package/raw-body
-[node-version-image]: https://img.shields.io/node/v/raw-body.svg
-[node-version-url]: https://nodejs.org/en/download/
-[travis-image]: https://img.shields.io/travis/stream-utils/raw-body/master.svg
-[travis-url]: https://travis-ci.org/stream-utils/raw-body
-[coveralls-image]: https://img.shields.io/coveralls/stream-utils/raw-body/master.svg
-[coveralls-url]: https://coveralls.io/r/stream-utils/raw-body?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/raw-body.svg
-[downloads-url]: https://npmjs.org/package/raw-body
diff --git a/Server/node_modules/raw-body/index.d.ts b/Server/node_modules/raw-body/index.d.ts
deleted file mode 100644
index dcbbebd..0000000
--- a/Server/node_modules/raw-body/index.d.ts
+++ /dev/null
@@ -1,87 +0,0 @@
-import { Readable } from 'stream';
-
-declare namespace getRawBody {
- export type Encoding = string | true;
-
- export interface Options {
- /**
- * The expected length of the stream.
- */
- length?: number | string | null;
- /**
- * The byte limit of the body. This is the number of bytes or any string
- * format supported by `bytes`, for example `1000`, `'500kb'` or `'3mb'`.
- */
- limit?: number | string | null;
- /**
- * The encoding to use to decode the body into a string. By default, a
- * `Buffer` instance will be returned when no encoding is specified. Most
- * likely, you want `utf-8`, so setting encoding to `true` will decode as
- * `utf-8`. You can use any type of encoding supported by `iconv-lite`.
- */
- encoding?: Encoding | null;
- }
-
- export interface RawBodyError extends Error {
- /**
- * The limit in bytes.
- */
- limit?: number;
- /**
- * The expected length of the stream.
- */
- length?: number;
- expected?: number;
- /**
- * The received bytes.
- */
- received?: number;
- /**
- * The encoding.
- */
- encoding?: string;
- /**
- * The corresponding status code for the error.
- */
- status: number;
- statusCode: number;
- /**
- * The error type.
- */
- type: string;
- }
-}
-
-/**
- * Gets the entire buffer of a stream either as a `Buffer` or a string.
- * Validates the stream's length against an expected length and maximum
- * limit. Ideal for parsing request bodies.
- */
-declare function getRawBody(
- stream: Readable,
- callback: (err: getRawBody.RawBodyError, body: Buffer) => void
-): void;
-
-declare function getRawBody(
- stream: Readable,
- options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding,
- callback: (err: getRawBody.RawBodyError, body: string) => void
-): void;
-
-declare function getRawBody(
- stream: Readable,
- options: getRawBody.Options,
- callback: (err: getRawBody.RawBodyError, body: Buffer) => void
-): void;
-
-declare function getRawBody(
- stream: Readable,
- options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding
-): Promise<string>;
-
-declare function getRawBody(
- stream: Readable,
- options?: getRawBody.Options
-): Promise<Buffer>;
-
-export = getRawBody;
diff --git a/Server/node_modules/raw-body/index.js b/Server/node_modules/raw-body/index.js
deleted file mode 100644
index 7fe8186..0000000
--- a/Server/node_modules/raw-body/index.js
+++ /dev/null
@@ -1,286 +0,0 @@
-/*!
- * raw-body
- * Copyright(c) 2013-2014 Jonathan Ong
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var bytes = require('bytes')
-var createError = require('http-errors')
-var iconv = require('iconv-lite')
-var unpipe = require('unpipe')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = getRawBody
-
-/**
- * Module variables.
- * @private
- */
-
-var ICONV_ENCODING_MESSAGE_REGEXP = /^Encoding not recognized: /
-
-/**
- * Get the decoder for a given encoding.
- *
- * @param {string} encoding
- * @private
- */
-
-function getDecoder (encoding) {
- if (!encoding) return null
-
- try {
- return iconv.getDecoder(encoding)
- } catch (e) {
- // error getting decoder
- if (!ICONV_ENCODING_MESSAGE_REGEXP.test(e.message)) throw e
-
- // the encoding was not found
- throw createError(415, 'specified encoding unsupported', {
- encoding: encoding,
- type: 'encoding.unsupported'
- })
- }
-}
-
-/**
- * Get the raw body of a stream (typically HTTP).
- *
- * @param {object} stream
- * @param {object|string|function} [options]
- * @param {function} [callback]
- * @public
- */
-
-function getRawBody (stream, options, callback) {
- var done = callback
- var opts = options || {}
-
- if (options === true || typeof options === 'string') {
- // short cut for encoding
- opts = {
- encoding: options
- }
- }
-
- if (typeof options === 'function') {
- done = options
- opts = {}
- }
-
- // validate callback is a function, if provided
- if (done !== undefined && typeof done !== 'function') {
- throw new TypeError('argument callback must be a function')
- }
-
- // require the callback without promises
- if (!done && !global.Promise) {
- throw new TypeError('argument callback is required')
- }
-
- // get encoding
- var encoding = opts.encoding !== true
- ? opts.encoding
- : 'utf-8'
-
- // convert the limit to an integer
- var limit = bytes.parse(opts.limit)
-
- // convert the expected length to an integer
- var length = opts.length != null && !isNaN(opts.length)
- ? parseInt(opts.length, 10)
- : null
-
- if (done) {
- // classic callback style
- return readStream(stream, encoding, length, limit, done)
- }
-
- return new Promise(function executor (resolve, reject) {
- readStream(stream, encoding, length, limit, function onRead (err, buf) {
- if (err) return reject(err)
- resolve(buf)
- })
- })
-}
-
-/**
- * Halt a stream.
- *
- * @param {Object} stream
- * @private
- */
-
-function halt (stream) {
- // unpipe everything from the stream
- unpipe(stream)
-
- // pause stream
- if (typeof stream.pause === 'function') {
- stream.pause()
- }
-}
-
-/**
- * Read the data from the stream.
- *
- * @param {object} stream
- * @param {string} encoding
- * @param {number} length
- * @param {number} limit
- * @param {function} callback
- * @public
- */
-
-function readStream (stream, encoding, length, limit, callback) {
- var complete = false
- var sync = true
-
- // check the length and limit options.
- // note: we intentionally leave the stream paused,
- // so users should handle the stream themselves.
- if (limit !== null && length !== null && length > limit) {
- return done(createError(413, 'request entity too large', {
- expected: length,
- length: length,
- limit: limit,
- type: 'entity.too.large'
- }))
- }
-
- // streams1: assert request encoding is buffer.
- // streams2+: assert the stream encoding is buffer.
- // stream._decoder: streams1
- // state.encoding: streams2
- // state.decoder: streams2, specifically < 0.10.6
- var state = stream._readableState
- if (stream._decoder || (state && (state.encoding || state.decoder))) {
- // developer error
- return done(createError(500, 'stream encoding should not be set', {
- type: 'stream.encoding.set'
- }))
- }
-
- var received = 0
- var decoder
-
- try {
- decoder = getDecoder(encoding)
- } catch (err) {
- return done(err)
- }
-
- var buffer = decoder
- ? ''
- : []
-
- // attach listeners
- stream.on('aborted', onAborted)
- stream.on('close', cleanup)
- stream.on('data', onData)
- stream.on('end', onEnd)
- stream.on('error', onEnd)
-
- // mark sync section complete
- sync = false
-
- function done () {
- var args = new Array(arguments.length)
-
- // copy arguments
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i]
- }
-
- // mark complete
- complete = true
-
- if (sync) {
- process.nextTick(invokeCallback)
- } else {
- invokeCallback()
- }
-
- function invokeCallback () {
- cleanup()
-
- if (args[0]) {
- // halt the stream on error
- halt(stream)
- }
-
- callback.apply(null, args)
- }
- }
-
- function onAborted () {
- if (complete) return
-
- done(createError(400, 'request aborted', {
- code: 'ECONNABORTED',
- expected: length,
- length: length,
- received: received,
- type: 'request.aborted'
- }))
- }
-
- function onData (chunk) {
- if (complete) return
-
- received += chunk.length
-
- if (limit !== null && received > limit) {
- done(createError(413, 'request entity too large', {
- limit: limit,
- received: received,
- type: 'entity.too.large'
- }))
- } else if (decoder) {
- buffer += decoder.write(chunk)
- } else {
- buffer.push(chunk)
- }
- }
-
- function onEnd (err) {
- if (complete) return
- if (err) return done(err)
-
- if (length !== null && received !== length) {
- done(createError(400, 'request size did not match content length', {
- expected: length,
- length: length,
- received: received,
- type: 'request.size.invalid'
- }))
- } else {
- var string = decoder
- ? buffer + (decoder.end() || '')
- : Buffer.concat(buffer)
- done(null, string)
- }
- }
-
- function cleanup () {
- buffer = null
-
- stream.removeListener('aborted', onAborted)
- stream.removeListener('data', onData)
- stream.removeListener('end', onEnd)
- stream.removeListener('error', onEnd)
- stream.removeListener('close', cleanup)
- }
-}
diff --git a/Server/node_modules/raw-body/package.json b/Server/node_modules/raw-body/package.json
deleted file mode 100644
index d206055..0000000
--- a/Server/node_modules/raw-body/package.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "_from": "raw-body@2.4.0",
- "_id": "raw-body@2.4.0",
- "_inBundle": false,
- "_integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
- "_location": "/raw-body",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "raw-body@2.4.0",
- "name": "raw-body",
- "escapedName": "raw-body",
- "rawSpec": "2.4.0",
- "saveSpec": null,
- "fetchSpec": "2.4.0"
- },
- "_requiredBy": [
- "/body-parser"
- ],
- "_resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
- "_shasum": "a1ce6fb9c9bc356ca52e89256ab59059e13d0332",
- "_spec": "raw-body@2.4.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "author": {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- },
- "bugs": {
- "url": "https://github.com/stream-utils/raw-body/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Raynos",
- "email": "raynos2@gmail.com"
- }
- ],
- "dependencies": {
- "bytes": "3.1.0",
- "http-errors": "1.7.2",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
- },
- "deprecated": false,
- "description": "Get and validate the raw body of a readable stream.",
- "devDependencies": {
- "bluebird": "3.5.4",
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.16.0",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "8.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "istanbul": "0.4.5",
- "mocha": "6.1.3",
- "readable-stream": "2.3.6",
- "safe-buffer": "5.1.2"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "README.md",
- "index.d.ts",
- "index.js"
- ],
- "homepage": "https://github.com/stream-utils/raw-body#readme",
- "license": "MIT",
- "name": "raw-body",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/stream-utils/raw-body.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --trace-deprecation --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --trace-deprecation --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --trace-deprecation --reporter spec --check-leaks test/"
- },
- "version": "2.4.0"
-}
diff --git a/Server/node_modules/readable-stream/.travis.yml b/Server/node_modules/readable-stream/.travis.yml
deleted file mode 100644
index f62cdac..0000000
--- a/Server/node_modules/readable-stream/.travis.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-sudo: false
-language: node_js
-before_install:
- - (test $NPM_LEGACY && npm install -g npm@2 && npm install -g npm@3) || true
-notifications:
- email: false
-matrix:
- fast_finish: true
- include:
- - node_js: '0.8'
- env: NPM_LEGACY=true
- - node_js: '0.10'
- env: NPM_LEGACY=true
- - node_js: '0.11'
- env: NPM_LEGACY=true
- - node_js: '0.12'
- env: NPM_LEGACY=true
- - node_js: 1
- env: NPM_LEGACY=true
- - node_js: 2
- env: NPM_LEGACY=true
- - node_js: 3
- env: NPM_LEGACY=true
- - node_js: 4
- - node_js: 5
- - node_js: 6
- - node_js: 7
- - node_js: 8
- - node_js: 9
-script: "npm run test"
-env:
- global:
- - secure: rE2Vvo7vnjabYNULNyLFxOyt98BoJexDqsiOnfiD6kLYYsiQGfr/sbZkPMOFm9qfQG7pjqx+zZWZjGSswhTt+626C0t/njXqug7Yps4c3dFblzGfreQHp7wNX5TFsvrxd6dAowVasMp61sJcRnB2w8cUzoe3RAYUDHyiHktwqMc=
- - secure: g9YINaKAdMatsJ28G9jCGbSaguXCyxSTy+pBO6Ch0Cf57ZLOTka3HqDj8p3nV28LUIHZ3ut5WO43CeYKwt4AUtLpBS3a0dndHdY6D83uY6b2qh5hXlrcbeQTq2cvw2y95F7hm4D1kwrgZ7ViqaKggRcEupAL69YbJnxeUDKWEdI=
diff --git a/Server/node_modules/readable-stream/CONTRIBUTING.md b/Server/node_modules/readable-stream/CONTRIBUTING.md
deleted file mode 100644
index f478d58..0000000
--- a/Server/node_modules/readable-stream/CONTRIBUTING.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# Developer's Certificate of Origin 1.1
-
-By making a contribution to this project, I certify that:
-
-* (a) The contribution was created in whole or in part by me and I
- have the right to submit it under the open source license
- indicated in the file; or
-
-* (b) The contribution is based upon previous work that, to the best
- of my knowledge, is covered under an appropriate open source
- license and I have the right under that license to submit that
- work with modifications, whether created in whole or in part
- by me, under the same open source license (unless I am
- permitted to submit under a different license), as indicated
- in the file; or
-
-* (c) The contribution was provided directly to me by some other
- person who certified (a), (b) or (c) and I have not modified
- it.
-
-* (d) I understand and agree that this project and the contribution
- are public and that a record of the contribution (including all
- personal information I submit with it, including my sign-off) is
- maintained indefinitely and may be redistributed consistent with
- this project or the open source license(s) involved.
-
-## Moderation Policy
-
-The [Node.js Moderation Policy] applies to this WG.
-
-## Code of Conduct
-
-The [Node.js Code of Conduct][] applies to this WG.
-
-[Node.js Code of Conduct]:
-https://github.com/nodejs/node/blob/master/CODE_OF_CONDUCT.md
-[Node.js Moderation Policy]:
-https://github.com/nodejs/TSC/blob/master/Moderation-Policy.md
diff --git a/Server/node_modules/readable-stream/GOVERNANCE.md b/Server/node_modules/readable-stream/GOVERNANCE.md
deleted file mode 100644
index 16ffb93..0000000
--- a/Server/node_modules/readable-stream/GOVERNANCE.md
+++ /dev/null
@@ -1,136 +0,0 @@
-### Streams Working Group
-
-The Node.js Streams is jointly governed by a Working Group
-(WG)
-that is responsible for high-level guidance of the project.
-
-The WG has final authority over this project including:
-
-* Technical direction
-* Project governance and process (including this policy)
-* Contribution policy
-* GitHub repository hosting
-* Conduct guidelines
-* Maintaining the list of additional Collaborators
-
-For the current list of WG members, see the project
-[README.md](./README.md#current-project-team-members).
-
-### Collaborators
-
-The readable-stream GitHub repository is
-maintained by the WG and additional Collaborators who are added by the
-WG on an ongoing basis.
-
-Individuals making significant and valuable contributions are made
-Collaborators and given commit-access to the project. These
-individuals are identified by the WG and their addition as
-Collaborators is discussed during the WG meeting.
-
-_Note:_ If you make a significant contribution and are not considered
-for commit-access log an issue or contact a WG member directly and it
-will be brought up in the next WG meeting.
-
-Modifications of the contents of the readable-stream repository are
-made on
-a collaborative basis. Anybody with a GitHub account may propose a
-modification via pull request and it will be considered by the project
-Collaborators. All pull requests must be reviewed and accepted by a
-Collaborator with sufficient expertise who is able to take full
-responsibility for the change. In the case of pull requests proposed
-by an existing Collaborator, an additional Collaborator is required
-for sign-off. Consensus should be sought if additional Collaborators
-participate and there is disagreement around a particular
-modification. See _Consensus Seeking Process_ below for further detail
-on the consensus model used for governance.
-
-Collaborators may opt to elevate significant or controversial
-modifications, or modifications that have not found consensus to the
-WG for discussion by assigning the ***WG-agenda*** tag to a pull
-request or issue. The WG should serve as the final arbiter where
-required.
-
-For the current list of Collaborators, see the project
-[README.md](./README.md#members).
-
-### WG Membership
-
-WG seats are not time-limited. There is no fixed size of the WG.
-However, the expected target is between 6 and 12, to ensure adequate
-coverage of important areas of expertise, balanced with the ability to
-make decisions efficiently.
-
-There is no specific set of requirements or qualifications for WG
-membership beyond these rules.
-
-The WG may add additional members to the WG by unanimous consensus.
-
-A WG member may be removed from the WG by voluntary resignation, or by
-unanimous consensus of all other WG members.
-
-Changes to WG membership should be posted in the agenda, and may be
-suggested as any other agenda item (see "WG Meetings" below).
-
-If an addition or removal is proposed during a meeting, and the full
-WG is not in attendance to participate, then the addition or removal
-is added to the agenda for the subsequent meeting. This is to ensure
-that all members are given the opportunity to participate in all
-membership decisions. If a WG member is unable to attend a meeting
-where a planned membership decision is being made, then their consent
-is assumed.
-
-No more than 1/3 of the WG members may be affiliated with the same
-employer. If removal or resignation of a WG member, or a change of
-employment by a WG member, creates a situation where more than 1/3 of
-the WG membership shares an employer, then the situation must be
-immediately remedied by the resignation or removal of one or more WG
-members affiliated with the over-represented employer(s).
-
-### WG Meetings
-
-The WG meets occasionally on a Google Hangout On Air. A designated moderator
-approved by the WG runs the meeting. Each meeting should be
-published to YouTube.
-
-Items are added to the WG agenda that are considered contentious or
-are modifications of governance, contribution policy, WG membership,
-or release process.
-
-The intention of the agenda is not to approve or review all patches;
-that should happen continuously on GitHub and be handled by the larger
-group of Collaborators.
-
-Any community member or contributor can ask that something be added to
-the next meeting's agenda by logging a GitHub Issue. Any Collaborator,
-WG member or the moderator can add the item to the agenda by adding
-the ***WG-agenda*** tag to the issue.
-
-Prior to each WG meeting the moderator will share the Agenda with
-members of the WG. WG members can add any items they like to the
-agenda at the beginning of each meeting. The moderator and the WG
-cannot veto or remove items.
-
-The WG may invite persons or representatives from certain projects to
-participate in a non-voting capacity.
-
-The moderator is responsible for summarizing the discussion of each
-agenda item and sends it as a pull request after the meeting.
-
-### Consensus Seeking Process
-
-The WG follows a
-[Consensus
-Seeking](http://en.wikipedia.org/wiki/Consensus-seeking_decision-making)
-decision-making model.
-
-When an agenda item has appeared to reach a consensus the moderator
-will ask "Does anyone object?" as a final call for dissent from the
-consensus.
-
-If an agenda item cannot reach a consensus a WG member can call for
-either a closing vote or a vote to table the issue to the next
-meeting. The call for a vote must be seconded by a majority of the WG
-or else the discussion will continue. Simple majority wins.
-
-Note that changes to WG membership require a majority consensus. See
-"WG Membership" above.
diff --git a/Server/node_modules/readable-stream/LICENSE b/Server/node_modules/readable-stream/LICENSE
deleted file mode 100644
index 2873b3b..0000000
--- a/Server/node_modules/readable-stream/LICENSE
+++ /dev/null
@@ -1,47 +0,0 @@
-Node.js is licensed for use as follows:
-
-"""
-Copyright Node.js contributors. All rights reserved.
-
-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.
-"""
-
-This license applies to parts of Node.js originating from the
-https://github.com/joyent/node repository:
-
-"""
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
-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.
-"""
diff --git a/Server/node_modules/readable-stream/README.md b/Server/node_modules/readable-stream/README.md
deleted file mode 100644
index 23fe3f3..0000000
--- a/Server/node_modules/readable-stream/README.md
+++ /dev/null
@@ -1,58 +0,0 @@
-# readable-stream
-
-***Node-core v8.11.1 streams for userland*** [![Build Status](https://travis-ci.org/nodejs/readable-stream.svg?branch=master)](https://travis-ci.org/nodejs/readable-stream)
-
-
-[![NPM](https://nodei.co/npm/readable-stream.png?downloads=true&downloadRank=true)](https://nodei.co/npm/readable-stream/)
-[![NPM](https://nodei.co/npm-dl/readable-stream.png?&months=6&height=3)](https://nodei.co/npm/readable-stream/)
-
-
-[![Sauce Test Status](https://saucelabs.com/browser-matrix/readable-stream.svg)](https://saucelabs.com/u/readable-stream)
-
-```bash
-npm install --save readable-stream
-```
-
-***Node-core streams for userland***
-
-This package is a mirror of the Streams2 and Streams3 implementations in
-Node-core.
-
-Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v8.11.1/docs/api/stream.html).
-
-If you want to guarantee a stable streams base, regardless of what version of
-Node you, or the users of your libraries are using, use **readable-stream** *only* and avoid the *"stream"* module in Node-core, for background see [this blogpost](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html).
-
-As of version 2.0.0 **readable-stream** uses semantic versioning.
-
-# Streams Working Group
-
-`readable-stream` is maintained by the Streams Working Group, which
-oversees the development and maintenance of the Streams API within
-Node.js. The responsibilities of the Streams Working Group include:
-
-* Addressing stream issues on the Node.js issue tracker.
-* Authoring and editing stream documentation within the Node.js project.
-* Reviewing changes to stream subclasses within the Node.js project.
-* Redirecting changes to streams from the Node.js project to this
- project.
-* Assisting in the implementation of stream providers within Node.js.
-* Recommending versions of `readable-stream` to be included in Node.js.
-* Messaging about the future of streams to give the community advance
- notice of changes.
-
-<a name="members"></a>
-## Team Members
-
-* **Chris Dickinson** ([@chrisdickinson](https://github.com/chrisdickinson)) &lt;christopher.s.dickinson@gmail.com&gt;
- - Release GPG key: 9554F04D7259F04124DE6B476D5A82AC7E37093B
-* **Calvin Metcalf** ([@calvinmetcalf](https://github.com/calvinmetcalf)) &lt;calvin.metcalf@gmail.com&gt;
- - Release GPG key: F3EF5F62A87FC27A22E643F714CE4FF5015AA242
-* **Rod Vagg** ([@rvagg](https://github.com/rvagg)) &lt;rod@vagg.org&gt;
- - Release GPG key: DD8F2338BAE7501E3DD5AC78C273792F7D83545D
-* **Sam Newman** ([@sonewman](https://github.com/sonewman)) &lt;newmansam@outlook.com&gt;
-* **Mathias Buus** ([@mafintosh](https://github.com/mafintosh)) &lt;mathiasbuus@gmail.com&gt;
-* **Domenic Denicola** ([@domenic](https://github.com/domenic)) &lt;d@domenic.me&gt;
-* **Matteo Collina** ([@mcollina](https://github.com/mcollina)) &lt;matteo.collina@gmail.com&gt;
- - Release GPG key: 3ABC01543F22DD2239285CDD818674489FBC127E
-* **Irina Shestak** ([@lrlna](https://github.com/lrlna)) &lt;shestak.irina@gmail.com&gt;
diff --git a/Server/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md b/Server/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md
deleted file mode 100644
index 83275f1..0000000
--- a/Server/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# streams WG Meeting 2015-01-30
-
-## Links
-
-* **Google Hangouts Video**: http://www.youtube.com/watch?v=I9nDOSGfwZg
-* **GitHub Issue**: https://github.com/iojs/readable-stream/issues/106
-* **Original Minutes Google Doc**: https://docs.google.com/document/d/17aTgLnjMXIrfjgNaTUnHQO7m3xgzHR2VXBTmi03Qii4/
-
-## Agenda
-
-Extracted from https://github.com/iojs/readable-stream/labels/wg-agenda prior to meeting.
-
-* adopt a charter [#105](https://github.com/iojs/readable-stream/issues/105)
-* release and versioning strategy [#101](https://github.com/iojs/readable-stream/issues/101)
-* simpler stream creation [#102](https://github.com/iojs/readable-stream/issues/102)
-* proposal: deprecate implicit flowing of streams [#99](https://github.com/iojs/readable-stream/issues/99)
-
-## Minutes
-
-### adopt a charter
-
-* group: +1's all around
-
-### What versioning scheme should be adopted?
-* group: +1’s 3.0.0
-* domenic+group: pulling in patches from other sources where appropriate
-* mikeal: version independently, suggesting versions for io.js
-* mikeal+domenic: work with TC to notify in advance of changes
-simpler stream creation
-
-### streamline creation of streams
-* sam: streamline creation of streams
-* domenic: nice simple solution posted
- but, we lose the opportunity to change the model
- may not be backwards incompatible (double check keys)
-
- **action item:** domenic will check
-
-### remove implicit flowing of streams on(‘data’)
-* add isFlowing / isPaused
-* mikeal: worrying that we’re documenting polyfill methods – confuses users
-* domenic: more reflective API is probably good, with warning labels for users
-* new section for mad scientists (reflective stream access)
-* calvin: name the “third state”
-* mikeal: maybe borrow the name from whatwg?
-* domenic: we’re missing the “third state”
-* consensus: kind of difficult to name the third state
-* mikeal: figure out differences in states / compat
-* mathias: always flow on data – eliminates third state
- * explore what it breaks
-
-**action items:**
-* ask isaac for ability to list packages by what public io.js APIs they use (esp. Stream)
-* ask rod/build for infrastructure
-* **chris**: explore the “flow on data” approach
-* add isPaused/isFlowing
-* add new docs section
-* move isPaused to that section
-
-
diff --git a/Server/node_modules/readable-stream/duplex-browser.js b/Server/node_modules/readable-stream/duplex-browser.js
deleted file mode 100644
index f8b2db8..0000000
--- a/Server/node_modules/readable-stream/duplex-browser.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('./lib/_stream_duplex.js');
diff --git a/Server/node_modules/readable-stream/duplex.js b/Server/node_modules/readable-stream/duplex.js
deleted file mode 100644
index 46924cb..0000000
--- a/Server/node_modules/readable-stream/duplex.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('./readable').Duplex
diff --git a/Server/node_modules/readable-stream/lib/_stream_duplex.js b/Server/node_modules/readable-stream/lib/_stream_duplex.js
deleted file mode 100644
index 57003c3..0000000
--- a/Server/node_modules/readable-stream/lib/_stream_duplex.js
+++ /dev/null
@@ -1,131 +0,0 @@
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// 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.
-
-// a duplex stream is just a stream that is both readable and writable.
-// Since JS doesn't have multiple prototypal inheritance, this class
-// prototypally inherits from Readable, and then parasitically from
-// Writable.
-
-'use strict';
-
-/*<replacement>*/
-
-var pna = require('process-nextick-args');
-/*</replacement>*/
-
-/*<replacement>*/
-var objectKeys = Object.keys || function (obj) {
- var keys = [];
- for (var key in obj) {
- keys.push(key);
- }return keys;
-};
-/*</replacement>*/
-
-module.exports = Duplex;
-
-/*<replacement>*/
-var util = Object.create(require('core-util-is'));
-util.inherits = require('inherits');
-/*</replacement>*/
-
-var Readable = require('./_stream_readable');
-var Writable = require('./_stream_writable');
-
-util.inherits(Duplex, Readable);
-
-{
- // avoid scope creep, the keys array can then be collected
- var keys = objectKeys(Writable.prototype);
- for (var v = 0; v < keys.length; v++) {
- var method = keys[v];
- if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];
- }
-}
-
-function Duplex(options) {
- if (!(this instanceof Duplex)) return new Duplex(options);
-
- Readable.call(this, options);
- Writable.call(this, options);
-
- if (options && options.readable === false) this.readable = false;
-
- if (options && options.writable === false) this.writable = false;
-
- this.allowHalfOpen = true;
- if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;
-
- this.once('end', onend);
-}
-
-Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', {
- // making it explicit this property is not enumerable
- // because otherwise some prototype manipulation in
- // userland will fail
- enumerable: false,
- get: function () {
- return this._writableState.highWaterMark;
- }
-});
-
-// the no-half-open enforcer
-function onend() {
- // if we allow half-open state, or if the writable side ended,
- // then we're ok.
- if (this.allowHalfOpen || this._writableState.ended) return;
-
- // no more data can be written.
- // But allow more writes to happen in this tick.
- pna.nextTick(onEndNT, this);
-}
-
-function onEndNT(self) {
- self.end();
-}
-
-Object.defineProperty(Duplex.prototype, 'destroyed', {
- get: function () {
- if (this._readableState === undefined || this._writableState === undefined) {
- return false;
- }
- return this._readableState.destroyed && this._writableState.destroyed;
- },
- set: function (value) {
- // we ignore the value if the stream
- // has not been initialized yet
- if (this._readableState === undefined || this._writableState === undefined) {
- return;
- }
-
- // backward compatibility, the user is explicitly
- // managing destroyed
- this._readableState.destroyed = value;
- this._writableState.destroyed = value;
- }
-});
-
-Duplex.prototype._destroy = function (err, cb) {
- this.push(null);
- this.end();
-
- pna.nextTick(cb, err);
-};
\ No newline at end of file
diff --git a/Server/node_modules/readable-stream/lib/_stream_passthrough.js b/Server/node_modules/readable-stream/lib/_stream_passthrough.js
deleted file mode 100644
index 612edb4..0000000
--- a/Server/node_modules/readable-stream/lib/_stream_passthrough.js
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// 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.
-
-// a passthrough stream.
-// basically just the most minimal sort of Transform stream.
-// Every written chunk gets output as-is.
-
-'use strict';
-
-module.exports = PassThrough;
-
-var Transform = require('./_stream_transform');
-
-/*<replacement>*/
-var util = Object.create(require('core-util-is'));
-util.inherits = require('inherits');
-/*</replacement>*/
-
-util.inherits(PassThrough, Transform);
-
-function PassThrough(options) {
- if (!(this instanceof PassThrough)) return new PassThrough(options);
-
- Transform.call(this, options);
-}
-
-PassThrough.prototype._transform = function (chunk, encoding, cb) {
- cb(null, chunk);
-};
\ No newline at end of file
diff --git a/Server/node_modules/readable-stream/lib/_stream_readable.js b/Server/node_modules/readable-stream/lib/_stream_readable.js
deleted file mode 100644
index 0f80764..0000000
--- a/Server/node_modules/readable-stream/lib/_stream_readable.js
+++ /dev/null
@@ -1,1019 +0,0 @@
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// 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.
-
-'use strict';
-
-/*<replacement>*/
-
-var pna = require('process-nextick-args');
-/*</replacement>*/
-
-module.exports = Readable;
-
-/*<replacement>*/
-var isArray = require('isarray');
-/*</replacement>*/
-
-/*<replacement>*/
-var Duplex;
-/*</replacement>*/
-
-Readable.ReadableState = ReadableState;
-
-/*<replacement>*/
-var EE = require('events').EventEmitter;
-
-var EElistenerCount = function (emitter, type) {
- return emitter.listeners(type).length;
-};
-/*</replacement>*/
-
-/*<replacement>*/
-var Stream = require('./internal/streams/stream');
-/*</replacement>*/
-
-/*<replacement>*/
-
-var Buffer = require('safe-buffer').Buffer;
-var OurUint8Array = global.Uint8Array || function () {};
-function _uint8ArrayToBuffer(chunk) {
- return Buffer.from(chunk);
-}
-function _isUint8Array(obj) {
- return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
-}
-
-/*</replacement>*/
-
-/*<replacement>*/
-var util = Object.create(require('core-util-is'));
-util.inherits = require('inherits');
-/*</replacement>*/
-
-/*<replacement>*/
-var debugUtil = require('util');
-var debug = void 0;
-if (debugUtil && debugUtil.debuglog) {
- debug = debugUtil.debuglog('stream');
-} else {
- debug = function () {};
-}
-/*</replacement>*/
-
-var BufferList = require('./internal/streams/BufferList');
-var destroyImpl = require('./internal/streams/destroy');
-var StringDecoder;
-
-util.inherits(Readable, Stream);
-
-var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];
-
-function prependListener(emitter, event, fn) {
- // Sadly this is not cacheable as some libraries bundle their own
- // event emitter implementation with them.
- if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
-
- // This is a hack to make sure that our error handler is attached before any
- // userland ones. NEVER DO THIS. This is here only because this code needs
- // to continue to work with older versions of Node.js that do not include
- // the prependListener() method. The goal is to eventually remove this hack.
- if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];
-}
-
-function ReadableState(options, stream) {
- Duplex = Duplex || require('./_stream_duplex');
-
- options = options || {};
-
- // Duplex streams are both readable and writable, but share
- // the same options object.
- // However, some cases require setting options to different
- // values for the readable and the writable sides of the duplex stream.
- // These options can be provided separately as readableXXX and writableXXX.
- var isDuplex = stream instanceof Duplex;
-
- // object stream flag. Used to make read(n) ignore n and to
- // make all the buffer merging and length checks go away
- this.objectMode = !!options.objectMode;
-
- if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
-
- // the point at which it stops calling _read() to fill the buffer
- // Note: 0 is a valid value, means "don't call _read preemptively ever"
- var hwm = options.highWaterMark;
- var readableHwm = options.readableHighWaterMark;
- var defaultHwm = this.objectMode ? 16 : 16 * 1024;
-
- if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;
-
- // cast to ints.
- this.highWaterMark = Math.floor(this.highWaterMark);
-
- // A linked list is used to store data chunks instead of an array because the
- // linked list can remove elements from the beginning faster than
- // array.shift()
- this.buffer = new BufferList();
- this.length = 0;
- this.pipes = null;
- this.pipesCount = 0;
- this.flowing = null;
- this.ended = false;
- this.endEmitted = false;
- this.reading = false;
-
- // a flag to be able to tell if the event 'readable'/'data' is emitted
- // immediately, or on a later tick. We set this to true at first, because
- // any actions that shouldn't happen until "later" should generally also
- // not happen before the first read call.
- this.sync = true;
-
- // whenever we return null, then we set a flag to say
- // that we're awaiting a 'readable' event emission.
- this.needReadable = false;
- this.emittedReadable = false;
- this.readableListening = false;
- this.resumeScheduled = false;
-
- // has it been destroyed
- this.destroyed = false;
-
- // Crypto is kind of old and crusty. Historically, its default string
- // encoding is 'binary' so we have to make this configurable.
- // Everything else in the universe uses 'utf8', though.
- this.defaultEncoding = options.defaultEncoding || 'utf8';
-
- // the number of writers that are awaiting a drain event in .pipe()s
- this.awaitDrain = 0;
-
- // if true, a maybeReadMore has been scheduled
- this.readingMore = false;
-
- this.decoder = null;
- this.encoding = null;
- if (options.encoding) {
- if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder;
- this.decoder = new StringDecoder(options.encoding);
- this.encoding = options.encoding;
- }
-}
-
-function Readable(options) {
- Duplex = Duplex || require('./_stream_duplex');
-
- if (!(this instanceof Readable)) return new Readable(options);
-
- this._readableState = new ReadableState(options, this);
-
- // legacy
- this.readable = true;
-
- if (options) {
- if (typeof options.read === 'function') this._read = options.read;
-
- if (typeof options.destroy === 'function') this._destroy = options.destroy;
- }
-
- Stream.call(this);
-}
-
-Object.defineProperty(Readable.prototype, 'destroyed', {
- get: function () {
- if (this._readableState === undefined) {
- return false;
- }
- return this._readableState.destroyed;
- },
- set: function (value) {
- // we ignore the value if the stream
- // has not been initialized yet
- if (!this._readableState) {
- return;
- }
-
- // backward compatibility, the user is explicitly
- // managing destroyed
- this._readableState.destroyed = value;
- }
-});
-
-Readable.prototype.destroy = destroyImpl.destroy;
-Readable.prototype._undestroy = destroyImpl.undestroy;
-Readable.prototype._destroy = function (err, cb) {
- this.push(null);
- cb(err);
-};
-
-// Manually shove something into the read() buffer.
-// This returns true if the highWaterMark has not been hit yet,
-// similar to how Writable.write() returns true if you should
-// write() some more.
-Readable.prototype.push = function (chunk, encoding) {
- var state = this._readableState;
- var skipChunkCheck;
-
- if (!state.objectMode) {
- if (typeof chunk === 'string') {
- encoding = encoding || state.defaultEncoding;
- if (encoding !== state.encoding) {
- chunk = Buffer.from(chunk, encoding);
- encoding = '';
- }
- skipChunkCheck = true;
- }
- } else {
- skipChunkCheck = true;
- }
-
- return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);
-};
-
-// Unshift should *always* be something directly out of read()
-Readable.prototype.unshift = function (chunk) {
- return readableAddChunk(this, chunk, null, true, false);
-};
-
-function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {
- var state = stream._readableState;
- if (chunk === null) {
- state.reading = false;
- onEofChunk(stream, state);
- } else {
- var er;
- if (!skipChunkCheck) er = chunkInvalid(state, chunk);
- if (er) {
- stream.emit('error', er);
- } else if (state.objectMode || chunk && chunk.length > 0) {
- if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {
- chunk = _uint8ArrayToBuffer(chunk);
- }
-
- if (addToFront) {
- if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);
- } else if (state.ended) {
- stream.emit('error', new Error('stream.push() after EOF'));
- } else {
- state.reading = false;
- if (state.decoder && !encoding) {
- chunk = state.decoder.write(chunk);
- if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);
- } else {
- addChunk(stream, state, chunk, false);
- }
- }
- } else if (!addToFront) {
- state.reading = false;
- }
- }
-
- return needMoreData(state);
-}
-
-function addChunk(stream, state, chunk, addToFront) {
- if (state.flowing && state.length === 0 && !state.sync) {
- stream.emit('data', chunk);
- stream.read(0);
- } else {
- // update the buffer info.
- state.length += state.objectMode ? 1 : chunk.length;
- if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);
-
- if (state.needReadable) emitReadable(stream);
- }
- maybeReadMore(stream, state);
-}
-
-function chunkInvalid(state, chunk) {
- var er;
- if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {
- er = new TypeError('Invalid non-string/buffer chunk');
- }
- return er;
-}
-
-// if it's past the high water mark, we can push in some more.
-// Also, if we have no data yet, we can stand some
-// more bytes. This is to work around cases where hwm=0,
-// such as the repl. Also, if the push() triggered a
-// readable event, and the user called read(largeNumber) such that
-// needReadable was set, then we ought to push more, so that another
-// 'readable' event will be triggered.
-function needMoreData(state) {
- return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);
-}
-
-Readable.prototype.isPaused = function () {
- return this._readableState.flowing === false;
-};
-
-// backwards compatibility.
-Readable.prototype.setEncoding = function (enc) {
- if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder;
- this._readableState.decoder = new StringDecoder(enc);
- this._readableState.encoding = enc;
- return this;
-};
-
-// Don't raise the hwm > 8MB
-var MAX_HWM = 0x800000;
-function computeNewHighWaterMark(n) {
- if (n >= MAX_HWM) {
- n = MAX_HWM;
- } else {
- // Get the next highest power of 2 to prevent increasing hwm excessively in
- // tiny amounts
- n--;
- n |= n >>> 1;
- n |= n >>> 2;
- n |= n >>> 4;
- n |= n >>> 8;
- n |= n >>> 16;
- n++;
- }
- return n;
-}
-
-// This function is designed to be inlinable, so please take care when making
-// changes to the function body.
-function howMuchToRead(n, state) {
- if (n <= 0 || state.length === 0 && state.ended) return 0;
- if (state.objectMode) return 1;
- if (n !== n) {
- // Only flow one buffer at a time
- if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;
- }
- // If we're asking for more than the current hwm, then raise the hwm.
- if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);
- if (n <= state.length) return n;
- // Don't have enough
- if (!state.ended) {
- state.needReadable = true;
- return 0;
- }
- return state.length;
-}
-
-// you can override either this method, or the async _read(n) below.
-Readable.prototype.read = function (n) {
- debug('read', n);
- n = parseInt(n, 10);
- var state = this._readableState;
- var nOrig = n;
-
- if (n !== 0) state.emittedReadable = false;
-
- // if we're doing read(0) to trigger a readable event, but we
- // already have a bunch of data in the buffer, then just trigger
- // the 'readable' event and move on.
- if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {
- debug('read: emitReadable', state.length, state.ended);
- if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);
- return null;
- }
-
- n = howMuchToRead(n, state);
-
- // if we've ended, and we're now clear, then finish it up.
- if (n === 0 && state.ended) {
- if (state.length === 0) endReadable(this);
- return null;
- }
-
- // All the actual chunk generation logic needs to be
- // *below* the call to _read. The reason is that in certain
- // synthetic stream cases, such as passthrough streams, _read
- // may be a completely synchronous operation which may change
- // the state of the read buffer, providing enough data when
- // before there was *not* enough.
- //
- // So, the steps are:
- // 1. Figure out what the state of things will be after we do
- // a read from the buffer.
- //
- // 2. If that resulting state will trigger a _read, then call _read.
- // Note that this may be asynchronous, or synchronous. Yes, it is
- // deeply ugly to write APIs this way, but that still doesn't mean
- // that the Readable class should behave improperly, as streams are
- // designed to be sync/async agnostic.
- // Take note if the _read call is sync or async (ie, if the read call
- // has returned yet), so that we know whether or not it's safe to emit
- // 'readable' etc.
- //
- // 3. Actually pull the requested chunks out of the buffer and return.
-
- // if we need a readable event, then we need to do some reading.
- var doRead = state.needReadable;
- debug('need readable', doRead);
-
- // if we currently have less than the highWaterMark, then also read some
- if (state.length === 0 || state.length - n < state.highWaterMark) {
- doRead = true;
- debug('length less than watermark', doRead);
- }
-
- // however, if we've ended, then there's no point, and if we're already
- // reading, then it's unnecessary.
- if (state.ended || state.reading) {
- doRead = false;
- debug('reading or ended', doRead);
- } else if (doRead) {
- debug('do read');
- state.reading = true;
- state.sync = true;
- // if the length is currently zero, then we *need* a readable event.
- if (state.length === 0) state.needReadable = true;
- // call internal read method
- this._read(state.highWaterMark);
- state.sync = false;
- // If _read pushed data synchronously, then `reading` will be false,
- // and we need to re-evaluate how much data we can return to the user.
- if (!state.reading) n = howMuchToRead(nOrig, state);
- }
-
- var ret;
- if (n > 0) ret = fromList(n, state);else ret = null;
-
- if (ret === null) {
- state.needReadable = true;
- n = 0;
- } else {
- state.length -= n;
- }
-
- if (state.length === 0) {
- // If we have nothing in the buffer, then we want to know
- // as soon as we *do* get something into the buffer.
- if (!state.ended) state.needReadable = true;
-
- // If we tried to read() past the EOF, then emit end on the next tick.
- if (nOrig !== n && state.ended) endReadable(this);
- }
-
- if (ret !== null) this.emit('data', ret);
-
- return ret;
-};
-
-function onEofChunk(stream, state) {
- if (state.ended) return;
- if (state.decoder) {
- var chunk = state.decoder.end();
- if (chunk && chunk.length) {
- state.buffer.push(chunk);
- state.length += state.objectMode ? 1 : chunk.length;
- }
- }
- state.ended = true;
-
- // emit 'readable' now to make sure it gets picked up.
- emitReadable(stream);
-}
-
-// Don't emit readable right away in sync mode, because this can trigger
-// another read() call => stack overflow. This way, it might trigger
-// a nextTick recursion warning, but that's not so bad.
-function emitReadable(stream) {
- var state = stream._readableState;
- state.needReadable = false;
- if (!state.emittedReadable) {
- debug('emitReadable', state.flowing);
- state.emittedReadable = true;
- if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);
- }
-}
-
-function emitReadable_(stream) {
- debug('emit readable');
- stream.emit('readable');
- flow(stream);
-}
-
-// at this point, the user has presumably seen the 'readable' event,
-// and called read() to consume some data. that may have triggered
-// in turn another _read(n) call, in which case reading = true if
-// it's in progress.
-// However, if we're not ended, or reading, and the length < hwm,
-// then go ahead and try to read some more preemptively.
-function maybeReadMore(stream, state) {
- if (!state.readingMore) {
- state.readingMore = true;
- pna.nextTick(maybeReadMore_, stream, state);
- }
-}
-
-function maybeReadMore_(stream, state) {
- var len = state.length;
- while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {
- debug('maybeReadMore read 0');
- stream.read(0);
- if (len === state.length)
- // didn't get any data, stop spinning.
- break;else len = state.length;
- }
- state.readingMore = false;
-}
-
-// abstract method. to be overridden in specific implementation classes.
-// call cb(er, data) where data is <= n in length.
-// for virtual (non-string, non-buffer) streams, "length" is somewhat
-// arbitrary, and perhaps not very meaningful.
-Readable.prototype._read = function (n) {
- this.emit('error', new Error('_read() is not implemented'));
-};
-
-Readable.prototype.pipe = function (dest, pipeOpts) {
- var src = this;
- var state = this._readableState;
-
- switch (state.pipesCount) {
- case 0:
- state.pipes = dest;
- break;
- case 1:
- state.pipes = [state.pipes, dest];
- break;
- default:
- state.pipes.push(dest);
- break;
- }
- state.pipesCount += 1;
- debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);
-
- var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;
-
- var endFn = doEnd ? onend : unpipe;
- if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);
-
- dest.on('unpipe', onunpipe);
- function onunpipe(readable, unpipeInfo) {
- debug('onunpipe');
- if (readable === src) {
- if (unpipeInfo && unpipeInfo.hasUnpiped === false) {
- unpipeInfo.hasUnpiped = true;
- cleanup();
- }
- }
- }
-
- function onend() {
- debug('onend');
- dest.end();
- }
-
- // when the dest drains, it reduces the awaitDrain counter
- // on the source. This would be more elegant with a .once()
- // handler in flow(), but adding and removing repeatedly is
- // too slow.
- var ondrain = pipeOnDrain(src);
- dest.on('drain', ondrain);
-
- var cleanedUp = false;
- function cleanup() {
- debug('cleanup');
- // cleanup event handlers once the pipe is broken
- dest.removeListener('close', onclose);
- dest.removeListener('finish', onfinish);
- dest.removeListener('drain', ondrain);
- dest.removeListener('error', onerror);
- dest.removeListener('unpipe', onunpipe);
- src.removeListener('end', onend);
- src.removeListener('end', unpipe);
- src.removeListener('data', ondata);
-
- cleanedUp = true;
-
- // if the reader is waiting for a drain event from this
- // specific writer, then it would cause it to never start
- // flowing again.
- // So, if this is awaiting a drain, then we just call it now.
- // If we don't know, then assume that we are waiting for one.
- if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();
- }
-
- // If the user pushes more data while we're writing to dest then we'll end up
- // in ondata again. However, we only want to increase awaitDrain once because
- // dest will only emit one 'drain' event for the multiple writes.
- // => Introduce a guard on increasing awaitDrain.
- var increasedAwaitDrain = false;
- src.on('data', ondata);
- function ondata(chunk) {
- debug('ondata');
- increasedAwaitDrain = false;
- var ret = dest.write(chunk);
- if (false === ret && !increasedAwaitDrain) {
- // If the user unpiped during `dest.write()`, it is possible
- // to get stuck in a permanently paused state if that write
- // also returned false.
- // => Check whether `dest` is still a piping destination.
- if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {
- debug('false write response, pause', src._readableState.awaitDrain);
- src._readableState.awaitDrain++;
- increasedAwaitDrain = true;
- }
- src.pause();
- }
- }
-
- // if the dest has an error, then stop piping into it.
- // however, don't suppress the throwing behavior for this.
- function onerror(er) {
- debug('onerror', er);
- unpipe();
- dest.removeListener('error', onerror);
- if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);
- }
-
- // Make sure our error handler is attached before userland ones.
- prependListener(dest, 'error', onerror);
-
- // Both close and finish should trigger unpipe, but only once.
- function onclose() {
- dest.removeListener('finish', onfinish);
- unpipe();
- }
- dest.once('close', onclose);
- function onfinish() {
- debug('onfinish');
- dest.removeListener('close', onclose);
- unpipe();
- }
- dest.once('finish', onfinish);
-
- function unpipe() {
- debug('unpipe');
- src.unpipe(dest);
- }
-
- // tell the dest that it's being piped to
- dest.emit('pipe', src);
-
- // start the flow if it hasn't been started already.
- if (!state.flowing) {
- debug('pipe resume');
- src.resume();
- }
-
- return dest;
-};
-
-function pipeOnDrain(src) {
- return function () {
- var state = src._readableState;
- debug('pipeOnDrain', state.awaitDrain);
- if (state.awaitDrain) state.awaitDrain--;
- if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {
- state.flowing = true;
- flow(src);
- }
- };
-}
-
-Readable.prototype.unpipe = function (dest) {
- var state = this._readableState;
- var unpipeInfo = { hasUnpiped: false };
-
- // if we're not piping anywhere, then do nothing.
- if (state.pipesCount === 0) return this;
-
- // just one destination. most common case.
- if (state.pipesCount === 1) {
- // passed in one, but it's not the right one.
- if (dest && dest !== state.pipes) return this;
-
- if (!dest) dest = state.pipes;
-
- // got a match.
- state.pipes = null;
- state.pipesCount = 0;
- state.flowing = false;
- if (dest) dest.emit('unpipe', this, unpipeInfo);
- return this;
- }
-
- // slow case. multiple pipe destinations.
-
- if (!dest) {
- // remove all.
- var dests = state.pipes;
- var len = state.pipesCount;
- state.pipes = null;
- state.pipesCount = 0;
- state.flowing = false;
-
- for (var i = 0; i < len; i++) {
- dests[i].emit('unpipe', this, unpipeInfo);
- }return this;
- }
-
- // try to find the right one.
- var index = indexOf(state.pipes, dest);
- if (index === -1) return this;
-
- state.pipes.splice(index, 1);
- state.pipesCount -= 1;
- if (state.pipesCount === 1) state.pipes = state.pipes[0];
-
- dest.emit('unpipe', this, unpipeInfo);
-
- return this;
-};
-
-// set up data events if they are asked for
-// Ensure readable listeners eventually get something
-Readable.prototype.on = function (ev, fn) {
- var res = Stream.prototype.on.call(this, ev, fn);
-
- if (ev === 'data') {
- // Start flowing on next tick if stream isn't explicitly paused
- if (this._readableState.flowing !== false) this.resume();
- } else if (ev === 'readable') {
- var state = this._readableState;
- if (!state.endEmitted && !state.readableListening) {
- state.readableListening = state.needReadable = true;
- state.emittedReadable = false;
- if (!state.reading) {
- pna.nextTick(nReadingNextTick, this);
- } else if (state.length) {
- emitReadable(this);
- }
- }
- }
-
- return res;
-};
-Readable.prototype.addListener = Readable.prototype.on;
-
-function nReadingNextTick(self) {
- debug('readable nexttick read 0');
- self.read(0);
-}
-
-// pause() and resume() are remnants of the legacy readable stream API
-// If the user uses them, then switch into old mode.
-Readable.prototype.resume = function () {
- var state = this._readableState;
- if (!state.flowing) {
- debug('resume');
- state.flowing = true;
- resume(this, state);
- }
- return this;
-};
-
-function resume(stream, state) {
- if (!state.resumeScheduled) {
- state.resumeScheduled = true;
- pna.nextTick(resume_, stream, state);
- }
-}
-
-function resume_(stream, state) {
- if (!state.reading) {
- debug('resume read 0');
- stream.read(0);
- }
-
- state.resumeScheduled = false;
- state.awaitDrain = 0;
- stream.emit('resume');
- flow(stream);
- if (state.flowing && !state.reading) stream.read(0);
-}
-
-Readable.prototype.pause = function () {
- debug('call pause flowing=%j', this._readableState.flowing);
- if (false !== this._readableState.flowing) {
- debug('pause');
- this._readableState.flowing = false;
- this.emit('pause');
- }
- return this;
-};
-
-function flow(stream) {
- var state = stream._readableState;
- debug('flow', state.flowing);
- while (state.flowing && stream.read() !== null) {}
-}
-
-// wrap an old-style stream as the async data source.
-// This is *not* part of the readable stream interface.
-// It is an ugly unfortunate mess of history.
-Readable.prototype.wrap = function (stream) {
- var _this = this;
-
- var state = this._readableState;
- var paused = false;
-
- stream.on('end', function () {
- debug('wrapped end');
- if (state.decoder && !state.ended) {
- var chunk = state.decoder.end();
- if (chunk && chunk.length) _this.push(chunk);
- }
-
- _this.push(null);
- });
-
- stream.on('data', function (chunk) {
- debug('wrapped data');
- if (state.decoder) chunk = state.decoder.write(chunk);
-
- // don't skip over falsy values in objectMode
- if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;
-
- var ret = _this.push(chunk);
- if (!ret) {
- paused = true;
- stream.pause();
- }
- });
-
- // proxy all the other methods.
- // important when wrapping filters and duplexes.
- for (var i in stream) {
- if (this[i] === undefined && typeof stream[i] === 'function') {
- this[i] = function (method) {
- return function () {
- return stream[method].apply(stream, arguments);
- };
- }(i);
- }
- }
-
- // proxy certain important events.
- for (var n = 0; n < kProxyEvents.length; n++) {
- stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));
- }
-
- // when we try to consume some more bytes, simply unpause the
- // underlying stream.
- this._read = function (n) {
- debug('wrapped _read', n);
- if (paused) {
- paused = false;
- stream.resume();
- }
- };
-
- return this;
-};
-
-Object.defineProperty(Readable.prototype, 'readableHighWaterMark', {
- // making it explicit this property is not enumerable
- // because otherwise some prototype manipulation in
- // userland will fail
- enumerable: false,
- get: function () {
- return this._readableState.highWaterMark;
- }
-});
-
-// exposed for testing purposes only.
-Readable._fromList = fromList;
-
-// Pluck off n bytes from an array of buffers.
-// Length is the combined lengths of all the buffers in the list.
-// This function is designed to be inlinable, so please take care when making
-// changes to the function body.
-function fromList(n, state) {
- // nothing buffered
- if (state.length === 0) return null;
-
- var ret;
- if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {
- // read it all, truncate the list
- if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);
- state.buffer.clear();
- } else {
- // read part of list
- ret = fromListPartial(n, state.buffer, state.decoder);
- }
-
- return ret;
-}
-
-// Extracts only enough buffered data to satisfy the amount requested.
-// This function is designed to be inlinable, so please take care when making
-// changes to the function body.
-function fromListPartial(n, list, hasStrings) {
- var ret;
- if (n < list.head.data.length) {
- // slice is the same for buffers and strings
- ret = list.head.data.slice(0, n);
- list.head.data = list.head.data.slice(n);
- } else if (n === list.head.data.length) {
- // first chunk is a perfect match
- ret = list.shift();
- } else {
- // result spans more than one buffer
- ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);
- }
- return ret;
-}
-
-// Copies a specified amount of characters from the list of buffered data
-// chunks.
-// This function is designed to be inlinable, so please take care when making
-// changes to the function body.
-function copyFromBufferString(n, list) {
- var p = list.head;
- var c = 1;
- var ret = p.data;
- n -= ret.length;
- while (p = p.next) {
- var str = p.data;
- var nb = n > str.length ? str.length : n;
- if (nb === str.length) ret += str;else ret += str.slice(0, n);
- n -= nb;
- if (n === 0) {
- if (nb === str.length) {
- ++c;
- if (p.next) list.head = p.next;else list.head = list.tail = null;
- } else {
- list.head = p;
- p.data = str.slice(nb);
- }
- break;
- }
- ++c;
- }
- list.length -= c;
- return ret;
-}
-
-// Copies a specified amount of bytes from the list of buffered data chunks.
-// This function is designed to be inlinable, so please take care when making
-// changes to the function body.
-function copyFromBuffer(n, list) {
- var ret = Buffer.allocUnsafe(n);
- var p = list.head;
- var c = 1;
- p.data.copy(ret);
- n -= p.data.length;
- while (p = p.next) {
- var buf = p.data;
- var nb = n > buf.length ? buf.length : n;
- buf.copy(ret, ret.length - n, 0, nb);
- n -= nb;
- if (n === 0) {
- if (nb === buf.length) {
- ++c;
- if (p.next) list.head = p.next;else list.head = list.tail = null;
- } else {
- list.head = p;
- p.data = buf.slice(nb);
- }
- break;
- }
- ++c;
- }
- list.length -= c;
- return ret;
-}
-
-function endReadable(stream) {
- var state = stream._readableState;
-
- // If we get here before consuming all the bytes, then that is a
- // bug in node. Should never happen.
- if (state.length > 0) throw new Error('"endReadable()" called on non-empty stream');
-
- if (!state.endEmitted) {
- state.ended = true;
- pna.nextTick(endReadableNT, state, stream);
- }
-}
-
-function endReadableNT(state, stream) {
- // Check that we didn't get one last unshift.
- if (!state.endEmitted && state.length === 0) {
- state.endEmitted = true;
- stream.readable = false;
- stream.emit('end');
- }
-}
-
-function indexOf(xs, x) {
- for (var i = 0, l = xs.length; i < l; i++) {
- if (xs[i] === x) return i;
- }
- return -1;
-}
\ No newline at end of file
diff --git a/Server/node_modules/readable-stream/lib/_stream_transform.js b/Server/node_modules/readable-stream/lib/_stream_transform.js
deleted file mode 100644
index fcfc105..0000000
--- a/Server/node_modules/readable-stream/lib/_stream_transform.js
+++ /dev/null
@@ -1,214 +0,0 @@
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// 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.
-
-// a transform stream is a readable/writable stream where you do
-// something with the data. Sometimes it's called a "filter",
-// but that's not a great name for it, since that implies a thing where
-// some bits pass through, and others are simply ignored. (That would
-// be a valid example of a transform, of course.)
-//
-// While the output is causally related to the input, it's not a
-// necessarily symmetric or synchronous transformation. For example,
-// a zlib stream might take multiple plain-text writes(), and then
-// emit a single compressed chunk some time in the future.
-//
-// Here's how this works:
-//
-// The Transform stream has all the aspects of the readable and writable
-// stream classes. When you write(chunk), that calls _write(chunk,cb)
-// internally, and returns false if there's a lot of pending writes
-// buffered up. When you call read(), that calls _read(n) until
-// there's enough pending readable data buffered up.
-//
-// In a transform stream, the written data is placed in a buffer. When
-// _read(n) is called, it transforms the queued up data, calling the
-// buffered _write cb's as it consumes chunks. If consuming a single
-// written chunk would result in multiple output chunks, then the first
-// outputted bit calls the readcb, and subsequent chunks just go into
-// the read buffer, and will cause it to emit 'readable' if necessary.
-//
-// This way, back-pressure is actually determined by the reading side,
-// since _read has to be called to start processing a new chunk. However,
-// a pathological inflate type of transform can cause excessive buffering
-// here. For example, imagine a stream where every byte of input is
-// interpreted as an integer from 0-255, and then results in that many
-// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in
-// 1kb of data being output. In this case, you could write a very small
-// amount of input, and end up with a very large amount of output. In
-// such a pathological inflating mechanism, there'd be no way to tell
-// the system to stop doing the transform. A single 4MB write could
-// cause the system to run out of memory.
-//
-// However, even in such a pathological case, only a single written chunk
-// would be consumed, and then the rest would wait (un-transformed) until
-// the results of the previous transformed chunk were consumed.
-
-'use strict';
-
-module.exports = Transform;
-
-var Duplex = require('./_stream_duplex');
-
-/*<replacement>*/
-var util = Object.create(require('core-util-is'));
-util.inherits = require('inherits');
-/*</replacement>*/
-
-util.inherits(Transform, Duplex);
-
-function afterTransform(er, data) {
- var ts = this._transformState;
- ts.transforming = false;
-
- var cb = ts.writecb;
-
- if (!cb) {
- return this.emit('error', new Error('write callback called multiple times'));
- }
-
- ts.writechunk = null;
- ts.writecb = null;
-
- if (data != null) // single equals check for both `null` and `undefined`
- this.push(data);
-
- cb(er);
-
- var rs = this._readableState;
- rs.reading = false;
- if (rs.needReadable || rs.length < rs.highWaterMark) {
- this._read(rs.highWaterMark);
- }
-}
-
-function Transform(options) {
- if (!(this instanceof Transform)) return new Transform(options);
-
- Duplex.call(this, options);
-
- this._transformState = {
- afterTransform: afterTransform.bind(this),
- needTransform: false,
- transforming: false,
- writecb: null,
- writechunk: null,
- writeencoding: null
- };
-
- // start out asking for a readable event once data is transformed.
- this._readableState.needReadable = true;
-
- // we have implemented the _read method, and done the other things
- // that Readable wants before the first _read call, so unset the
- // sync guard flag.
- this._readableState.sync = false;
-
- if (options) {
- if (typeof options.transform === 'function') this._transform = options.transform;
-
- if (typeof options.flush === 'function') this._flush = options.flush;
- }
-
- // When the writable side finishes, then flush out anything remaining.
- this.on('prefinish', prefinish);
-}
-
-function prefinish() {
- var _this = this;
-
- if (typeof this._flush === 'function') {
- this._flush(function (er, data) {
- done(_this, er, data);
- });
- } else {
- done(this, null, null);
- }
-}
-
-Transform.prototype.push = function (chunk, encoding) {
- this._transformState.needTransform = false;
- return Duplex.prototype.push.call(this, chunk, encoding);
-};
-
-// This is the part where you do stuff!
-// override this function in implementation classes.
-// 'chunk' is an input chunk.
-//
-// Call `push(newChunk)` to pass along transformed output
-// to the readable side. You may call 'push' zero or more times.
-//
-// Call `cb(err)` when you are done with this chunk. If you pass
-// an error, then that'll put the hurt on the whole operation. If you
-// never call cb(), then you'll never get another chunk.
-Transform.prototype._transform = function (chunk, encoding, cb) {
- throw new Error('_transform() is not implemented');
-};
-
-Transform.prototype._write = function (chunk, encoding, cb) {
- var ts = this._transformState;
- ts.writecb = cb;
- ts.writechunk = chunk;
- ts.writeencoding = encoding;
- if (!ts.transforming) {
- var rs = this._readableState;
- if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);
- }
-};
-
-// Doesn't matter what the args are here.
-// _transform does all the work.
-// That we got here means that the readable side wants more data.
-Transform.prototype._read = function (n) {
- var ts = this._transformState;
-
- if (ts.writechunk !== null && ts.writecb && !ts.transforming) {
- ts.transforming = true;
- this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);
- } else {
- // mark that we need a transform, so that any data that comes in
- // will get processed, now that we've asked for it.
- ts.needTransform = true;
- }
-};
-
-Transform.prototype._destroy = function (err, cb) {
- var _this2 = this;
-
- Duplex.prototype._destroy.call(this, err, function (err2) {
- cb(err2);
- _this2.emit('close');
- });
-};
-
-function done(stream, er, data) {
- if (er) return stream.emit('error', er);
-
- if (data != null) // single equals check for both `null` and `undefined`
- stream.push(data);
-
- // if there's nothing in the write buffer, then that means
- // that nothing more will ever be provided
- if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');
-
- if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');
-
- return stream.push(null);
-}
\ No newline at end of file
diff --git a/Server/node_modules/readable-stream/lib/_stream_writable.js b/Server/node_modules/readable-stream/lib/_stream_writable.js
deleted file mode 100644
index b0b0220..0000000
--- a/Server/node_modules/readable-stream/lib/_stream_writable.js
+++ /dev/null
@@ -1,687 +0,0 @@
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// 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.
-
-// A bit simpler than readable streams.
-// Implement an async ._write(chunk, encoding, cb), and it'll handle all
-// the drain event emission and buffering.
-
-'use strict';
-
-/*<replacement>*/
-
-var pna = require('process-nextick-args');
-/*</replacement>*/
-
-module.exports = Writable;
-
-/* <replacement> */
-function WriteReq(chunk, encoding, cb) {
- this.chunk = chunk;
- this.encoding = encoding;
- this.callback = cb;
- this.next = null;
-}
-
-// It seems a linked list but it is not
-// there will be only 2 of these for each stream
-function CorkedRequest(state) {
- var _this = this;
-
- this.next = null;
- this.entry = null;
- this.finish = function () {
- onCorkedFinish(_this, state);
- };
-}
-/* </replacement> */
-
-/*<replacement>*/
-var asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;
-/*</replacement>*/
-
-/*<replacement>*/
-var Duplex;
-/*</replacement>*/
-
-Writable.WritableState = WritableState;
-
-/*<replacement>*/
-var util = Object.create(require('core-util-is'));
-util.inherits = require('inherits');
-/*</replacement>*/
-
-/*<replacement>*/
-var internalUtil = {
- deprecate: require('util-deprecate')
-};
-/*</replacement>*/
-
-/*<replacement>*/
-var Stream = require('./internal/streams/stream');
-/*</replacement>*/
-
-/*<replacement>*/
-
-var Buffer = require('safe-buffer').Buffer;
-var OurUint8Array = global.Uint8Array || function () {};
-function _uint8ArrayToBuffer(chunk) {
- return Buffer.from(chunk);
-}
-function _isUint8Array(obj) {
- return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
-}
-
-/*</replacement>*/
-
-var destroyImpl = require('./internal/streams/destroy');
-
-util.inherits(Writable, Stream);
-
-function nop() {}
-
-function WritableState(options, stream) {
- Duplex = Duplex || require('./_stream_duplex');
-
- options = options || {};
-
- // Duplex streams are both readable and writable, but share
- // the same options object.
- // However, some cases require setting options to different
- // values for the readable and the writable sides of the duplex stream.
- // These options can be provided separately as readableXXX and writableXXX.
- var isDuplex = stream instanceof Duplex;
-
- // object stream flag to indicate whether or not this stream
- // contains buffers or objects.
- this.objectMode = !!options.objectMode;
-
- if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
-
- // the point at which write() starts returning false
- // Note: 0 is a valid value, means that we always return false if
- // the entire buffer is not flushed immediately on write()
- var hwm = options.highWaterMark;
- var writableHwm = options.writableHighWaterMark;
- var defaultHwm = this.objectMode ? 16 : 16 * 1024;
-
- if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;
-
- // cast to ints.
- this.highWaterMark = Math.floor(this.highWaterMark);
-
- // if _final has been called
- this.finalCalled = false;
-
- // drain event flag.
- this.needDrain = false;
- // at the start of calling end()
- this.ending = false;
- // when end() has been called, and returned
- this.ended = false;
- // when 'finish' is emitted
- this.finished = false;
-
- // has it been destroyed
- this.destroyed = false;
-
- // should we decode strings into buffers before passing to _write?
- // this is here so that some node-core streams can optimize string
- // handling at a lower level.
- var noDecode = options.decodeStrings === false;
- this.decodeStrings = !noDecode;
-
- // Crypto is kind of old and crusty. Historically, its default string
- // encoding is 'binary' so we have to make this configurable.
- // Everything else in the universe uses 'utf8', though.
- this.defaultEncoding = options.defaultEncoding || 'utf8';
-
- // not an actual buffer we keep track of, but a measurement
- // of how much we're waiting to get pushed to some underlying
- // socket or file.
- this.length = 0;
-
- // a flag to see when we're in the middle of a write.
- this.writing = false;
-
- // when true all writes will be buffered until .uncork() call
- this.corked = 0;
-
- // a flag to be able to tell if the onwrite cb is called immediately,
- // or on a later tick. We set this to true at first, because any
- // actions that shouldn't happen until "later" should generally also
- // not happen before the first write call.
- this.sync = true;
-
- // a flag to know if we're processing previously buffered items, which
- // may call the _write() callback in the same tick, so that we don't
- // end up in an overlapped onwrite situation.
- this.bufferProcessing = false;
-
- // the callback that's passed to _write(chunk,cb)
- this.onwrite = function (er) {
- onwrite(stream, er);
- };
-
- // the callback that the user supplies to write(chunk,encoding,cb)
- this.writecb = null;
-
- // the amount that is being written when _write is called.
- this.writelen = 0;
-
- this.bufferedRequest = null;
- this.lastBufferedRequest = null;
-
- // number of pending user-supplied write callbacks
- // this must be 0 before 'finish' can be emitted
- this.pendingcb = 0;
-
- // emit prefinish if the only thing we're waiting for is _write cbs
- // This is relevant for synchronous Transform streams
- this.prefinished = false;
-
- // True if the error was already emitted and should not be thrown again
- this.errorEmitted = false;
-
- // count buffered requests
- this.bufferedRequestCount = 0;
-
- // allocate the first CorkedRequest, there is always
- // one allocated and free to use, and we maintain at most two
- this.corkedRequestsFree = new CorkedRequest(this);
-}
-
-WritableState.prototype.getBuffer = function getBuffer() {
- var current = this.bufferedRequest;
- var out = [];
- while (current) {
- out.push(current);
- current = current.next;
- }
- return out;
-};
-
-(function () {
- try {
- Object.defineProperty(WritableState.prototype, 'buffer', {
- get: internalUtil.deprecate(function () {
- return this.getBuffer();
- }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')
- });
- } catch (_) {}
-})();
-
-// Test _writableState for inheritance to account for Duplex streams,
-// whose prototype chain only points to Readable.
-var realHasInstance;
-if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {
- realHasInstance = Function.prototype[Symbol.hasInstance];
- Object.defineProperty(Writable, Symbol.hasInstance, {
- value: function (object) {
- if (realHasInstance.call(this, object)) return true;
- if (this !== Writable) return false;
-
- return object && object._writableState instanceof WritableState;
- }
- });
-} else {
- realHasInstance = function (object) {
- return object instanceof this;
- };
-}
-
-function Writable(options) {
- Duplex = Duplex || require('./_stream_duplex');
-
- // Writable ctor is applied to Duplexes, too.
- // `realHasInstance` is necessary because using plain `instanceof`
- // would return false, as no `_writableState` property is attached.
-
- // Trying to use the custom `instanceof` for Writable here will also break the
- // Node.js LazyTransform implementation, which has a non-trivial getter for
- // `_writableState` that would lead to infinite recursion.
- if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
- return new Writable(options);
- }
-
- this._writableState = new WritableState(options, this);
-
- // legacy.
- this.writable = true;
-
- if (options) {
- if (typeof options.write === 'function') this._write = options.write;
-
- if (typeof options.writev === 'function') this._writev = options.writev;
-
- if (typeof options.destroy === 'function') this._destroy = options.destroy;
-
- if (typeof options.final === 'function') this._final = options.final;
- }
-
- Stream.call(this);
-}
-
-// Otherwise people can pipe Writable streams, which is just wrong.
-Writable.prototype.pipe = function () {
- this.emit('error', new Error('Cannot pipe, not readable'));
-};
-
-function writeAfterEnd(stream, cb) {
- var er = new Error('write after end');
- // TODO: defer error events consistently everywhere, not just the cb
- stream.emit('error', er);
- pna.nextTick(cb, er);
-}
-
-// Checks that a user-supplied chunk is valid, especially for the particular
-// mode the stream is in. Currently this means that `null` is never accepted
-// and undefined/non-string values are only allowed in object mode.
-function validChunk(stream, state, chunk, cb) {
- var valid = true;
- var er = false;
-
- if (chunk === null) {
- er = new TypeError('May not write null values to stream');
- } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {
- er = new TypeError('Invalid non-string/buffer chunk');
- }
- if (er) {
- stream.emit('error', er);
- pna.nextTick(cb, er);
- valid = false;
- }
- return valid;
-}
-
-Writable.prototype.write = function (chunk, encoding, cb) {
- var state = this._writableState;
- var ret = false;
- var isBuf = !state.objectMode && _isUint8Array(chunk);
-
- if (isBuf && !Buffer.isBuffer(chunk)) {
- chunk = _uint8ArrayToBuffer(chunk);
- }
-
- if (typeof encoding === 'function') {
- cb = encoding;
- encoding = null;
- }
-
- if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;
-
- if (typeof cb !== 'function') cb = nop;
-
- if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {
- state.pendingcb++;
- ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);
- }
-
- return ret;
-};
-
-Writable.prototype.cork = function () {
- var state = this._writableState;
-
- state.corked++;
-};
-
-Writable.prototype.uncork = function () {
- var state = this._writableState;
-
- if (state.corked) {
- state.corked--;
-
- if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);
- }
-};
-
-Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {
- // node::ParseEncoding() requires lower case.
- if (typeof encoding === 'string') encoding = encoding.toLowerCase();
- if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);
- this._writableState.defaultEncoding = encoding;
- return this;
-};
-
-function decodeChunk(state, chunk, encoding) {
- if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {
- chunk = Buffer.from(chunk, encoding);
- }
- return chunk;
-}
-
-Object.defineProperty(Writable.prototype, 'writableHighWaterMark', {
- // making it explicit this property is not enumerable
- // because otherwise some prototype manipulation in
- // userland will fail
- enumerable: false,
- get: function () {
- return this._writableState.highWaterMark;
- }
-});
-
-// if we're already writing something, then just put this
-// in the queue, and wait our turn. Otherwise, call _write
-// If we return false, then we need a drain event, so set that flag.
-function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {
- if (!isBuf) {
- var newChunk = decodeChunk(state, chunk, encoding);
- if (chunk !== newChunk) {
- isBuf = true;
- encoding = 'buffer';
- chunk = newChunk;
- }
- }
- var len = state.objectMode ? 1 : chunk.length;
-
- state.length += len;
-
- var ret = state.length < state.highWaterMark;
- // we must ensure that previous needDrain will not be reset to false.
- if (!ret) state.needDrain = true;
-
- if (state.writing || state.corked) {
- var last = state.lastBufferedRequest;
- state.lastBufferedRequest = {
- chunk: chunk,
- encoding: encoding,
- isBuf: isBuf,
- callback: cb,
- next: null
- };
- if (last) {
- last.next = state.lastBufferedRequest;
- } else {
- state.bufferedRequest = state.lastBufferedRequest;
- }
- state.bufferedRequestCount += 1;
- } else {
- doWrite(stream, state, false, len, chunk, encoding, cb);
- }
-
- return ret;
-}
-
-function doWrite(stream, state, writev, len, chunk, encoding, cb) {
- state.writelen = len;
- state.writecb = cb;
- state.writing = true;
- state.sync = true;
- if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);
- state.sync = false;
-}
-
-function onwriteError(stream, state, sync, er, cb) {
- --state.pendingcb;
-
- if (sync) {
- // defer the callback if we are being called synchronously
- // to avoid piling up things on the stack
- pna.nextTick(cb, er);
- // this can emit finish, and it will always happen
- // after error
- pna.nextTick(finishMaybe, stream, state);
- stream._writableState.errorEmitted = true;
- stream.emit('error', er);
- } else {
- // the caller expect this to happen before if
- // it is async
- cb(er);
- stream._writableState.errorEmitted = true;
- stream.emit('error', er);
- // this can emit finish, but finish must
- // always follow error
- finishMaybe(stream, state);
- }
-}
-
-function onwriteStateUpdate(state) {
- state.writing = false;
- state.writecb = null;
- state.length -= state.writelen;
- state.writelen = 0;
-}
-
-function onwrite(stream, er) {
- var state = stream._writableState;
- var sync = state.sync;
- var cb = state.writecb;
-
- onwriteStateUpdate(state);
-
- if (er) onwriteError(stream, state, sync, er, cb);else {
- // Check if we're actually ready to finish, but don't emit yet
- var finished = needFinish(state);
-
- if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {
- clearBuffer(stream, state);
- }
-
- if (sync) {
- /*<replacement>*/
- asyncWrite(afterWrite, stream, state, finished, cb);
- /*</replacement>*/
- } else {
- afterWrite(stream, state, finished, cb);
- }
- }
-}
-
-function afterWrite(stream, state, finished, cb) {
- if (!finished) onwriteDrain(stream, state);
- state.pendingcb--;
- cb();
- finishMaybe(stream, state);
-}
-
-// Must force callback to be called on nextTick, so that we don't
-// emit 'drain' before the write() consumer gets the 'false' return
-// value, and has a chance to attach a 'drain' listener.
-function onwriteDrain(stream, state) {
- if (state.length === 0 && state.needDrain) {
- state.needDrain = false;
- stream.emit('drain');
- }
-}
-
-// if there's something in the buffer waiting, then process it
-function clearBuffer(stream, state) {
- state.bufferProcessing = true;
- var entry = state.bufferedRequest;
-
- if (stream._writev && entry && entry.next) {
- // Fast case, write everything using _writev()
- var l = state.bufferedRequestCount;
- var buffer = new Array(l);
- var holder = state.corkedRequestsFree;
- holder.entry = entry;
-
- var count = 0;
- var allBuffers = true;
- while (entry) {
- buffer[count] = entry;
- if (!entry.isBuf) allBuffers = false;
- entry = entry.next;
- count += 1;
- }
- buffer.allBuffers = allBuffers;
-
- doWrite(stream, state, true, state.length, buffer, '', holder.finish);
-
- // doWrite is almost always async, defer these to save a bit of time
- // as the hot path ends with doWrite
- state.pendingcb++;
- state.lastBufferedRequest = null;
- if (holder.next) {
- state.corkedRequestsFree = holder.next;
- holder.next = null;
- } else {
- state.corkedRequestsFree = new CorkedRequest(state);
- }
- state.bufferedRequestCount = 0;
- } else {
- // Slow case, write chunks one-by-one
- while (entry) {
- var chunk = entry.chunk;
- var encoding = entry.encoding;
- var cb = entry.callback;
- var len = state.objectMode ? 1 : chunk.length;
-
- doWrite(stream, state, false, len, chunk, encoding, cb);
- entry = entry.next;
- state.bufferedRequestCount--;
- // if we didn't call the onwrite immediately, then
- // it means that we need to wait until it does.
- // also, that means that the chunk and cb are currently
- // being processed, so move the buffer counter past them.
- if (state.writing) {
- break;
- }
- }
-
- if (entry === null) state.lastBufferedRequest = null;
- }
-
- state.bufferedRequest = entry;
- state.bufferProcessing = false;
-}
-
-Writable.prototype._write = function (chunk, encoding, cb) {
- cb(new Error('_write() is not implemented'));
-};
-
-Writable.prototype._writev = null;
-
-Writable.prototype.end = function (chunk, encoding, cb) {
- var state = this._writableState;
-
- if (typeof chunk === 'function') {
- cb = chunk;
- chunk = null;
- encoding = null;
- } else if (typeof encoding === 'function') {
- cb = encoding;
- encoding = null;
- }
-
- if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);
-
- // .end() fully uncorks
- if (state.corked) {
- state.corked = 1;
- this.uncork();
- }
-
- // ignore unnecessary end() calls.
- if (!state.ending && !state.finished) endWritable(this, state, cb);
-};
-
-function needFinish(state) {
- return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;
-}
-function callFinal(stream, state) {
- stream._final(function (err) {
- state.pendingcb--;
- if (err) {
- stream.emit('error', err);
- }
- state.prefinished = true;
- stream.emit('prefinish');
- finishMaybe(stream, state);
- });
-}
-function prefinish(stream, state) {
- if (!state.prefinished && !state.finalCalled) {
- if (typeof stream._final === 'function') {
- state.pendingcb++;
- state.finalCalled = true;
- pna.nextTick(callFinal, stream, state);
- } else {
- state.prefinished = true;
- stream.emit('prefinish');
- }
- }
-}
-
-function finishMaybe(stream, state) {
- var need = needFinish(state);
- if (need) {
- prefinish(stream, state);
- if (state.pendingcb === 0) {
- state.finished = true;
- stream.emit('finish');
- }
- }
- return need;
-}
-
-function endWritable(stream, state, cb) {
- state.ending = true;
- finishMaybe(stream, state);
- if (cb) {
- if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);
- }
- state.ended = true;
- stream.writable = false;
-}
-
-function onCorkedFinish(corkReq, state, err) {
- var entry = corkReq.entry;
- corkReq.entry = null;
- while (entry) {
- var cb = entry.callback;
- state.pendingcb--;
- cb(err);
- entry = entry.next;
- }
- if (state.corkedRequestsFree) {
- state.corkedRequestsFree.next = corkReq;
- } else {
- state.corkedRequestsFree = corkReq;
- }
-}
-
-Object.defineProperty(Writable.prototype, 'destroyed', {
- get: function () {
- if (this._writableState === undefined) {
- return false;
- }
- return this._writableState.destroyed;
- },
- set: function (value) {
- // we ignore the value if the stream
- // has not been initialized yet
- if (!this._writableState) {
- return;
- }
-
- // backward compatibility, the user is explicitly
- // managing destroyed
- this._writableState.destroyed = value;
- }
-});
-
-Writable.prototype.destroy = destroyImpl.destroy;
-Writable.prototype._undestroy = destroyImpl.undestroy;
-Writable.prototype._destroy = function (err, cb) {
- this.end();
- cb(err);
-};
\ No newline at end of file
diff --git a/Server/node_modules/readable-stream/lib/internal/streams/BufferList.js b/Server/node_modules/readable-stream/lib/internal/streams/BufferList.js
deleted file mode 100644
index aefc68b..0000000
--- a/Server/node_modules/readable-stream/lib/internal/streams/BufferList.js
+++ /dev/null
@@ -1,79 +0,0 @@
-'use strict';
-
-function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
-
-var Buffer = require('safe-buffer').Buffer;
-var util = require('util');
-
-function copyBuffer(src, target, offset) {
- src.copy(target, offset);
-}
-
-module.exports = function () {
- function BufferList() {
- _classCallCheck(this, BufferList);
-
- this.head = null;
- this.tail = null;
- this.length = 0;
- }
-
- BufferList.prototype.push = function push(v) {
- var entry = { data: v, next: null };
- if (this.length > 0) this.tail.next = entry;else this.head = entry;
- this.tail = entry;
- ++this.length;
- };
-
- BufferList.prototype.unshift = function unshift(v) {
- var entry = { data: v, next: this.head };
- if (this.length === 0) this.tail = entry;
- this.head = entry;
- ++this.length;
- };
-
- BufferList.prototype.shift = function shift() {
- if (this.length === 0) return;
- var ret = this.head.data;
- if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;
- --this.length;
- return ret;
- };
-
- BufferList.prototype.clear = function clear() {
- this.head = this.tail = null;
- this.length = 0;
- };
-
- BufferList.prototype.join = function join(s) {
- if (this.length === 0) return '';
- var p = this.head;
- var ret = '' + p.data;
- while (p = p.next) {
- ret += s + p.data;
- }return ret;
- };
-
- BufferList.prototype.concat = function concat(n) {
- if (this.length === 0) return Buffer.alloc(0);
- if (this.length === 1) return this.head.data;
- var ret = Buffer.allocUnsafe(n >>> 0);
- var p = this.head;
- var i = 0;
- while (p) {
- copyBuffer(p.data, ret, i);
- i += p.data.length;
- p = p.next;
- }
- return ret;
- };
-
- return BufferList;
-}();
-
-if (util && util.inspect && util.inspect.custom) {
- module.exports.prototype[util.inspect.custom] = function () {
- var obj = util.inspect({ length: this.length });
- return this.constructor.name + ' ' + obj;
- };
-}
\ No newline at end of file
diff --git a/Server/node_modules/readable-stream/lib/internal/streams/destroy.js b/Server/node_modules/readable-stream/lib/internal/streams/destroy.js
deleted file mode 100644
index 5a0a0d8..0000000
--- a/Server/node_modules/readable-stream/lib/internal/streams/destroy.js
+++ /dev/null
@@ -1,74 +0,0 @@
-'use strict';
-
-/*<replacement>*/
-
-var pna = require('process-nextick-args');
-/*</replacement>*/
-
-// undocumented cb() API, needed for core, not for public API
-function destroy(err, cb) {
- var _this = this;
-
- var readableDestroyed = this._readableState && this._readableState.destroyed;
- var writableDestroyed = this._writableState && this._writableState.destroyed;
-
- if (readableDestroyed || writableDestroyed) {
- if (cb) {
- cb(err);
- } else if (err && (!this._writableState || !this._writableState.errorEmitted)) {
- pna.nextTick(emitErrorNT, this, err);
- }
- return this;
- }
-
- // we set destroyed to true before firing error callbacks in order
- // to make it re-entrance safe in case destroy() is called within callbacks
-
- if (this._readableState) {
- this._readableState.destroyed = true;
- }
-
- // if this is a duplex stream mark the writable part as destroyed as well
- if (this._writableState) {
- this._writableState.destroyed = true;
- }
-
- this._destroy(err || null, function (err) {
- if (!cb && err) {
- pna.nextTick(emitErrorNT, _this, err);
- if (_this._writableState) {
- _this._writableState.errorEmitted = true;
- }
- } else if (cb) {
- cb(err);
- }
- });
-
- return this;
-}
-
-function undestroy() {
- if (this._readableState) {
- this._readableState.destroyed = false;
- this._readableState.reading = false;
- this._readableState.ended = false;
- this._readableState.endEmitted = false;
- }
-
- if (this._writableState) {
- this._writableState.destroyed = false;
- this._writableState.ended = false;
- this._writableState.ending = false;
- this._writableState.finished = false;
- this._writableState.errorEmitted = false;
- }
-}
-
-function emitErrorNT(self, err) {
- self.emit('error', err);
-}
-
-module.exports = {
- destroy: destroy,
- undestroy: undestroy
-};
\ No newline at end of file
diff --git a/Server/node_modules/readable-stream/lib/internal/streams/stream-browser.js b/Server/node_modules/readable-stream/lib/internal/streams/stream-browser.js
deleted file mode 100644
index 9332a3f..0000000
--- a/Server/node_modules/readable-stream/lib/internal/streams/stream-browser.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('events').EventEmitter;
diff --git a/Server/node_modules/readable-stream/lib/internal/streams/stream.js b/Server/node_modules/readable-stream/lib/internal/streams/stream.js
deleted file mode 100644
index ce2ad5b..0000000
--- a/Server/node_modules/readable-stream/lib/internal/streams/stream.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('stream');
diff --git a/Server/node_modules/readable-stream/package.json b/Server/node_modules/readable-stream/package.json
deleted file mode 100644
index 48895dc..0000000
--- a/Server/node_modules/readable-stream/package.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "_from": "readable-stream@2.3.7",
- "_id": "readable-stream@2.3.7",
- "_inBundle": false,
- "_integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
- "_location": "/readable-stream",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "readable-stream@2.3.7",
- "name": "readable-stream",
- "escapedName": "readable-stream",
- "rawSpec": "2.3.7",
- "saveSpec": null,
- "fetchSpec": "2.3.7"
- },
- "_requiredBy": [
- "/mysql"
- ],
- "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
- "_shasum": "1eca1cf711aef814c04f62252a36a62f6cb23b57",
- "_spec": "readable-stream@2.3.7",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/mysql",
- "browser": {
- "util": false,
- "./readable.js": "./readable-browser.js",
- "./writable.js": "./writable-browser.js",
- "./duplex.js": "./duplex-browser.js",
- "./lib/internal/streams/stream.js": "./lib/internal/streams/stream-browser.js"
- },
- "bugs": {
- "url": "https://github.com/nodejs/readable-stream/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
- },
- "deprecated": false,
- "description": "Streams3, a user-land copy of the stream library from Node.js",
- "devDependencies": {
- "assert": "^1.4.0",
- "babel-polyfill": "^6.9.1",
- "buffer": "^4.9.0",
- "lolex": "^2.3.2",
- "nyc": "^6.4.0",
- "tap": "^0.7.0",
- "tape": "^4.8.0"
- },
- "homepage": "https://github.com/nodejs/readable-stream#readme",
- "keywords": [
- "readable",
- "stream",
- "pipe"
- ],
- "license": "MIT",
- "main": "readable.js",
- "name": "readable-stream",
- "nyc": {
- "include": [
- "lib/**.js"
- ]
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/nodejs/readable-stream.git"
- },
- "scripts": {
- "ci": "tap test/parallel/*.js test/ours/*.js --tap | tee test.tap && node test/verify-dependencies.js",
- "cover": "nyc npm test",
- "report": "nyc report --reporter=lcov",
- "test": "tap test/parallel/*.js test/ours/*.js && node test/verify-dependencies.js"
- },
- "version": "2.3.7"
-}
diff --git a/Server/node_modules/readable-stream/passthrough.js b/Server/node_modules/readable-stream/passthrough.js
deleted file mode 100644
index ffd791d..0000000
--- a/Server/node_modules/readable-stream/passthrough.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('./readable').PassThrough
diff --git a/Server/node_modules/readable-stream/readable-browser.js b/Server/node_modules/readable-stream/readable-browser.js
deleted file mode 100644
index e503725..0000000
--- a/Server/node_modules/readable-stream/readable-browser.js
+++ /dev/null
@@ -1,7 +0,0 @@
-exports = module.exports = require('./lib/_stream_readable.js');
-exports.Stream = exports;
-exports.Readable = exports;
-exports.Writable = require('./lib/_stream_writable.js');
-exports.Duplex = require('./lib/_stream_duplex.js');
-exports.Transform = require('./lib/_stream_transform.js');
-exports.PassThrough = require('./lib/_stream_passthrough.js');
diff --git a/Server/node_modules/readable-stream/readable.js b/Server/node_modules/readable-stream/readable.js
deleted file mode 100644
index ec89ec5..0000000
--- a/Server/node_modules/readable-stream/readable.js
+++ /dev/null
@@ -1,19 +0,0 @@
-var Stream = require('stream');
-if (process.env.READABLE_STREAM === 'disable' && Stream) {
- module.exports = Stream;
- exports = module.exports = Stream.Readable;
- exports.Readable = Stream.Readable;
- exports.Writable = Stream.Writable;
- exports.Duplex = Stream.Duplex;
- exports.Transform = Stream.Transform;
- exports.PassThrough = Stream.PassThrough;
- exports.Stream = Stream;
-} else {
- exports = module.exports = require('./lib/_stream_readable.js');
- exports.Stream = Stream || exports;
- exports.Readable = exports;
- exports.Writable = require('./lib/_stream_writable.js');
- exports.Duplex = require('./lib/_stream_duplex.js');
- exports.Transform = require('./lib/_stream_transform.js');
- exports.PassThrough = require('./lib/_stream_passthrough.js');
-}
diff --git a/Server/node_modules/readable-stream/transform.js b/Server/node_modules/readable-stream/transform.js
deleted file mode 100644
index b1baba2..0000000
--- a/Server/node_modules/readable-stream/transform.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('./readable').Transform
diff --git a/Server/node_modules/readable-stream/writable-browser.js b/Server/node_modules/readable-stream/writable-browser.js
deleted file mode 100644
index ebdde6a..0000000
--- a/Server/node_modules/readable-stream/writable-browser.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('./lib/_stream_writable.js');
diff --git a/Server/node_modules/readable-stream/writable.js b/Server/node_modules/readable-stream/writable.js
deleted file mode 100644
index 3211a6f..0000000
--- a/Server/node_modules/readable-stream/writable.js
+++ /dev/null
@@ -1,8 +0,0 @@
-var Stream = require("stream")
-var Writable = require("./lib/_stream_writable.js")
-
-if (process.env.READABLE_STREAM === 'disable') {
- module.exports = Stream && Stream.Writable || Writable
-} else {
- module.exports = Writable
-}
diff --git a/Server/node_modules/req-flash/.jshintrc b/Server/node_modules/req-flash/.jshintrc
deleted file mode 100644
index 5d2e269..0000000
--- a/Server/node_modules/req-flash/.jshintrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "node": true
-}
\ No newline at end of file
diff --git a/Server/node_modules/req-flash/.npmignore b/Server/node_modules/req-flash/.npmignore
deleted file mode 100644
index b512c09..0000000
--- a/Server/node_modules/req-flash/.npmignore
+++ /dev/null
@@ -1 +0,0 @@
-node_modules
\ No newline at end of file
diff --git a/Server/node_modules/req-flash/LICENSE b/Server/node_modules/req-flash/LICENSE
deleted file mode 100644
index d204be9..0000000
--- a/Server/node_modules/req-flash/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 maximilianschmitt
-
-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.
\ No newline at end of file
diff --git a/Server/node_modules/req-flash/README.md b/Server/node_modules/req-flash/README.md
deleted file mode 100644
index 918dc9b..0000000
--- a/Server/node_modules/req-flash/README.md
+++ /dev/null
@@ -1,53 +0,0 @@
-req-flash
-=========
-
-Unopinionated middleware for creating flash messages of all types for Express apps.
-
-## Usage
-
-### 1. Install req-flash:
-
-``` javascript
-npm install req-flash
-```
-
-### 2. Register the req-flash middleware after your session middleware:
-
-``` javascript
-var express = require('express');
-var cookieParser = require('cookie-parser');
-var session = require('express-session');
-var flash = require('req-flash');
-
-var app = express();
-
-app.use(cookieParser());
-app.use(session({ secret: '123' }));
-app.use(flash());
-```
-
-**Tipp:** Use `flash({ locals: 'flash' })` to magically make all flash messages available to your views by attaching them to `res.locals['flash']` (or whatever you specifiy instead of 'flash').
-
-### 3. Flash any amount of messages:
-
-``` javascript
-app.get('/test', function() {
- req.flash('successMessage', 'You are successfully using req-flash');
- req.flash('errorMessage', 'No errors, you\'re doing fine');
-
- res.redirect('/');
-});
-
-app.get('/', function() {
- res.send(req.flash());
-});
-```
-
-"/test" redirects to "/" and outputs:
-
-```
-{
- "successMessage": "You are successfully using req-flash",
- "errorMessage": "No errors, you're doing fine"
-}
-```
\ No newline at end of file
diff --git a/Server/node_modules/req-flash/examples/app.js b/Server/node_modules/req-flash/examples/app.js
deleted file mode 100644
index 6ea675f..0000000
--- a/Server/node_modules/req-flash/examples/app.js
+++ /dev/null
@@ -1,48 +0,0 @@
-'use strict';
-
-var express = require('express');
-var cookieParser = require('cookie-parser');
-var session = require('express-session');
-var flash = require('..');
-
-var app = express();
-
-app.set('view engine', 'jade');
-app.set('views', __dirname + '/views');
-
-app.use(cookieParser());
-app.use(session({ secret: '123' }));
-app.use(flash({ locals: 'flash' }));
-
-app.get('/', function(req, res) {
- req.flash('message', 'index');
- res.redirect('/flash');
-});
-
-app.get('/multiple', function(req, res) {
- req.flash('successMessage', 'a message about success');
- req.flash('errorMessage', 'a message about failure');
- res.redirect('/flash');
-});
-
-app.get('/stack', function(req, res) {
- req.flash('successMessage', 'a message about success');
- req.flash('successMessage', 'a second message');
- res.redirect('/flash');
-});
-
-app.get('/flash', function(req, res) {
- var messages = req.flash();
- res.send(messages);
-});
-
-app.get('/view', function(req, res) {
- req.flash('message', 'You are viewing a flash message inside a view.');
- res.redirect('/flash-view');
-});
-
-app.get('/flash-view', function(req, res) {
- res.render('view');
-});
-
-module.exports = app;
diff --git a/Server/node_modules/req-flash/examples/views/view.jade b/Server/node_modules/req-flash/examples/views/view.jade
deleted file mode 100644
index cc69962..0000000
--- a/Server/node_modules/req-flash/examples/views/view.jade
+++ /dev/null
@@ -1,7 +0,0 @@
-doctype html
-html
- head
- title req-flash
- body
- if flash.message
- div.flash-message #{flash.message}
\ No newline at end of file
diff --git a/Server/node_modules/req-flash/index.js b/Server/node_modules/req-flash/index.js
deleted file mode 100644
index 1359c9f..0000000
--- a/Server/node_modules/req-flash/index.js
+++ /dev/null
@@ -1,41 +0,0 @@
-'use strict';
-
-var localsKey;
-
-var _flash = function(container, key, message) {
- if (typeof key === 'undefined' && typeof message === 'undefined') {
- return container;
- } else if (typeof message === 'undefined') {
- return container[key];
- } else {
- container[key] = message;
- }
-};
-
-var _clear = function(hijack, req, res) {
- req.session._flash = {};
-
- hijack.apply(res, Array.prototype.slice.call(arguments).slice(3));
-};
-
-var flash = function(req, res, next) {
- if (!req.session) throw new Error('Sessions are required.');
-
- if (typeof req.session._flash === 'undefined') req.session._flash = {};
-
- req.flash = _flash.bind(null, req.session._flash);
- res.render = _clear.bind(null, res.render, req, res);
- res.send = _clear.bind(null, res.send, req, res);
-
- if (localsKey) res.locals[localsKey] = req.flash();
-
- next();
-};
-
-module.exports = function(options) {
- if (options != null && options.locals) {
- localsKey = options.locals;
- }
-
- return flash;
-};
diff --git a/Server/node_modules/req-flash/package.json b/Server/node_modules/req-flash/package.json
deleted file mode 100644
index ebb7198..0000000
--- a/Server/node_modules/req-flash/package.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "_from": "req-flash",
- "_id": "req-flash@0.0.3",
- "_inBundle": false,
- "_integrity": "sha1-XkixoxmHlnKmM54NYDk1p3h55HA=",
- "_location": "/req-flash",
- "_phantomChildren": {},
- "_requested": {
- "type": "tag",
- "registry": true,
- "raw": "req-flash",
- "name": "req-flash",
- "escapedName": "req-flash",
- "rawSpec": "",
- "saveSpec": null,
- "fetchSpec": "latest"
- },
- "_requiredBy": [
- "#USER",
- "/"
- ],
- "_resolved": "https://registry.npmjs.org/req-flash/-/req-flash-0.0.3.tgz",
- "_shasum": "5e48b1a319879672a6339e0d603935a77879e470",
- "_spec": "req-flash",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server",
- "author": {
- "name": "Maximilian Schmitt",
- "email": "maximilian.schmitt@googlemail.com",
- "url": "http://maximilianschmitt.me"
- },
- "bugs": {
- "url": "https://github.com/maximilianschmitt/req-flash/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Unopinionated middleware for creating flash messages of all types for Express apps.",
- "devDependencies": {
- "chai": "^3.5.0",
- "cookie-parser": "^1.0.1",
- "express": "^4.1.1",
- "express-session": "^1.0.4",
- "jade": "^1.3.1",
- "mocha": "^2.4.5",
- "superagent": "^1.8.3"
- },
- "homepage": "https://github.com/maximilianschmitt/req-flash",
- "keywords": [
- "express",
- "middleware",
- "flash"
- ],
- "license": "MIT",
- "name": "req-flash",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/maximilianschmitt/req-flash.git"
- },
- "scripts": {
- "test": "mocha"
- },
- "version": "0.0.3"
-}
diff --git a/Server/node_modules/req-flash/test/index.js b/Server/node_modules/req-flash/test/index.js
deleted file mode 100644
index 648aa13..0000000
--- a/Server/node_modules/req-flash/test/index.js
+++ /dev/null
@@ -1,86 +0,0 @@
-/* global describe, it, before, after */
-'use strict';
-
-var superagent = require('superagent');
-var expect = require('chai').expect;
-
-var app = require('../examples/app');
-var port = 8888;
-var url = 'http://localhost:' + port;
-
-describe('req-flash', function() {
- var agent = superagent.agent();
- var server;
-
- before(function() {
- server = app.listen(port);
- });
-
- after(function(done) {
- server.close(done);
- });
-
- it('should add a single flash message', function(done) {
- agent.get(url)
- .redirects(1)
- .end(function(err, res) {
- var data = JSON.parse(res.text);
-
- expect(res.statusCode).to.equal(200);
- expect(data.message).to.equal('index');
-
- done();
- });
- });
-
- it('should add multiple flash messages', function(done) {
- agent.get(url + '/multiple')
- .redirects(1)
- .end(function(err, res) {
- var data = JSON.parse(res.text);
-
- expect(res.statusCode).to.equal(200);
- expect(data.successMessage).to.equal('a message about success');
- expect(data.errorMessage).to.equal('a message about failure');
-
- done();
- });
- });
-
- it('should not stack multiple messages of the same type into an array', function(done) {
- agent.get(url + '/stack')
- .redirects(1)
- .end(function(err, res) {
- var data = JSON.parse(res.text);
-
- expect(res.statusCode).to.equal(200);
- expect(data.successMessage).to.equal('a second message');
-
- done();
- });
- });
-
- it('should clear flash messages', function(done) {
- agent.get(url + '/stack')
- .redirects(1)
- .end(function() {
- agent.get(url + '/flash')
- .redirects(0)
- .end(function(err, res) {
- expect(res.text).to.equal('{}');
-
- done();
- });
- });
- });
-
- it('should pass flash messages to the view automatically', function(done) {
- agent.get(url + '/view')
- .redirects(1)
- .end(function(err, res) {
- expect(res.text).to.contain('You are viewing a flash message inside a view.');
-
- done();
- });
- });
-});
\ No newline at end of file
diff --git a/Server/node_modules/safe-buffer/LICENSE b/Server/node_modules/safe-buffer/LICENSE
deleted file mode 100644
index 0c068ce..0000000
--- a/Server/node_modules/safe-buffer/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Feross Aboukhadijeh
-
-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.
diff --git a/Server/node_modules/safe-buffer/README.md b/Server/node_modules/safe-buffer/README.md
deleted file mode 100644
index e9a81af..0000000
--- a/Server/node_modules/safe-buffer/README.md
+++ /dev/null
@@ -1,584 +0,0 @@
-# safe-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
-
-[travis-image]: https://img.shields.io/travis/feross/safe-buffer/master.svg
-[travis-url]: https://travis-ci.org/feross/safe-buffer
-[npm-image]: https://img.shields.io/npm/v/safe-buffer.svg
-[npm-url]: https://npmjs.org/package/safe-buffer
-[downloads-image]: https://img.shields.io/npm/dm/safe-buffer.svg
-[downloads-url]: https://npmjs.org/package/safe-buffer
-[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
-[standard-url]: https://standardjs.com
-
-#### Safer Node.js Buffer API
-
-**Use the new Node.js Buffer APIs (`Buffer.from`, `Buffer.alloc`,
-`Buffer.allocUnsafe`, `Buffer.allocUnsafeSlow`) in all versions of Node.js.**
-
-**Uses the built-in implementation when available.**
-
-## install
-
-```
-npm install safe-buffer
-```
-
-## usage
-
-The goal of this package is to provide a safe replacement for the node.js `Buffer`.
-
-It's a drop-in replacement for `Buffer`. You can use it by adding one `require` line to
-the top of your node.js modules:
-
-```js
-var Buffer = require('safe-buffer').Buffer
-
-// Existing buffer code will continue to work without issues:
-
-new Buffer('hey', 'utf8')
-new Buffer([1, 2, 3], 'utf8')
-new Buffer(obj)
-new Buffer(16) // create an uninitialized buffer (potentially unsafe)
-
-// But you can use these new explicit APIs to make clear what you want:
-
-Buffer.from('hey', 'utf8') // convert from many types to a Buffer
-Buffer.alloc(16) // create a zero-filled buffer (safe)
-Buffer.allocUnsafe(16) // create an uninitialized buffer (potentially unsafe)
-```
-
-## api
-
-### Class Method: Buffer.from(array)
-<!-- YAML
-added: v3.0.0
--->
-
-* `array` {Array}
-
-Allocates a new `Buffer` using an `array` of octets.
-
-```js
-const buf = Buffer.from([0x62,0x75,0x66,0x66,0x65,0x72]);
- // creates a new Buffer containing ASCII bytes
- // ['b','u','f','f','e','r']
-```
-
-A `TypeError` will be thrown if `array` is not an `Array`.
-
-### Class Method: Buffer.from(arrayBuffer[, byteOffset[, length]])
-<!-- YAML
-added: v5.10.0
--->
-
-* `arrayBuffer` {ArrayBuffer} The `.buffer` property of a `TypedArray` or
- a `new ArrayBuffer()`
-* `byteOffset` {Number} Default: `0`
-* `length` {Number} Default: `arrayBuffer.length - byteOffset`
-
-When passed a reference to the `.buffer` property of a `TypedArray` instance,
-the newly created `Buffer` will share the same allocated memory as the
-TypedArray.
-
-```js
-const arr = new Uint16Array(2);
-arr[0] = 5000;
-arr[1] = 4000;
-
-const buf = Buffer.from(arr.buffer); // shares the memory with arr;
-
-console.log(buf);
- // Prints: <Buffer 88 13 a0 0f>
-
-// changing the TypedArray changes the Buffer also
-arr[1] = 6000;
-
-console.log(buf);
- // Prints: <Buffer 88 13 70 17>
-```
-
-The optional `byteOffset` and `length` arguments specify a memory range within
-the `arrayBuffer` that will be shared by the `Buffer`.
-
-```js
-const ab = new ArrayBuffer(10);
-const buf = Buffer.from(ab, 0, 2);
-console.log(buf.length);
- // Prints: 2
-```
-
-A `TypeError` will be thrown if `arrayBuffer` is not an `ArrayBuffer`.
-
-### Class Method: Buffer.from(buffer)
-<!-- YAML
-added: v3.0.0
--->
-
-* `buffer` {Buffer}
-
-Copies the passed `buffer` data onto a new `Buffer` instance.
-
-```js
-const buf1 = Buffer.from('buffer');
-const buf2 = Buffer.from(buf1);
-
-buf1[0] = 0x61;
-console.log(buf1.toString());
- // 'auffer'
-console.log(buf2.toString());
- // 'buffer' (copy is not changed)
-```
-
-A `TypeError` will be thrown if `buffer` is not a `Buffer`.
-
-### Class Method: Buffer.from(str[, encoding])
-<!-- YAML
-added: v5.10.0
--->
-
-* `str` {String} String to encode.
-* `encoding` {String} Encoding to use, Default: `'utf8'`
-
-Creates a new `Buffer` containing the given JavaScript string `str`. If
-provided, the `encoding` parameter identifies the character encoding.
-If not provided, `encoding` defaults to `'utf8'`.
-
-```js
-const buf1 = Buffer.from('this is a tést');
-console.log(buf1.toString());
- // prints: this is a tést
-console.log(buf1.toString('ascii'));
- // prints: this is a tC)st
-
-const buf2 = Buffer.from('7468697320697320612074c3a97374', 'hex');
-console.log(buf2.toString());
- // prints: this is a tést
-```
-
-A `TypeError` will be thrown if `str` is not a string.
-
-### Class Method: Buffer.alloc(size[, fill[, encoding]])
-<!-- YAML
-added: v5.10.0
--->
-
-* `size` {Number}
-* `fill` {Value} Default: `undefined`
-* `encoding` {String} Default: `utf8`
-
-Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the
-`Buffer` will be *zero-filled*.
-
-```js
-const buf = Buffer.alloc(5);
-console.log(buf);
- // <Buffer 00 00 00 00 00>
-```
-
-The `size` must be less than or equal to the value of
-`require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is
-`(2^31)-1`). Otherwise, a [`RangeError`][] is thrown. A zero-length Buffer will
-be created if a `size` less than or equal to 0 is specified.
-
-If `fill` is specified, the allocated `Buffer` will be initialized by calling
-`buf.fill(fill)`. See [`buf.fill()`][] for more information.
-
-```js
-const buf = Buffer.alloc(5, 'a');
-console.log(buf);
- // <Buffer 61 61 61 61 61>
-```
-
-If both `fill` and `encoding` are specified, the allocated `Buffer` will be
-initialized by calling `buf.fill(fill, encoding)`. For example:
-
-```js
-const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64');
-console.log(buf);
- // <Buffer 68 65 6c 6c 6f 20 77 6f 72 6c 64>
-```
-
-Calling `Buffer.alloc(size)` can be significantly slower than the alternative
-`Buffer.allocUnsafe(size)` but ensures that the newly created `Buffer` instance
-contents will *never contain sensitive data*.
-
-A `TypeError` will be thrown if `size` is not a number.
-
-### Class Method: Buffer.allocUnsafe(size)
-<!-- YAML
-added: v5.10.0
--->
-
-* `size` {Number}
-
-Allocates a new *non-zero-filled* `Buffer` of `size` bytes. The `size` must
-be less than or equal to the value of `require('buffer').kMaxLength` (on 64-bit
-architectures, `kMaxLength` is `(2^31)-1`). Otherwise, a [`RangeError`][] is
-thrown. A zero-length Buffer will be created if a `size` less than or equal to
-0 is specified.
-
-The underlying memory for `Buffer` instances created in this way is *not
-initialized*. The contents of the newly created `Buffer` are unknown and
-*may contain sensitive data*. Use [`buf.fill(0)`][] to initialize such
-`Buffer` instances to zeroes.
-
-```js
-const buf = Buffer.allocUnsafe(5);
-console.log(buf);
- // <Buffer 78 e0 82 02 01>
- // (octets will be different, every time)
-buf.fill(0);
-console.log(buf);
- // <Buffer 00 00 00 00 00>
-```
-
-A `TypeError` will be thrown if `size` is not a number.
-
-Note that the `Buffer` module pre-allocates an internal `Buffer` instance of
-size `Buffer.poolSize` that is used as a pool for the fast allocation of new
-`Buffer` instances created using `Buffer.allocUnsafe(size)` (and the deprecated
-`new Buffer(size)` constructor) only when `size` is less than or equal to
-`Buffer.poolSize >> 1` (floor of `Buffer.poolSize` divided by two). The default
-value of `Buffer.poolSize` is `8192` but can be modified.
-
-Use of this pre-allocated internal memory pool is a key difference between
-calling `Buffer.alloc(size, fill)` vs. `Buffer.allocUnsafe(size).fill(fill)`.
-Specifically, `Buffer.alloc(size, fill)` will *never* use the internal Buffer
-pool, while `Buffer.allocUnsafe(size).fill(fill)` *will* use the internal
-Buffer pool if `size` is less than or equal to half `Buffer.poolSize`. The
-difference is subtle but can be important when an application requires the
-additional performance that `Buffer.allocUnsafe(size)` provides.
-
-### Class Method: Buffer.allocUnsafeSlow(size)
-<!-- YAML
-added: v5.10.0
--->
-
-* `size` {Number}
-
-Allocates a new *non-zero-filled* and non-pooled `Buffer` of `size` bytes. The
-`size` must be less than or equal to the value of
-`require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is
-`(2^31)-1`). Otherwise, a [`RangeError`][] is thrown. A zero-length Buffer will
-be created if a `size` less than or equal to 0 is specified.
-
-The underlying memory for `Buffer` instances created in this way is *not
-initialized*. The contents of the newly created `Buffer` are unknown and
-*may contain sensitive data*. Use [`buf.fill(0)`][] to initialize such
-`Buffer` instances to zeroes.
-
-When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances,
-allocations under 4KB are, by default, sliced from a single pre-allocated
-`Buffer`. This allows applications to avoid the garbage collection overhead of
-creating many individually allocated Buffers. This approach improves both
-performance and memory usage by eliminating the need to track and cleanup as
-many `Persistent` objects.
-
-However, in the case where a developer may need to retain a small chunk of
-memory from a pool for an indeterminate amount of time, it may be appropriate
-to create an un-pooled Buffer instance using `Buffer.allocUnsafeSlow()` then
-copy out the relevant bits.
-
-```js
-// need to keep around a few small chunks of memory
-const store = [];
-
-socket.on('readable', () => {
- const data = socket.read();
- // allocate for retained data
- const sb = Buffer.allocUnsafeSlow(10);
- // copy the data into the new allocation
- data.copy(sb, 0, 0, 10);
- store.push(sb);
-});
-```
-
-Use of `Buffer.allocUnsafeSlow()` should be used only as a last resort *after*
-a developer has observed undue memory retention in their applications.
-
-A `TypeError` will be thrown if `size` is not a number.
-
-### All the Rest
-
-The rest of the `Buffer` API is exactly the same as in node.js.
-[See the docs](https://nodejs.org/api/buffer.html).
-
-
-## Related links
-
-- [Node.js issue: Buffer(number) is unsafe](https://github.com/nodejs/node/issues/4660)
-- [Node.js Enhancement Proposal: Buffer.from/Buffer.alloc/Buffer.zalloc/Buffer() soft-deprecate](https://github.com/nodejs/node-eps/pull/4)
-
-## Why is `Buffer` unsafe?
-
-Today, the node.js `Buffer` constructor is overloaded to handle many different argument
-types like `String`, `Array`, `Object`, `TypedArrayView` (`Uint8Array`, etc.),
-`ArrayBuffer`, and also `Number`.
-
-The API is optimized for convenience: you can throw any type at it, and it will try to do
-what you want.
-
-Because the Buffer constructor is so powerful, you often see code like this:
-
-```js
-// Convert UTF-8 strings to hex
-function toHex (str) {
- return new Buffer(str).toString('hex')
-}
-```
-
-***But what happens if `toHex` is called with a `Number` argument?***
-
-### Remote Memory Disclosure
-
-If an attacker can make your program call the `Buffer` constructor with a `Number`
-argument, then they can make it allocate uninitialized memory from the node.js process.
-This could potentially disclose TLS private keys, user data, or database passwords.
-
-When the `Buffer` constructor is passed a `Number` argument, it returns an
-**UNINITIALIZED** block of memory of the specified `size`. When you create a `Buffer` like
-this, you **MUST** overwrite the contents before returning it to the user.
-
-From the [node.js docs](https://nodejs.org/api/buffer.html#buffer_new_buffer_size):
-
-> `new Buffer(size)`
->
-> - `size` Number
->
-> The underlying memory for `Buffer` instances created in this way is not initialized.
-> **The contents of a newly created `Buffer` are unknown and could contain sensitive
-> data.** Use `buf.fill(0)` to initialize a Buffer to zeroes.
-
-(Emphasis our own.)
-
-Whenever the programmer intended to create an uninitialized `Buffer` you often see code
-like this:
-
-```js
-var buf = new Buffer(16)
-
-// Immediately overwrite the uninitialized buffer with data from another buffer
-for (var i = 0; i < buf.length; i++) {
- buf[i] = otherBuf[i]
-}
-```
-
-
-### Would this ever be a problem in real code?
-
-Yes. It's surprisingly common to forget to check the type of your variables in a
-dynamically-typed language like JavaScript.
-
-Usually the consequences of assuming the wrong type is that your program crashes with an
-uncaught exception. But the failure mode for forgetting to check the type of arguments to
-the `Buffer` constructor is more catastrophic.
-
-Here's an example of a vulnerable service that takes a JSON payload and converts it to
-hex:
-
-```js
-// Take a JSON payload {str: "some string"} and convert it to hex
-var server = http.createServer(function (req, res) {
- var data = ''
- req.setEncoding('utf8')
- req.on('data', function (chunk) {
- data += chunk
- })
- req.on('end', function () {
- var body = JSON.parse(data)
- res.end(new Buffer(body.str).toString('hex'))
- })
-})
-
-server.listen(8080)
-```
-
-In this example, an http client just has to send:
-
-```json
-{
- "str": 1000
-}
-```
-
-and it will get back 1,000 bytes of uninitialized memory from the server.
-
-This is a very serious bug. It's similar in severity to the
-[the Heartbleed bug](http://heartbleed.com/) that allowed disclosure of OpenSSL process
-memory by remote attackers.
-
-
-### Which real-world packages were vulnerable?
-
-#### [`bittorrent-dht`](https://www.npmjs.com/package/bittorrent-dht)
-
-[Mathias Buus](https://github.com/mafintosh) and I
-([Feross Aboukhadijeh](http://feross.org/)) found this issue in one of our own packages,
-[`bittorrent-dht`](https://www.npmjs.com/package/bittorrent-dht). The bug would allow
-anyone on the internet to send a series of messages to a user of `bittorrent-dht` and get
-them to reveal 20 bytes at a time of uninitialized memory from the node.js process.
-
-Here's
-[the commit](https://github.com/feross/bittorrent-dht/commit/6c7da04025d5633699800a99ec3fbadf70ad35b8)
-that fixed it. We released a new fixed version, created a
-[Node Security Project disclosure](https://nodesecurity.io/advisories/68), and deprecated all
-vulnerable versions on npm so users will get a warning to upgrade to a newer version.
-
-#### [`ws`](https://www.npmjs.com/package/ws)
-
-That got us wondering if there were other vulnerable packages. Sure enough, within a short
-period of time, we found the same issue in [`ws`](https://www.npmjs.com/package/ws), the
-most popular WebSocket implementation in node.js.
-
-If certain APIs were called with `Number` parameters instead of `String` or `Buffer` as
-expected, then uninitialized server memory would be disclosed to the remote peer.
-
-These were the vulnerable methods:
-
-```js
-socket.send(number)
-socket.ping(number)
-socket.pong(number)
-```
-
-Here's a vulnerable socket server with some echo functionality:
-
-```js
-server.on('connection', function (socket) {
- socket.on('message', function (message) {
- message = JSON.parse(message)
- if (message.type === 'echo') {
- socket.send(message.data) // send back the user's message
- }
- })
-})
-```
-
-`socket.send(number)` called on the server, will disclose server memory.
-
-Here's [the release](https://github.com/websockets/ws/releases/tag/1.0.1) where the issue
-was fixed, with a more detailed explanation. Props to
-[Arnout Kazemier](https://github.com/3rd-Eden) for the quick fix. Here's the
-[Node Security Project disclosure](https://nodesecurity.io/advisories/67).
-
-
-### What's the solution?
-
-It's important that node.js offers a fast way to get memory otherwise performance-critical
-applications would needlessly get a lot slower.
-
-But we need a better way to *signal our intent* as programmers. **When we want
-uninitialized memory, we should request it explicitly.**
-
-Sensitive functionality should not be packed into a developer-friendly API that loosely
-accepts many different types. This type of API encourages the lazy practice of passing
-variables in without checking the type very carefully.
-
-#### A new API: `Buffer.allocUnsafe(number)`
-
-The functionality of creating buffers with uninitialized memory should be part of another
-API. We propose `Buffer.allocUnsafe(number)`. This way, it's not part of an API that
-frequently gets user input of all sorts of different types passed into it.
-
-```js
-var buf = Buffer.allocUnsafe(16) // careful, uninitialized memory!
-
-// Immediately overwrite the uninitialized buffer with data from another buffer
-for (var i = 0; i < buf.length; i++) {
- buf[i] = otherBuf[i]
-}
-```
-
-
-### How do we fix node.js core?
-
-We sent [a PR to node.js core](https://github.com/nodejs/node/pull/4514) (merged as
-`semver-major`) which defends against one case:
-
-```js
-var str = 16
-new Buffer(str, 'utf8')
-```
-
-In this situation, it's implied that the programmer intended the first argument to be a
-string, since they passed an encoding as a second argument. Today, node.js will allocate
-uninitialized memory in the case of `new Buffer(number, encoding)`, which is probably not
-what the programmer intended.
-
-But this is only a partial solution, since if the programmer does `new Buffer(variable)`
-(without an `encoding` parameter) there's no way to know what they intended. If `variable`
-is sometimes a number, then uninitialized memory will sometimes be returned.
-
-### What's the real long-term fix?
-
-We could deprecate and remove `new Buffer(number)` and use `Buffer.allocUnsafe(number)` when
-we need uninitialized memory. But that would break 1000s of packages.
-
-~~We believe the best solution is to:~~
-
-~~1. Change `new Buffer(number)` to return safe, zeroed-out memory~~
-
-~~2. Create a new API for creating uninitialized Buffers. We propose: `Buffer.allocUnsafe(number)`~~
-
-#### Update
-
-We now support adding three new APIs:
-
-- `Buffer.from(value)` - convert from any type to a buffer
-- `Buffer.alloc(size)` - create a zero-filled buffer
-- `Buffer.allocUnsafe(size)` - create an uninitialized buffer with given size
-
-This solves the core problem that affected `ws` and `bittorrent-dht` which is
-`Buffer(variable)` getting tricked into taking a number argument.
-
-This way, existing code continues working and the impact on the npm ecosystem will be
-minimal. Over time, npm maintainers can migrate performance-critical code to use
-`Buffer.allocUnsafe(number)` instead of `new Buffer(number)`.
-
-
-### Conclusion
-
-We think there's a serious design issue with the `Buffer` API as it exists today. It
-promotes insecure software by putting high-risk functionality into a convenient API
-with friendly "developer ergonomics".
-
-This wasn't merely a theoretical exercise because we found the issue in some of the
-most popular npm packages.
-
-Fortunately, there's an easy fix that can be applied today. Use `safe-buffer` in place of
-`buffer`.
-
-```js
-var Buffer = require('safe-buffer').Buffer
-```
-
-Eventually, we hope that node.js core can switch to this new, safer behavior. We believe
-the impact on the ecosystem would be minimal since it's not a breaking change.
-Well-maintained, popular packages would be updated to use `Buffer.alloc` quickly, while
-older, insecure packages would magically become safe from this attack vector.
-
-
-## links
-
-- [Node.js PR: buffer: throw if both length and enc are passed](https://github.com/nodejs/node/pull/4514)
-- [Node Security Project disclosure for `ws`](https://nodesecurity.io/advisories/67)
-- [Node Security Project disclosure for`bittorrent-dht`](https://nodesecurity.io/advisories/68)
-
-
-## credit
-
-The original issues in `bittorrent-dht`
-([disclosure](https://nodesecurity.io/advisories/68)) and
-`ws` ([disclosure](https://nodesecurity.io/advisories/67)) were discovered by
-[Mathias Buus](https://github.com/mafintosh) and
-[Feross Aboukhadijeh](http://feross.org/).
-
-Thanks to [Adam Baldwin](https://github.com/evilpacket) for helping disclose these issues
-and for his work running the [Node Security Project](https://nodesecurity.io/).
-
-Thanks to [John Hiesey](https://github.com/jhiesey) for proofreading this README and
-auditing the code.
-
-
-## license
-
-MIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org)
diff --git a/Server/node_modules/safe-buffer/index.d.ts b/Server/node_modules/safe-buffer/index.d.ts
deleted file mode 100644
index e9fed80..0000000
--- a/Server/node_modules/safe-buffer/index.d.ts
+++ /dev/null
@@ -1,187 +0,0 @@
-declare module "safe-buffer" {
- export class Buffer {
- length: number
- write(string: string, offset?: number, length?: number, encoding?: string): number;
- toString(encoding?: string, start?: number, end?: number): string;
- toJSON(): { type: 'Buffer', data: any[] };
- equals(otherBuffer: Buffer): boolean;
- compare(otherBuffer: Buffer, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number;
- copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
- slice(start?: number, end?: number): Buffer;
- writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
- writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
- writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
- writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
- readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
- readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
- readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
- readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
- readUInt8(offset: number, noAssert?: boolean): number;
- readUInt16LE(offset: number, noAssert?: boolean): number;
- readUInt16BE(offset: number, noAssert?: boolean): number;
- readUInt32LE(offset: number, noAssert?: boolean): number;
- readUInt32BE(offset: number, noAssert?: boolean): number;
- readInt8(offset: number, noAssert?: boolean): number;
- readInt16LE(offset: number, noAssert?: boolean): number;
- readInt16BE(offset: number, noAssert?: boolean): number;
- readInt32LE(offset: number, noAssert?: boolean): number;
- readInt32BE(offset: number, noAssert?: boolean): number;
- readFloatLE(offset: number, noAssert?: boolean): number;
- readFloatBE(offset: number, noAssert?: boolean): number;
- readDoubleLE(offset: number, noAssert?: boolean): number;
- readDoubleBE(offset: number, noAssert?: boolean): number;
- swap16(): Buffer;
- swap32(): Buffer;
- swap64(): Buffer;
- writeUInt8(value: number, offset: number, noAssert?: boolean): number;
- writeUInt16LE(value: number, offset: number, noAssert?: boolean): number;
- writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
- writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
- writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
- writeInt8(value: number, offset: number, noAssert?: boolean): number;
- writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
- writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
- writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
- writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
- writeFloatLE(value: number, offset: number, noAssert?: boolean): number;
- writeFloatBE(value: number, offset: number, noAssert?: boolean): number;
- writeDoubleLE(value: number, offset: number, noAssert?: boolean): number;
- writeDoubleBE(value: number, offset: number, noAssert?: boolean): number;
- fill(value: any, offset?: number, end?: number): this;
- indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
- lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number;
- includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean;
-
- /**
- * Allocates a new buffer containing the given {str}.
- *
- * @param str String to store in buffer.
- * @param encoding encoding to use, optional. Default is 'utf8'
- */
- constructor (str: string, encoding?: string);
- /**
- * Allocates a new buffer of {size} octets.
- *
- * @param size count of octets to allocate.
- */
- constructor (size: number);
- /**
- * Allocates a new buffer containing the given {array} of octets.
- *
- * @param array The octets to store.
- */
- constructor (array: Uint8Array);
- /**
- * Produces a Buffer backed by the same allocated memory as
- * the given {ArrayBuffer}.
- *
- *
- * @param arrayBuffer The ArrayBuffer with which to share memory.
- */
- constructor (arrayBuffer: ArrayBuffer);
- /**
- * Allocates a new buffer containing the given {array} of octets.
- *
- * @param array The octets to store.
- */
- constructor (array: any[]);
- /**
- * Copies the passed {buffer} data onto a new {Buffer} instance.
- *
- * @param buffer The buffer to copy.
- */
- constructor (buffer: Buffer);
- prototype: Buffer;
- /**
- * Allocates a new Buffer using an {array} of octets.
- *
- * @param array
- */
- static from(array: any[]): Buffer;
- /**
- * When passed a reference to the .buffer property of a TypedArray instance,
- * the newly created Buffer will share the same allocated memory as the TypedArray.
- * The optional {byteOffset} and {length} arguments specify a memory range
- * within the {arrayBuffer} that will be shared by the Buffer.
- *
- * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer()
- * @param byteOffset
- * @param length
- */
- static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
- /**
- * Copies the passed {buffer} data onto a new Buffer instance.
- *
- * @param buffer
- */
- static from(buffer: Buffer): Buffer;
- /**
- * Creates a new Buffer containing the given JavaScript string {str}.
- * If provided, the {encoding} parameter identifies the character encoding.
- * If not provided, {encoding} defaults to 'utf8'.
- *
- * @param str
- */
- static from(str: string, encoding?: string): Buffer;
- /**
- * Returns true if {obj} is a Buffer
- *
- * @param obj object to test.
- */
- static isBuffer(obj: any): obj is Buffer;
- /**
- * Returns true if {encoding} is a valid encoding argument.
- * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex'
- *
- * @param encoding string to test.
- */
- static isEncoding(encoding: string): boolean;
- /**
- * Gives the actual byte length of a string. encoding defaults to 'utf8'.
- * This is not the same as String.prototype.length since that returns the number of characters in a string.
- *
- * @param string string to test.
- * @param encoding encoding used to evaluate (defaults to 'utf8')
- */
- static byteLength(string: string, encoding?: string): number;
- /**
- * Returns a buffer which is the result of concatenating all the buffers in the list together.
- *
- * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer.
- * If the list has exactly one item, then the first item of the list is returned.
- * If the list has more than one item, then a new Buffer is created.
- *
- * @param list An array of Buffer objects to concatenate
- * @param totalLength Total length of the buffers when concatenated.
- * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly.
- */
- static concat(list: Buffer[], totalLength?: number): Buffer;
- /**
- * The same as buf1.compare(buf2).
- */
- static compare(buf1: Buffer, buf2: Buffer): number;
- /**
- * Allocates a new buffer of {size} octets.
- *
- * @param size count of octets to allocate.
- * @param fill if specified, buffer will be initialized by calling buf.fill(fill).
- * If parameter is omitted, buffer will be filled with zeros.
- * @param encoding encoding used for call to buf.fill while initalizing
- */
- static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer;
- /**
- * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents
- * of the newly created Buffer are unknown and may contain sensitive data.
- *
- * @param size count of octets to allocate
- */
- static allocUnsafe(size: number): Buffer;
- /**
- * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents
- * of the newly created Buffer are unknown and may contain sensitive data.
- *
- * @param size count of octets to allocate
- */
- static allocUnsafeSlow(size: number): Buffer;
- }
-}
\ No newline at end of file
diff --git a/Server/node_modules/safe-buffer/index.js b/Server/node_modules/safe-buffer/index.js
deleted file mode 100644
index 22438da..0000000
--- a/Server/node_modules/safe-buffer/index.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/* eslint-disable node/no-deprecated-api */
-var buffer = require('buffer')
-var Buffer = buffer.Buffer
-
-// alternative to using Object.keys for old browsers
-function copyProps (src, dst) {
- for (var key in src) {
- dst[key] = src[key]
- }
-}
-if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
- module.exports = buffer
-} else {
- // Copy properties from require('buffer')
- copyProps(buffer, exports)
- exports.Buffer = SafeBuffer
-}
-
-function SafeBuffer (arg, encodingOrOffset, length) {
- return Buffer(arg, encodingOrOffset, length)
-}
-
-// Copy static methods from Buffer
-copyProps(Buffer, SafeBuffer)
-
-SafeBuffer.from = function (arg, encodingOrOffset, length) {
- if (typeof arg === 'number') {
- throw new TypeError('Argument must not be a number')
- }
- return Buffer(arg, encodingOrOffset, length)
-}
-
-SafeBuffer.alloc = function (size, fill, encoding) {
- if (typeof size !== 'number') {
- throw new TypeError('Argument must be a number')
- }
- var buf = Buffer(size)
- if (fill !== undefined) {
- if (typeof encoding === 'string') {
- buf.fill(fill, encoding)
- } else {
- buf.fill(fill)
- }
- } else {
- buf.fill(0)
- }
- return buf
-}
-
-SafeBuffer.allocUnsafe = function (size) {
- if (typeof size !== 'number') {
- throw new TypeError('Argument must be a number')
- }
- return Buffer(size)
-}
-
-SafeBuffer.allocUnsafeSlow = function (size) {
- if (typeof size !== 'number') {
- throw new TypeError('Argument must be a number')
- }
- return buffer.SlowBuffer(size)
-}
diff --git a/Server/node_modules/safe-buffer/package.json b/Server/node_modules/safe-buffer/package.json
deleted file mode 100644
index f2bb9a0..0000000
--- a/Server/node_modules/safe-buffer/package.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "_from": "safe-buffer@5.1.2",
- "_id": "safe-buffer@5.1.2",
- "_inBundle": false,
- "_integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "_location": "/safe-buffer",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "safe-buffer@5.1.2",
- "name": "safe-buffer",
- "escapedName": "safe-buffer",
- "rawSpec": "5.1.2",
- "saveSpec": null,
- "fetchSpec": "5.1.2"
- },
- "_requiredBy": [
- "/content-disposition",
- "/express",
- "/mysql",
- "/readable-stream",
- "/string_decoder"
- ],
- "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "_shasum": "991ec69d296e0313747d59bdfd2b745c35f8828d",
- "_spec": "safe-buffer@5.1.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Feross Aboukhadijeh",
- "email": "feross@feross.org",
- "url": "http://feross.org"
- },
- "bugs": {
- "url": "https://github.com/feross/safe-buffer/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Safer Node.js Buffer API",
- "devDependencies": {
- "standard": "*",
- "tape": "^4.0.0"
- },
- "homepage": "https://github.com/feross/safe-buffer",
- "keywords": [
- "buffer",
- "buffer allocate",
- "node security",
- "safe",
- "safe-buffer",
- "security",
- "uninitialized"
- ],
- "license": "MIT",
- "main": "index.js",
- "name": "safe-buffer",
- "repository": {
- "type": "git",
- "url": "git://github.com/feross/safe-buffer.git"
- },
- "scripts": {
- "test": "standard && tape test/*.js"
- },
- "types": "index.d.ts",
- "version": "5.1.2"
-}
diff --git a/Server/node_modules/safer-buffer/LICENSE b/Server/node_modules/safer-buffer/LICENSE
deleted file mode 100644
index 4fe9e6f..0000000
--- a/Server/node_modules/safer-buffer/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2018 Nikita Skovoroda <chalkerx@gmail.com>
-
-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.
diff --git a/Server/node_modules/safer-buffer/Porting-Buffer.md b/Server/node_modules/safer-buffer/Porting-Buffer.md
deleted file mode 100644
index 68d86ba..0000000
--- a/Server/node_modules/safer-buffer/Porting-Buffer.md
+++ /dev/null
@@ -1,268 +0,0 @@
-# Porting to the Buffer.from/Buffer.alloc API
-
-<a id="overview"></a>
-## Overview
-
-- [Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x.](#variant-1) (*recommended*)
-- [Variant 2: Use a polyfill](#variant-2)
-- [Variant 3: manual detection, with safeguards](#variant-3)
-
-### Finding problematic bits of code using grep
-
-Just run `grep -nrE '[^a-zA-Z](Slow)?Buffer\s*\(' --exclude-dir node_modules`.
-
-It will find all the potentially unsafe places in your own code (with some considerably unlikely
-exceptions).
-
-### Finding problematic bits of code using Node.js 8
-
-If you’re using Node.js ≥ 8.0.0 (which is recommended), Node.js exposes multiple options that help with finding the relevant pieces of code:
-
-- `--trace-warnings` will make Node.js show a stack trace for this warning and other warnings that are printed by Node.js.
-- `--trace-deprecation` does the same thing, but only for deprecation warnings.
-- `--pending-deprecation` will show more types of deprecation warnings. In particular, it will show the `Buffer()` deprecation warning, even on Node.js 8.
-
-You can set these flags using an environment variable:
-
-```console
-$ export NODE_OPTIONS='--trace-warnings --pending-deprecation'
-$ cat example.js
-'use strict';
-const foo = new Buffer('foo');
-$ node example.js
-(node:7147) [DEP0005] DeprecationWarning: The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
- at showFlaggedDeprecation (buffer.js:127:13)
- at new Buffer (buffer.js:148:3)
- at Object.<anonymous> (/path/to/example.js:2:13)
- [... more stack trace lines ...]
-```
-
-### Finding problematic bits of code using linters
-
-Eslint rules [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
-or
-[node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
-also find calls to deprecated `Buffer()` API. Those rules are included in some pre-sets.
-
-There is a drawback, though, that it doesn't always
-[work correctly](https://github.com/chalker/safer-buffer#why-not-safe-buffer) when `Buffer` is
-overriden e.g. with a polyfill, so recommended is a combination of this and some other method
-described above.
-
-<a id="variant-1"></a>
-## Variant 1: Drop support for Node.js ≤ 4.4.x and 5.0.0 — 5.9.x.
-
-This is the recommended solution nowadays that would imply only minimal overhead.
-
-The Node.js 5.x release line has been unsupported since July 2016, and the Node.js 4.x release line reaches its End of Life in April 2018 (→ [Schedule](https://github.com/nodejs/Release#release-schedule)). This means that these versions of Node.js will *not* receive any updates, even in case of security issues, so using these release lines should be avoided, if at all possible.
-
-What you would do in this case is to convert all `new Buffer()` or `Buffer()` calls to use `Buffer.alloc()` or `Buffer.from()`, in the following way:
-
-- For `new Buffer(number)`, replace it with `Buffer.alloc(number)`.
-- For `new Buffer(string)` (or `new Buffer(string, encoding)`), replace it with `Buffer.from(string)` (or `Buffer.from(string, encoding)`).
-- For all other combinations of arguments (these are much rarer), also replace `new Buffer(...arguments)` with `Buffer.from(...arguments)`.
-
-Note that `Buffer.alloc()` is also _faster_ on the current Node.js versions than
-`new Buffer(size).fill(0)`, which is what you would otherwise need to ensure zero-filling.
-
-Enabling eslint rule [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
-or
-[node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
-is recommended to avoid accidential unsafe Buffer API usage.
-
-There is also a [JSCodeshift codemod](https://github.com/joyeecheung/node-dep-codemod#dep005)
-for automatically migrating Buffer constructors to `Buffer.alloc()` or `Buffer.from()`.
-Note that it currently only works with cases where the arguments are literals or where the
-constructor is invoked with two arguments.
-
-_If you currently support those older Node.js versions and dropping them would be a semver-major change
-for you, or if you support older branches of your packages, consider using [Variant 2](#variant-2)
-or [Variant 3](#variant-3) on older branches, so people using those older branches will also receive
-the fix. That way, you will eradicate potential issues caused by unguarded Buffer API usage and
-your users will not observe a runtime deprecation warning when running your code on Node.js 10._
-
-<a id="variant-2"></a>
-## Variant 2: Use a polyfill
-
-Utilize [safer-buffer](https://www.npmjs.com/package/safer-buffer) as a polyfill to support older
-Node.js versions.
-
-You would take exacly the same steps as in [Variant 1](#variant-1), but with a polyfill
-`const Buffer = require('safer-buffer').Buffer` in all files where you use the new `Buffer` api.
-
-Make sure that you do not use old `new Buffer` API — in any files where the line above is added,
-using old `new Buffer()` API will _throw_. It will be easy to notice that in CI, though.
-
-Alternatively, you could use [buffer-from](https://www.npmjs.com/package/buffer-from) and/or
-[buffer-alloc](https://www.npmjs.com/package/buffer-alloc) [ponyfills](https://ponyfill.com/) —
-those are great, the only downsides being 4 deps in the tree and slightly more code changes to
-migrate off them (as you would be using e.g. `Buffer.from` under a different name). If you need only
-`Buffer.from` polyfilled — `buffer-from` alone which comes with no extra dependencies.
-
-_Alternatively, you could use [safe-buffer](https://www.npmjs.com/package/safe-buffer) — it also
-provides a polyfill, but takes a different approach which has
-[it's drawbacks](https://github.com/chalker/safer-buffer#why-not-safe-buffer). It will allow you
-to also use the older `new Buffer()` API in your code, though — but that's arguably a benefit, as
-it is problematic, can cause issues in your code, and will start emitting runtime deprecation
-warnings starting with Node.js 10._
-
-Note that in either case, it is important that you also remove all calls to the old Buffer
-API manually — just throwing in `safe-buffer` doesn't fix the problem by itself, it just provides
-a polyfill for the new API. I have seen people doing that mistake.
-
-Enabling eslint rule [no-buffer-constructor](https://eslint.org/docs/rules/no-buffer-constructor)
-or
-[node/no-deprecated-api](https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-deprecated-api.md)
-is recommended.
-
-_Don't forget to drop the polyfill usage once you drop support for Node.js < 4.5.0._
-
-<a id="variant-3"></a>
-## Variant 3 — manual detection, with safeguards
-
-This is useful if you create Buffer instances in only a few places (e.g. one), or you have your own
-wrapper around them.
-
-### Buffer(0)
-
-This special case for creating empty buffers can be safely replaced with `Buffer.concat([])`, which
-returns the same result all the way down to Node.js 0.8.x.
-
-### Buffer(notNumber)
-
-Before:
-
-```js
-var buf = new Buffer(notNumber, encoding);
-```
-
-After:
-
-```js
-var buf;
-if (Buffer.from && Buffer.from !== Uint8Array.from) {
- buf = Buffer.from(notNumber, encoding);
-} else {
- if (typeof notNumber === 'number')
- throw new Error('The "size" argument must be of type number.');
- buf = new Buffer(notNumber, encoding);
-}
-```
-
-`encoding` is optional.
-
-Note that the `typeof notNumber` before `new Buffer` is required (for cases when `notNumber` argument is not
-hard-coded) and _is not caused by the deprecation of Buffer constructor_ — it's exactly _why_ the
-Buffer constructor is deprecated. Ecosystem packages lacking this type-check caused numereous
-security issues — situations when unsanitized user input could end up in the `Buffer(arg)` create
-problems ranging from DoS to leaking sensitive information to the attacker from the process memory.
-
-When `notNumber` argument is hardcoded (e.g. literal `"abc"` or `[0,1,2]`), the `typeof` check can
-be omitted.
-
-Also note that using TypeScript does not fix this problem for you — when libs written in
-`TypeScript` are used from JS, or when user input ends up there — it behaves exactly as pure JS, as
-all type checks are translation-time only and are not present in the actual JS code which TS
-compiles to.
-
-### Buffer(number)
-
-For Node.js 0.10.x (and below) support:
-
-```js
-var buf;
-if (Buffer.alloc) {
- buf = Buffer.alloc(number);
-} else {
- buf = new Buffer(number);
- buf.fill(0);
-}
-```
-
-Otherwise (Node.js ≥ 0.12.x):
-
-```js
-const buf = Buffer.alloc ? Buffer.alloc(number) : new Buffer(number).fill(0);
-```
-
-## Regarding Buffer.allocUnsafe
-
-Be extra cautious when using `Buffer.allocUnsafe`:
- * Don't use it if you don't have a good reason to
- * e.g. you probably won't ever see a performance difference for small buffers, in fact, those
- might be even faster with `Buffer.alloc()`,
- * if your code is not in the hot code path — you also probably won't notice a difference,
- * keep in mind that zero-filling minimizes the potential risks.
- * If you use it, make sure that you never return the buffer in a partially-filled state,
- * if you are writing to it sequentially — always truncate it to the actuall written length
-
-Errors in handling buffers allocated with `Buffer.allocUnsafe` could result in various issues,
-ranged from undefined behaviour of your code to sensitive data (user input, passwords, certs)
-leaking to the remote attacker.
-
-_Note that the same applies to `new Buffer` usage without zero-filling, depending on the Node.js
-version (and lacking type checks also adds DoS to the list of potential problems)._
-
-<a id="faq"></a>
-## FAQ
-
-<a id="design-flaws"></a>
-### What is wrong with the `Buffer` constructor?
-
-The `Buffer` constructor could be used to create a buffer in many different ways:
-
-- `new Buffer(42)` creates a `Buffer` of 42 bytes. Before Node.js 8, this buffer contained
- *arbitrary memory* for performance reasons, which could include anything ranging from
- program source code to passwords and encryption keys.
-- `new Buffer('abc')` creates a `Buffer` that contains the UTF-8-encoded version of
- the string `'abc'`. A second argument could specify another encoding: For example,
- `new Buffer(string, 'base64')` could be used to convert a Base64 string into the original
- sequence of bytes that it represents.
-- There are several other combinations of arguments.
-
-This meant that, in code like `var buffer = new Buffer(foo);`, *it is not possible to tell
-what exactly the contents of the generated buffer are* without knowing the type of `foo`.
-
-Sometimes, the value of `foo` comes from an external source. For example, this function
-could be exposed as a service on a web server, converting a UTF-8 string into its Base64 form:
-
-```
-function stringToBase64(req, res) {
- // The request body should have the format of `{ string: 'foobar' }`
- const rawBytes = new Buffer(req.body.string)
- const encoded = rawBytes.toString('base64')
- res.end({ encoded: encoded })
-}
-```
-
-Note that this code does *not* validate the type of `req.body.string`:
-
-- `req.body.string` is expected to be a string. If this is the case, all goes well.
-- `req.body.string` is controlled by the client that sends the request.
-- If `req.body.string` is the *number* `50`, the `rawBytes` would be 50 bytes:
- - Before Node.js 8, the content would be uninitialized
- - After Node.js 8, the content would be `50` bytes with the value `0`
-
-Because of the missing type check, an attacker could intentionally send a number
-as part of the request. Using this, they can either:
-
-- Read uninitialized memory. This **will** leak passwords, encryption keys and other
- kinds of sensitive information. (Information leak)
-- Force the program to allocate a large amount of memory. For example, when specifying
- `500000000` as the input value, each request will allocate 500MB of memory.
- This can be used to either exhaust the memory available of a program completely
- and make it crash, or slow it down significantly. (Denial of Service)
-
-Both of these scenarios are considered serious security issues in a real-world
-web server context.
-
-when using `Buffer.from(req.body.string)` instead, passing a number will always
-throw an exception instead, giving a controlled behaviour that can always be
-handled by the program.
-
-<a id="ecosystem-usage"></a>
-### The `Buffer()` constructor has been deprecated for a while. Is this really an issue?
-
-Surveys of code in the `npm` ecosystem have shown that the `Buffer()` constructor is still
-widely used. This includes new code, and overall usage of such code has actually been
-*increasing*.
diff --git a/Server/node_modules/safer-buffer/Readme.md b/Server/node_modules/safer-buffer/Readme.md
deleted file mode 100644
index 14b0822..0000000
--- a/Server/node_modules/safer-buffer/Readme.md
+++ /dev/null
@@ -1,156 +0,0 @@
-# safer-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![javascript style guide][standard-image]][standard-url] [![Security Responsible Disclosure][secuirty-image]][secuirty-url]
-
-[travis-image]: https://travis-ci.org/ChALkeR/safer-buffer.svg?branch=master
-[travis-url]: https://travis-ci.org/ChALkeR/safer-buffer
-[npm-image]: https://img.shields.io/npm/v/safer-buffer.svg
-[npm-url]: https://npmjs.org/package/safer-buffer
-[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
-[standard-url]: https://standardjs.com
-[secuirty-image]: https://img.shields.io/badge/Security-Responsible%20Disclosure-green.svg
-[secuirty-url]: https://github.com/nodejs/security-wg/blob/master/processes/responsible_disclosure_template.md
-
-Modern Buffer API polyfill without footguns, working on Node.js from 0.8 to current.
-
-## How to use?
-
-First, port all `Buffer()` and `new Buffer()` calls to `Buffer.alloc()` and `Buffer.from()` API.
-
-Then, to achieve compatibility with outdated Node.js versions (`<4.5.0` and 5.x `<5.9.0`), use
-`const Buffer = require('safer-buffer').Buffer` in all files where you make calls to the new
-Buffer API. _Use `var` instead of `const` if you need that for your Node.js version range support._
-
-Also, see the
-[porting Buffer](https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md) guide.
-
-## Do I need it?
-
-Hopefully, not — dropping support for outdated Node.js versions should be fine nowdays, and that
-is the recommended path forward. You _do_ need to port to the `Buffer.alloc()` and `Buffer.from()`
-though.
-
-See the [porting guide](https://github.com/ChALkeR/safer-buffer/blob/master/Porting-Buffer.md)
-for a better description.
-
-## Why not [safe-buffer](https://npmjs.com/safe-buffer)?
-
-_In short: while `safe-buffer` serves as a polyfill for the new API, it allows old API usage and
-itself contains footguns._
-
-`safe-buffer` could be used safely to get the new API while still keeping support for older
-Node.js versions (like this module), but while analyzing ecosystem usage of the old Buffer API
-I found out that `safe-buffer` is itself causing problems in some cases.
-
-For example, consider the following snippet:
-
-```console
-$ cat example.unsafe.js
-console.log(Buffer(20))
-$ ./node-v6.13.0-linux-x64/bin/node example.unsafe.js
-<Buffer 0a 00 00 00 00 00 00 00 28 13 de 02 00 00 00 00 05 00 00 00>
-$ standard example.unsafe.js
-standard: Use JavaScript Standard Style (https://standardjs.com)
- /home/chalker/repo/safer-buffer/example.unsafe.js:2:13: 'Buffer()' was deprecated since v6. Use 'Buffer.alloc()' or 'Buffer.from()' (use 'https://www.npmjs.com/package/safe-buffer' for '<4.5.0') instead.
-```
-
-This is allocates and writes to console an uninitialized chunk of memory.
-[standard](https://www.npmjs.com/package/standard) linter (among others) catch that and warn people
-to avoid using unsafe API.
-
-Let's now throw in `safe-buffer`!
-
-```console
-$ cat example.safe-buffer.js
-const Buffer = require('safe-buffer').Buffer
-console.log(Buffer(20))
-$ standard example.safe-buffer.js
-$ ./node-v6.13.0-linux-x64/bin/node example.safe-buffer.js
-<Buffer 08 00 00 00 00 00 00 00 28 58 01 82 fe 7f 00 00 00 00 00 00>
-```
-
-See the problem? Adding in `safe-buffer` _magically removes the lint warning_, but the behavior
-remains identiсal to what we had before, and when launched on Node.js 6.x LTS — this dumps out
-chunks of uninitialized memory.
-_And this code will still emit runtime warnings on Node.js 10.x and above._
-
-That was done by design. I first considered changing `safe-buffer`, prohibiting old API usage or
-emitting warnings on it, but that significantly diverges from `safe-buffer` design. After some
-discussion, it was decided to move my approach into a separate package, and _this is that separate
-package_.
-
-This footgun is not imaginary — I observed top-downloaded packages doing that kind of thing,
-«fixing» the lint warning by blindly including `safe-buffer` without any actual changes.
-
-Also in some cases, even if the API _was_ migrated to use of safe Buffer API — a random pull request
-can bring unsafe Buffer API usage back to the codebase by adding new calls — and that could go
-unnoticed even if you have a linter prohibiting that (becase of the reason stated above), and even
-pass CI. _I also observed that being done in popular packages._
-
-Some examples:
- * [webdriverio](https://github.com/webdriverio/webdriverio/commit/05cbd3167c12e4930f09ef7cf93b127ba4effae4#diff-124380949022817b90b622871837d56cR31)
- (a module with 548 759 downloads/month),
- * [websocket-stream](https://github.com/maxogden/websocket-stream/commit/c9312bd24d08271687d76da0fe3c83493871cf61)
- (218 288 d/m, fix in [maxogden/websocket-stream#142](https://github.com/maxogden/websocket-stream/pull/142)),
- * [node-serialport](https://github.com/node-serialport/node-serialport/commit/e8d9d2b16c664224920ce1c895199b1ce2def48c)
- (113 138 d/m, fix in [node-serialport/node-serialport#1510](https://github.com/node-serialport/node-serialport/pull/1510)),
- * [karma](https://github.com/karma-runner/karma/commit/3d94b8cf18c695104ca195334dc75ff054c74eec)
- (3 973 193 d/m, fix in [karma-runner/karma#2947](https://github.com/karma-runner/karma/pull/2947)),
- * [spdy-transport](https://github.com/spdy-http2/spdy-transport/commit/5375ac33f4a62a4f65bcfc2827447d42a5dbe8b1)
- (5 970 727 d/m, fix in [spdy-http2/spdy-transport#53](https://github.com/spdy-http2/spdy-transport/pull/53)).
- * And there are a lot more over the ecosystem.
-
-I filed a PR at
-[mysticatea/eslint-plugin-node#110](https://github.com/mysticatea/eslint-plugin-node/pull/110) to
-partially fix that (for cases when that lint rule is used), but it is a semver-major change for
-linter rules and presets, so it would take significant time for that to reach actual setups.
-_It also hasn't been released yet (2018-03-20)._
-
-Also, `safer-buffer` discourages the usage of `.allocUnsafe()`, which is often done by a mistake.
-It still supports it with an explicit concern barier, by placing it under
-`require('safer-buffer/dangereous')`.
-
-## But isn't throwing bad?
-
-Not really. It's an error that could be noticed and fixed early, instead of causing havoc later like
-unguarded `new Buffer()` calls that end up receiving user input can do.
-
-This package affects only the files where `var Buffer = require('safer-buffer').Buffer` was done, so
-it is really simple to keep track of things and make sure that you don't mix old API usage with that.
-Also, CI should hint anything that you might have missed.
-
-New commits, if tested, won't land new usage of unsafe Buffer API this way.
-_Node.js 10.x also deals with that by printing a runtime depecation warning._
-
-### Would it affect third-party modules?
-
-No, unless you explicitly do an awful thing like monkey-patching or overriding the built-in `Buffer`.
-Don't do that.
-
-### But I don't want throwing…
-
-That is also fine!
-
-Also, it could be better in some cases when you don't comprehensive enough test coverage.
-
-In that case — just don't override `Buffer` and use
-`var SaferBuffer = require('safer-buffer').Buffer` instead.
-
-That way, everything using `Buffer` natively would still work, but there would be two drawbacks:
-
-* `Buffer.from`/`Buffer.alloc` won't be polyfilled — use `SaferBuffer.from` and
- `SaferBuffer.alloc` instead.
-* You are still open to accidentally using the insecure deprecated API — use a linter to catch that.
-
-Note that using a linter to catch accidential `Buffer` constructor usage in this case is strongly
-recommended. `Buffer` is not overriden in this usecase, so linters won't get confused.
-
-## «Without footguns»?
-
-Well, it is still possible to do _some_ things with `Buffer` API, e.g. accessing `.buffer` property
-on older versions and duping things from there. You shouldn't do that in your code, probabably.
-
-The intention is to remove the most significant footguns that affect lots of packages in the
-ecosystem, and to do it in the proper way.
-
-Also, this package doesn't protect against security issues affecting some Node.js versions, so for
-usage in your own production code, it is still recommended to update to a Node.js version
-[supported by upstream](https://github.com/nodejs/release#release-schedule).
diff --git a/Server/node_modules/safer-buffer/dangerous.js b/Server/node_modules/safer-buffer/dangerous.js
deleted file mode 100644
index ca41fdc..0000000
--- a/Server/node_modules/safer-buffer/dangerous.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/* eslint-disable node/no-deprecated-api */
-
-'use strict'
-
-var buffer = require('buffer')
-var Buffer = buffer.Buffer
-var safer = require('./safer.js')
-var Safer = safer.Buffer
-
-var dangerous = {}
-
-var key
-
-for (key in safer) {
- if (!safer.hasOwnProperty(key)) continue
- dangerous[key] = safer[key]
-}
-
-var Dangereous = dangerous.Buffer = {}
-
-// Copy Safer API
-for (key in Safer) {
- if (!Safer.hasOwnProperty(key)) continue
- Dangereous[key] = Safer[key]
-}
-
-// Copy those missing unsafe methods, if they are present
-for (key in Buffer) {
- if (!Buffer.hasOwnProperty(key)) continue
- if (Dangereous.hasOwnProperty(key)) continue
- Dangereous[key] = Buffer[key]
-}
-
-if (!Dangereous.allocUnsafe) {
- Dangereous.allocUnsafe = function (size) {
- if (typeof size !== 'number') {
- throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
- }
- if (size < 0 || size >= 2 * (1 << 30)) {
- throw new RangeError('The value "' + size + '" is invalid for option "size"')
- }
- return Buffer(size)
- }
-}
-
-if (!Dangereous.allocUnsafeSlow) {
- Dangereous.allocUnsafeSlow = function (size) {
- if (typeof size !== 'number') {
- throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
- }
- if (size < 0 || size >= 2 * (1 << 30)) {
- throw new RangeError('The value "' + size + '" is invalid for option "size"')
- }
- return buffer.SlowBuffer(size)
- }
-}
-
-module.exports = dangerous
diff --git a/Server/node_modules/safer-buffer/package.json b/Server/node_modules/safer-buffer/package.json
deleted file mode 100644
index fbc5f95..0000000
--- a/Server/node_modules/safer-buffer/package.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "_from": "safer-buffer@>= 2.1.2 < 3",
- "_id": "safer-buffer@2.1.2",
- "_inBundle": false,
- "_integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
- "_location": "/safer-buffer",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "safer-buffer@>= 2.1.2 < 3",
- "name": "safer-buffer",
- "escapedName": "safer-buffer",
- "rawSpec": ">= 2.1.2 < 3",
- "saveSpec": null,
- "fetchSpec": ">= 2.1.2 < 3"
- },
- "_requiredBy": [
- "/iconv-lite"
- ],
- "_resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "_shasum": "44fa161b0187b9549dd84bb91802f9bd8385cd6a",
- "_spec": "safer-buffer@>= 2.1.2 < 3",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/iconv-lite",
- "author": {
- "name": "Nikita Skovoroda",
- "email": "chalkerx@gmail.com",
- "url": "https://github.com/ChALkeR"
- },
- "bugs": {
- "url": "https://github.com/ChALkeR/safer-buffer/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Modern Buffer API polyfill without footguns",
- "devDependencies": {
- "standard": "^11.0.1",
- "tape": "^4.9.0"
- },
- "files": [
- "Porting-Buffer.md",
- "Readme.md",
- "tests.js",
- "dangerous.js",
- "safer.js"
- ],
- "homepage": "https://github.com/ChALkeR/safer-buffer#readme",
- "license": "MIT",
- "main": "safer.js",
- "name": "safer-buffer",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/ChALkeR/safer-buffer.git"
- },
- "scripts": {
- "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js",
- "test": "standard && tape tests.js"
- },
- "version": "2.1.2"
-}
diff --git a/Server/node_modules/safer-buffer/safer.js b/Server/node_modules/safer-buffer/safer.js
deleted file mode 100644
index 37c7e1a..0000000
--- a/Server/node_modules/safer-buffer/safer.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/* eslint-disable node/no-deprecated-api */
-
-'use strict'
-
-var buffer = require('buffer')
-var Buffer = buffer.Buffer
-
-var safer = {}
-
-var key
-
-for (key in buffer) {
- if (!buffer.hasOwnProperty(key)) continue
- if (key === 'SlowBuffer' || key === 'Buffer') continue
- safer[key] = buffer[key]
-}
-
-var Safer = safer.Buffer = {}
-for (key in Buffer) {
- if (!Buffer.hasOwnProperty(key)) continue
- if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue
- Safer[key] = Buffer[key]
-}
-
-safer.Buffer.prototype = Buffer.prototype
-
-if (!Safer.from || Safer.from === Uint8Array.from) {
- Safer.from = function (value, encodingOrOffset, length) {
- if (typeof value === 'number') {
- throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value)
- }
- if (value && typeof value.length === 'undefined') {
- throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value)
- }
- return Buffer(value, encodingOrOffset, length)
- }
-}
-
-if (!Safer.alloc) {
- Safer.alloc = function (size, fill, encoding) {
- if (typeof size !== 'number') {
- throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size)
- }
- if (size < 0 || size >= 2 * (1 << 30)) {
- throw new RangeError('The value "' + size + '" is invalid for option "size"')
- }
- var buf = Buffer(size)
- if (!fill || fill.length === 0) {
- buf.fill(0)
- } else if (typeof encoding === 'string') {
- buf.fill(fill, encoding)
- } else {
- buf.fill(fill)
- }
- return buf
- }
-}
-
-if (!safer.kStringMaxLength) {
- try {
- safer.kStringMaxLength = process.binding('buffer').kStringMaxLength
- } catch (e) {
- // we can't determine kStringMaxLength in environments where process.binding
- // is unsupported, so let's not set it
- }
-}
-
-if (!safer.constants) {
- safer.constants = {
- MAX_LENGTH: safer.kMaxLength
- }
- if (safer.kStringMaxLength) {
- safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength
- }
-}
-
-module.exports = safer
diff --git a/Server/node_modules/safer-buffer/tests.js b/Server/node_modules/safer-buffer/tests.js
deleted file mode 100644
index 7ed2777..0000000
--- a/Server/node_modules/safer-buffer/tests.js
+++ /dev/null
@@ -1,406 +0,0 @@
-/* eslint-disable node/no-deprecated-api */
-
-'use strict'
-
-var test = require('tape')
-
-var buffer = require('buffer')
-
-var index = require('./')
-var safer = require('./safer')
-var dangerous = require('./dangerous')
-
-/* Inheritance tests */
-
-test('Default is Safer', function (t) {
- t.equal(index, safer)
- t.notEqual(safer, dangerous)
- t.notEqual(index, dangerous)
- t.end()
-})
-
-test('Is not a function', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(typeof impl, 'object')
- t.equal(typeof impl.Buffer, 'object')
- });
- [buffer].forEach(function (impl) {
- t.equal(typeof impl, 'object')
- t.equal(typeof impl.Buffer, 'function')
- })
- t.end()
-})
-
-test('Constructor throws', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.throws(function () { impl.Buffer() })
- t.throws(function () { impl.Buffer(0) })
- t.throws(function () { impl.Buffer('a') })
- t.throws(function () { impl.Buffer('a', 'utf-8') })
- t.throws(function () { return new impl.Buffer() })
- t.throws(function () { return new impl.Buffer(0) })
- t.throws(function () { return new impl.Buffer('a') })
- t.throws(function () { return new impl.Buffer('a', 'utf-8') })
- })
- t.end()
-})
-
-test('Safe methods exist', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(typeof impl.Buffer.alloc, 'function', 'alloc')
- t.equal(typeof impl.Buffer.from, 'function', 'from')
- })
- t.end()
-})
-
-test('Unsafe methods exist only in Dangerous', function (t) {
- [index, safer].forEach(function (impl) {
- t.equal(typeof impl.Buffer.allocUnsafe, 'undefined')
- t.equal(typeof impl.Buffer.allocUnsafeSlow, 'undefined')
- });
- [dangerous].forEach(function (impl) {
- t.equal(typeof impl.Buffer.allocUnsafe, 'function')
- t.equal(typeof impl.Buffer.allocUnsafeSlow, 'function')
- })
- t.end()
-})
-
-test('Generic methods/properties are defined and equal', function (t) {
- ['poolSize', 'isBuffer', 'concat', 'byteLength'].forEach(function (method) {
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl.Buffer[method], buffer.Buffer[method], method)
- t.notEqual(typeof impl.Buffer[method], 'undefined', method)
- })
- })
- t.end()
-})
-
-test('Built-in buffer static methods/properties are inherited', function (t) {
- Object.keys(buffer).forEach(function (method) {
- if (method === 'SlowBuffer' || method === 'Buffer') return;
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl[method], buffer[method], method)
- t.notEqual(typeof impl[method], 'undefined', method)
- })
- })
- t.end()
-})
-
-test('Built-in Buffer static methods/properties are inherited', function (t) {
- Object.keys(buffer.Buffer).forEach(function (method) {
- if (method === 'allocUnsafe' || method === 'allocUnsafeSlow') return;
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl.Buffer[method], buffer.Buffer[method], method)
- t.notEqual(typeof impl.Buffer[method], 'undefined', method)
- })
- })
- t.end()
-})
-
-test('.prototype property of Buffer is inherited', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl.Buffer.prototype, buffer.Buffer.prototype, 'prototype')
- t.notEqual(typeof impl.Buffer.prototype, 'undefined', 'prototype')
- })
- t.end()
-})
-
-test('All Safer methods are present in Dangerous', function (t) {
- Object.keys(safer).forEach(function (method) {
- if (method === 'Buffer') return;
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl[method], safer[method], method)
- if (method !== 'kStringMaxLength') {
- t.notEqual(typeof impl[method], 'undefined', method)
- }
- })
- })
- Object.keys(safer.Buffer).forEach(function (method) {
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl.Buffer[method], safer.Buffer[method], method)
- t.notEqual(typeof impl.Buffer[method], 'undefined', method)
- })
- })
- t.end()
-})
-
-test('Safe methods from Dangerous methods are present in Safer', function (t) {
- Object.keys(dangerous).forEach(function (method) {
- if (method === 'Buffer') return;
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl[method], dangerous[method], method)
- if (method !== 'kStringMaxLength') {
- t.notEqual(typeof impl[method], 'undefined', method)
- }
- })
- })
- Object.keys(dangerous.Buffer).forEach(function (method) {
- if (method === 'allocUnsafe' || method === 'allocUnsafeSlow') return;
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl.Buffer[method], dangerous.Buffer[method], method)
- t.notEqual(typeof impl.Buffer[method], 'undefined', method)
- })
- })
- t.end()
-})
-
-/* Behaviour tests */
-
-test('Methods return Buffers', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0)))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 10)))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 'a')))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10)))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10, 'x')))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(9, 'ab')))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('')))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string')))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string', 'utf-8')))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64')))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.from([0, 42, 3])))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.from(new Uint8Array([0, 42, 3]))))
- t.ok(buffer.Buffer.isBuffer(impl.Buffer.from([])))
- });
- ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
- t.ok(buffer.Buffer.isBuffer(dangerous.Buffer[method](0)))
- t.ok(buffer.Buffer.isBuffer(dangerous.Buffer[method](10)))
- })
- t.end()
-})
-
-test('Constructor is buffer.Buffer', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl.Buffer.alloc(0).constructor, buffer.Buffer)
- t.equal(impl.Buffer.alloc(0, 10).constructor, buffer.Buffer)
- t.equal(impl.Buffer.alloc(0, 'a').constructor, buffer.Buffer)
- t.equal(impl.Buffer.alloc(10).constructor, buffer.Buffer)
- t.equal(impl.Buffer.alloc(10, 'x').constructor, buffer.Buffer)
- t.equal(impl.Buffer.alloc(9, 'ab').constructor, buffer.Buffer)
- t.equal(impl.Buffer.from('').constructor, buffer.Buffer)
- t.equal(impl.Buffer.from('string').constructor, buffer.Buffer)
- t.equal(impl.Buffer.from('string', 'utf-8').constructor, buffer.Buffer)
- t.equal(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64').constructor, buffer.Buffer)
- t.equal(impl.Buffer.from([0, 42, 3]).constructor, buffer.Buffer)
- t.equal(impl.Buffer.from(new Uint8Array([0, 42, 3])).constructor, buffer.Buffer)
- t.equal(impl.Buffer.from([]).constructor, buffer.Buffer)
- });
- [0, 10, 100].forEach(function (arg) {
- t.equal(dangerous.Buffer.allocUnsafe(arg).constructor, buffer.Buffer)
- t.equal(dangerous.Buffer.allocUnsafeSlow(arg).constructor, buffer.SlowBuffer(0).constructor)
- })
- t.end()
-})
-
-test('Invalid calls throw', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.throws(function () { impl.Buffer.from(0) })
- t.throws(function () { impl.Buffer.from(10) })
- t.throws(function () { impl.Buffer.from(10, 'utf-8') })
- t.throws(function () { impl.Buffer.from('string', 'invalid encoding') })
- t.throws(function () { impl.Buffer.from(-10) })
- t.throws(function () { impl.Buffer.from(1e90) })
- t.throws(function () { impl.Buffer.from(Infinity) })
- t.throws(function () { impl.Buffer.from(-Infinity) })
- t.throws(function () { impl.Buffer.from(NaN) })
- t.throws(function () { impl.Buffer.from(null) })
- t.throws(function () { impl.Buffer.from(undefined) })
- t.throws(function () { impl.Buffer.from() })
- t.throws(function () { impl.Buffer.from({}) })
- t.throws(function () { impl.Buffer.alloc('') })
- t.throws(function () { impl.Buffer.alloc('string') })
- t.throws(function () { impl.Buffer.alloc('string', 'utf-8') })
- t.throws(function () { impl.Buffer.alloc('b25ldHdvdGhyZWU=', 'base64') })
- t.throws(function () { impl.Buffer.alloc(-10) })
- t.throws(function () { impl.Buffer.alloc(1e90) })
- t.throws(function () { impl.Buffer.alloc(2 * (1 << 30)) })
- t.throws(function () { impl.Buffer.alloc(Infinity) })
- t.throws(function () { impl.Buffer.alloc(-Infinity) })
- t.throws(function () { impl.Buffer.alloc(null) })
- t.throws(function () { impl.Buffer.alloc(undefined) })
- t.throws(function () { impl.Buffer.alloc() })
- t.throws(function () { impl.Buffer.alloc([]) })
- t.throws(function () { impl.Buffer.alloc([0, 42, 3]) })
- t.throws(function () { impl.Buffer.alloc({}) })
- });
- ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
- t.throws(function () { dangerous.Buffer[method]('') })
- t.throws(function () { dangerous.Buffer[method]('string') })
- t.throws(function () { dangerous.Buffer[method]('string', 'utf-8') })
- t.throws(function () { dangerous.Buffer[method](2 * (1 << 30)) })
- t.throws(function () { dangerous.Buffer[method](Infinity) })
- if (dangerous.Buffer[method] === buffer.Buffer.allocUnsafe) {
- t.skip('Skipping, older impl of allocUnsafe coerced negative sizes to 0')
- } else {
- t.throws(function () { dangerous.Buffer[method](-10) })
- t.throws(function () { dangerous.Buffer[method](-1e90) })
- t.throws(function () { dangerous.Buffer[method](-Infinity) })
- }
- t.throws(function () { dangerous.Buffer[method](null) })
- t.throws(function () { dangerous.Buffer[method](undefined) })
- t.throws(function () { dangerous.Buffer[method]() })
- t.throws(function () { dangerous.Buffer[method]([]) })
- t.throws(function () { dangerous.Buffer[method]([0, 42, 3]) })
- t.throws(function () { dangerous.Buffer[method]({}) })
- })
- t.end()
-})
-
-test('Buffers have appropriate lengths', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.equal(impl.Buffer.alloc(0).length, 0)
- t.equal(impl.Buffer.alloc(10).length, 10)
- t.equal(impl.Buffer.from('').length, 0)
- t.equal(impl.Buffer.from('string').length, 6)
- t.equal(impl.Buffer.from('string', 'utf-8').length, 6)
- t.equal(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64').length, 11)
- t.equal(impl.Buffer.from([0, 42, 3]).length, 3)
- t.equal(impl.Buffer.from(new Uint8Array([0, 42, 3])).length, 3)
- t.equal(impl.Buffer.from([]).length, 0)
- });
- ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
- t.equal(dangerous.Buffer[method](0).length, 0)
- t.equal(dangerous.Buffer[method](10).length, 10)
- })
- t.end()
-})
-
-test('Buffers have appropriate lengths (2)', function (t) {
- t.equal(index.Buffer.alloc, safer.Buffer.alloc)
- t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
- var ok = true;
- [ safer.Buffer.alloc,
- dangerous.Buffer.allocUnsafe,
- dangerous.Buffer.allocUnsafeSlow
- ].forEach(function (method) {
- for (var i = 0; i < 1e2; i++) {
- var length = Math.round(Math.random() * 1e5)
- var buf = method(length)
- if (!buffer.Buffer.isBuffer(buf)) ok = false
- if (buf.length !== length) ok = false
- }
- })
- t.ok(ok)
- t.end()
-})
-
-test('.alloc(size) is zero-filled and has correct length', function (t) {
- t.equal(index.Buffer.alloc, safer.Buffer.alloc)
- t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
- var ok = true
- for (var i = 0; i < 1e2; i++) {
- var length = Math.round(Math.random() * 2e6)
- var buf = index.Buffer.alloc(length)
- if (!buffer.Buffer.isBuffer(buf)) ok = false
- if (buf.length !== length) ok = false
- var j
- for (j = 0; j < length; j++) {
- if (buf[j] !== 0) ok = false
- }
- buf.fill(1)
- for (j = 0; j < length; j++) {
- if (buf[j] !== 1) ok = false
- }
- }
- t.ok(ok)
- t.end()
-})
-
-test('.allocUnsafe / .allocUnsafeSlow are fillable and have correct lengths', function (t) {
- ['allocUnsafe', 'allocUnsafeSlow'].forEach(function (method) {
- var ok = true
- for (var i = 0; i < 1e2; i++) {
- var length = Math.round(Math.random() * 2e6)
- var buf = dangerous.Buffer[method](length)
- if (!buffer.Buffer.isBuffer(buf)) ok = false
- if (buf.length !== length) ok = false
- buf.fill(0, 0, length)
- var j
- for (j = 0; j < length; j++) {
- if (buf[j] !== 0) ok = false
- }
- buf.fill(1, 0, length)
- for (j = 0; j < length; j++) {
- if (buf[j] !== 1) ok = false
- }
- }
- t.ok(ok, method)
- })
- t.end()
-})
-
-test('.alloc(size, fill) is `fill`-filled', function (t) {
- t.equal(index.Buffer.alloc, safer.Buffer.alloc)
- t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
- var ok = true
- for (var i = 0; i < 1e2; i++) {
- var length = Math.round(Math.random() * 2e6)
- var fill = Math.round(Math.random() * 255)
- var buf = index.Buffer.alloc(length, fill)
- if (!buffer.Buffer.isBuffer(buf)) ok = false
- if (buf.length !== length) ok = false
- for (var j = 0; j < length; j++) {
- if (buf[j] !== fill) ok = false
- }
- }
- t.ok(ok)
- t.end()
-})
-
-test('.alloc(size, fill) is `fill`-filled', function (t) {
- t.equal(index.Buffer.alloc, safer.Buffer.alloc)
- t.equal(index.Buffer.alloc, dangerous.Buffer.alloc)
- var ok = true
- for (var i = 0; i < 1e2; i++) {
- var length = Math.round(Math.random() * 2e6)
- var fill = Math.round(Math.random() * 255)
- var buf = index.Buffer.alloc(length, fill)
- if (!buffer.Buffer.isBuffer(buf)) ok = false
- if (buf.length !== length) ok = false
- for (var j = 0; j < length; j++) {
- if (buf[j] !== fill) ok = false
- }
- }
- t.ok(ok)
- t.deepEqual(index.Buffer.alloc(9, 'a'), index.Buffer.alloc(9, 97))
- t.notDeepEqual(index.Buffer.alloc(9, 'a'), index.Buffer.alloc(9, 98))
-
- var tmp = new buffer.Buffer(2)
- tmp.fill('ok')
- if (tmp[1] === tmp[0]) {
- // Outdated Node.js
- t.deepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('ooooo'))
- } else {
- t.deepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('okoko'))
- }
- t.notDeepEqual(index.Buffer.alloc(5, 'ok'), index.Buffer.from('kokok'))
-
- t.end()
-})
-
-test('safer.Buffer.from returns results same as Buffer constructor', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.deepEqual(impl.Buffer.from(''), new buffer.Buffer(''))
- t.deepEqual(impl.Buffer.from('string'), new buffer.Buffer('string'))
- t.deepEqual(impl.Buffer.from('string', 'utf-8'), new buffer.Buffer('string', 'utf-8'))
- t.deepEqual(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'), new buffer.Buffer('b25ldHdvdGhyZWU=', 'base64'))
- t.deepEqual(impl.Buffer.from([0, 42, 3]), new buffer.Buffer([0, 42, 3]))
- t.deepEqual(impl.Buffer.from(new Uint8Array([0, 42, 3])), new buffer.Buffer(new Uint8Array([0, 42, 3])))
- t.deepEqual(impl.Buffer.from([]), new buffer.Buffer([]))
- })
- t.end()
-})
-
-test('safer.Buffer.from returns consistent results', function (t) {
- [index, safer, dangerous].forEach(function (impl) {
- t.deepEqual(impl.Buffer.from(''), impl.Buffer.alloc(0))
- t.deepEqual(impl.Buffer.from([]), impl.Buffer.alloc(0))
- t.deepEqual(impl.Buffer.from(new Uint8Array([])), impl.Buffer.alloc(0))
- t.deepEqual(impl.Buffer.from('string', 'utf-8'), impl.Buffer.from('string'))
- t.deepEqual(impl.Buffer.from('string'), impl.Buffer.from([115, 116, 114, 105, 110, 103]))
- t.deepEqual(impl.Buffer.from('string'), impl.Buffer.from(impl.Buffer.from('string')))
- t.deepEqual(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64'), impl.Buffer.from('onetwothree'))
- t.notDeepEqual(impl.Buffer.from('b25ldHdvdGhyZWU='), impl.Buffer.from('onetwothree'))
- })
- t.end()
-})
diff --git a/Server/node_modules/send/HISTORY.md b/Server/node_modules/send/HISTORY.md
deleted file mode 100644
index d14ac06..0000000
--- a/Server/node_modules/send/HISTORY.md
+++ /dev/null
@@ -1,496 +0,0 @@
-0.17.1 / 2019-05-10
-===================
-
- * Set stricter CSP header in redirect & error responses
- * deps: range-parser@~1.2.1
-
-0.17.0 / 2019-05-03
-===================
-
- * deps: http-errors@~1.7.2
- - Set constructor name when possible
- - Use `toidentifier` module to make class names
- - deps: depd@~1.1.2
- - deps: setprototypeof@1.1.1
- - deps: statuses@'>= 1.5.0 < 2'
- * deps: mime@1.6.0
- - Add extensions for JPEG-2000 images
- - Add new `font/*` types from IANA
- - Add WASM mapping
- - Update `.bdoc` to `application/bdoc`
- - Update `.bmp` to `image/bmp`
- - Update `.m4a` to `audio/mp4`
- - Update `.rtf` to `application/rtf`
- - Update `.wav` to `audio/wav`
- - Update `.xml` to `application/xml`
- - Update generic extensions to `application/octet-stream`:
- `.deb`, `.dll`, `.dmg`, `.exe`, `.iso`, `.msi`
- - Use mime-score module to resolve extension conflicts
- * deps: ms@2.1.1
- - Add `week`/`w` support
- - Fix negative number handling
- * deps: statuses@~1.5.0
- * perf: remove redundant `path.normalize` call
-
-0.16.2 / 2018-02-07
-===================
-
- * Fix incorrect end tag in default error & redirects
- * deps: depd@~1.1.2
- - perf: remove argument reassignment
- * deps: encodeurl@~1.0.2
- - Fix encoding `%` as last character
- * deps: statuses@~1.4.0
-
-0.16.1 / 2017-09-29
-===================
-
- * Fix regression in edge-case behavior for empty `path`
-
-0.16.0 / 2017-09-27
-===================
-
- * Add `immutable` option
- * Fix missing `</html>` in default error & redirects
- * Use instance methods on steam to check for listeners
- * deps: mime@1.4.1
- - Add 70 new types for file extensions
- - Set charset as "UTF-8" for .js and .json
- * perf: improve path validation speed
-
-0.15.6 / 2017-09-22
-===================
-
- * deps: debug@2.6.9
- * perf: improve `If-Match` token parsing
-
-0.15.5 / 2017-09-20
-===================
-
- * deps: etag@~1.8.1
- - perf: replace regular expression with substring
- * deps: fresh@0.5.2
- - Fix handling of modified headers with invalid dates
- - perf: improve ETag match loop
- - perf: improve `If-None-Match` token parsing
-
-0.15.4 / 2017-08-05
-===================
-
- * deps: debug@2.6.8
- * deps: depd@~1.1.1
- - Remove unnecessary `Buffer` loading
- * deps: http-errors@~1.6.2
- - deps: depd@1.1.1
-
-0.15.3 / 2017-05-16
-===================
-
- * deps: debug@2.6.7
- - deps: ms@2.0.0
- * deps: ms@2.0.0
-
-0.15.2 / 2017-04-26
-===================
-
- * deps: debug@2.6.4
- - Fix `DEBUG_MAX_ARRAY_LENGTH`
- - deps: ms@0.7.3
- * deps: ms@1.0.0
-
-0.15.1 / 2017-03-04
-===================
-
- * Fix issue when `Date.parse` does not return `NaN` on invalid date
- * Fix strict violation in broken environments
-
-0.15.0 / 2017-02-25
-===================
-
- * Support `If-Match` and `If-Unmodified-Since` headers
- * Add `res` and `path` arguments to `directory` event
- * Remove usage of `res._headers` private field
- - Improves compatibility with Node.js 8 nightly
- * Send complete HTML document in redirect & error responses
- * Set default CSP header in redirect & error responses
- * Use `res.getHeaderNames()` when available
- * Use `res.headersSent` when available
- * deps: debug@2.6.1
- - Allow colors in workers
- - Deprecated `DEBUG_FD` environment variable set to `3` or higher
- - Fix error when running under React Native
- - Use same color for same namespace
- - deps: ms@0.7.2
- * deps: etag@~1.8.0
- * deps: fresh@0.5.0
- - Fix false detection of `no-cache` request directive
- - Fix incorrect result when `If-None-Match` has both `*` and ETags
- - Fix weak `ETag` matching to match spec
- - perf: delay reading header values until needed
- - perf: enable strict mode
- - perf: hoist regular expressions
- - perf: remove duplicate conditional
- - perf: remove unnecessary boolean coercions
- - perf: skip checking modified time if ETag check failed
- - perf: skip parsing `If-None-Match` when no `ETag` header
- - perf: use `Date.parse` instead of `new Date`
- * deps: http-errors@~1.6.1
- - Make `message` property enumerable for `HttpError`s
- - deps: setprototypeof@1.0.3
-
-0.14.2 / 2017-01-23
-===================
-
- * deps: http-errors@~1.5.1
- - deps: inherits@2.0.3
- - deps: setprototypeof@1.0.2
- - deps: statuses@'>= 1.3.1 < 2'
- * deps: ms@0.7.2
- * deps: statuses@~1.3.1
-
-0.14.1 / 2016-06-09
-===================
-
- * Fix redirect error when `path` contains raw non-URL characters
- * Fix redirect when `path` starts with multiple forward slashes
-
-0.14.0 / 2016-06-06
-===================
-
- * Add `acceptRanges` option
- * Add `cacheControl` option
- * Attempt to combine multiple ranges into single range
- * Correctly inherit from `Stream` class
- * Fix `Content-Range` header in 416 responses when using `start`/`end` options
- * Fix `Content-Range` header missing from default 416 responses
- * Ignore non-byte `Range` headers
- * deps: http-errors@~1.5.0
- - Add `HttpError` export, for `err instanceof createError.HttpError`
- - Support new code `421 Misdirected Request`
- - Use `setprototypeof` module to replace `__proto__` setting
- - deps: inherits@2.0.1
- - deps: statuses@'>= 1.3.0 < 2'
- - perf: enable strict mode
- * deps: range-parser@~1.2.0
- - Fix incorrectly returning -1 when there is at least one valid range
- - perf: remove internal function
- * deps: statuses@~1.3.0
- - Add `421 Misdirected Request`
- - perf: enable strict mode
- * perf: remove argument reassignment
-
-0.13.2 / 2016-03-05
-===================
-
- * Fix invalid `Content-Type` header when `send.mime.default_type` unset
-
-0.13.1 / 2016-01-16
-===================
-
- * deps: depd@~1.1.0
- - Support web browser loading
- - perf: enable strict mode
- * deps: destroy@~1.0.4
- - perf: enable strict mode
- * deps: escape-html@~1.0.3
- - perf: enable strict mode
- - perf: optimize string replacement
- - perf: use faster string coercion
- * deps: range-parser@~1.0.3
- - perf: enable strict mode
-
-0.13.0 / 2015-06-16
-===================
-
- * Allow Node.js HTTP server to set `Date` response header
- * Fix incorrectly removing `Content-Location` on 304 response
- * Improve the default redirect response headers
- * Send appropriate headers on default error response
- * Use `http-errors` for standard emitted errors
- * Use `statuses` instead of `http` module for status messages
- * deps: escape-html@1.0.2
- * deps: etag@~1.7.0
- - Improve stat performance by removing hashing
- * deps: fresh@0.3.0
- - Add weak `ETag` matching support
- * deps: on-finished@~2.3.0
- - Add defined behavior for HTTP `CONNECT` requests
- - Add defined behavior for HTTP `Upgrade` requests
- - deps: ee-first@1.1.1
- * perf: enable strict mode
- * perf: remove unnecessary array allocations
-
-0.12.3 / 2015-05-13
-===================
-
- * deps: debug@~2.2.0
- - deps: ms@0.7.1
- * deps: depd@~1.0.1
- * deps: etag@~1.6.0
- - Improve support for JXcore
- - Support "fake" stats objects in environments without `fs`
- * deps: ms@0.7.1
- - Prevent extraordinarily long inputs
- * deps: on-finished@~2.2.1
-
-0.12.2 / 2015-03-13
-===================
-
- * Throw errors early for invalid `extensions` or `index` options
- * deps: debug@~2.1.3
- - Fix high intensity foreground color for bold
- - deps: ms@0.7.0
-
-0.12.1 / 2015-02-17
-===================
-
- * Fix regression sending zero-length files
-
-0.12.0 / 2015-02-16
-===================
-
- * Always read the stat size from the file
- * Fix mutating passed-in `options`
- * deps: mime@1.3.4
-
-0.11.1 / 2015-01-20
-===================
-
- * Fix `root` path disclosure
-
-0.11.0 / 2015-01-05
-===================
-
- * deps: debug@~2.1.1
- * deps: etag@~1.5.1
- - deps: crc@3.2.1
- * deps: ms@0.7.0
- - Add `milliseconds`
- - Add `msecs`
- - Add `secs`
- - Add `mins`
- - Add `hrs`
- - Add `yrs`
- * deps: on-finished@~2.2.0
-
-0.10.1 / 2014-10-22
-===================
-
- * deps: on-finished@~2.1.1
- - Fix handling of pipelined requests
-
-0.10.0 / 2014-10-15
-===================
-
- * deps: debug@~2.1.0
- - Implement `DEBUG_FD` env variable support
- * deps: depd@~1.0.0
- * deps: etag@~1.5.0
- - Improve string performance
- - Slightly improve speed for weak ETags over 1KB
-
-0.9.3 / 2014-09-24
-==================
-
- * deps: etag@~1.4.0
- - Support "fake" stats objects
-
-0.9.2 / 2014-09-15
-==================
-
- * deps: depd@0.4.5
- * deps: etag@~1.3.1
- * deps: range-parser@~1.0.2
-
-0.9.1 / 2014-09-07
-==================
-
- * deps: fresh@0.2.4
-
-0.9.0 / 2014-09-07
-==================
-
- * Add `lastModified` option
- * Use `etag` to generate `ETag` header
- * deps: debug@~2.0.0
-
-0.8.5 / 2014-09-04
-==================
-
- * Fix malicious path detection for empty string path
-
-0.8.4 / 2014-09-04
-==================
-
- * Fix a path traversal issue when using `root`
-
-0.8.3 / 2014-08-16
-==================
-
- * deps: destroy@1.0.3
- - renamed from dethroy
- * deps: on-finished@2.1.0
-
-0.8.2 / 2014-08-14
-==================
-
- * Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
- * deps: dethroy@1.0.2
-
-0.8.1 / 2014-08-05
-==================
-
- * Fix `extensions` behavior when file already has extension
-
-0.8.0 / 2014-08-05
-==================
-
- * Add `extensions` option
-
-0.7.4 / 2014-08-04
-==================
-
- * Fix serving index files without root dir
-
-0.7.3 / 2014-07-29
-==================
-
- * Fix incorrect 403 on Windows and Node.js 0.11
-
-0.7.2 / 2014-07-27
-==================
-
- * deps: depd@0.4.4
- - Work-around v8 generating empty stack traces
-
-0.7.1 / 2014-07-26
-==================
-
- * deps: depd@0.4.3
- - Fix exception when global `Error.stackTraceLimit` is too low
-
-0.7.0 / 2014-07-20
-==================
-
- * Deprecate `hidden` option; use `dotfiles` option
- * Add `dotfiles` option
- * deps: debug@1.0.4
- * deps: depd@0.4.2
- - Add `TRACE_DEPRECATION` environment variable
- - Remove non-standard grey color from color output
- - Support `--no-deprecation` argument
- - Support `--trace-deprecation` argument
-
-0.6.0 / 2014-07-11
-==================
-
- * Deprecate `from` option; use `root` option
- * Deprecate `send.etag()` -- use `etag` in `options`
- * Deprecate `send.hidden()` -- use `hidden` in `options`
- * Deprecate `send.index()` -- use `index` in `options`
- * Deprecate `send.maxage()` -- use `maxAge` in `options`
- * Deprecate `send.root()` -- use `root` in `options`
- * Cap `maxAge` value to 1 year
- * deps: debug@1.0.3
- - Add support for multiple wildcards in namespaces
-
-0.5.0 / 2014-06-28
-==================
-
- * Accept string for `maxAge` (converted by `ms`)
- * Add `headers` event
- * Include link in default redirect response
- * Use `EventEmitter.listenerCount` to count listeners
-
-0.4.3 / 2014-06-11
-==================
-
- * Do not throw un-catchable error on file open race condition
- * Use `escape-html` for HTML escaping
- * deps: debug@1.0.2
- - fix some debugging output colors on node.js 0.8
- * deps: finished@1.2.2
- * deps: fresh@0.2.2
-
-0.4.2 / 2014-06-09
-==================
-
- * fix "event emitter leak" warnings
- * deps: debug@1.0.1
- * deps: finished@1.2.1
-
-0.4.1 / 2014-06-02
-==================
-
- * Send `max-age` in `Cache-Control` in correct format
-
-0.4.0 / 2014-05-27
-==================
-
- * Calculate ETag with md5 for reduced collisions
- * Fix wrong behavior when index file matches directory
- * Ignore stream errors after request ends
- - Goodbye `EBADF, read`
- * Skip directories in index file search
- * deps: debug@0.8.1
-
-0.3.0 / 2014-04-24
-==================
-
- * Fix sending files with dots without root set
- * Coerce option types
- * Accept API options in options object
- * Set etags to "weak"
- * Include file path in etag
- * Make "Can't set headers after they are sent." catchable
- * Send full entity-body for multi range requests
- * Default directory access to 403 when index disabled
- * Support multiple index paths
- * Support "If-Range" header
- * Control whether to generate etags
- * deps: mime@1.2.11
-
-0.2.0 / 2014-01-29
-==================
-
- * update range-parser and fresh
-
-0.1.4 / 2013-08-11
-==================
-
- * update fresh
-
-0.1.3 / 2013-07-08
-==================
-
- * Revert "Fix fd leak"
-
-0.1.2 / 2013-07-03
-==================
-
- * Fix fd leak
-
-0.1.0 / 2012-08-25
-==================
-
- * add options parameter to send() that is passed to fs.createReadStream() [kanongil]
-
-0.0.4 / 2012-08-16
-==================
-
- * allow custom "Accept-Ranges" definition
-
-0.0.3 / 2012-07-16
-==================
-
- * fix normalization of the root directory. Closes #3
-
-0.0.2 / 2012-07-09
-==================
-
- * add passing of req explicitly for now (YUCK)
-
-0.0.1 / 2010-01-03
-==================
-
- * Initial release
diff --git a/Server/node_modules/send/LICENSE b/Server/node_modules/send/LICENSE
deleted file mode 100644
index 4aa69e8..0000000
--- a/Server/node_modules/send/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2012 TJ Holowaychuk
-Copyright (c) 2014-2016 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/send/README.md b/Server/node_modules/send/README.md
deleted file mode 100644
index 179e8c3..0000000
--- a/Server/node_modules/send/README.md
+++ /dev/null
@@ -1,329 +0,0 @@
-# send
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Linux Build][travis-image]][travis-url]
-[![Windows Build][appveyor-image]][appveyor-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Send is a library for streaming files from the file system as a http response
-supporting partial responses (Ranges), conditional-GET negotiation (If-Match,
-If-Unmodified-Since, If-None-Match, If-Modified-Since), high test coverage,
-and granular events which may be leveraged to take appropriate actions in your
-application or framework.
-
-Looking to serve up entire folders mapped to URLs? Try [serve-static](https://www.npmjs.org/package/serve-static).
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```bash
-$ npm install send
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var send = require('send')
-```
-
-### send(req, path, [options])
-
-Create a new `SendStream` for the given path to send to a `res`. The `req` is
-the Node.js HTTP request and the `path` is a urlencoded path to send (urlencoded,
-not the actual file-system path).
-
-#### Options
-
-##### acceptRanges
-
-Enable or disable accepting ranged requests, defaults to true.
-Disabling this will not send `Accept-Ranges` and ignore the contents
-of the `Range` request header.
-
-##### cacheControl
-
-Enable or disable setting `Cache-Control` response header, defaults to
-true. Disabling this will ignore the `immutable` and `maxAge` options.
-
-##### dotfiles
-
-Set how "dotfiles" are treated when encountered. A dotfile is a file
-or directory that begins with a dot ("."). Note this check is done on
-the path itself without checking if the path actually exists on the
-disk. If `root` is specified, only the dotfiles above the root are
-checked (i.e. the root itself can be within a dotfile when when set
-to "deny").
-
- - `'allow'` No special treatment for dotfiles.
- - `'deny'` Send a 403 for any request for a dotfile.
- - `'ignore'` Pretend like the dotfile does not exist and 404.
-
-The default value is _similar_ to `'ignore'`, with the exception that
-this default will not ignore the files within a directory that begins
-with a dot, for backward-compatibility.
-
-##### end
-
-Byte offset at which the stream ends, defaults to the length of the file
-minus 1. The end is inclusive in the stream, meaning `end: 3` will include
-the 4th byte in the stream.
-
-##### etag
-
-Enable or disable etag generation, defaults to true.
-
-##### extensions
-
-If a given file doesn't exist, try appending one of the given extensions,
-in the given order. By default, this is disabled (set to `false`). An
-example value that will serve extension-less HTML files: `['html', 'htm']`.
-This is skipped if the requested file already has an extension.
-
-##### immutable
-
-Enable or diable the `immutable` directive in the `Cache-Control` response
-header, defaults to `false`. If set to `true`, the `maxAge` option should
-also be specified to enable caching. The `immutable` directive will prevent
-supported clients from making conditional requests during the life of the
-`maxAge` option to check if the file has changed.
-
-##### index
-
-By default send supports "index.html" files, to disable this
-set `false` or to supply a new index pass a string or an array
-in preferred order.
-
-##### lastModified
-
-Enable or disable `Last-Modified` header, defaults to true. Uses the file
-system's last modified value.
-
-##### maxAge
-
-Provide a max-age in milliseconds for http caching, defaults to 0.
-This can also be a string accepted by the
-[ms](https://www.npmjs.org/package/ms#readme) module.
-
-##### root
-
-Serve files relative to `path`.
-
-##### start
-
-Byte offset at which the stream starts, defaults to 0. The start is inclusive,
-meaning `start: 2` will include the 3rd byte in the stream.
-
-#### Events
-
-The `SendStream` is an event emitter and will emit the following events:
-
- - `error` an error occurred `(err)`
- - `directory` a directory was requested `(res, path)`
- - `file` a file was requested `(path, stat)`
- - `headers` the headers are about to be set on a file `(res, path, stat)`
- - `stream` file streaming has started `(stream)`
- - `end` streaming has completed
-
-#### .pipe
-
-The `pipe` method is used to pipe the response into the Node.js HTTP response
-object, typically `send(req, path, options).pipe(res)`.
-
-### .mime
-
-The `mime` export is the global instance of of the
-[`mime` npm module](https://www.npmjs.com/package/mime).
-
-This is used to configure the MIME types that are associated with file extensions
-as well as other options for how to resolve the MIME type of a file (like the
-default type to use for an unknown file extension).
-
-## Error-handling
-
-By default when no `error` listeners are present an automatic response will be
-made, otherwise you have full control over the response, aka you may show a 5xx
-page etc.
-
-## Caching
-
-It does _not_ perform internal caching, you should use a reverse proxy cache
-such as Varnish for this, or those fancy things called CDNs. If your
-application is small enough that it would benefit from single-node memory
-caching, it's small enough that it does not need caching at all ;).
-
-## Debugging
-
-To enable `debug()` instrumentation output export __DEBUG__:
-
-```
-$ DEBUG=send node app
-```
-
-## Running tests
-
-```
-$ npm install
-$ npm test
-```
-
-## Examples
-
-### Serve a specific file
-
-This simple example will send a specific file to all requests.
-
-```js
-var http = require('http')
-var send = require('send')
-
-var server = http.createServer(function onRequest (req, res) {
- send(req, '/path/to/index.html')
- .pipe(res)
-})
-
-server.listen(3000)
-```
-
-### Serve all files from a directory
-
-This simple example will just serve up all the files in a
-given directory as the top-level. For example, a request
-`GET /foo.txt` will send back `/www/public/foo.txt`.
-
-```js
-var http = require('http')
-var parseUrl = require('parseurl')
-var send = require('send')
-
-var server = http.createServer(function onRequest (req, res) {
- send(req, parseUrl(req).pathname, { root: '/www/public' })
- .pipe(res)
-})
-
-server.listen(3000)
-```
-
-### Custom file types
-
-```js
-var http = require('http')
-var parseUrl = require('parseurl')
-var send = require('send')
-
-// Default unknown types to text/plain
-send.mime.default_type = 'text/plain'
-
-// Add a custom type
-send.mime.define({
- 'application/x-my-type': ['x-mt', 'x-mtt']
-})
-
-var server = http.createServer(function onRequest (req, res) {
- send(req, parseUrl(req).pathname, { root: '/www/public' })
- .pipe(res)
-})
-
-server.listen(3000)
-```
-
-### Custom directory index view
-
-This is a example of serving up a structure of directories with a
-custom function to render a listing of a directory.
-
-```js
-var http = require('http')
-var fs = require('fs')
-var parseUrl = require('parseurl')
-var send = require('send')
-
-// Transfer arbitrary files from within /www/example.com/public/*
-// with a custom handler for directory listing
-var server = http.createServer(function onRequest (req, res) {
- send(req, parseUrl(req).pathname, { index: false, root: '/www/public' })
- .once('directory', directory)
- .pipe(res)
-})
-
-server.listen(3000)
-
-// Custom directory handler
-function directory (res, path) {
- var stream = this
-
- // redirect to trailing slash for consistent url
- if (!stream.hasTrailingSlash()) {
- return stream.redirect(path)
- }
-
- // get directory list
- fs.readdir(path, function onReaddir (err, list) {
- if (err) return stream.error(err)
-
- // render an index for the directory
- res.setHeader('Content-Type', 'text/plain; charset=UTF-8')
- res.end(list.join('\n') + '\n')
- })
-}
-```
-
-### Serving from a root directory with custom error-handling
-
-```js
-var http = require('http')
-var parseUrl = require('parseurl')
-var send = require('send')
-
-var server = http.createServer(function onRequest (req, res) {
- // your custom error-handling logic:
- function error (err) {
- res.statusCode = err.status || 500
- res.end(err.message)
- }
-
- // your custom headers
- function headers (res, path, stat) {
- // serve all files for download
- res.setHeader('Content-Disposition', 'attachment')
- }
-
- // your custom directory handling logic:
- function redirect () {
- res.statusCode = 301
- res.setHeader('Location', req.url + '/')
- res.end('Redirecting to ' + req.url + '/')
- }
-
- // transfer arbitrary files from within
- // /www/example.com/public/*
- send(req, parseUrl(req).pathname, { root: '/www/public' })
- .on('error', error)
- .on('directory', redirect)
- .on('headers', headers)
- .pipe(res)
-})
-
-server.listen(3000)
-```
-
-## License
-
-[MIT](LICENSE)
-
-[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/send/master?label=windows
-[appveyor-url]: https://ci.appveyor.com/project/dougwilson/send
-[coveralls-image]: https://badgen.net/coveralls/c/github/pillarjs/send/master
-[coveralls-url]: https://coveralls.io/r/pillarjs/send?branch=master
-[node-image]: https://badgen.net/npm/node/send
-[node-url]: https://nodejs.org/en/download/
-[npm-downloads-image]: https://badgen.net/npm/dm/send
-[npm-url]: https://npmjs.org/package/send
-[npm-version-image]: https://badgen.net/npm/v/send
-[travis-image]: https://badgen.net/travis/pillarjs/send/master?label=linux
-[travis-url]: https://travis-ci.org/pillarjs/send
diff --git a/Server/node_modules/send/index.js b/Server/node_modules/send/index.js
deleted file mode 100644
index fca2112..0000000
--- a/Server/node_modules/send/index.js
+++ /dev/null
@@ -1,1129 +0,0 @@
-/*!
- * send
- * Copyright(c) 2012 TJ Holowaychuk
- * Copyright(c) 2014-2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var createError = require('http-errors')
-var debug = require('debug')('send')
-var deprecate = require('depd')('send')
-var destroy = require('destroy')
-var encodeUrl = require('encodeurl')
-var escapeHtml = require('escape-html')
-var etag = require('etag')
-var fresh = require('fresh')
-var fs = require('fs')
-var mime = require('mime')
-var ms = require('ms')
-var onFinished = require('on-finished')
-var parseRange = require('range-parser')
-var path = require('path')
-var statuses = require('statuses')
-var Stream = require('stream')
-var util = require('util')
-
-/**
- * Path function references.
- * @private
- */
-
-var extname = path.extname
-var join = path.join
-var normalize = path.normalize
-var resolve = path.resolve
-var sep = path.sep
-
-/**
- * Regular expression for identifying a bytes Range header.
- * @private
- */
-
-var BYTES_RANGE_REGEXP = /^ *bytes=/
-
-/**
- * Maximum value allowed for the max age.
- * @private
- */
-
-var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1000 // 1 year
-
-/**
- * Regular expression to match a path with a directory up component.
- * @private
- */
-
-var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = send
-module.exports.mime = mime
-
-/**
- * Return a `SendStream` for `req` and `path`.
- *
- * @param {object} req
- * @param {string} path
- * @param {object} [options]
- * @return {SendStream}
- * @public
- */
-
-function send (req, path, options) {
- return new SendStream(req, path, options)
-}
-
-/**
- * Initialize a `SendStream` with the given `path`.
- *
- * @param {Request} req
- * @param {String} path
- * @param {object} [options]
- * @private
- */
-
-function SendStream (req, path, options) {
- Stream.call(this)
-
- var opts = options || {}
-
- this.options = opts
- this.path = path
- this.req = req
-
- this._acceptRanges = opts.acceptRanges !== undefined
- ? Boolean(opts.acceptRanges)
- : true
-
- this._cacheControl = opts.cacheControl !== undefined
- ? Boolean(opts.cacheControl)
- : true
-
- this._etag = opts.etag !== undefined
- ? Boolean(opts.etag)
- : true
-
- this._dotfiles = opts.dotfiles !== undefined
- ? opts.dotfiles
- : 'ignore'
-
- if (this._dotfiles !== 'ignore' && this._dotfiles !== 'allow' && this._dotfiles !== 'deny') {
- throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"')
- }
-
- this._hidden = Boolean(opts.hidden)
-
- if (opts.hidden !== undefined) {
- deprecate('hidden: use dotfiles: \'' + (this._hidden ? 'allow' : 'ignore') + '\' instead')
- }
-
- // legacy support
- if (opts.dotfiles === undefined) {
- this._dotfiles = undefined
- }
-
- this._extensions = opts.extensions !== undefined
- ? normalizeList(opts.extensions, 'extensions option')
- : []
-
- this._immutable = opts.immutable !== undefined
- ? Boolean(opts.immutable)
- : false
-
- this._index = opts.index !== undefined
- ? normalizeList(opts.index, 'index option')
- : ['index.html']
-
- this._lastModified = opts.lastModified !== undefined
- ? Boolean(opts.lastModified)
- : true
-
- this._maxage = opts.maxAge || opts.maxage
- this._maxage = typeof this._maxage === 'string'
- ? ms(this._maxage)
- : Number(this._maxage)
- this._maxage = !isNaN(this._maxage)
- ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE)
- : 0
-
- this._root = opts.root
- ? resolve(opts.root)
- : null
-
- if (!this._root && opts.from) {
- this.from(opts.from)
- }
-}
-
-/**
- * Inherits from `Stream`.
- */
-
-util.inherits(SendStream, Stream)
-
-/**
- * Enable or disable etag generation.
- *
- * @param {Boolean} val
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.etag = deprecate.function(function etag (val) {
- this._etag = Boolean(val)
- debug('etag %s', this._etag)
- return this
-}, 'send.etag: pass etag as option')
-
-/**
- * Enable or disable "hidden" (dot) files.
- *
- * @param {Boolean} path
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.hidden = deprecate.function(function hidden (val) {
- this._hidden = Boolean(val)
- this._dotfiles = undefined
- debug('hidden %s', this._hidden)
- return this
-}, 'send.hidden: use dotfiles option')
-
-/**
- * Set index `paths`, set to a falsy
- * value to disable index support.
- *
- * @param {String|Boolean|Array} paths
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.index = deprecate.function(function index (paths) {
- var index = !paths ? [] : normalizeList(paths, 'paths argument')
- debug('index %o', paths)
- this._index = index
- return this
-}, 'send.index: pass index as option')
-
-/**
- * Set root `path`.
- *
- * @param {String} path
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.root = function root (path) {
- this._root = resolve(String(path))
- debug('root %s', this._root)
- return this
-}
-
-SendStream.prototype.from = deprecate.function(SendStream.prototype.root,
- 'send.from: pass root as option')
-
-SendStream.prototype.root = deprecate.function(SendStream.prototype.root,
- 'send.root: pass root as option')
-
-/**
- * Set max-age to `maxAge`.
- *
- * @param {Number} maxAge
- * @return {SendStream}
- * @api public
- */
-
-SendStream.prototype.maxage = deprecate.function(function maxage (maxAge) {
- this._maxage = typeof maxAge === 'string'
- ? ms(maxAge)
- : Number(maxAge)
- this._maxage = !isNaN(this._maxage)
- ? Math.min(Math.max(0, this._maxage), MAX_MAXAGE)
- : 0
- debug('max-age %d', this._maxage)
- return this
-}, 'send.maxage: pass maxAge as option')
-
-/**
- * Emit error with `status`.
- *
- * @param {number} status
- * @param {Error} [err]
- * @private
- */
-
-SendStream.prototype.error = function error (status, err) {
- // emit if listeners instead of responding
- if (hasListeners(this, 'error')) {
- return this.emit('error', createError(status, err, {
- expose: false
- }))
- }
-
- var res = this.res
- var msg = statuses[status] || String(status)
- var doc = createHtmlDocument('Error', escapeHtml(msg))
-
- // clear existing headers
- clearHeaders(res)
-
- // add error headers
- if (err && err.headers) {
- setHeaders(res, err.headers)
- }
-
- // send basic response
- res.statusCode = status
- res.setHeader('Content-Type', 'text/html; charset=UTF-8')
- res.setHeader('Content-Length', Buffer.byteLength(doc))
- res.setHeader('Content-Security-Policy', "default-src 'none'")
- res.setHeader('X-Content-Type-Options', 'nosniff')
- res.end(doc)
-}
-
-/**
- * Check if the pathname ends with "/".
- *
- * @return {boolean}
- * @private
- */
-
-SendStream.prototype.hasTrailingSlash = function hasTrailingSlash () {
- return this.path[this.path.length - 1] === '/'
-}
-
-/**
- * Check if this is a conditional GET request.
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.isConditionalGET = function isConditionalGET () {
- return this.req.headers['if-match'] ||
- this.req.headers['if-unmodified-since'] ||
- this.req.headers['if-none-match'] ||
- this.req.headers['if-modified-since']
-}
-
-/**
- * Check if the request preconditions failed.
- *
- * @return {boolean}
- * @private
- */
-
-SendStream.prototype.isPreconditionFailure = function isPreconditionFailure () {
- var req = this.req
- var res = this.res
-
- // if-match
- var match = req.headers['if-match']
- if (match) {
- var etag = res.getHeader('ETag')
- return !etag || (match !== '*' && parseTokenList(match).every(function (match) {
- return match !== etag && match !== 'W/' + etag && 'W/' + match !== etag
- }))
- }
-
- // if-unmodified-since
- var unmodifiedSince = parseHttpDate(req.headers['if-unmodified-since'])
- if (!isNaN(unmodifiedSince)) {
- var lastModified = parseHttpDate(res.getHeader('Last-Modified'))
- return isNaN(lastModified) || lastModified > unmodifiedSince
- }
-
- return false
-}
-
-/**
- * Strip content-* header fields.
- *
- * @private
- */
-
-SendStream.prototype.removeContentHeaderFields = function removeContentHeaderFields () {
- var res = this.res
- var headers = getHeaderNames(res)
-
- for (var i = 0; i < headers.length; i++) {
- var header = headers[i]
- if (header.substr(0, 8) === 'content-' && header !== 'content-location') {
- res.removeHeader(header)
- }
- }
-}
-
-/**
- * Respond with 304 not modified.
- *
- * @api private
- */
-
-SendStream.prototype.notModified = function notModified () {
- var res = this.res
- debug('not modified')
- this.removeContentHeaderFields()
- res.statusCode = 304
- res.end()
-}
-
-/**
- * Raise error that headers already sent.
- *
- * @api private
- */
-
-SendStream.prototype.headersAlreadySent = function headersAlreadySent () {
- var err = new Error('Can\'t set headers after they are sent.')
- debug('headers already sent')
- this.error(500, err)
-}
-
-/**
- * Check if the request is cacheable, aka
- * responded with 2xx or 304 (see RFC 2616 section 14.2{5,6}).
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.isCachable = function isCachable () {
- var statusCode = this.res.statusCode
- return (statusCode >= 200 && statusCode < 300) ||
- statusCode === 304
-}
-
-/**
- * Handle stat() error.
- *
- * @param {Error} error
- * @private
- */
-
-SendStream.prototype.onStatError = function onStatError (error) {
- switch (error.code) {
- case 'ENAMETOOLONG':
- case 'ENOENT':
- case 'ENOTDIR':
- this.error(404, error)
- break
- default:
- this.error(500, error)
- break
- }
-}
-
-/**
- * Check if the cache is fresh.
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.isFresh = function isFresh () {
- return fresh(this.req.headers, {
- 'etag': this.res.getHeader('ETag'),
- 'last-modified': this.res.getHeader('Last-Modified')
- })
-}
-
-/**
- * Check if the range is fresh.
- *
- * @return {Boolean}
- * @api private
- */
-
-SendStream.prototype.isRangeFresh = function isRangeFresh () {
- var ifRange = this.req.headers['if-range']
-
- if (!ifRange) {
- return true
- }
-
- // if-range as etag
- if (ifRange.indexOf('"') !== -1) {
- var etag = this.res.getHeader('ETag')
- return Boolean(etag && ifRange.indexOf(etag) !== -1)
- }
-
- // if-range as modified date
- var lastModified = this.res.getHeader('Last-Modified')
- return parseHttpDate(lastModified) <= parseHttpDate(ifRange)
-}
-
-/**
- * Redirect to path.
- *
- * @param {string} path
- * @private
- */
-
-SendStream.prototype.redirect = function redirect (path) {
- var res = this.res
-
- if (hasListeners(this, 'directory')) {
- this.emit('directory', res, path)
- return
- }
-
- if (this.hasTrailingSlash()) {
- this.error(403)
- return
- }
-
- var loc = encodeUrl(collapseLeadingSlashes(this.path + '/'))
- var doc = createHtmlDocument('Redirecting', 'Redirecting to <a href="' + escapeHtml(loc) + '">' +
- escapeHtml(loc) + '</a>')
-
- // redirect
- res.statusCode = 301
- res.setHeader('Content-Type', 'text/html; charset=UTF-8')
- res.setHeader('Content-Length', Buffer.byteLength(doc))
- res.setHeader('Content-Security-Policy', "default-src 'none'")
- res.setHeader('X-Content-Type-Options', 'nosniff')
- res.setHeader('Location', loc)
- res.end(doc)
-}
-
-/**
- * Pipe to `res.
- *
- * @param {Stream} res
- * @return {Stream} res
- * @api public
- */
-
-SendStream.prototype.pipe = function pipe (res) {
- // root path
- var root = this._root
-
- // references
- this.res = res
-
- // decode the path
- var path = decode(this.path)
- if (path === -1) {
- this.error(400)
- return res
- }
-
- // null byte(s)
- if (~path.indexOf('\0')) {
- this.error(400)
- return res
- }
-
- var parts
- if (root !== null) {
- // normalize
- if (path) {
- path = normalize('.' + sep + path)
- }
-
- // malicious path
- if (UP_PATH_REGEXP.test(path)) {
- debug('malicious path "%s"', path)
- this.error(403)
- return res
- }
-
- // explode path parts
- parts = path.split(sep)
-
- // join / normalize from optional root dir
- path = normalize(join(root, path))
- } else {
- // ".." is malicious without "root"
- if (UP_PATH_REGEXP.test(path)) {
- debug('malicious path "%s"', path)
- this.error(403)
- return res
- }
-
- // explode path parts
- parts = normalize(path).split(sep)
-
- // resolve the path
- path = resolve(path)
- }
-
- // dotfile handling
- if (containsDotFile(parts)) {
- var access = this._dotfiles
-
- // legacy support
- if (access === undefined) {
- access = parts[parts.length - 1][0] === '.'
- ? (this._hidden ? 'allow' : 'ignore')
- : 'allow'
- }
-
- debug('%s dotfile "%s"', access, path)
- switch (access) {
- case 'allow':
- break
- case 'deny':
- this.error(403)
- return res
- case 'ignore':
- default:
- this.error(404)
- return res
- }
- }
-
- // index file support
- if (this._index.length && this.hasTrailingSlash()) {
- this.sendIndex(path)
- return res
- }
-
- this.sendFile(path)
- return res
-}
-
-/**
- * Transfer `path`.
- *
- * @param {String} path
- * @api public
- */
-
-SendStream.prototype.send = function send (path, stat) {
- var len = stat.size
- var options = this.options
- var opts = {}
- var res = this.res
- var req = this.req
- var ranges = req.headers.range
- var offset = options.start || 0
-
- if (headersSent(res)) {
- // impossible to send now
- this.headersAlreadySent()
- return
- }
-
- debug('pipe "%s"', path)
-
- // set header fields
- this.setHeader(path, stat)
-
- // set content-type
- this.type(path)
-
- // conditional GET support
- if (this.isConditionalGET()) {
- if (this.isPreconditionFailure()) {
- this.error(412)
- return
- }
-
- if (this.isCachable() && this.isFresh()) {
- this.notModified()
- return
- }
- }
-
- // adjust len to start/end options
- len = Math.max(0, len - offset)
- if (options.end !== undefined) {
- var bytes = options.end - offset + 1
- if (len > bytes) len = bytes
- }
-
- // Range support
- if (this._acceptRanges && BYTES_RANGE_REGEXP.test(ranges)) {
- // parse
- ranges = parseRange(len, ranges, {
- combine: true
- })
-
- // If-Range support
- if (!this.isRangeFresh()) {
- debug('range stale')
- ranges = -2
- }
-
- // unsatisfiable
- if (ranges === -1) {
- debug('range unsatisfiable')
-
- // Content-Range
- res.setHeader('Content-Range', contentRange('bytes', len))
-
- // 416 Requested Range Not Satisfiable
- return this.error(416, {
- headers: { 'Content-Range': res.getHeader('Content-Range') }
- })
- }
-
- // valid (syntactically invalid/multiple ranges are treated as a regular response)
- if (ranges !== -2 && ranges.length === 1) {
- debug('range %j', ranges)
-
- // Content-Range
- res.statusCode = 206
- res.setHeader('Content-Range', contentRange('bytes', len, ranges[0]))
-
- // adjust for requested range
- offset += ranges[0].start
- len = ranges[0].end - ranges[0].start + 1
- }
- }
-
- // clone options
- for (var prop in options) {
- opts[prop] = options[prop]
- }
-
- // set read options
- opts.start = offset
- opts.end = Math.max(offset, offset + len - 1)
-
- // content-length
- res.setHeader('Content-Length', len)
-
- // HEAD support
- if (req.method === 'HEAD') {
- res.end()
- return
- }
-
- this.stream(path, opts)
-}
-
-/**
- * Transfer file for `path`.
- *
- * @param {String} path
- * @api private
- */
-SendStream.prototype.sendFile = function sendFile (path) {
- var i = 0
- var self = this
-
- debug('stat "%s"', path)
- fs.stat(path, function onstat (err, stat) {
- if (err && err.code === 'ENOENT' && !extname(path) && path[path.length - 1] !== sep) {
- // not found, check extensions
- return next(err)
- }
- if (err) return self.onStatError(err)
- if (stat.isDirectory()) return self.redirect(path)
- self.emit('file', path, stat)
- self.send(path, stat)
- })
-
- function next (err) {
- if (self._extensions.length <= i) {
- return err
- ? self.onStatError(err)
- : self.error(404)
- }
-
- var p = path + '.' + self._extensions[i++]
-
- debug('stat "%s"', p)
- fs.stat(p, function (err, stat) {
- if (err) return next(err)
- if (stat.isDirectory()) return next()
- self.emit('file', p, stat)
- self.send(p, stat)
- })
- }
-}
-
-/**
- * Transfer index for `path`.
- *
- * @param {String} path
- * @api private
- */
-SendStream.prototype.sendIndex = function sendIndex (path) {
- var i = -1
- var self = this
-
- function next (err) {
- if (++i >= self._index.length) {
- if (err) return self.onStatError(err)
- return self.error(404)
- }
-
- var p = join(path, self._index[i])
-
- debug('stat "%s"', p)
- fs.stat(p, function (err, stat) {
- if (err) return next(err)
- if (stat.isDirectory()) return next()
- self.emit('file', p, stat)
- self.send(p, stat)
- })
- }
-
- next()
-}
-
-/**
- * Stream `path` to the response.
- *
- * @param {String} path
- * @param {Object} options
- * @api private
- */
-
-SendStream.prototype.stream = function stream (path, options) {
- // TODO: this is all lame, refactor meeee
- var finished = false
- var self = this
- var res = this.res
-
- // pipe
- var stream = fs.createReadStream(path, options)
- this.emit('stream', stream)
- stream.pipe(res)
-
- // response finished, done with the fd
- onFinished(res, function onfinished () {
- finished = true
- destroy(stream)
- })
-
- // error handling code-smell
- stream.on('error', function onerror (err) {
- // request already finished
- if (finished) return
-
- // clean up stream
- finished = true
- destroy(stream)
-
- // error
- self.onStatError(err)
- })
-
- // end
- stream.on('end', function onend () {
- self.emit('end')
- })
-}
-
-/**
- * Set content-type based on `path`
- * if it hasn't been explicitly set.
- *
- * @param {String} path
- * @api private
- */
-
-SendStream.prototype.type = function type (path) {
- var res = this.res
-
- if (res.getHeader('Content-Type')) return
-
- var type = mime.lookup(path)
-
- if (!type) {
- debug('no content-type')
- return
- }
-
- var charset = mime.charsets.lookup(type)
-
- debug('content-type %s', type)
- res.setHeader('Content-Type', type + (charset ? '; charset=' + charset : ''))
-}
-
-/**
- * Set response header fields, most
- * fields may be pre-defined.
- *
- * @param {String} path
- * @param {Object} stat
- * @api private
- */
-
-SendStream.prototype.setHeader = function setHeader (path, stat) {
- var res = this.res
-
- this.emit('headers', res, path, stat)
-
- if (this._acceptRanges && !res.getHeader('Accept-Ranges')) {
- debug('accept ranges')
- res.setHeader('Accept-Ranges', 'bytes')
- }
-
- if (this._cacheControl && !res.getHeader('Cache-Control')) {
- var cacheControl = 'public, max-age=' + Math.floor(this._maxage / 1000)
-
- if (this._immutable) {
- cacheControl += ', immutable'
- }
-
- debug('cache-control %s', cacheControl)
- res.setHeader('Cache-Control', cacheControl)
- }
-
- if (this._lastModified && !res.getHeader('Last-Modified')) {
- var modified = stat.mtime.toUTCString()
- debug('modified %s', modified)
- res.setHeader('Last-Modified', modified)
- }
-
- if (this._etag && !res.getHeader('ETag')) {
- var val = etag(stat)
- debug('etag %s', val)
- res.setHeader('ETag', val)
- }
-}
-
-/**
- * Clear all headers from a response.
- *
- * @param {object} res
- * @private
- */
-
-function clearHeaders (res) {
- var headers = getHeaderNames(res)
-
- for (var i = 0; i < headers.length; i++) {
- res.removeHeader(headers[i])
- }
-}
-
-/**
- * Collapse all leading slashes into a single slash
- *
- * @param {string} str
- * @private
- */
-function collapseLeadingSlashes (str) {
- for (var i = 0; i < str.length; i++) {
- if (str[i] !== '/') {
- break
- }
- }
-
- return i > 1
- ? '/' + str.substr(i)
- : str
-}
-
-/**
- * Determine if path parts contain a dotfile.
- *
- * @api private
- */
-
-function containsDotFile (parts) {
- for (var i = 0; i < parts.length; i++) {
- var part = parts[i]
- if (part.length > 1 && part[0] === '.') {
- return true
- }
- }
-
- return false
-}
-
-/**
- * Create a Content-Range header.
- *
- * @param {string} type
- * @param {number} size
- * @param {array} [range]
- */
-
-function contentRange (type, size, range) {
- return type + ' ' + (range ? range.start + '-' + range.end : '*') + '/' + size
-}
-
-/**
- * Create a minimal HTML document.
- *
- * @param {string} title
- * @param {string} body
- * @private
- */
-
-function createHtmlDocument (title, body) {
- return '<!DOCTYPE html>\n' +
- '<html lang="en">\n' +
- '<head>\n' +
- '<meta charset="utf-8">\n' +
- '<title>' + title + '</title>\n' +
- '</head>\n' +
- '<body>\n' +
- '<pre>' + body + '</pre>\n' +
- '</body>\n' +
- '</html>\n'
-}
-
-/**
- * decodeURIComponent.
- *
- * Allows V8 to only deoptimize this fn instead of all
- * of send().
- *
- * @param {String} path
- * @api private
- */
-
-function decode (path) {
- try {
- return decodeURIComponent(path)
- } catch (err) {
- return -1
- }
-}
-
-/**
- * Get the header names on a respnse.
- *
- * @param {object} res
- * @returns {array[string]}
- * @private
- */
-
-function getHeaderNames (res) {
- return typeof res.getHeaderNames !== 'function'
- ? Object.keys(res._headers || {})
- : res.getHeaderNames()
-}
-
-/**
- * Determine if emitter has listeners of a given type.
- *
- * The way to do this check is done three different ways in Node.js >= 0.8
- * so this consolidates them into a minimal set using instance methods.
- *
- * @param {EventEmitter} emitter
- * @param {string} type
- * @returns {boolean}
- * @private
- */
-
-function hasListeners (emitter, type) {
- var count = typeof emitter.listenerCount !== 'function'
- ? emitter.listeners(type).length
- : emitter.listenerCount(type)
-
- return count > 0
-}
-
-/**
- * Determine if the response headers have been sent.
- *
- * @param {object} res
- * @returns {boolean}
- * @private
- */
-
-function headersSent (res) {
- return typeof res.headersSent !== 'boolean'
- ? Boolean(res._header)
- : res.headersSent
-}
-
-/**
- * Normalize the index option into an array.
- *
- * @param {boolean|string|array} val
- * @param {string} name
- * @private
- */
-
-function normalizeList (val, name) {
- var list = [].concat(val || [])
-
- for (var i = 0; i < list.length; i++) {
- if (typeof list[i] !== 'string') {
- throw new TypeError(name + ' must be array of strings or false')
- }
- }
-
- return list
-}
-
-/**
- * Parse an HTTP Date into a number.
- *
- * @param {string} date
- * @private
- */
-
-function parseHttpDate (date) {
- var timestamp = date && Date.parse(date)
-
- return typeof timestamp === 'number'
- ? timestamp
- : NaN
-}
-
-/**
- * Parse a HTTP token list.
- *
- * @param {string} str
- * @private
- */
-
-function parseTokenList (str) {
- var end = 0
- var list = []
- var start = 0
-
- // gather tokens
- for (var i = 0, len = str.length; i < len; i++) {
- switch (str.charCodeAt(i)) {
- case 0x20: /* */
- if (start === end) {
- start = end = i + 1
- }
- break
- case 0x2c: /* , */
- list.push(str.substring(start, end))
- start = end = i + 1
- break
- default:
- end = i + 1
- break
- }
- }
-
- // final token
- list.push(str.substring(start, end))
-
- return list
-}
-
-/**
- * Set an object of headers on a response.
- *
- * @param {object} res
- * @param {object} headers
- * @private
- */
-
-function setHeaders (res, headers) {
- var keys = Object.keys(headers)
-
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i]
- res.setHeader(key, headers[key])
- }
-}
diff --git a/Server/node_modules/send/node_modules/ms/index.js b/Server/node_modules/send/node_modules/ms/index.js
deleted file mode 100644
index 7229750..0000000
--- a/Server/node_modules/send/node_modules/ms/index.js
+++ /dev/null
@@ -1,162 +0,0 @@
-/**
- * Helpers.
- */
-
-var s = 1000;
-var m = s * 60;
-var h = m * 60;
-var d = h * 24;
-var w = d * 7;
-var y = d * 365.25;
-
-/**
- * Parse or format the given `val`.
- *
- * Options:
- *
- * - `long` verbose formatting [false]
- *
- * @param {String|Number} val
- * @param {Object} [options]
- * @throws {Error} throw an error if val is not a non-empty string or a number
- * @return {String|Number}
- * @api public
- */
-
-module.exports = function(val, options) {
- options = options || {};
- var type = typeof val;
- if (type === 'string' && val.length > 0) {
- return parse(val);
- } else if (type === 'number' && isNaN(val) === false) {
- return options.long ? fmtLong(val) : fmtShort(val);
- }
- throw new Error(
- 'val is not a non-empty string or a valid number. val=' +
- JSON.stringify(val)
- );
-};
-
-/**
- * Parse the given `str` and return milliseconds.
- *
- * @param {String} str
- * @return {Number}
- * @api private
- */
-
-function parse(str) {
- str = String(str);
- if (str.length > 100) {
- return;
- }
- var match = /^((?:\d+)?\-?\d?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
- str
- );
- if (!match) {
- return;
- }
- var n = parseFloat(match[1]);
- var type = (match[2] || 'ms').toLowerCase();
- switch (type) {
- case 'years':
- case 'year':
- case 'yrs':
- case 'yr':
- case 'y':
- return n * y;
- case 'weeks':
- case 'week':
- case 'w':
- return n * w;
- case 'days':
- case 'day':
- case 'd':
- return n * d;
- case 'hours':
- case 'hour':
- case 'hrs':
- case 'hr':
- case 'h':
- return n * h;
- case 'minutes':
- case 'minute':
- case 'mins':
- case 'min':
- case 'm':
- return n * m;
- case 'seconds':
- case 'second':
- case 'secs':
- case 'sec':
- case 's':
- return n * s;
- case 'milliseconds':
- case 'millisecond':
- case 'msecs':
- case 'msec':
- case 'ms':
- return n;
- default:
- return undefined;
- }
-}
-
-/**
- * Short format for `ms`.
- *
- * @param {Number} ms
- * @return {String}
- * @api private
- */
-
-function fmtShort(ms) {
- var msAbs = Math.abs(ms);
- if (msAbs >= d) {
- return Math.round(ms / d) + 'd';
- }
- if (msAbs >= h) {
- return Math.round(ms / h) + 'h';
- }
- if (msAbs >= m) {
- return Math.round(ms / m) + 'm';
- }
- if (msAbs >= s) {
- return Math.round(ms / s) + 's';
- }
- return ms + 'ms';
-}
-
-/**
- * Long format for `ms`.
- *
- * @param {Number} ms
- * @return {String}
- * @api private
- */
-
-function fmtLong(ms) {
- var msAbs = Math.abs(ms);
- if (msAbs >= d) {
- return plural(ms, msAbs, d, 'day');
- }
- if (msAbs >= h) {
- return plural(ms, msAbs, h, 'hour');
- }
- if (msAbs >= m) {
- return plural(ms, msAbs, m, 'minute');
- }
- if (msAbs >= s) {
- return plural(ms, msAbs, s, 'second');
- }
- return ms + ' ms';
-}
-
-/**
- * Pluralization helper.
- */
-
-function plural(ms, msAbs, n, name) {
- var isPlural = msAbs >= n * 1.5;
- return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
-}
diff --git a/Server/node_modules/send/node_modules/ms/license.md b/Server/node_modules/send/node_modules/ms/license.md
deleted file mode 100644
index 69b6125..0000000
--- a/Server/node_modules/send/node_modules/ms/license.md
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2016 Zeit, Inc.
-
-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.
diff --git a/Server/node_modules/send/node_modules/ms/package.json b/Server/node_modules/send/node_modules/ms/package.json
deleted file mode 100644
index 18c8e8d..0000000
--- a/Server/node_modules/send/node_modules/ms/package.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "_from": "ms@2.1.1",
- "_id": "ms@2.1.1",
- "_inBundle": false,
- "_integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
- "_location": "/send/ms",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "ms@2.1.1",
- "name": "ms",
- "escapedName": "ms",
- "rawSpec": "2.1.1",
- "saveSpec": null,
- "fetchSpec": "2.1.1"
- },
- "_requiredBy": [
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
- "_shasum": "30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a",
- "_spec": "ms@2.1.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/send",
- "bugs": {
- "url": "https://github.com/zeit/ms/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Tiny millisecond conversion utility",
- "devDependencies": {
- "eslint": "4.12.1",
- "expect.js": "0.3.1",
- "husky": "0.14.3",
- "lint-staged": "5.0.0",
- "mocha": "4.0.1"
- },
- "eslintConfig": {
- "extends": "eslint:recommended",
- "env": {
- "node": true,
- "es6": true
- }
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/zeit/ms#readme",
- "license": "MIT",
- "lint-staged": {
- "*.js": [
- "npm run lint",
- "prettier --single-quote --write",
- "git add"
- ]
- },
- "main": "./index",
- "name": "ms",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/zeit/ms.git"
- },
- "scripts": {
- "lint": "eslint lib/* bin/*",
- "precommit": "lint-staged",
- "test": "mocha tests.js"
- },
- "version": "2.1.1"
-}
diff --git a/Server/node_modules/send/node_modules/ms/readme.md b/Server/node_modules/send/node_modules/ms/readme.md
deleted file mode 100644
index bb76729..0000000
--- a/Server/node_modules/send/node_modules/ms/readme.md
+++ /dev/null
@@ -1,60 +0,0 @@
-# ms
-
-[![Build Status](https://travis-ci.org/zeit/ms.svg?branch=master)](https://travis-ci.org/zeit/ms)
-[![Slack Channel](http://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/)
-
-Use this package to easily convert various time formats to milliseconds.
-
-## Examples
-
-```js
-ms('2 days') // 172800000
-ms('1d') // 86400000
-ms('10h') // 36000000
-ms('2.5 hrs') // 9000000
-ms('2h') // 7200000
-ms('1m') // 60000
-ms('5s') // 5000
-ms('1y') // 31557600000
-ms('100') // 100
-ms('-3 days') // -259200000
-ms('-1h') // -3600000
-ms('-200') // -200
-```
-
-### Convert from Milliseconds
-
-```js
-ms(60000) // "1m"
-ms(2 * 60000) // "2m"
-ms(-3 * 60000) // "-3m"
-ms(ms('10 hours')) // "10h"
-```
-
-### Time Format Written-Out
-
-```js
-ms(60000, { long: true }) // "1 minute"
-ms(2 * 60000, { long: true }) // "2 minutes"
-ms(-3 * 60000, { long: true }) // "-3 minutes"
-ms(ms('10 hours'), { long: true }) // "10 hours"
-```
-
-## Features
-
-- Works both in [Node.js](https://nodejs.org) and in the browser
-- If a number is supplied to `ms`, a string with a unit is returned
-- If a string that contains the number is supplied, it returns it as a number (e.g.: it returns `100` for `'100'`)
-- If you pass a string with a number and a valid unit, the number of equivalent milliseconds is returned
-
-## Related Packages
-
-- [ms.macro](https://github.com/knpwrs/ms.macro) - Run `ms` as a macro at build-time.
-
-## Caught a Bug?
-
-1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device
-2. Link the package to the global module directory: `npm link`
-3. Within the module you want to test your local development instance of ms, just link it to the dependencies: `npm link ms`. Instead of the default one from npm, Node.js will now use your clone of ms!
-
-As always, you can run the tests using: `npm test`
diff --git a/Server/node_modules/send/package.json b/Server/node_modules/send/package.json
deleted file mode 100644
index 2512bc2..0000000
--- a/Server/node_modules/send/package.json
+++ /dev/null
@@ -1,106 +0,0 @@
-{
- "_from": "send@0.17.1",
- "_id": "send@0.17.1",
- "_inBundle": false,
- "_integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
- "_location": "/send",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "send@0.17.1",
- "name": "send",
- "escapedName": "send",
- "rawSpec": "0.17.1",
- "saveSpec": null,
- "fetchSpec": "0.17.1"
- },
- "_requiredBy": [
- "/express",
- "/serve-static"
- ],
- "_resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
- "_shasum": "c1d8b059f7900f7466dd4938bdc44e11ddb376c8",
- "_spec": "send@0.17.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "TJ Holowaychuk",
- "email": "tj@vision-media.ca"
- },
- "bugs": {
- "url": "https://github.com/pillarjs/send/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "James Wyatt Cready",
- "email": "jcready@gmail.com"
- },
- {
- "name": "Jesús Leganés Combarro",
- "email": "piranna@gmail.com"
- }
- ],
- "dependencies": {
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "destroy": "~1.0.4",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "~1.7.2",
- "mime": "1.6.0",
- "ms": "2.1.1",
- "on-finished": "~2.3.0",
- "range-parser": "~1.2.1",
- "statuses": "~1.5.0"
- },
- "deprecated": false,
- "description": "Better streaming static file server with Range and conditional-GET support",
- "devDependencies": {
- "after": "0.8.2",
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.17.2",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "8.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "istanbul": "0.4.5",
- "mocha": "6.1.4",
- "supertest": "4.0.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/pillarjs/send#readme",
- "keywords": [
- "static",
- "file",
- "server"
- ],
- "license": "MIT",
- "name": "send",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/pillarjs/send.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --check-leaks --reporter spec --bail",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot"
- },
- "version": "0.17.1"
-}
diff --git a/Server/node_modules/serve-static/HISTORY.md b/Server/node_modules/serve-static/HISTORY.md
deleted file mode 100644
index 7203e4f..0000000
--- a/Server/node_modules/serve-static/HISTORY.md
+++ /dev/null
@@ -1,451 +0,0 @@
-1.14.1 / 2019-05-10
-===================
-
- * Set stricter CSP header in redirect response
- * deps: send@0.17.1
- - deps: range-parser@~1.2.1
-
-1.14.0 / 2019-05-07
-===================
-
- * deps: parseurl@~1.3.3
- * deps: send@0.17.0
- - deps: http-errors@~1.7.2
- - deps: mime@1.6.0
- - deps: ms@2.1.1
- - deps: statuses@~1.5.0
- - perf: remove redundant `path.normalize` call
-
-1.13.2 / 2018-02-07
-===================
-
- * Fix incorrect end tag in redirects
- * deps: encodeurl@~1.0.2
- - Fix encoding `%` as last character
- * deps: send@0.16.2
- - deps: depd@~1.1.2
- - deps: encodeurl@~1.0.2
- - deps: statuses@~1.4.0
-
-1.13.1 / 2017-09-29
-===================
-
- * Fix regression when `root` is incorrectly set to a file
- * deps: send@0.16.1
-
-1.13.0 / 2017-09-27
-===================
-
- * deps: send@0.16.0
- - Add 70 new types for file extensions
- - Add `immutable` option
- - Fix missing `</html>` in default error & redirects
- - Set charset as "UTF-8" for .js and .json
- - Use instance methods on steam to check for listeners
- - deps: mime@1.4.1
- - perf: improve path validation speed
-
-1.12.6 / 2017-09-22
-===================
-
- * deps: send@0.15.6
- - deps: debug@2.6.9
- - perf: improve `If-Match` token parsing
- * perf: improve slash collapsing
-
-1.12.5 / 2017-09-21
-===================
-
- * deps: parseurl@~1.3.2
- - perf: reduce overhead for full URLs
- - perf: unroll the "fast-path" `RegExp`
- * deps: send@0.15.5
- - Fix handling of modified headers with invalid dates
- - deps: etag@~1.8.1
- - deps: fresh@0.5.2
-
-1.12.4 / 2017-08-05
-===================
-
- * deps: send@0.15.4
- - deps: debug@2.6.8
- - deps: depd@~1.1.1
- - deps: http-errors@~1.6.2
-
-1.12.3 / 2017-05-16
-===================
-
- * deps: send@0.15.3
- - deps: debug@2.6.7
-
-1.12.2 / 2017-04-26
-===================
-
- * deps: send@0.15.2
- - deps: debug@2.6.4
-
-1.12.1 / 2017-03-04
-===================
-
- * deps: send@0.15.1
- - Fix issue when `Date.parse` does not return `NaN` on invalid date
- - Fix strict violation in broken environments
-
-1.12.0 / 2017-02-25
-===================
-
- * Send complete HTML document in redirect response
- * Set default CSP header in redirect response
- * deps: send@0.15.0
- - Fix false detection of `no-cache` request directive
- - Fix incorrect result when `If-None-Match` has both `*` and ETags
- - Fix weak `ETag` matching to match spec
- - Remove usage of `res._headers` private field
- - Support `If-Match` and `If-Unmodified-Since` headers
- - Use `res.getHeaderNames()` when available
- - Use `res.headersSent` when available
- - deps: debug@2.6.1
- - deps: etag@~1.8.0
- - deps: fresh@0.5.0
- - deps: http-errors@~1.6.1
-
-1.11.2 / 2017-01-23
-===================
-
- * deps: send@0.14.2
- - deps: http-errors@~1.5.1
- - deps: ms@0.7.2
- - deps: statuses@~1.3.1
-
-1.11.1 / 2016-06-10
-===================
-
- * Fix redirect error when `req.url` contains raw non-URL characters
- * deps: send@0.14.1
-
-1.11.0 / 2016-06-07
-===================
-
- * Use status code 301 for redirects
- * deps: send@0.14.0
- - Add `acceptRanges` option
- - Add `cacheControl` option
- - Attempt to combine multiple ranges into single range
- - Correctly inherit from `Stream` class
- - Fix `Content-Range` header in 416 responses when using `start`/`end` options
- - Fix `Content-Range` header missing from default 416 responses
- - Ignore non-byte `Range` headers
- - deps: http-errors@~1.5.0
- - deps: range-parser@~1.2.0
- - deps: statuses@~1.3.0
- - perf: remove argument reassignment
-
-1.10.3 / 2016-05-30
-===================
-
- * deps: send@0.13.2
- - Fix invalid `Content-Type` header when `send.mime.default_type` unset
-
-1.10.2 / 2016-01-19
-===================
-
- * deps: parseurl@~1.3.1
- - perf: enable strict mode
-
-1.10.1 / 2016-01-16
-===================
-
- * deps: escape-html@~1.0.3
- - perf: enable strict mode
- - perf: optimize string replacement
- - perf: use faster string coercion
- * deps: send@0.13.1
- - deps: depd@~1.1.0
- - deps: destroy@~1.0.4
- - deps: escape-html@~1.0.3
- - deps: range-parser@~1.0.3
-
-1.10.0 / 2015-06-17
-===================
-
- * Add `fallthrough` option
- - Allows declaring this middleware is the final destination
- - Provides better integration with Express patterns
- * Fix reading options from options prototype
- * Improve the default redirect response headers
- * deps: escape-html@1.0.2
- * deps: send@0.13.0
- - Allow Node.js HTTP server to set `Date` response header
- - Fix incorrectly removing `Content-Location` on 304 response
- - Improve the default redirect response headers
- - Send appropriate headers on default error response
- - Use `http-errors` for standard emitted errors
- - Use `statuses` instead of `http` module for status messages
- - deps: escape-html@1.0.2
- - deps: etag@~1.7.0
- - deps: fresh@0.3.0
- - deps: on-finished@~2.3.0
- - perf: enable strict mode
- - perf: remove unnecessary array allocations
- * perf: enable strict mode
- * perf: remove argument reassignment
-
-1.9.3 / 2015-05-14
-==================
-
- * deps: send@0.12.3
- - deps: debug@~2.2.0
- - deps: depd@~1.0.1
- - deps: etag@~1.6.0
- - deps: ms@0.7.1
- - deps: on-finished@~2.2.1
-
-1.9.2 / 2015-03-14
-==================
-
- * deps: send@0.12.2
- - Throw errors early for invalid `extensions` or `index` options
- - deps: debug@~2.1.3
-
-1.9.1 / 2015-02-17
-==================
-
- * deps: send@0.12.1
- - Fix regression sending zero-length files
-
-1.9.0 / 2015-02-16
-==================
-
- * deps: send@0.12.0
- - Always read the stat size from the file
- - Fix mutating passed-in `options`
- - deps: mime@1.3.4
-
-1.8.1 / 2015-01-20
-==================
-
- * Fix redirect loop in Node.js 0.11.14
- * deps: send@0.11.1
- - Fix root path disclosure
-
-1.8.0 / 2015-01-05
-==================
-
- * deps: send@0.11.0
- - deps: debug@~2.1.1
- - deps: etag@~1.5.1
- - deps: ms@0.7.0
- - deps: on-finished@~2.2.0
-
-1.7.2 / 2015-01-02
-==================
-
- * Fix potential open redirect when mounted at root
-
-1.7.1 / 2014-10-22
-==================
-
- * deps: send@0.10.1
- - deps: on-finished@~2.1.1
-
-1.7.0 / 2014-10-15
-==================
-
- * deps: send@0.10.0
- - deps: debug@~2.1.0
- - deps: depd@~1.0.0
- - deps: etag@~1.5.0
-
-1.6.5 / 2015-02-04
-==================
-
- * Fix potential open redirect when mounted at root
- - Back-ported from v1.7.2
-
-1.6.4 / 2014-10-08
-==================
-
- * Fix redirect loop when index file serving disabled
-
-1.6.3 / 2014-09-24
-==================
-
- * deps: send@0.9.3
- - deps: etag@~1.4.0
-
-1.6.2 / 2014-09-15
-==================
-
- * deps: send@0.9.2
- - deps: depd@0.4.5
- - deps: etag@~1.3.1
- - deps: range-parser@~1.0.2
-
-1.6.1 / 2014-09-07
-==================
-
- * deps: send@0.9.1
- - deps: fresh@0.2.4
-
-1.6.0 / 2014-09-07
-==================
-
- * deps: send@0.9.0
- - Add `lastModified` option
- - Use `etag` to generate `ETag` header
- - deps: debug@~2.0.0
-
-1.5.4 / 2014-09-04
-==================
-
- * deps: send@0.8.5
- - Fix a path traversal issue when using `root`
- - Fix malicious path detection for empty string path
-
-1.5.3 / 2014-08-17
-==================
-
- * deps: send@0.8.3
-
-1.5.2 / 2014-08-14
-==================
-
- * deps: send@0.8.2
- - Work around `fd` leak in Node.js 0.10 for `fs.ReadStream`
-
-1.5.1 / 2014-08-09
-==================
-
- * Fix parsing of weird `req.originalUrl` values
- * deps: parseurl@~1.3.0
- * deps: utils-merge@1.0.0
-
-1.5.0 / 2014-08-05
-==================
-
- * deps: send@0.8.1
- - Add `extensions` option
-
-1.4.4 / 2014-08-04
-==================
-
- * deps: send@0.7.4
- - Fix serving index files without root dir
-
-1.4.3 / 2014-07-29
-==================
-
- * deps: send@0.7.3
- - Fix incorrect 403 on Windows and Node.js 0.11
-
-1.4.2 / 2014-07-27
-==================
-
- * deps: send@0.7.2
- - deps: depd@0.4.4
-
-1.4.1 / 2014-07-26
-==================
-
- * deps: send@0.7.1
- - deps: depd@0.4.3
-
-1.4.0 / 2014-07-21
-==================
-
- * deps: parseurl@~1.2.0
- - Cache URLs based on original value
- - Remove no-longer-needed URL mis-parse work-around
- - Simplify the "fast-path" `RegExp`
- * deps: send@0.7.0
- - Add `dotfiles` option
- - deps: debug@1.0.4
- - deps: depd@0.4.2
-
-1.3.2 / 2014-07-11
-==================
-
- * deps: send@0.6.0
- - Cap `maxAge` value to 1 year
- - deps: debug@1.0.3
-
-1.3.1 / 2014-07-09
-==================
-
- * deps: parseurl@~1.1.3
- - faster parsing of href-only URLs
-
-1.3.0 / 2014-06-28
-==================
-
- * Add `setHeaders` option
- * Include HTML link in redirect response
- * deps: send@0.5.0
- - Accept string for `maxAge` (converted by `ms`)
-
-1.2.3 / 2014-06-11
-==================
-
- * deps: send@0.4.3
- - Do not throw un-catchable error on file open race condition
- - Use `escape-html` for HTML escaping
- - deps: debug@1.0.2
- - deps: finished@1.2.2
- - deps: fresh@0.2.2
-
-1.2.2 / 2014-06-09
-==================
-
- * deps: send@0.4.2
- - fix "event emitter leak" warnings
- - deps: debug@1.0.1
- - deps: finished@1.2.1
-
-1.2.1 / 2014-06-02
-==================
-
- * use `escape-html` for escaping
- * deps: send@0.4.1
- - Send `max-age` in `Cache-Control` in correct format
-
-1.2.0 / 2014-05-29
-==================
-
- * deps: send@0.4.0
- - Calculate ETag with md5 for reduced collisions
- - Fix wrong behavior when index file matches directory
- - Ignore stream errors after request ends
- - Skip directories in index file search
- - deps: debug@0.8.1
-
-1.1.0 / 2014-04-24
-==================
-
- * Accept options directly to `send` module
- * deps: send@0.3.0
-
-1.0.4 / 2014-04-07
-==================
-
- * Resolve relative paths at middleware setup
- * Use parseurl to parse the URL from request
-
-1.0.3 / 2014-03-20
-==================
-
- * Do not rely on connect-like environments
-
-1.0.2 / 2014-03-06
-==================
-
- * deps: send@0.2.0
-
-1.0.1 / 2014-03-05
-==================
-
- * Add mime export for back-compat
-
-1.0.0 / 2014-03-05
-==================
-
- * Genesis from `connect`
diff --git a/Server/node_modules/serve-static/LICENSE b/Server/node_modules/serve-static/LICENSE
deleted file mode 100644
index cbe62e8..0000000
--- a/Server/node_modules/serve-static/LICENSE
+++ /dev/null
@@ -1,25 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2010 Sencha Inc.
-Copyright (c) 2011 LearnBoost
-Copyright (c) 2011 TJ Holowaychuk
-Copyright (c) 2014-2016 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/serve-static/README.md b/Server/node_modules/serve-static/README.md
deleted file mode 100644
index 7cce428..0000000
--- a/Server/node_modules/serve-static/README.md
+++ /dev/null
@@ -1,259 +0,0 @@
-# serve-static
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Linux Build][travis-image]][travis-url]
-[![Windows Build][appveyor-image]][appveyor-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-## Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install serve-static
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var serveStatic = require('serve-static')
-```
-
-### serveStatic(root, options)
-
-Create a new middleware function to serve files from within a given root
-directory. The file to serve will be determined by combining `req.url`
-with the provided root directory. When a file is not found, instead of
-sending a 404 response, this module will instead call `next()` to move on
-to the next middleware, allowing for stacking and fall-backs.
-
-#### Options
-
-##### acceptRanges
-
-Enable or disable accepting ranged requests, defaults to true.
-Disabling this will not send `Accept-Ranges` and ignore the contents
-of the `Range` request header.
-
-##### cacheControl
-
-Enable or disable setting `Cache-Control` response header, defaults to
-true. Disabling this will ignore the `immutable` and `maxAge` options.
-
-##### dotfiles
-
- Set how "dotfiles" are treated when encountered. A dotfile is a file
-or directory that begins with a dot ("."). Note this check is done on
-the path itself without checking if the path actually exists on the
-disk. If `root` is specified, only the dotfiles above the root are
-checked (i.e. the root itself can be within a dotfile when set
-to "deny").
-
- - `'allow'` No special treatment for dotfiles.
- - `'deny'` Deny a request for a dotfile and 403/`next()`.
- - `'ignore'` Pretend like the dotfile does not exist and 404/`next()`.
-
-The default value is similar to `'ignore'`, with the exception that this
-default will not ignore the files within a directory that begins with a dot.
-
-##### etag
-
-Enable or disable etag generation, defaults to true.
-
-##### extensions
-
-Set file extension fallbacks. When set, if a file is not found, the given
-extensions will be added to the file name and search for. The first that
-exists will be served. Example: `['html', 'htm']`.
-
-The default value is `false`.
-
-##### fallthrough
-
-Set the middleware to have client errors fall-through as just unhandled
-requests, otherwise forward a client error. The difference is that client
-errors like a bad request or a request to a non-existent file will cause
-this middleware to simply `next()` to your next middleware when this value
-is `true`. When this value is `false`, these errors (even 404s), will invoke
-`next(err)`.
-
-Typically `true` is desired such that multiple physical directories can be
-mapped to the same web address or for routes to fill in non-existent files.
-
-The value `false` can be used if this middleware is mounted at a path that
-is designed to be strictly a single file system directory, which allows for
-short-circuiting 404s for less overhead. This middleware will also reply to
-all methods.
-
-The default value is `true`.
-
-##### immutable
-
-Enable or disable the `immutable` directive in the `Cache-Control` response
-header, defaults to `false`. If set to `true`, the `maxAge` option should
-also be specified to enable caching. The `immutable` directive will prevent
-supported clients from making conditional requests during the life of the
-`maxAge` option to check if the file has changed.
-
-##### index
-
-By default this module will send "index.html" files in response to a request
-on a directory. To disable this set `false` or to supply a new index pass a
-string or an array in preferred order.
-
-##### lastModified
-
-Enable or disable `Last-Modified` header, defaults to true. Uses the file
-system's last modified value.
-
-##### maxAge
-
-Provide a max-age in milliseconds for http caching, defaults to 0. This
-can also be a string accepted by the [ms](https://www.npmjs.org/package/ms#readme)
-module.
-
-##### redirect
-
-Redirect to trailing "/" when the pathname is a dir. Defaults to `true`.
-
-##### setHeaders
-
-Function to set custom headers on response. Alterations to the headers need to
-occur synchronously. The function is called as `fn(res, path, stat)`, where
-the arguments are:
-
- - `res` the response object
- - `path` the file path that is being sent
- - `stat` the stat object of the file that is being sent
-
-## Examples
-
-### Serve files with vanilla node.js http server
-
-```js
-var finalhandler = require('finalhandler')
-var http = require('http')
-var serveStatic = require('serve-static')
-
-// Serve up public/ftp folder
-var serve = serveStatic('public/ftp', { 'index': ['index.html', 'index.htm'] })
-
-// Create server
-var server = http.createServer(function onRequest (req, res) {
- serve(req, res, finalhandler(req, res))
-})
-
-// Listen
-server.listen(3000)
-```
-
-### Serve all files as downloads
-
-```js
-var contentDisposition = require('content-disposition')
-var finalhandler = require('finalhandler')
-var http = require('http')
-var serveStatic = require('serve-static')
-
-// Serve up public/ftp folder
-var serve = serveStatic('public/ftp', {
- 'index': false,
- 'setHeaders': setHeaders
-})
-
-// Set header to force download
-function setHeaders (res, path) {
- res.setHeader('Content-Disposition', contentDisposition(path))
-}
-
-// Create server
-var server = http.createServer(function onRequest (req, res) {
- serve(req, res, finalhandler(req, res))
-})
-
-// Listen
-server.listen(3000)
-```
-
-### Serving using express
-
-#### Simple
-
-This is a simple example of using Express.
-
-```js
-var express = require('express')
-var serveStatic = require('serve-static')
-
-var app = express()
-
-app.use(serveStatic('public/ftp', { 'index': ['default.html', 'default.htm'] }))
-app.listen(3000)
-```
-
-#### Multiple roots
-
-This example shows a simple way to search through multiple directories.
-Files are look for in `public-optimized/` first, then `public/` second as
-a fallback.
-
-```js
-var express = require('express')
-var path = require('path')
-var serveStatic = require('serve-static')
-
-var app = express()
-
-app.use(serveStatic(path.join(__dirname, 'public-optimized')))
-app.use(serveStatic(path.join(__dirname, 'public')))
-app.listen(3000)
-```
-
-#### Different settings for paths
-
-This example shows how to set a different max age depending on the served
-file type. In this example, HTML files are not cached, while everything else
-is for 1 day.
-
-```js
-var express = require('express')
-var path = require('path')
-var serveStatic = require('serve-static')
-
-var app = express()
-
-app.use(serveStatic(path.join(__dirname, 'public'), {
- maxAge: '1d',
- setHeaders: setCustomCacheControl
-}))
-
-app.listen(3000)
-
-function setCustomCacheControl (res, path) {
- if (serveStatic.mime.lookup(path) === 'text/html') {
- // Custom Cache-Control for HTML files
- res.setHeader('Cache-Control', 'public, max-age=0')
- }
-}
-```
-
-## License
-
-[MIT](LICENSE)
-
-[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/serve-static/master?label=windows
-[appveyor-url]: https://ci.appveyor.com/project/dougwilson/serve-static
-[coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/serve-static/master
-[coveralls-url]: https://coveralls.io/r/expressjs/serve-static?branch=master
-[node-image]: https://badgen.net/npm/node/serve-static
-[node-url]: https://nodejs.org/en/download/
-[npm-downloads-image]: https://badgen.net/npm/dm/serve-static
-[npm-url]: https://npmjs.org/package/serve-static
-[npm-version-image]: https://badgen.net/npm/v/serve-static
-[travis-image]: https://badgen.net/travis/expressjs/serve-static/master?label=linux
-[travis-url]: https://travis-ci.org/expressjs/serve-static
diff --git a/Server/node_modules/serve-static/index.js b/Server/node_modules/serve-static/index.js
deleted file mode 100644
index b7d3984..0000000
--- a/Server/node_modules/serve-static/index.js
+++ /dev/null
@@ -1,210 +0,0 @@
-/*!
- * serve-static
- * Copyright(c) 2010 Sencha Inc.
- * Copyright(c) 2011 TJ Holowaychuk
- * Copyright(c) 2014-2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var encodeUrl = require('encodeurl')
-var escapeHtml = require('escape-html')
-var parseUrl = require('parseurl')
-var resolve = require('path').resolve
-var send = require('send')
-var url = require('url')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = serveStatic
-module.exports.mime = send.mime
-
-/**
- * @param {string} root
- * @param {object} [options]
- * @return {function}
- * @public
- */
-
-function serveStatic (root, options) {
- if (!root) {
- throw new TypeError('root path required')
- }
-
- if (typeof root !== 'string') {
- throw new TypeError('root path must be a string')
- }
-
- // copy options object
- var opts = Object.create(options || null)
-
- // fall-though
- var fallthrough = opts.fallthrough !== false
-
- // default redirect
- var redirect = opts.redirect !== false
-
- // headers listener
- var setHeaders = opts.setHeaders
-
- if (setHeaders && typeof setHeaders !== 'function') {
- throw new TypeError('option setHeaders must be function')
- }
-
- // setup options for send
- opts.maxage = opts.maxage || opts.maxAge || 0
- opts.root = resolve(root)
-
- // construct directory listener
- var onDirectory = redirect
- ? createRedirectDirectoryListener()
- : createNotFoundDirectoryListener()
-
- return function serveStatic (req, res, next) {
- if (req.method !== 'GET' && req.method !== 'HEAD') {
- if (fallthrough) {
- return next()
- }
-
- // method not allowed
- res.statusCode = 405
- res.setHeader('Allow', 'GET, HEAD')
- res.setHeader('Content-Length', '0')
- res.end()
- return
- }
-
- var forwardError = !fallthrough
- var originalUrl = parseUrl.original(req)
- var path = parseUrl(req).pathname
-
- // make sure redirect occurs at mount
- if (path === '/' && originalUrl.pathname.substr(-1) !== '/') {
- path = ''
- }
-
- // create send stream
- var stream = send(req, path, opts)
-
- // add directory handler
- stream.on('directory', onDirectory)
-
- // add headers listener
- if (setHeaders) {
- stream.on('headers', setHeaders)
- }
-
- // add file listener for fallthrough
- if (fallthrough) {
- stream.on('file', function onFile () {
- // once file is determined, always forward error
- forwardError = true
- })
- }
-
- // forward errors
- stream.on('error', function error (err) {
- if (forwardError || !(err.statusCode < 500)) {
- next(err)
- return
- }
-
- next()
- })
-
- // pipe
- stream.pipe(res)
- }
-}
-
-/**
- * Collapse all leading slashes into a single slash
- * @private
- */
-function collapseLeadingSlashes (str) {
- for (var i = 0; i < str.length; i++) {
- if (str.charCodeAt(i) !== 0x2f /* / */) {
- break
- }
- }
-
- return i > 1
- ? '/' + str.substr(i)
- : str
-}
-
-/**
- * Create a minimal HTML document.
- *
- * @param {string} title
- * @param {string} body
- * @private
- */
-
-function createHtmlDocument (title, body) {
- return '<!DOCTYPE html>\n' +
- '<html lang="en">\n' +
- '<head>\n' +
- '<meta charset="utf-8">\n' +
- '<title>' + title + '</title>\n' +
- '</head>\n' +
- '<body>\n' +
- '<pre>' + body + '</pre>\n' +
- '</body>\n' +
- '</html>\n'
-}
-
-/**
- * Create a directory listener that just 404s.
- * @private
- */
-
-function createNotFoundDirectoryListener () {
- return function notFound () {
- this.error(404)
- }
-}
-
-/**
- * Create a directory listener that performs a redirect.
- * @private
- */
-
-function createRedirectDirectoryListener () {
- return function redirect (res) {
- if (this.hasTrailingSlash()) {
- this.error(404)
- return
- }
-
- // get original URL
- var originalUrl = parseUrl.original(this.req)
-
- // append trailing slash
- originalUrl.path = null
- originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + '/')
-
- // reformat the URL
- var loc = encodeUrl(url.format(originalUrl))
- var doc = createHtmlDocument('Redirecting', 'Redirecting to <a href="' + escapeHtml(loc) + '">' +
- escapeHtml(loc) + '</a>')
-
- // send redirect response
- res.statusCode = 301
- res.setHeader('Content-Type', 'text/html; charset=UTF-8')
- res.setHeader('Content-Length', Buffer.byteLength(doc))
- res.setHeader('Content-Security-Policy', "default-src 'none'")
- res.setHeader('X-Content-Type-Options', 'nosniff')
- res.setHeader('Location', loc)
- res.end(doc)
- }
-}
diff --git a/Server/node_modules/serve-static/package.json b/Server/node_modules/serve-static/package.json
deleted file mode 100644
index c11df1c..0000000
--- a/Server/node_modules/serve-static/package.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "_from": "serve-static@1.14.1",
- "_id": "serve-static@1.14.1",
- "_inBundle": false,
- "_integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
- "_location": "/serve-static",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "serve-static@1.14.1",
- "name": "serve-static",
- "escapedName": "serve-static",
- "rawSpec": "1.14.1",
- "saveSpec": null,
- "fetchSpec": "1.14.1"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
- "_shasum": "666e636dc4f010f7ef29970a88a674320898b2f9",
- "_spec": "serve-static@1.14.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/expressjs/serve-static/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.17.1"
- },
- "deprecated": false,
- "description": "Serve static files",
- "devDependencies": {
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.17.2",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "8.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "istanbul": "0.4.5",
- "mocha": "6.1.4",
- "safe-buffer": "5.1.2",
- "supertest": "4.0.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "homepage": "https://github.com/expressjs/serve-static#readme",
- "license": "MIT",
- "name": "serve-static",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/expressjs/serve-static.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "version": "node scripts/version-history.js && git add HISTORY.md"
- },
- "version": "1.14.1"
-}
diff --git a/Server/node_modules/setprototypeof/LICENSE b/Server/node_modules/setprototypeof/LICENSE
deleted file mode 100644
index 61afa2f..0000000
--- a/Server/node_modules/setprototypeof/LICENSE
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright (c) 2015, Wes Todd
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
-OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
-CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/Server/node_modules/setprototypeof/README.md b/Server/node_modules/setprototypeof/README.md
deleted file mode 100644
index f120044..0000000
--- a/Server/node_modules/setprototypeof/README.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Polyfill for `Object.setPrototypeOf`
-
-[![NPM Version](https://img.shields.io/npm/v/setprototypeof.svg)](https://npmjs.org/package/setprototypeof)
-[![NPM Downloads](https://img.shields.io/npm/dm/setprototypeof.svg)](https://npmjs.org/package/setprototypeof)
-[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/standard/standard)
-
-A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8.
-
-## Usage:
-
-```
-$ npm install --save setprototypeof
-```
-
-```javascript
-var setPrototypeOf = require('setprototypeof')
-
-var obj = {}
-setPrototypeOf(obj, {
- foo: function () {
- return 'bar'
- }
-})
-obj.foo() // bar
-```
-
-TypeScript is also supported:
-
-```typescript
-import setPrototypeOf = require('setprototypeof')
-```
diff --git a/Server/node_modules/setprototypeof/index.d.ts b/Server/node_modules/setprototypeof/index.d.ts
deleted file mode 100644
index f108ecd..0000000
--- a/Server/node_modules/setprototypeof/index.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-declare function setPrototypeOf(o: any, proto: object | null): any;
-export = setPrototypeOf;
diff --git a/Server/node_modules/setprototypeof/index.js b/Server/node_modules/setprototypeof/index.js
deleted file mode 100644
index 81fd5d7..0000000
--- a/Server/node_modules/setprototypeof/index.js
+++ /dev/null
@@ -1,17 +0,0 @@
-'use strict'
-/* eslint no-proto: 0 */
-module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties)
-
-function setProtoOf (obj, proto) {
- obj.__proto__ = proto
- return obj
-}
-
-function mixinProperties (obj, proto) {
- for (var prop in proto) {
- if (!obj.hasOwnProperty(prop)) {
- obj[prop] = proto[prop]
- }
- }
- return obj
-}
diff --git a/Server/node_modules/setprototypeof/package.json b/Server/node_modules/setprototypeof/package.json
deleted file mode 100644
index e9b835f..0000000
--- a/Server/node_modules/setprototypeof/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "_from": "setprototypeof@1.1.1",
- "_id": "setprototypeof@1.1.1",
- "_inBundle": false,
- "_integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",
- "_location": "/setprototypeof",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "setprototypeof@1.1.1",
- "name": "setprototypeof",
- "escapedName": "setprototypeof",
- "rawSpec": "1.1.1",
- "saveSpec": null,
- "fetchSpec": "1.1.1"
- },
- "_requiredBy": [
- "/express",
- "/http-errors"
- ],
- "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
- "_shasum": "7e95acb24aa92f5885e0abef5ba131330d4ae683",
- "_spec": "setprototypeof@1.1.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/http-errors",
- "author": {
- "name": "Wes Todd"
- },
- "bugs": {
- "url": "https://github.com/wesleytodd/setprototypeof/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "A small polyfill for Object.setprototypeof",
- "devDependencies": {
- "mocha": "^5.2.0",
- "standard": "^12.0.1"
- },
- "homepage": "https://github.com/wesleytodd/setprototypeof",
- "keywords": [
- "polyfill",
- "object",
- "setprototypeof"
- ],
- "license": "ISC",
- "main": "index.js",
- "name": "setprototypeof",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/wesleytodd/setprototypeof.git"
- },
- "scripts": {
- "node010": "NODE_VER=0.10 MOCHA_VER=3 npm run testversion",
- "node11": "NODE_VER=11 npm run testversion",
- "node4": "NODE_VER=4 npm run testversion",
- "node6": "NODE_VER=6 npm run testversion",
- "node9": "NODE_VER=9 npm run testversion",
- "test": "standard && mocha",
- "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11",
- "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t"
- },
- "typings": "index.d.ts",
- "version": "1.1.1"
-}
diff --git a/Server/node_modules/setprototypeof/test/index.js b/Server/node_modules/setprototypeof/test/index.js
deleted file mode 100644
index afeb4dd..0000000
--- a/Server/node_modules/setprototypeof/test/index.js
+++ /dev/null
@@ -1,24 +0,0 @@
-'use strict'
-/* eslint-env mocha */
-/* eslint no-proto: 0 */
-var assert = require('assert')
-var setPrototypeOf = require('..')
-
-describe('setProtoOf(obj, proto)', function () {
- it('should merge objects', function () {
- var obj = { a: 1, b: 2 }
- var proto = { b: 3, c: 4 }
- var mergeObj = setPrototypeOf(obj, proto)
-
- if (Object.getPrototypeOf) {
- assert.strictEqual(Object.getPrototypeOf(obj), proto)
- } else if ({ __proto__: [] } instanceof Array) {
- assert.strictEqual(obj.__proto__, proto)
- } else {
- assert.strictEqual(obj.a, 1)
- assert.strictEqual(obj.b, 2)
- assert.strictEqual(obj.c, 4)
- }
- assert.strictEqual(mergeObj, obj)
- })
-})
diff --git a/Server/node_modules/sqlstring/HISTORY.md b/Server/node_modules/sqlstring/HISTORY.md
deleted file mode 100644
index e2c7e51..0000000
--- a/Server/node_modules/sqlstring/HISTORY.md
+++ /dev/null
@@ -1,43 +0,0 @@
-2.3.1 / 2018-02-24
-==================
-
- * Fix incorrectly replacing non-placeholders in SQL
-
-2.3.0 / 2017-10-01
-==================
-
- * Add `.toSqlString()` escape overriding
- * Add `raw` method to wrap raw strings for escape overriding
- * Small performance improvement on `escapeId`
-
-2.2.0 / 2016-11-01
-==================
-
- * Escape invalid `Date` objects as `NULL`
-
-2.1.0 / 2016-09-26
-==================
-
- * Accept numbers and other value types in `escapeId`
- * Run `buffer.toString()` through escaping
-
-2.0.1 / 2016-06-06
-==================
-
- * Fix npm package to include missing `lib/` directory
-
-2.0.0 / 2016-06-06
-==================
-
- * Bring repository up-to-date with `mysql` module changes
- * Support Node.js 0.6.x
-
-1.0.0 / 2014-11-09
-==================
-
- * Support Node.js 0.8.x
-
-0.0.1 / 2014-02-25
-==================
-
- * Initial release
diff --git a/Server/node_modules/sqlstring/LICENSE b/Server/node_modules/sqlstring/LICENSE
deleted file mode 100644
index c7ff12a..0000000
--- a/Server/node_modules/sqlstring/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
-
- 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.
diff --git a/Server/node_modules/sqlstring/README.md b/Server/node_modules/sqlstring/README.md
deleted file mode 100644
index fafe6f4..0000000
--- a/Server/node_modules/sqlstring/README.md
+++ /dev/null
@@ -1,206 +0,0 @@
-# sqlstring
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Coverage Status][coveralls-image]][coveralls-url]
-
-Simple SQL escape and format for MySQL
-
-## Install
-
-```sh
-$ npm install sqlstring
-```
-
-## Usage
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var SqlString = require('sqlstring');
-```
-
-### Escaping query values
-
-**Caution** These methods of escaping values only works when the
-[NO_BACKSLASH_ESCAPES](https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_backslash_escapes)
-SQL mode is disabled (which is the default state for MySQL servers).
-
-In order to avoid SQL Injection attacks, you should always escape any user
-provided data before using it inside a SQL query. You can do so using the
-`SqlString.escape()` method:
-
-```js
-var userId = 'some user provided value';
-var sql = 'SELECT * FROM users WHERE id = ' + SqlString.escape(userId);
-console.log(sql); // SELECT * FROM users WHERE id = 'some user provided value'
-```
-
-Alternatively, you can use `?` characters as placeholders for values you would
-like to have escaped like this:
-
-```js
-var userId = 1;
-var sql = SqlString.format('SELECT * FROM users WHERE id = ?', [userId]);
-console.log(sql); // SELECT * FROM users WHERE id = 1
-```
-
-Multiple placeholders are mapped to values in the same order as passed. For example,
-in the following query `foo` equals `a`, `bar` equals `b`, `baz` equals `c`, and
-`id` will be `userId`:
-
-```js
-var userId = 1;
-var sql = SqlString.format('UPDATE users SET foo = ?, bar = ?, baz = ? WHERE id = ?',
- ['a', 'b', 'c', userId]);
-console.log(sql); // UPDATE users SET foo = 'a', bar = 'b', baz = 'c' WHERE id = 1
-```
-
-This looks similar to prepared statements in MySQL, however it really just uses
-the same `SqlString.escape()` method internally.
-
-**Caution** This also differs from prepared statements in that all `?` are
-replaced, even those contained in comments and strings.
-
-Different value types are escaped differently, here is how:
-
-* Numbers are left untouched
-* Booleans are converted to `true` / `false`
-* Date objects are converted to `'YYYY-mm-dd HH:ii:ss'` strings
-* Buffers are converted to hex strings, e.g. `X'0fa5'`
-* Strings are safely escaped
-* Arrays are turned into list, e.g. `['a', 'b']` turns into `'a', 'b'`
-* Nested arrays are turned into grouped lists (for bulk inserts), e.g. `[['a',
- 'b'], ['c', 'd']]` turns into `('a', 'b'), ('c', 'd')`
-* Objects that have a `toSqlString` method will have `.toSqlString()` called
- and the returned value is used as the raw SQL.
-* Objects are turned into `key = 'val'` pairs for each enumerable property on
- the object. If the property's value is a function, it is skipped; if the
- property's value is an object, toString() is called on it and the returned
- value is used.
-* `undefined` / `null` are converted to `NULL`
-* `NaN` / `Infinity` are left as-is. MySQL does not support these, and trying
- to insert them as values will trigger MySQL errors until they implement
- support.
-
-You may have noticed that this escaping allows you to do neat things like this:
-
-```js
-var post = {id: 1, title: 'Hello MySQL'};
-var sql = SqlString.format('INSERT INTO posts SET ?', post);
-console.log(sql); // INSERT INTO posts SET `id` = 1, `title` = 'Hello MySQL'
-```
-
-And the `toSqlString` method allows you to form complex queries with functions:
-
-```js
-var CURRENT_TIMESTAMP = { toSqlString: function() { return 'CURRENT_TIMESTAMP()'; } };
-var sql = SqlString.format('UPDATE posts SET modified = ? WHERE id = ?', [CURRENT_TIMESTAMP, 42]);
-console.log(sql); // UPDATE posts SET modified = CURRENT_TIMESTAMP() WHERE id = 42
-```
-
-To generate objects with a `toSqlString` method, the `SqlString.raw()` method can
-be used. This creates an object that will be left un-touched when using in a `?`
-placeholder, useful for using functions as dynamic values:
-
-**Caution** The string provided to `SqlString.raw()` will skip all escaping
-functions when used, so be careful when passing in unvalidated input.
-
-```js
-var CURRENT_TIMESTAMP = SqlString.raw('CURRENT_TIMESTAMP()');
-var sql = SqlString.format('UPDATE posts SET modified = ? WHERE id = ?', [CURRENT_TIMESTAMP, 42]);
-console.log(sql); // UPDATE posts SET modified = CURRENT_TIMESTAMP() WHERE id = 42
-```
-
-If you feel the need to escape queries by yourself, you can also use the escaping
-function directly:
-
-```js
-var sql = 'SELECT * FROM posts WHERE title=' + SqlString.escape('Hello MySQL');
-console.log(sql); // SELECT * FROM posts WHERE title='Hello MySQL'
-```
-
-### Escaping query identifiers
-
-If you can't trust an SQL identifier (database / table / column name) because it is
-provided by a user, you should escape it with `SqlString.escapeId(identifier)` like this:
-
-```js
-var sorter = 'date';
-var sql = 'SELECT * FROM posts ORDER BY ' + SqlString.escapeId(sorter);
-console.log(sql); // SELECT * FROM posts ORDER BY `date`
-```
-
-It also supports adding qualified identifiers. It will escape both parts.
-
-```js
-var sorter = 'date';
-var sql = 'SELECT * FROM posts ORDER BY ' + SqlString.escapeId('posts.' + sorter);
-console.log(sql); // SELECT * FROM posts ORDER BY `posts`.`date`
-```
-
-If you do not want to treat `.` as qualified identifiers, you can set the second
-argument to `true` in order to keep the string as a literal identifier:
-
-```js
-var sorter = 'date.2';
-var sql = 'SELECT * FROM posts ORDER BY ' + SqlString.escapeId(sorter, true);
-console.log(sql); // SELECT * FROM posts ORDER BY `date.2`
-```
-
-Alternatively, you can use `??` characters as placeholders for identifiers you would
-like to have escaped like this:
-
-```js
-var userId = 1;
-var columns = ['username', 'email'];
-var sql = SqlString.format('SELECT ?? FROM ?? WHERE id = ?', [columns, 'users', userId]);
-console.log(sql); // SELECT `username`, `email` FROM `users` WHERE id = 1
-```
-**Please note that this last character sequence is experimental and syntax might change**
-
-When you pass an Object to `.escape()` or `.format()`, `.escapeId()` is used to avoid SQL injection in object keys.
-
-### Formatting queries
-
-You can use `SqlString.format` to prepare a query with multiple insertion points,
-utilizing the proper escaping for ids and values. A simple example of this follows:
-
-```js
-var userId = 1;
-var inserts = ['users', 'id', userId];
-var sql = SqlString.format('SELECT * FROM ?? WHERE ?? = ?', inserts);
-console.log(sql); // SELECT * FROM `users` WHERE `id` = 1
-```
-
-Following this you then have a valid, escaped query that you can then send to the database safely.
-This is useful if you are looking to prepare the query before actually sending it to the database.
-You also have the option (but are not required) to pass in `stringifyObject` and `timeZone`,
-allowing you provide a custom means of turning objects into strings, as well as a
-location-specific/timezone-aware `Date`.
-
-This can be further combined with the `SqlString.raw()` helper to generate SQL
-that includes MySQL functions as dynamic vales:
-
-```js
-var userId = 1;
-var data = { email: 'foobar@example.com', modified: SqlString.raw('NOW()') };
-var sql = SqlString.format('UPDATE ?? SET ? WHERE `id` = ?', ['users', data, userId]);
-console.log(sql); // UPDATE `users` SET `email` = 'foobar@example.com', `modified` = NOW() WHERE `id` = 1
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-version-image]: https://img.shields.io/npm/v/sqlstring.svg
-[npm-downloads-image]: https://img.shields.io/npm/dm/sqlstring.svg
-[npm-url]: https://npmjs.org/package/sqlstring
-[travis-image]: https://img.shields.io/travis/mysqljs/sqlstring/master.svg
-[travis-url]: https://travis-ci.org/mysqljs/sqlstring
-[coveralls-image]: https://img.shields.io/coveralls/mysqljs/sqlstring/master.svg
-[coveralls-url]: https://coveralls.io/r/mysqljs/sqlstring?branch=master
-[node-image]: https://img.shields.io/node/v/sqlstring.svg
-[node-url]: https://nodejs.org/en/download
diff --git a/Server/node_modules/sqlstring/index.js b/Server/node_modules/sqlstring/index.js
deleted file mode 100644
index 4ef5944..0000000
--- a/Server/node_modules/sqlstring/index.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require('./lib/SqlString');
diff --git a/Server/node_modules/sqlstring/lib/SqlString.js b/Server/node_modules/sqlstring/lib/SqlString.js
deleted file mode 100644
index 419adec..0000000
--- a/Server/node_modules/sqlstring/lib/SqlString.js
+++ /dev/null
@@ -1,237 +0,0 @@
-var SqlString = exports;
-
-var ID_GLOBAL_REGEXP = /`/g;
-var QUAL_GLOBAL_REGEXP = /\./g;
-var CHARS_GLOBAL_REGEXP = /[\0\b\t\n\r\x1a\"\'\\]/g; // eslint-disable-line no-control-regex
-var CHARS_ESCAPE_MAP = {
- '\0' : '\\0',
- '\b' : '\\b',
- '\t' : '\\t',
- '\n' : '\\n',
- '\r' : '\\r',
- '\x1a' : '\\Z',
- '"' : '\\"',
- '\'' : '\\\'',
- '\\' : '\\\\'
-};
-
-SqlString.escapeId = function escapeId(val, forbidQualified) {
- if (Array.isArray(val)) {
- var sql = '';
-
- for (var i = 0; i < val.length; i++) {
- sql += (i === 0 ? '' : ', ') + SqlString.escapeId(val[i], forbidQualified);
- }
-
- return sql;
- } else if (forbidQualified) {
- return '`' + String(val).replace(ID_GLOBAL_REGEXP, '``') + '`';
- } else {
- return '`' + String(val).replace(ID_GLOBAL_REGEXP, '``').replace(QUAL_GLOBAL_REGEXP, '`.`') + '`';
- }
-};
-
-SqlString.escape = function escape(val, stringifyObjects, timeZone) {
- if (val === undefined || val === null) {
- return 'NULL';
- }
-
- switch (typeof val) {
- case 'boolean': return (val) ? 'true' : 'false';
- case 'number': return val + '';
- case 'object':
- if (val instanceof Date) {
- return SqlString.dateToString(val, timeZone || 'local');
- } else if (Array.isArray(val)) {
- return SqlString.arrayToList(val, timeZone);
- } else if (Buffer.isBuffer(val)) {
- return SqlString.bufferToString(val);
- } else if (typeof val.toSqlString === 'function') {
- return String(val.toSqlString());
- } else if (stringifyObjects) {
- return escapeString(val.toString());
- } else {
- return SqlString.objectToValues(val, timeZone);
- }
- default: return escapeString(val);
- }
-};
-
-SqlString.arrayToList = function arrayToList(array, timeZone) {
- var sql = '';
-
- for (var i = 0; i < array.length; i++) {
- var val = array[i];
-
- if (Array.isArray(val)) {
- sql += (i === 0 ? '' : ', ') + '(' + SqlString.arrayToList(val, timeZone) + ')';
- } else {
- sql += (i === 0 ? '' : ', ') + SqlString.escape(val, true, timeZone);
- }
- }
-
- return sql;
-};
-
-SqlString.format = function format(sql, values, stringifyObjects, timeZone) {
- if (values == null) {
- return sql;
- }
-
- if (!(values instanceof Array || Array.isArray(values))) {
- values = [values];
- }
-
- var chunkIndex = 0;
- var placeholdersRegex = /\?+/g;
- var result = '';
- var valuesIndex = 0;
- var match;
-
- while (valuesIndex < values.length && (match = placeholdersRegex.exec(sql))) {
- var len = match[0].length;
-
- if (len > 2) {
- continue;
- }
-
- var value = len === 2
- ? SqlString.escapeId(values[valuesIndex])
- : SqlString.escape(values[valuesIndex], stringifyObjects, timeZone);
-
- result += sql.slice(chunkIndex, match.index) + value;
- chunkIndex = placeholdersRegex.lastIndex;
- valuesIndex++;
- }
-
- if (chunkIndex === 0) {
- // Nothing was replaced
- return sql;
- }
-
- if (chunkIndex < sql.length) {
- return result + sql.slice(chunkIndex);
- }
-
- return result;
-};
-
-SqlString.dateToString = function dateToString(date, timeZone) {
- var dt = new Date(date);
-
- if (isNaN(dt.getTime())) {
- return 'NULL';
- }
-
- var year;
- var month;
- var day;
- var hour;
- var minute;
- var second;
- var millisecond;
-
- if (timeZone === 'local') {
- year = dt.getFullYear();
- month = dt.getMonth() + 1;
- day = dt.getDate();
- hour = dt.getHours();
- minute = dt.getMinutes();
- second = dt.getSeconds();
- millisecond = dt.getMilliseconds();
- } else {
- var tz = convertTimezone(timeZone);
-
- if (tz !== false && tz !== 0) {
- dt.setTime(dt.getTime() + (tz * 60000));
- }
-
- year = dt.getUTCFullYear();
- month = dt.getUTCMonth() + 1;
- day = dt.getUTCDate();
- hour = dt.getUTCHours();
- minute = dt.getUTCMinutes();
- second = dt.getUTCSeconds();
- millisecond = dt.getUTCMilliseconds();
- }
-
- // YYYY-MM-DD HH:mm:ss.mmm
- var str = zeroPad(year, 4) + '-' + zeroPad(month, 2) + '-' + zeroPad(day, 2) + ' ' +
- zeroPad(hour, 2) + ':' + zeroPad(minute, 2) + ':' + zeroPad(second, 2) + '.' +
- zeroPad(millisecond, 3);
-
- return escapeString(str);
-};
-
-SqlString.bufferToString = function bufferToString(buffer) {
- return 'X' + escapeString(buffer.toString('hex'));
-};
-
-SqlString.objectToValues = function objectToValues(object, timeZone) {
- var sql = '';
-
- for (var key in object) {
- var val = object[key];
-
- if (typeof val === 'function') {
- continue;
- }
-
- sql += (sql.length === 0 ? '' : ', ') + SqlString.escapeId(key) + ' = ' + SqlString.escape(val, true, timeZone);
- }
-
- return sql;
-};
-
-SqlString.raw = function raw(sql) {
- if (typeof sql !== 'string') {
- throw new TypeError('argument sql must be a string');
- }
-
- return {
- toSqlString: function toSqlString() { return sql; }
- };
-};
-
-function escapeString(val) {
- var chunkIndex = CHARS_GLOBAL_REGEXP.lastIndex = 0;
- var escapedVal = '';
- var match;
-
- while ((match = CHARS_GLOBAL_REGEXP.exec(val))) {
- escapedVal += val.slice(chunkIndex, match.index) + CHARS_ESCAPE_MAP[match[0]];
- chunkIndex = CHARS_GLOBAL_REGEXP.lastIndex;
- }
-
- if (chunkIndex === 0) {
- // Nothing was escaped
- return "'" + val + "'";
- }
-
- if (chunkIndex < val.length) {
- return "'" + escapedVal + val.slice(chunkIndex) + "'";
- }
-
- return "'" + escapedVal + "'";
-}
-
-function zeroPad(number, length) {
- number = number.toString();
- while (number.length < length) {
- number = '0' + number;
- }
-
- return number;
-}
-
-function convertTimezone(tz) {
- if (tz === 'Z') {
- return 0;
- }
-
- var m = tz.match(/([\+\-\s])(\d\d):?(\d\d)?/);
- if (m) {
- return (m[1] === '-' ? -1 : 1) * (parseInt(m[2], 10) + ((m[3] ? parseInt(m[3], 10) : 0) / 60)) * 60;
- }
- return false;
-}
diff --git a/Server/node_modules/sqlstring/package.json b/Server/node_modules/sqlstring/package.json
deleted file mode 100644
index 17b3453..0000000
--- a/Server/node_modules/sqlstring/package.json
+++ /dev/null
@@ -1,98 +0,0 @@
-{
- "_from": "sqlstring@2.3.1",
- "_id": "sqlstring@2.3.1",
- "_inBundle": false,
- "_integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A=",
- "_location": "/sqlstring",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "sqlstring@2.3.1",
- "name": "sqlstring",
- "escapedName": "sqlstring",
- "rawSpec": "2.3.1",
- "saveSpec": null,
- "fetchSpec": "2.3.1"
- },
- "_requiredBy": [
- "/mysql"
- ],
- "_resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz",
- "_shasum": "475393ff9e91479aea62dcaf0ca3d14983a7fb40",
- "_spec": "sqlstring@2.3.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/mysql",
- "bugs": {
- "url": "https://github.com/mysqljs/sqlstring/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Adri Van Houdt",
- "email": "adri.van.houdt@gmail.com"
- },
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "fengmk2",
- "email": "fengmk2@gmail.com",
- "url": "http://fengmk2.github.com"
- },
- {
- "name": "Kevin Jose Martin",
- "email": "kevin@tiliq.com"
- },
- {
- "name": "Nathan Woltman",
- "email": "nwoltman@outlook.com"
- },
- {
- "name": "Sergej Sintschilin",
- "email": "seregpie@gmail.com"
- }
- ],
- "deprecated": false,
- "description": "Simple SQL escape and format for MySQL",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "eslint": "4.18.1",
- "eslint-plugin-markdown": "1.0.0-beta.6",
- "nyc": "10.3.2",
- "urun": "0.0.8",
- "utest": "0.0.8"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "lib/",
- "HISTORY.md",
- "LICENSE",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/mysqljs/sqlstring#readme",
- "keywords": [
- "sqlstring",
- "sql",
- "escape",
- "sql escape"
- ],
- "license": "MIT",
- "name": "sqlstring",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/mysqljs/sqlstring.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "node test/run.js",
- "test-ci": "nyc --reporter=text npm test",
- "test-cov": "nyc --reporter=html --reporter=text npm test"
- },
- "version": "2.3.1"
-}
diff --git a/Server/node_modules/statuses/HISTORY.md b/Server/node_modules/statuses/HISTORY.md
deleted file mode 100644
index a1977b2..0000000
--- a/Server/node_modules/statuses/HISTORY.md
+++ /dev/null
@@ -1,65 +0,0 @@
-1.5.0 / 2018-03-27
-==================
-
- * Add `103 Early Hints`
-
-1.4.0 / 2017-10-20
-==================
-
- * Add `STATUS_CODES` export
-
-1.3.1 / 2016-11-11
-==================
-
- * Fix return type in JSDoc
-
-1.3.0 / 2016-05-17
-==================
-
- * Add `421 Misdirected Request`
- * perf: enable strict mode
-
-1.2.1 / 2015-02-01
-==================
-
- * Fix message for status 451
- - `451 Unavailable For Legal Reasons`
-
-1.2.0 / 2014-09-28
-==================
-
- * Add `208 Already Repored`
- * Add `226 IM Used`
- * Add `306 (Unused)`
- * Add `415 Unable For Legal Reasons`
- * Add `508 Loop Detected`
-
-1.1.1 / 2014-09-24
-==================
-
- * Add missing 308 to `codes.json`
-
-1.1.0 / 2014-09-21
-==================
-
- * Add `codes.json` for universal support
-
-1.0.4 / 2014-08-20
-==================
-
- * Package cleanup
-
-1.0.3 / 2014-06-08
-==================
-
- * Add 308 to `.redirect` category
-
-1.0.2 / 2014-03-13
-==================
-
- * Add `.retry` category
-
-1.0.1 / 2014-03-12
-==================
-
- * Initial release
diff --git a/Server/node_modules/statuses/LICENSE b/Server/node_modules/statuses/LICENSE
deleted file mode 100644
index 28a3161..0000000
--- a/Server/node_modules/statuses/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-
-The MIT License (MIT)
-
-Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2016 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/statuses/README.md b/Server/node_modules/statuses/README.md
deleted file mode 100644
index 0fe5720..0000000
--- a/Server/node_modules/statuses/README.md
+++ /dev/null
@@ -1,127 +0,0 @@
-# Statuses
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-HTTP status utility for node.
-
-This module provides a list of status codes and messages sourced from
-a few different projects:
-
- * The [IANA Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml)
- * The [Node.js project](https://nodejs.org/)
- * The [NGINX project](https://www.nginx.com/)
- * The [Apache HTTP Server project](https://httpd.apache.org/)
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install statuses
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var status = require('statuses')
-```
-
-### var code = status(Integer || String)
-
-If `Integer` or `String` is a valid HTTP code or status message, then the
-appropriate `code` will be returned. Otherwise, an error will be thrown.
-
-<!-- eslint-disable no-undef -->
-
-```js
-status(403) // => 403
-status('403') // => 403
-status('forbidden') // => 403
-status('Forbidden') // => 403
-status(306) // throws, as it's not supported by node.js
-```
-
-### status.STATUS_CODES
-
-Returns an object which maps status codes to status messages, in
-the same format as the
-[Node.js http module](https://nodejs.org/dist/latest/docs/api/http.html#http_http_status_codes).
-
-### status.codes
-
-Returns an array of all the status codes as `Integer`s.
-
-### var msg = status[code]
-
-Map of `code` to `status message`. `undefined` for invalid `code`s.
-
-<!-- eslint-disable no-undef, no-unused-expressions -->
-
-```js
-status[404] // => 'Not Found'
-```
-
-### var code = status[msg]
-
-Map of `status message` to `code`. `msg` can either be title-cased or
-lower-cased. `undefined` for invalid `status message`s.
-
-<!-- eslint-disable no-undef, no-unused-expressions -->
-
-```js
-status['not found'] // => 404
-status['Not Found'] // => 404
-```
-
-### status.redirect[code]
-
-Returns `true` if a status code is a valid redirect status.
-
-<!-- eslint-disable no-undef, no-unused-expressions -->
-
-```js
-status.redirect[200] // => undefined
-status.redirect[301] // => true
-```
-
-### status.empty[code]
-
-Returns `true` if a status code expects an empty body.
-
-<!-- eslint-disable no-undef, no-unused-expressions -->
-
-```js
-status.empty[200] // => undefined
-status.empty[204] // => true
-status.empty[304] // => true
-```
-
-### status.retry[code]
-
-Returns `true` if you should retry the rest.
-
-<!-- eslint-disable no-undef, no-unused-expressions -->
-
-```js
-status.retry[501] // => undefined
-status.retry[503] // => true
-```
-
-[npm-image]: https://img.shields.io/npm/v/statuses.svg
-[npm-url]: https://npmjs.org/package/statuses
-[node-version-image]: https://img.shields.io/node/v/statuses.svg
-[node-version-url]: https://nodejs.org/en/download
-[travis-image]: https://img.shields.io/travis/jshttp/statuses.svg
-[travis-url]: https://travis-ci.org/jshttp/statuses
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/statuses.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/statuses?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/statuses.svg
-[downloads-url]: https://npmjs.org/package/statuses
diff --git a/Server/node_modules/statuses/codes.json b/Server/node_modules/statuses/codes.json
deleted file mode 100644
index a09283a..0000000
--- a/Server/node_modules/statuses/codes.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "100": "Continue",
- "101": "Switching Protocols",
- "102": "Processing",
- "103": "Early Hints",
- "200": "OK",
- "201": "Created",
- "202": "Accepted",
- "203": "Non-Authoritative Information",
- "204": "No Content",
- "205": "Reset Content",
- "206": "Partial Content",
- "207": "Multi-Status",
- "208": "Already Reported",
- "226": "IM Used",
- "300": "Multiple Choices",
- "301": "Moved Permanently",
- "302": "Found",
- "303": "See Other",
- "304": "Not Modified",
- "305": "Use Proxy",
- "306": "(Unused)",
- "307": "Temporary Redirect",
- "308": "Permanent Redirect",
- "400": "Bad Request",
- "401": "Unauthorized",
- "402": "Payment Required",
- "403": "Forbidden",
- "404": "Not Found",
- "405": "Method Not Allowed",
- "406": "Not Acceptable",
- "407": "Proxy Authentication Required",
- "408": "Request Timeout",
- "409": "Conflict",
- "410": "Gone",
- "411": "Length Required",
- "412": "Precondition Failed",
- "413": "Payload Too Large",
- "414": "URI Too Long",
- "415": "Unsupported Media Type",
- "416": "Range Not Satisfiable",
- "417": "Expectation Failed",
- "418": "I'm a teapot",
- "421": "Misdirected Request",
- "422": "Unprocessable Entity",
- "423": "Locked",
- "424": "Failed Dependency",
- "425": "Unordered Collection",
- "426": "Upgrade Required",
- "428": "Precondition Required",
- "429": "Too Many Requests",
- "431": "Request Header Fields Too Large",
- "451": "Unavailable For Legal Reasons",
- "500": "Internal Server Error",
- "501": "Not Implemented",
- "502": "Bad Gateway",
- "503": "Service Unavailable",
- "504": "Gateway Timeout",
- "505": "HTTP Version Not Supported",
- "506": "Variant Also Negotiates",
- "507": "Insufficient Storage",
- "508": "Loop Detected",
- "509": "Bandwidth Limit Exceeded",
- "510": "Not Extended",
- "511": "Network Authentication Required"
-}
diff --git a/Server/node_modules/statuses/index.js b/Server/node_modules/statuses/index.js
deleted file mode 100644
index 4df469a..0000000
--- a/Server/node_modules/statuses/index.js
+++ /dev/null
@@ -1,113 +0,0 @@
-/*!
- * statuses
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var codes = require('./codes.json')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = status
-
-// status code to message map
-status.STATUS_CODES = codes
-
-// array of status codes
-status.codes = populateStatusesMap(status, codes)
-
-// status codes for redirects
-status.redirect = {
- 300: true,
- 301: true,
- 302: true,
- 303: true,
- 305: true,
- 307: true,
- 308: true
-}
-
-// status codes for empty bodies
-status.empty = {
- 204: true,
- 205: true,
- 304: true
-}
-
-// status codes for when you should retry the request
-status.retry = {
- 502: true,
- 503: true,
- 504: true
-}
-
-/**
- * Populate the statuses map for given codes.
- * @private
- */
-
-function populateStatusesMap (statuses, codes) {
- var arr = []
-
- Object.keys(codes).forEach(function forEachCode (code) {
- var message = codes[code]
- var status = Number(code)
-
- // Populate properties
- statuses[status] = message
- statuses[message] = status
- statuses[message.toLowerCase()] = status
-
- // Add to array
- arr.push(status)
- })
-
- return arr
-}
-
-/**
- * Get the status code.
- *
- * Given a number, this will throw if it is not a known status
- * code, otherwise the code will be returned. Given a string,
- * the string will be parsed for a number and return the code
- * if valid, otherwise will lookup the code assuming this is
- * the status message.
- *
- * @param {string|number} code
- * @returns {number}
- * @public
- */
-
-function status (code) {
- if (typeof code === 'number') {
- if (!status[code]) throw new Error('invalid status code: ' + code)
- return code
- }
-
- if (typeof code !== 'string') {
- throw new TypeError('code must be a number or string')
- }
-
- // '403'
- var n = parseInt(code, 10)
- if (!isNaN(n)) {
- if (!status[n]) throw new Error('invalid status code: ' + n)
- return n
- }
-
- n = status[code.toLowerCase()]
- if (!n) throw new Error('invalid status message: "' + code + '"')
- return n
-}
diff --git a/Server/node_modules/statuses/package.json b/Server/node_modules/statuses/package.json
deleted file mode 100644
index d433de2..0000000
--- a/Server/node_modules/statuses/package.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "_from": "statuses@>= 1.5.0 < 2",
- "_id": "statuses@1.5.0",
- "_inBundle": false,
- "_integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",
- "_location": "/statuses",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "statuses@>= 1.5.0 < 2",
- "name": "statuses",
- "escapedName": "statuses",
- "rawSpec": ">= 1.5.0 < 2",
- "saveSpec": null,
- "fetchSpec": ">= 1.5.0 < 2"
- },
- "_requiredBy": [
- "/express",
- "/finalhandler",
- "/http-errors",
- "/send"
- ],
- "_resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
- "_shasum": "161c7dac177659fd9811f43771fa99381478628c",
- "_spec": "statuses@>= 1.5.0 < 2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/http-errors",
- "bugs": {
- "url": "https://github.com/jshttp/statuses/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "deprecated": false,
- "description": "HTTP status utility",
- "devDependencies": {
- "csv-parse": "1.2.4",
- "eslint": "4.19.1",
- "eslint-config-standard": "11.0.0",
- "eslint-plugin-import": "2.9.0",
- "eslint-plugin-markdown": "1.0.0-beta.6",
- "eslint-plugin-node": "6.0.1",
- "eslint-plugin-promise": "3.7.0",
- "eslint-plugin-standard": "3.0.1",
- "istanbul": "0.4.5",
- "mocha": "1.21.5",
- "raw-body": "2.3.2",
- "stream-to-array": "2.3.0"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "HISTORY.md",
- "index.js",
- "codes.json",
- "LICENSE"
- ],
- "homepage": "https://github.com/jshttp/statuses#readme",
- "keywords": [
- "http",
- "status",
- "code"
- ],
- "license": "MIT",
- "name": "statuses",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/statuses.git"
- },
- "scripts": {
- "build": "node scripts/build.js",
- "fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --check-leaks --bail test/",
- "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "update": "npm run fetch && npm run build"
- },
- "version": "1.5.0"
-}
diff --git a/Server/node_modules/streamsearch/LICENSE b/Server/node_modules/streamsearch/LICENSE
deleted file mode 100644
index 290762e..0000000
--- a/Server/node_modules/streamsearch/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright Brian White. All rights reserved.
-
-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.
\ No newline at end of file
diff --git a/Server/node_modules/streamsearch/README.md b/Server/node_modules/streamsearch/README.md
deleted file mode 100644
index 6310c20..0000000
--- a/Server/node_modules/streamsearch/README.md
+++ /dev/null
@@ -1,87 +0,0 @@
-Description
-===========
-
-streamsearch is a module for [node.js](http://nodejs.org/) that allows searching a stream using the Boyer-Moore-Horspool algorithm.
-
-This module is based heavily on the Streaming Boyer-Moore-Horspool C++ implementation by Hongli Lai [here](https://github.com/FooBarWidget/boyer-moore-horspool).
-
-
-Requirements
-============
-
-* [node.js](http://nodejs.org/) -- v0.8.0 or newer
-
-
-Installation
-============
-
- npm install streamsearch
-
-Example
-=======
-
-```javascript
- var StreamSearch = require('streamsearch'),
- inspect = require('util').inspect;
-
- var needle = new Buffer([13, 10]), // CRLF
- s = new StreamSearch(needle),
- chunks = [
- new Buffer('foo'),
- new Buffer(' bar'),
- new Buffer('\r'),
- new Buffer('\n'),
- new Buffer('baz, hello\r'),
- new Buffer('\n world.'),
- new Buffer('\r\n Node.JS rules!!\r\n\r\n')
- ];
- s.on('info', function(isMatch, data, start, end) {
- if (data)
- console.log('data: ' + inspect(data.toString('ascii', start, end)));
- if (isMatch)
- console.log('match!');
- });
- for (var i = 0, len = chunks.length; i < len; ++i)
- s.push(chunks[i]);
-
- // output:
- //
- // data: 'foo'
- // data: ' bar'
- // match!
- // data: 'baz, hello'
- // match!
- // data: ' world.'
- // match!
- // data: ' Node.JS rules!!'
- // match!
- // data: ''
- // match!
-```
-
-
-API
-===
-
-Events
-------
-
-* **info**(< _boolean_ >isMatch[, < _Buffer_ >chunk, < _integer_ >start, < _integer_ >end]) - A match _may_ or _may not_ have been made. In either case, a preceding `chunk` of data _may_ be available that did not match the needle. Data (if available) is in `chunk` between `start` (inclusive) and `end` (exclusive).
-
-
-Properties
-----------
-
-* **maxMatches** - < _integer_ > - The maximum number of matches. Defaults to Infinity.
-
-* **matches** - < _integer_ > - The current match count.
-
-
-Functions
----------
-
-* **(constructor)**(< _mixed_ >needle) - Creates and returns a new instance for searching for a _Buffer_ or _string_ `needle`.
-
-* **push**(< _Buffer_ >chunk) - _integer_ - Processes `chunk`. The return value is the last processed index in `chunk` + 1.
-
-* **reset**() - _(void)_ - Resets internal state. Useful for when you wish to start searching a new/different stream for example.
diff --git a/Server/node_modules/streamsearch/lib/sbmh.js b/Server/node_modules/streamsearch/lib/sbmh.js
deleted file mode 100644
index dbefbc1..0000000
--- a/Server/node_modules/streamsearch/lib/sbmh.js
+++ /dev/null
@@ -1,213 +0,0 @@
-/*
- Based heavily on the Streaming Boyer-Moore-Horspool C++ implementation
- by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool
-*/
-var EventEmitter = require('events').EventEmitter,
- inherits = require('util').inherits;
-
-function jsmemcmp(buf1, pos1, buf2, pos2, num) {
- for (var i = 0; i < num; ++i, ++pos1, ++pos2)
- if (buf1[pos1] !== buf2[pos2])
- return false;
- return true;
-}
-
-function SBMH(needle) {
- if (typeof needle === 'string')
- needle = new Buffer(needle);
- var i, j, needle_len = needle.length;
-
- this.maxMatches = Infinity;
- this.matches = 0;
-
- this._occ = new Array(256);
- this._lookbehind_size = 0;
- this._needle = needle;
- this._bufpos = 0;
-
- this._lookbehind = new Buffer(needle_len);
-
- // Initialize occurrence table.
- for (j = 0; j < 256; ++j)
- this._occ[j] = needle_len;
-
- // Populate occurrence table with analysis of the needle,
- // ignoring last letter.
- if (needle_len >= 1) {
- for (i = 0; i < needle_len - 1; ++i)
- this._occ[needle[i]] = needle_len - 1 - i;
- }
-}
-inherits(SBMH, EventEmitter);
-
-SBMH.prototype.reset = function() {
- this._lookbehind_size = 0;
- this.matches = 0;
- this._bufpos = 0;
-};
-
-SBMH.prototype.push = function(chunk, pos) {
- var r, chlen;
- if (!Buffer.isBuffer(chunk))
- chunk = new Buffer(chunk, 'binary');
- chlen = chunk.length;
- this._bufpos = pos || 0;
- while (r !== chlen && this.matches < this.maxMatches)
- r = this._sbmh_feed(chunk);
- return r;
-};
-
-SBMH.prototype._sbmh_feed = function(data) {
- var len = data.length, needle = this._needle, needle_len = needle.length;
-
- // Positive: points to a position in `data`
- // pos == 3 points to data[3]
- // Negative: points to a position in the lookbehind buffer
- // pos == -2 points to lookbehind[lookbehind_size - 2]
- var pos = -this._lookbehind_size,
- last_needle_char = needle[needle_len - 1],
- occ = this._occ,
- lookbehind = this._lookbehind;
-
- if (pos < 0) {
- // Lookbehind buffer is not empty. Perform Boyer-Moore-Horspool
- // search with character lookup code that considers both the
- // lookbehind buffer and the current round's haystack data.
- //
- // Loop until
- // there is a match.
- // or until
- // we've moved past the position that requires the
- // lookbehind buffer. In this case we switch to the
- // optimized loop.
- // or until
- // the character to look at lies outside the haystack.
- while (pos < 0 && pos <= len - needle_len) {
- var ch = this._sbmh_lookup_char(data, pos + needle_len - 1);
-
- if (ch === last_needle_char
- && this._sbmh_memcmp(data, pos, needle_len - 1)) {
- this._lookbehind_size = 0;
- ++this.matches;
- if (pos > -this._lookbehind_size)
- this.emit('info', true, lookbehind, 0, this._lookbehind_size + pos);
- else
- this.emit('info', true);
-
- this._bufpos = pos + needle_len;
- return pos + needle_len;
- } else
- pos += occ[ch];
- }
-
- // No match.
-
- if (pos < 0) {
- // There's too few data for Boyer-Moore-Horspool to run,
- // so let's use a different algorithm to skip as much as
- // we can.
- // Forward pos until
- // the trailing part of lookbehind + data
- // looks like the beginning of the needle
- // or until
- // pos == 0
- while (pos < 0 && !this._sbmh_memcmp(data, pos, len - pos))
- pos++;
- }
-
- if (pos >= 0) {
- // Discard lookbehind buffer.
- this.emit('info', false, lookbehind, 0, this._lookbehind_size);
- this._lookbehind_size = 0;
- } else {
- // Cut off part of the lookbehind buffer that has
- // been processed and append the entire haystack
- // into it.
- var bytesToCutOff = this._lookbehind_size + pos;
-
- if (bytesToCutOff > 0) {
- // The cut off data is guaranteed not to contain the needle.
- this.emit('info', false, lookbehind, 0, bytesToCutOff);
- }
-
- lookbehind.copy(lookbehind, 0, bytesToCutOff,
- this._lookbehind_size - bytesToCutOff);
- this._lookbehind_size -= bytesToCutOff;
-
- data.copy(lookbehind, this._lookbehind_size);
- this._lookbehind_size += len;
-
- this._bufpos = len;
- return len;
- }
- }
-
- if (pos >= 0)
- pos += this._bufpos;
-
- // Lookbehind buffer is now empty. Perform Boyer-Moore-Horspool
- // search with optimized character lookup code that only considers
- // the current round's haystack data.
- while (pos <= len - needle_len) {
- var ch = data[pos + needle_len - 1];
-
- if (ch === last_needle_char
- && data[pos] === needle[0]
- && jsmemcmp(needle, 0, data, pos, needle_len - 1)) {
- ++this.matches;
- if (pos > 0)
- this.emit('info', true, data, this._bufpos, pos);
- else
- this.emit('info', true);
-
- this._bufpos = pos + needle_len;
- return pos + needle_len;
- } else
- pos += occ[ch];
- }
-
- // There was no match. If there's trailing haystack data that we cannot
- // match yet using the Boyer-Moore-Horspool algorithm (because the trailing
- // data is less than the needle size) then match using a modified
- // algorithm that starts matching from the beginning instead of the end.
- // Whatever trailing data is left after running this algorithm is added to
- // the lookbehind buffer.
- if (pos < len) {
- while (pos < len && (data[pos] !== needle[0]
- || !jsmemcmp(data, pos, needle, 0, len - pos))) {
- ++pos;
- }
- if (pos < len) {
- data.copy(lookbehind, 0, pos, pos + (len - pos));
- this._lookbehind_size = len - pos;
- }
- }
-
- // Everything until pos is guaranteed not to contain needle data.
- if (pos > 0)
- this.emit('info', false, data, this._bufpos, pos < len ? pos : len);
-
- this._bufpos = len;
- return len;
-};
-
-SBMH.prototype._sbmh_lookup_char = function(data, pos) {
- if (pos < 0)
- return this._lookbehind[this._lookbehind_size + pos];
- else
- return data[pos];
-}
-
-SBMH.prototype._sbmh_memcmp = function(data, pos, len) {
- var i = 0;
-
- while (i < len) {
- if (this._sbmh_lookup_char(data, pos + i) === this._needle[i])
- ++i;
- else
- return false;
- }
- return true;
-}
-
-module.exports = SBMH;
diff --git a/Server/node_modules/streamsearch/package.json b/Server/node_modules/streamsearch/package.json
deleted file mode 100644
index 3836f5f..0000000
--- a/Server/node_modules/streamsearch/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "_from": "streamsearch@0.1.2",
- "_id": "streamsearch@0.1.2",
- "_inBundle": false,
- "_integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=",
- "_location": "/streamsearch",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "streamsearch@0.1.2",
- "name": "streamsearch",
- "escapedName": "streamsearch",
- "rawSpec": "0.1.2",
- "saveSpec": null,
- "fetchSpec": "0.1.2"
- },
- "_requiredBy": [
- "/dicer"
- ],
- "_resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz",
- "_shasum": "808b9d0e56fc273d809ba57338e929919a1a9f1a",
- "_spec": "streamsearch@0.1.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/dicer",
- "author": {
- "name": "Brian White",
- "email": "mscdex@mscdex.net"
- },
- "bugs": {
- "url": "https://github.com/mscdex/streamsearch/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Streaming Boyer-Moore-Horspool searching for node.js",
- "engines": {
- "node": ">=0.8.0"
- },
- "homepage": "https://github.com/mscdex/streamsearch#readme",
- "keywords": [
- "stream",
- "horspool",
- "boyer-moore-horspool",
- "boyer-moore",
- "search"
- ],
- "licenses": [
- {
- "type": "MIT",
- "url": "http://github.com/mscdex/streamsearch/raw/master/LICENSE"
- }
- ],
- "main": "./lib/sbmh",
- "name": "streamsearch",
- "repository": {
- "type": "git",
- "url": "git+ssh://git@github.com/mscdex/streamsearch.git"
- },
- "version": "0.1.2"
-}
diff --git a/Server/node_modules/string_decoder/.travis.yml b/Server/node_modules/string_decoder/.travis.yml
deleted file mode 100644
index 3347a72..0000000
--- a/Server/node_modules/string_decoder/.travis.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-sudo: false
-language: node_js
-before_install:
- - npm install -g npm@2
- - test $NPM_LEGACY && npm install -g npm@latest-3 || npm install npm -g
-notifications:
- email: false
-matrix:
- fast_finish: true
- include:
- - node_js: '0.8'
- env:
- - TASK=test
- - NPM_LEGACY=true
- - node_js: '0.10'
- env:
- - TASK=test
- - NPM_LEGACY=true
- - node_js: '0.11'
- env:
- - TASK=test
- - NPM_LEGACY=true
- - node_js: '0.12'
- env:
- - TASK=test
- - NPM_LEGACY=true
- - node_js: 1
- env:
- - TASK=test
- - NPM_LEGACY=true
- - node_js: 2
- env:
- - TASK=test
- - NPM_LEGACY=true
- - node_js: 3
- env:
- - TASK=test
- - NPM_LEGACY=true
- - node_js: 4
- env: TASK=test
- - node_js: 5
- env: TASK=test
- - node_js: 6
- env: TASK=test
- - node_js: 7
- env: TASK=test
- - node_js: 8
- env: TASK=test
- - node_js: 9
- env: TASK=test
diff --git a/Server/node_modules/string_decoder/LICENSE b/Server/node_modules/string_decoder/LICENSE
deleted file mode 100644
index 778edb2..0000000
--- a/Server/node_modules/string_decoder/LICENSE
+++ /dev/null
@@ -1,48 +0,0 @@
-Node.js is licensed for use as follows:
-
-"""
-Copyright Node.js contributors. All rights reserved.
-
-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.
-"""
-
-This license applies to parts of Node.js originating from the
-https://github.com/joyent/node repository:
-
-"""
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
-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.
-"""
-
diff --git a/Server/node_modules/string_decoder/README.md b/Server/node_modules/string_decoder/README.md
deleted file mode 100644
index 5fd5831..0000000
--- a/Server/node_modules/string_decoder/README.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# string_decoder
-
-***Node-core v8.9.4 string_decoder for userland***
-
-
-[![NPM](https://nodei.co/npm/string_decoder.png?downloads=true&downloadRank=true)](https://nodei.co/npm/string_decoder/)
-[![NPM](https://nodei.co/npm-dl/string_decoder.png?&months=6&height=3)](https://nodei.co/npm/string_decoder/)
-
-
-```bash
-npm install --save string_decoder
-```
-
-***Node-core string_decoder for userland***
-
-This package is a mirror of the string_decoder implementation in Node-core.
-
-Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v8.9.4/docs/api/).
-
-As of version 1.0.0 **string_decoder** uses semantic versioning.
-
-## Previous versions
-
-Previous version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10.
-
-## Update
-
-The *build/* directory contains a build script that will scrape the source from the [nodejs/node](https://github.com/nodejs/node) repo given a specific Node version.
-
-## Streams Working Group
-
-`string_decoder` is maintained by the Streams Working Group, which
-oversees the development and maintenance of the Streams API within
-Node.js. The responsibilities of the Streams Working Group include:
-
-* Addressing stream issues on the Node.js issue tracker.
-* Authoring and editing stream documentation within the Node.js project.
-* Reviewing changes to stream subclasses within the Node.js project.
-* Redirecting changes to streams from the Node.js project to this
- project.
-* Assisting in the implementation of stream providers within Node.js.
-* Recommending versions of `readable-stream` to be included in Node.js.
-* Messaging about the future of streams to give the community advance
- notice of changes.
-
-See [readable-stream](https://github.com/nodejs/readable-stream) for
-more details.
diff --git a/Server/node_modules/string_decoder/lib/string_decoder.js b/Server/node_modules/string_decoder/lib/string_decoder.js
deleted file mode 100644
index 2e89e63..0000000
--- a/Server/node_modules/string_decoder/lib/string_decoder.js
+++ /dev/null
@@ -1,296 +0,0 @@
-// Copyright Joyent, Inc. and other Node contributors.
-//
-// 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.
-
-'use strict';
-
-/*<replacement>*/
-
-var Buffer = require('safe-buffer').Buffer;
-/*</replacement>*/
-
-var isEncoding = Buffer.isEncoding || function (encoding) {
- encoding = '' + encoding;
- switch (encoding && encoding.toLowerCase()) {
- case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':
- return true;
- default:
- return false;
- }
-};
-
-function _normalizeEncoding(enc) {
- if (!enc) return 'utf8';
- var retried;
- while (true) {
- switch (enc) {
- case 'utf8':
- case 'utf-8':
- return 'utf8';
- case 'ucs2':
- case 'ucs-2':
- case 'utf16le':
- case 'utf-16le':
- return 'utf16le';
- case 'latin1':
- case 'binary':
- return 'latin1';
- case 'base64':
- case 'ascii':
- case 'hex':
- return enc;
- default:
- if (retried) return; // undefined
- enc = ('' + enc).toLowerCase();
- retried = true;
- }
- }
-};
-
-// Do not cache `Buffer.isEncoding` when checking encoding names as some
-// modules monkey-patch it to support additional encodings
-function normalizeEncoding(enc) {
- var nenc = _normalizeEncoding(enc);
- if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
- return nenc || enc;
-}
-
-// StringDecoder provides an interface for efficiently splitting a series of
-// buffers into a series of JS strings without breaking apart multi-byte
-// characters.
-exports.StringDecoder = StringDecoder;
-function StringDecoder(encoding) {
- this.encoding = normalizeEncoding(encoding);
- var nb;
- switch (this.encoding) {
- case 'utf16le':
- this.text = utf16Text;
- this.end = utf16End;
- nb = 4;
- break;
- case 'utf8':
- this.fillLast = utf8FillLast;
- nb = 4;
- break;
- case 'base64':
- this.text = base64Text;
- this.end = base64End;
- nb = 3;
- break;
- default:
- this.write = simpleWrite;
- this.end = simpleEnd;
- return;
- }
- this.lastNeed = 0;
- this.lastTotal = 0;
- this.lastChar = Buffer.allocUnsafe(nb);
-}
-
-StringDecoder.prototype.write = function (buf) {
- if (buf.length === 0) return '';
- var r;
- var i;
- if (this.lastNeed) {
- r = this.fillLast(buf);
- if (r === undefined) return '';
- i = this.lastNeed;
- this.lastNeed = 0;
- } else {
- i = 0;
- }
- if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);
- return r || '';
-};
-
-StringDecoder.prototype.end = utf8End;
-
-// Returns only complete characters in a Buffer
-StringDecoder.prototype.text = utf8Text;
-
-// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer
-StringDecoder.prototype.fillLast = function (buf) {
- if (this.lastNeed <= buf.length) {
- buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
- return this.lastChar.toString(this.encoding, 0, this.lastTotal);
- }
- buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
- this.lastNeed -= buf.length;
-};
-
-// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a
-// continuation byte. If an invalid byte is detected, -2 is returned.
-function utf8CheckByte(byte) {
- if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;
- return byte >> 6 === 0x02 ? -1 : -2;
-}
-
-// Checks at most 3 bytes at the end of a Buffer in order to detect an
-// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)
-// needed to complete the UTF-8 character (if applicable) are returned.
-function utf8CheckIncomplete(self, buf, i) {
- var j = buf.length - 1;
- if (j < i) return 0;
- var nb = utf8CheckByte(buf[j]);
- if (nb >= 0) {
- if (nb > 0) self.lastNeed = nb - 1;
- return nb;
- }
- if (--j < i || nb === -2) return 0;
- nb = utf8CheckByte(buf[j]);
- if (nb >= 0) {
- if (nb > 0) self.lastNeed = nb - 2;
- return nb;
- }
- if (--j < i || nb === -2) return 0;
- nb = utf8CheckByte(buf[j]);
- if (nb >= 0) {
- if (nb > 0) {
- if (nb === 2) nb = 0;else self.lastNeed = nb - 3;
- }
- return nb;
- }
- return 0;
-}
-
-// Validates as many continuation bytes for a multi-byte UTF-8 character as
-// needed or are available. If we see a non-continuation byte where we expect
-// one, we "replace" the validated continuation bytes we've seen so far with
-// a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding
-// behavior. The continuation byte check is included three times in the case
-// where all of the continuation bytes for a character exist in the same buffer.
-// It is also done this way as a slight performance increase instead of using a
-// loop.
-function utf8CheckExtraBytes(self, buf, p) {
- if ((buf[0] & 0xC0) !== 0x80) {
- self.lastNeed = 0;
- return '\ufffd';
- }
- if (self.lastNeed > 1 && buf.length > 1) {
- if ((buf[1] & 0xC0) !== 0x80) {
- self.lastNeed = 1;
- return '\ufffd';
- }
- if (self.lastNeed > 2 && buf.length > 2) {
- if ((buf[2] & 0xC0) !== 0x80) {
- self.lastNeed = 2;
- return '\ufffd';
- }
- }
- }
-}
-
-// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.
-function utf8FillLast(buf) {
- var p = this.lastTotal - this.lastNeed;
- var r = utf8CheckExtraBytes(this, buf, p);
- if (r !== undefined) return r;
- if (this.lastNeed <= buf.length) {
- buf.copy(this.lastChar, p, 0, this.lastNeed);
- return this.lastChar.toString(this.encoding, 0, this.lastTotal);
- }
- buf.copy(this.lastChar, p, 0, buf.length);
- this.lastNeed -= buf.length;
-}
-
-// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a
-// partial character, the character's bytes are buffered until the required
-// number of bytes are available.
-function utf8Text(buf, i) {
- var total = utf8CheckIncomplete(this, buf, i);
- if (!this.lastNeed) return buf.toString('utf8', i);
- this.lastTotal = total;
- var end = buf.length - (total - this.lastNeed);
- buf.copy(this.lastChar, 0, end);
- return buf.toString('utf8', i, end);
-}
-
-// For UTF-8, a replacement character is added when ending on a partial
-// character.
-function utf8End(buf) {
- var r = buf && buf.length ? this.write(buf) : '';
- if (this.lastNeed) return r + '\ufffd';
- return r;
-}
-
-// UTF-16LE typically needs two bytes per character, but even if we have an even
-// number of bytes available, we need to check if we end on a leading/high
-// surrogate. In that case, we need to wait for the next two bytes in order to
-// decode the last character properly.
-function utf16Text(buf, i) {
- if ((buf.length - i) % 2 === 0) {
- var r = buf.toString('utf16le', i);
- if (r) {
- var c = r.charCodeAt(r.length - 1);
- if (c >= 0xD800 && c <= 0xDBFF) {
- this.lastNeed = 2;
- this.lastTotal = 4;
- this.lastChar[0] = buf[buf.length - 2];
- this.lastChar[1] = buf[buf.length - 1];
- return r.slice(0, -1);
- }
- }
- return r;
- }
- this.lastNeed = 1;
- this.lastTotal = 2;
- this.lastChar[0] = buf[buf.length - 1];
- return buf.toString('utf16le', i, buf.length - 1);
-}
-
-// For UTF-16LE we do not explicitly append special replacement characters if we
-// end on a partial character, we simply let v8 handle that.
-function utf16End(buf) {
- var r = buf && buf.length ? this.write(buf) : '';
- if (this.lastNeed) {
- var end = this.lastTotal - this.lastNeed;
- return r + this.lastChar.toString('utf16le', 0, end);
- }
- return r;
-}
-
-function base64Text(buf, i) {
- var n = (buf.length - i) % 3;
- if (n === 0) return buf.toString('base64', i);
- this.lastNeed = 3 - n;
- this.lastTotal = 3;
- if (n === 1) {
- this.lastChar[0] = buf[buf.length - 1];
- } else {
- this.lastChar[0] = buf[buf.length - 2];
- this.lastChar[1] = buf[buf.length - 1];
- }
- return buf.toString('base64', i, buf.length - n);
-}
-
-function base64End(buf) {
- var r = buf && buf.length ? this.write(buf) : '';
- if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);
- return r;
-}
-
-// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)
-function simpleWrite(buf) {
- return buf.toString(this.encoding);
-}
-
-function simpleEnd(buf) {
- return buf && buf.length ? this.write(buf) : '';
-}
\ No newline at end of file
diff --git a/Server/node_modules/string_decoder/package.json b/Server/node_modules/string_decoder/package.json
deleted file mode 100644
index 6a8f8b0..0000000
--- a/Server/node_modules/string_decoder/package.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "_from": "string_decoder@~1.1.1",
- "_id": "string_decoder@1.1.1",
- "_inBundle": false,
- "_integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
- "_location": "/string_decoder",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "string_decoder@~1.1.1",
- "name": "string_decoder",
- "escapedName": "string_decoder",
- "rawSpec": "~1.1.1",
- "saveSpec": null,
- "fetchSpec": "~1.1.1"
- },
- "_requiredBy": [
- "/readable-stream"
- ],
- "_resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
- "_shasum": "9cf1611ba62685d7030ae9e4ba34149c3af03fc8",
- "_spec": "string_decoder@~1.1.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/readable-stream",
- "bugs": {
- "url": "https://github.com/nodejs/string_decoder/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "safe-buffer": "~5.1.0"
- },
- "deprecated": false,
- "description": "The string_decoder module from Node core",
- "devDependencies": {
- "babel-polyfill": "^6.23.0",
- "core-util-is": "^1.0.2",
- "inherits": "^2.0.3",
- "tap": "~0.4.8"
- },
- "homepage": "https://github.com/nodejs/string_decoder",
- "keywords": [
- "string",
- "decoder",
- "browser",
- "browserify"
- ],
- "license": "MIT",
- "main": "lib/string_decoder.js",
- "name": "string_decoder",
- "repository": {
- "type": "git",
- "url": "git://github.com/nodejs/string_decoder.git"
- },
- "scripts": {
- "ci": "tap test/parallel/*.js test/ours/*.js --tap | tee test.tap && node test/verify-dependencies.js",
- "test": "tap test/parallel/*.js && node test/verify-dependencies"
- },
- "version": "1.1.1"
-}
diff --git a/Server/node_modules/supports-color/browser.js b/Server/node_modules/supports-color/browser.js
deleted file mode 100644
index 62afa3a..0000000
--- a/Server/node_modules/supports-color/browser.js
+++ /dev/null
@@ -1,5 +0,0 @@
-'use strict';
-module.exports = {
- stdout: false,
- stderr: false
-};
diff --git a/Server/node_modules/supports-color/index.js b/Server/node_modules/supports-color/index.js
deleted file mode 100644
index 1704131..0000000
--- a/Server/node_modules/supports-color/index.js
+++ /dev/null
@@ -1,131 +0,0 @@
-'use strict';
-const os = require('os');
-const hasFlag = require('has-flag');
-
-const env = process.env;
-
-let forceColor;
-if (hasFlag('no-color') ||
- hasFlag('no-colors') ||
- hasFlag('color=false')) {
- forceColor = false;
-} else if (hasFlag('color') ||
- hasFlag('colors') ||
- hasFlag('color=true') ||
- hasFlag('color=always')) {
- forceColor = true;
-}
-if ('FORCE_COLOR' in env) {
- forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
-}
-
-function translateLevel(level) {
- if (level === 0) {
- return false;
- }
-
- return {
- level,
- hasBasic: true,
- has256: level >= 2,
- has16m: level >= 3
- };
-}
-
-function supportsColor(stream) {
- if (forceColor === false) {
- return 0;
- }
-
- if (hasFlag('color=16m') ||
- hasFlag('color=full') ||
- hasFlag('color=truecolor')) {
- return 3;
- }
-
- if (hasFlag('color=256')) {
- return 2;
- }
-
- if (stream && !stream.isTTY && forceColor !== true) {
- return 0;
- }
-
- const min = forceColor ? 1 : 0;
-
- if (process.platform === 'win32') {
- // Node.js 7.5.0 is the first version of Node.js to include a patch to
- // libuv that enables 256 color output on Windows. Anything earlier and it
- // won't work. However, here we target Node.js 8 at minimum as it is an LTS
- // release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows
- // release that supports 256 colors. Windows 10 build 14931 is the first release
- // that supports 16m/TrueColor.
- const osRelease = os.release().split('.');
- if (
- Number(process.versions.node.split('.')[0]) >= 8 &&
- Number(osRelease[0]) >= 10 &&
- Number(osRelease[2]) >= 10586
- ) {
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
- }
-
- return 1;
- }
-
- if ('CI' in env) {
- if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
- return 1;
- }
-
- return min;
- }
-
- if ('TEAMCITY_VERSION' in env) {
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
- }
-
- if (env.COLORTERM === 'truecolor') {
- return 3;
- }
-
- if ('TERM_PROGRAM' in env) {
- const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
-
- switch (env.TERM_PROGRAM) {
- case 'iTerm.app':
- return version >= 3 ? 3 : 2;
- case 'Apple_Terminal':
- return 2;
- // No default
- }
- }
-
- if (/-256(color)?$/i.test(env.TERM)) {
- return 2;
- }
-
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
- return 1;
- }
-
- if ('COLORTERM' in env) {
- return 1;
- }
-
- if (env.TERM === 'dumb') {
- return min;
- }
-
- return min;
-}
-
-function getSupportLevel(stream) {
- const level = supportsColor(stream);
- return translateLevel(level);
-}
-
-module.exports = {
- supportsColor: getSupportLevel,
- stdout: getSupportLevel(process.stdout),
- stderr: getSupportLevel(process.stderr)
-};
diff --git a/Server/node_modules/supports-color/license b/Server/node_modules/supports-color/license
deleted file mode 100644
index e7af2f7..0000000
--- a/Server/node_modules/supports-color/license
+++ /dev/null
@@ -1,9 +0,0 @@
-MIT License
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-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.
diff --git a/Server/node_modules/supports-color/package.json b/Server/node_modules/supports-color/package.json
deleted file mode 100644
index 1a81597..0000000
--- a/Server/node_modules/supports-color/package.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "_from": "supports-color@^5.3.0",
- "_id": "supports-color@5.5.0",
- "_inBundle": false,
- "_integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "_location": "/supports-color",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "supports-color@^5.3.0",
- "name": "supports-color",
- "escapedName": "supports-color",
- "rawSpec": "^5.3.0",
- "saveSpec": null,
- "fetchSpec": "^5.3.0"
- },
- "_requiredBy": [
- "/chalk"
- ],
- "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "_shasum": "e2e69a44ac8772f78a1ec0b35b689df6530efc8f",
- "_spec": "supports-color@^5.3.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/chalk",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "browser": "browser.js",
- "bugs": {
- "url": "https://github.com/chalk/supports-color/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "deprecated": false,
- "description": "Detect whether a terminal supports color",
- "devDependencies": {
- "ava": "^0.25.0",
- "import-fresh": "^2.0.0",
- "xo": "^0.20.0"
- },
- "engines": {
- "node": ">=4"
- },
- "files": [
- "index.js",
- "browser.js"
- ],
- "homepage": "https://github.com/chalk/supports-color#readme",
- "keywords": [
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "cli",
- "ansi",
- "styles",
- "tty",
- "rgb",
- "256",
- "shell",
- "xterm",
- "command-line",
- "support",
- "supports",
- "capability",
- "detect",
- "truecolor",
- "16m"
- ],
- "license": "MIT",
- "name": "supports-color",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/chalk/supports-color.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "5.5.0"
-}
diff --git a/Server/node_modules/supports-color/readme.md b/Server/node_modules/supports-color/readme.md
deleted file mode 100644
index f6e4019..0000000
--- a/Server/node_modules/supports-color/readme.md
+++ /dev/null
@@ -1,66 +0,0 @@
-# supports-color [![Build Status](https://travis-ci.org/chalk/supports-color.svg?branch=master)](https://travis-ci.org/chalk/supports-color)
-
-> Detect whether a terminal supports color
-
-
-## Install
-
-```
-$ npm install supports-color
-```
-
-
-## Usage
-
-```js
-const supportsColor = require('supports-color');
-
-if (supportsColor.stdout) {
- console.log('Terminal stdout supports color');
-}
-
-if (supportsColor.stdout.has256) {
- console.log('Terminal stdout supports 256 colors');
-}
-
-if (supportsColor.stderr.has16m) {
- console.log('Terminal stderr supports 16 million colors (truecolor)');
-}
-```
-
-
-## API
-
-Returns an `Object` with a `stdout` and `stderr` property for testing either streams. Each property is an `Object`, or `false` if color is not supported.
-
-The `stdout`/`stderr` objects specifies a level of support for color through a `.level` property and a corresponding flag:
-
-- `.level = 1` and `.hasBasic = true`: Basic color support (16 colors)
-- `.level = 2` and `.has256 = true`: 256 color support
-- `.level = 3` and `.has16m = true`: Truecolor support (16 million colors)
-
-
-## Info
-
-It obeys the `--color` and `--no-color` CLI flags.
-
-Can be overridden by the user with the flags `--color` and `--no-color`. For situations where using `--color` is not possible, add the environment variable `FORCE_COLOR=1` to forcefully enable color or `FORCE_COLOR=0` to forcefully disable. The use of `FORCE_COLOR` overrides all other color support checks.
-
-Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=16m` flags, respectively.
-
-
-## Related
-
-- [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module
-- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
-
-
-## Maintainers
-
-- [Sindre Sorhus](https://github.com/sindresorhus)
-- [Josh Junon](https://github.com/qix-)
-
-
-## License
-
-MIT
diff --git a/Server/node_modules/toidentifier/LICENSE b/Server/node_modules/toidentifier/LICENSE
deleted file mode 100644
index de22d15..0000000
--- a/Server/node_modules/toidentifier/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2016 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/toidentifier/README.md b/Server/node_modules/toidentifier/README.md
deleted file mode 100644
index 7c8794e..0000000
--- a/Server/node_modules/toidentifier/README.md
+++ /dev/null
@@ -1,61 +0,0 @@
-# toidentifier
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][codecov-image]][codecov-url]
-
-> Convert a string of words to a JavaScript identifier
-
-## Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```bash
-$ npm install toidentifier
-```
-
-## Example
-
-```js
-var toIdentifier = require('toidentifier')
-
-console.log(toIdentifier('Bad Request'))
-// => "BadRequest"
-```
-
-## API
-
-This CommonJS module exports a single default function: `toIdentifier`.
-
-### toIdentifier(string)
-
-Given a string as the argument, it will be transformed according to
-the following rules and the new string will be returned:
-
-1. Split into words separated by space characters (`0x20`).
-2. Upper case the first character of each word.
-3. Join the words together with no separator.
-4. Remove all non-word (`[0-9a-z_]`) characters.
-
-## License
-
-[MIT](LICENSE)
-
-[codecov-image]: https://img.shields.io/codecov/c/github/component/toidentifier.svg
-[codecov-url]: https://codecov.io/gh/component/toidentifier
-[downloads-image]: https://img.shields.io/npm/dm/toidentifier.svg
-[downloads-url]: https://npmjs.org/package/toidentifier
-[npm-image]: https://img.shields.io/npm/v/toidentifier.svg
-[npm-url]: https://npmjs.org/package/toidentifier
-[travis-image]: https://img.shields.io/travis/component/toidentifier/master.svg
-[travis-url]: https://travis-ci.org/component/toidentifier
-
-
-##
-
-[npm]: https://www.npmjs.com/
-
-[yarn]: https://yarnpkg.com/
diff --git a/Server/node_modules/toidentifier/index.js b/Server/node_modules/toidentifier/index.js
deleted file mode 100644
index bba5411..0000000
--- a/Server/node_modules/toidentifier/index.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/*!
- * toidentifier
- * Copyright(c) 2016 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = toIdentifier
-
-/**
- * Trasform the given string into a JavaScript identifier
- *
- * @param {string} str
- * @returns {string}
- * @public
- */
-
-function toIdentifier (str) {
- return str
- .split(' ')
- .map(function (token) {
- return token.slice(0, 1).toUpperCase() + token.slice(1)
- })
- .join('')
- .replace(/[^ _0-9a-z]/gi, '')
-}
diff --git a/Server/node_modules/toidentifier/package.json b/Server/node_modules/toidentifier/package.json
deleted file mode 100644
index 03e9c1f..0000000
--- a/Server/node_modules/toidentifier/package.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "_from": "toidentifier@1.0.0",
- "_id": "toidentifier@1.0.0",
- "_inBundle": false,
- "_integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
- "_location": "/toidentifier",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "toidentifier@1.0.0",
- "name": "toidentifier",
- "escapedName": "toidentifier",
- "rawSpec": "1.0.0",
- "saveSpec": null,
- "fetchSpec": "1.0.0"
- },
- "_requiredBy": [
- "/http-errors"
- ],
- "_resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
- "_shasum": "7e1be3470f1e77948bc43d94a3c8f4d7752ba553",
- "_spec": "toidentifier@1.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/http-errors",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/component/toidentifier/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Nick Baugh",
- "email": "niftylettuce@gmail.com",
- "url": "http://niftylettuce.com/"
- }
- ],
- "deprecated": false,
- "description": "Convert a string of words to a JavaScript identifier",
- "devDependencies": {
- "eslint": "4.19.1",
- "eslint-config-standard": "11.0.0",
- "eslint-plugin-import": "2.11.0",
- "eslint-plugin-markdown": "1.0.0-beta.6",
- "eslint-plugin-node": "6.0.1",
- "eslint-plugin-promise": "3.7.0",
- "eslint-plugin-standard": "3.1.0",
- "mocha": "1.21.5",
- "nyc": "11.8.0"
- },
- "engines": {
- "node": ">=0.6"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/component/toidentifier#readme",
- "license": "MIT",
- "name": "toidentifier",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/component/toidentifier.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "nyc --reporter=html --reporter=text npm test"
- },
- "version": "1.0.0"
-}
diff --git a/Server/node_modules/type-is/HISTORY.md b/Server/node_modules/type-is/HISTORY.md
deleted file mode 100644
index 8de21f7..0000000
--- a/Server/node_modules/type-is/HISTORY.md
+++ /dev/null
@@ -1,259 +0,0 @@
-1.6.18 / 2019-04-26
-===================
-
- * Fix regression passing request object to `typeis.is`
-
-1.6.17 / 2019-04-25
-===================
-
- * deps: mime-types@~2.1.24
- - Add Apple file extensions from IANA
- - Add extension `.csl` to `application/vnd.citationstyles.style+xml`
- - Add extension `.es` to `application/ecmascript`
- - Add extension `.nq` to `application/n-quads`
- - Add extension `.nt` to `application/n-triples`
- - Add extension `.owl` to `application/rdf+xml`
- - Add extensions `.siv` and `.sieve` to `application/sieve`
- - Add extensions from IANA for `image/*` types
- - Add extensions from IANA for `model/*` types
- - Add extensions to HEIC image types
- - Add new mime types
- - Add `text/mdx` with extension `.mdx`
- * perf: prevent internal `throw` on invalid type
-
-1.6.16 / 2018-02-16
-===================
-
- * deps: mime-types@~2.1.18
- - Add `application/raml+yaml` with extension `.raml`
- - Add `application/wasm` with extension `.wasm`
- - Add `text/shex` with extension `.shex`
- - Add extensions for JPEG-2000 images
- - Add extensions from IANA for `message/*` types
- - Add extension `.mjs` to `application/javascript`
- - Add extension `.wadl` to `application/vnd.sun.wadl+xml`
- - Add extension `.gz` to `application/gzip`
- - Add glTF types and extensions
- - Add new mime types
- - Update extensions `.md` and `.markdown` to be `text/markdown`
- - Update font MIME types
- - Update `text/hjson` to registered `application/hjson`
-
-1.6.15 / 2017-03-31
-===================
-
- * deps: mime-types@~2.1.15
- - Add new mime types
-
-1.6.14 / 2016-11-18
-===================
-
- * deps: mime-types@~2.1.13
- - Add new mime types
-
-1.6.13 / 2016-05-18
-===================
-
- * deps: mime-types@~2.1.11
- - Add new mime types
-
-1.6.12 / 2016-02-28
-===================
-
- * deps: mime-types@~2.1.10
- - Add new mime types
- - Fix extension of `application/dash+xml`
- - Update primary extension for `audio/mp4`
-
-1.6.11 / 2016-01-29
-===================
-
- * deps: mime-types@~2.1.9
- - Add new mime types
-
-1.6.10 / 2015-12-01
-===================
-
- * deps: mime-types@~2.1.8
- - Add new mime types
-
-1.6.9 / 2015-09-27
-==================
-
- * deps: mime-types@~2.1.7
- - Add new mime types
-
-1.6.8 / 2015-09-04
-==================
-
- * deps: mime-types@~2.1.6
- - Add new mime types
-
-1.6.7 / 2015-08-20
-==================
-
- * Fix type error when given invalid type to match against
- * deps: mime-types@~2.1.5
- - Add new mime types
-
-1.6.6 / 2015-07-31
-==================
-
- * deps: mime-types@~2.1.4
- - Add new mime types
-
-1.6.5 / 2015-07-16
-==================
-
- * deps: mime-types@~2.1.3
- - Add new mime types
-
-1.6.4 / 2015-07-01
-==================
-
- * deps: mime-types@~2.1.2
- - Add new mime types
- * perf: enable strict mode
- * perf: remove argument reassignment
-
-1.6.3 / 2015-06-08
-==================
-
- * deps: mime-types@~2.1.1
- - Add new mime types
- * perf: reduce try block size
- * perf: remove bitwise operations
-
-1.6.2 / 2015-05-10
-==================
-
- * deps: mime-types@~2.0.11
- - Add new mime types
-
-1.6.1 / 2015-03-13
-==================
-
- * deps: mime-types@~2.0.10
- - Add new mime types
-
-1.6.0 / 2015-02-12
-==================
-
- * fix false-positives in `hasBody` `Transfer-Encoding` check
- * support wildcard for both type and subtype (`*/*`)
-
-1.5.7 / 2015-02-09
-==================
-
- * fix argument reassignment
- * deps: mime-types@~2.0.9
- - Add new mime types
-
-1.5.6 / 2015-01-29
-==================
-
- * deps: mime-types@~2.0.8
- - Add new mime types
-
-1.5.5 / 2014-12-30
-==================
-
- * deps: mime-types@~2.0.7
- - Add new mime types
- - Fix missing extensions
- - Fix various invalid MIME type entries
- - Remove example template MIME types
- - deps: mime-db@~1.5.0
-
-1.5.4 / 2014-12-10
-==================
-
- * deps: mime-types@~2.0.4
- - Add new mime types
- - deps: mime-db@~1.3.0
-
-1.5.3 / 2014-11-09
-==================
-
- * deps: mime-types@~2.0.3
- - Add new mime types
- - deps: mime-db@~1.2.0
-
-1.5.2 / 2014-09-28
-==================
-
- * deps: mime-types@~2.0.2
- - Add new mime types
- - deps: mime-db@~1.1.0
-
-1.5.1 / 2014-09-07
-==================
-
- * Support Node.js 0.6
- * deps: media-typer@0.3.0
- * deps: mime-types@~2.0.1
- - Support Node.js 0.6
-
-1.5.0 / 2014-09-05
-==================
-
- * fix `hasbody` to be true for `content-length: 0`
-
-1.4.0 / 2014-09-02
-==================
-
- * update mime-types
-
-1.3.2 / 2014-06-24
-==================
-
- * use `~` range on mime-types
-
-1.3.1 / 2014-06-19
-==================
-
- * fix global variable leak
-
-1.3.0 / 2014-06-19
-==================
-
- * improve type parsing
-
- - invalid media type never matches
- - media type not case-sensitive
- - extra LWS does not affect results
-
-1.2.2 / 2014-06-19
-==================
-
- * fix behavior on unknown type argument
-
-1.2.1 / 2014-06-03
-==================
-
- * switch dependency from `mime` to `mime-types@1.0.0`
-
-1.2.0 / 2014-05-11
-==================
-
- * support suffix matching:
-
- - `+json` matches `application/vnd+json`
- - `*/vnd+json` matches `application/vnd+json`
- - `application/*+json` matches `application/vnd+json`
-
-1.1.0 / 2014-04-12
-==================
-
- * add non-array values support
- * expose internal utilities:
-
- - `.is()`
- - `.hasBody()`
- - `.normalize()`
- - `.match()`
-
-1.0.1 / 2014-03-30
-==================
-
- * add `multipart` as a shorthand
diff --git a/Server/node_modules/type-is/LICENSE b/Server/node_modules/type-is/LICENSE
deleted file mode 100644
index 386b7b6..0000000
--- a/Server/node_modules/type-is/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
-Copyright (c) 2014-2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/type-is/README.md b/Server/node_modules/type-is/README.md
deleted file mode 100644
index b85ef8f..0000000
--- a/Server/node_modules/type-is/README.md
+++ /dev/null
@@ -1,170 +0,0 @@
-# type-is
-
-[![NPM Version][npm-version-image]][npm-url]
-[![NPM Downloads][npm-downloads-image]][npm-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Infer the content-type of a request.
-
-### Install
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install type-is
-```
-
-## API
-
-```js
-var http = require('http')
-var typeis = require('type-is')
-
-http.createServer(function (req, res) {
- var istext = typeis(req, ['text/*'])
- res.end('you ' + (istext ? 'sent' : 'did not send') + ' me text')
-})
-```
-
-### typeis(request, types)
-
-Checks if the `request` is one of the `types`. If the request has no body,
-even if there is a `Content-Type` header, then `null` is returned. If the
-`Content-Type` header is invalid or does not matches any of the `types`, then
-`false` is returned. Otherwise, a string of the type that matched is returned.
-
-The `request` argument is expected to be a Node.js HTTP request. The `types`
-argument is an array of type strings.
-
-Each type in the `types` array can be one of the following:
-
-- A file extension name such as `json`. This name will be returned if matched.
-- A mime type such as `application/json`.
-- A mime type with a wildcard such as `*/*` or `*/json` or `application/*`.
- The full mime type will be returned if matched.
-- A suffix such as `+json`. This can be combined with a wildcard such as
- `*/vnd+json` or `application/*+json`. The full mime type will be returned
- if matched.
-
-Some examples to illustrate the inputs and returned value:
-
-<!-- eslint-disable no-undef -->
-
-```js
-// req.headers.content-type = 'application/json'
-
-typeis(req, ['json']) // => 'json'
-typeis(req, ['html', 'json']) // => 'json'
-typeis(req, ['application/*']) // => 'application/json'
-typeis(req, ['application/json']) // => 'application/json'
-
-typeis(req, ['html']) // => false
-```
-
-### typeis.hasBody(request)
-
-Returns a Boolean if the given `request` has a body, regardless of the
-`Content-Type` header.
-
-Having a body has no relation to how large the body is (it may be 0 bytes).
-This is similar to how file existence works. If a body does exist, then this
-indicates that there is data to read from the Node.js request stream.
-
-<!-- eslint-disable no-undef -->
-
-```js
-if (typeis.hasBody(req)) {
- // read the body, since there is one
-
- req.on('data', function (chunk) {
- // ...
- })
-}
-```
-
-### typeis.is(mediaType, types)
-
-Checks if the `mediaType` is one of the `types`. If the `mediaType` is invalid
-or does not matches any of the `types`, then `false` is returned. Otherwise, a
-string of the type that matched is returned.
-
-The `mediaType` argument is expected to be a
-[media type](https://tools.ietf.org/html/rfc6838) string. The `types` argument
-is an array of type strings.
-
-Each type in the `types` array can be one of the following:
-
-- A file extension name such as `json`. This name will be returned if matched.
-- A mime type such as `application/json`.
-- A mime type with a wildcard such as `*/*` or `*/json` or `application/*`.
- The full mime type will be returned if matched.
-- A suffix such as `+json`. This can be combined with a wildcard such as
- `*/vnd+json` or `application/*+json`. The full mime type will be returned
- if matched.
-
-Some examples to illustrate the inputs and returned value:
-
-<!-- eslint-disable no-undef -->
-
-```js
-var mediaType = 'application/json'
-
-typeis.is(mediaType, ['json']) // => 'json'
-typeis.is(mediaType, ['html', 'json']) // => 'json'
-typeis.is(mediaType, ['application/*']) // => 'application/json'
-typeis.is(mediaType, ['application/json']) // => 'application/json'
-
-typeis.is(mediaType, ['html']) // => false
-```
-
-## Examples
-
-### Example body parser
-
-```js
-var express = require('express')
-var typeis = require('type-is')
-
-var app = express()
-
-app.use(function bodyParser (req, res, next) {
- if (!typeis.hasBody(req)) {
- return next()
- }
-
- switch (typeis(req, ['urlencoded', 'json', 'multipart'])) {
- case 'urlencoded':
- // parse urlencoded body
- throw new Error('implement urlencoded body parsing')
- case 'json':
- // parse json body
- throw new Error('implement json body parsing')
- case 'multipart':
- // parse multipart body
- throw new Error('implement multipart body parsing')
- default:
- // 415 error code
- res.statusCode = 415
- res.end()
- break
- }
-})
-```
-
-## License
-
-[MIT](LICENSE)
-
-[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/type-is/master
-[coveralls-url]: https://coveralls.io/r/jshttp/type-is?branch=master
-[node-version-image]: https://badgen.net/npm/node/type-is
-[node-version-url]: https://nodejs.org/en/download
-[npm-downloads-image]: https://badgen.net/npm/dm/type-is
-[npm-url]: https://npmjs.org/package/type-is
-[npm-version-image]: https://badgen.net/npm/v/type-is
-[travis-image]: https://badgen.net/travis/jshttp/type-is/master
-[travis-url]: https://travis-ci.org/jshttp/type-is
diff --git a/Server/node_modules/type-is/index.js b/Server/node_modules/type-is/index.js
deleted file mode 100644
index 890ad76..0000000
--- a/Server/node_modules/type-is/index.js
+++ /dev/null
@@ -1,266 +0,0 @@
-/*!
- * type-is
- * Copyright(c) 2014 Jonathan Ong
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module dependencies.
- * @private
- */
-
-var typer = require('media-typer')
-var mime = require('mime-types')
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = typeofrequest
-module.exports.is = typeis
-module.exports.hasBody = hasbody
-module.exports.normalize = normalize
-module.exports.match = mimeMatch
-
-/**
- * Compare a `value` content-type with `types`.
- * Each `type` can be an extension like `html`,
- * a special shortcut like `multipart` or `urlencoded`,
- * or a mime type.
- *
- * If no types match, `false` is returned.
- * Otherwise, the first `type` that matches is returned.
- *
- * @param {String} value
- * @param {Array} types
- * @public
- */
-
-function typeis (value, types_) {
- var i
- var types = types_
-
- // remove parameters and normalize
- var val = tryNormalizeType(value)
-
- // no type or invalid
- if (!val) {
- return false
- }
-
- // support flattened arguments
- if (types && !Array.isArray(types)) {
- types = new Array(arguments.length - 1)
- for (i = 0; i < types.length; i++) {
- types[i] = arguments[i + 1]
- }
- }
-
- // no types, return the content type
- if (!types || !types.length) {
- return val
- }
-
- var type
- for (i = 0; i < types.length; i++) {
- if (mimeMatch(normalize(type = types[i]), val)) {
- return type[0] === '+' || type.indexOf('*') !== -1
- ? val
- : type
- }
- }
-
- // no matches
- return false
-}
-
-/**
- * Check if a request has a request body.
- * A request with a body __must__ either have `transfer-encoding`
- * or `content-length` headers set.
- * http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3
- *
- * @param {Object} request
- * @return {Boolean}
- * @public
- */
-
-function hasbody (req) {
- return req.headers['transfer-encoding'] !== undefined ||
- !isNaN(req.headers['content-length'])
-}
-
-/**
- * Check if the incoming request contains the "Content-Type"
- * header field, and it contains any of the give mime `type`s.
- * If there is no request body, `null` is returned.
- * If there is no content type, `false` is returned.
- * Otherwise, it returns the first `type` that matches.
- *
- * Examples:
- *
- * // With Content-Type: text/html; charset=utf-8
- * this.is('html'); // => 'html'
- * this.is('text/html'); // => 'text/html'
- * this.is('text/*', 'application/json'); // => 'text/html'
- *
- * // When Content-Type is application/json
- * this.is('json', 'urlencoded'); // => 'json'
- * this.is('application/json'); // => 'application/json'
- * this.is('html', 'application/*'); // => 'application/json'
- *
- * this.is('html'); // => false
- *
- * @param {String|Array} types...
- * @return {String|false|null}
- * @public
- */
-
-function typeofrequest (req, types_) {
- var types = types_
-
- // no body
- if (!hasbody(req)) {
- return null
- }
-
- // support flattened arguments
- if (arguments.length > 2) {
- types = new Array(arguments.length - 1)
- for (var i = 0; i < types.length; i++) {
- types[i] = arguments[i + 1]
- }
- }
-
- // request content type
- var value = req.headers['content-type']
-
- return typeis(value, types)
-}
-
-/**
- * Normalize a mime type.
- * If it's a shorthand, expand it to a valid mime type.
- *
- * In general, you probably want:
- *
- * var type = is(req, ['urlencoded', 'json', 'multipart']);
- *
- * Then use the appropriate body parsers.
- * These three are the most common request body types
- * and are thus ensured to work.
- *
- * @param {String} type
- * @private
- */
-
-function normalize (type) {
- if (typeof type !== 'string') {
- // invalid type
- return false
- }
-
- switch (type) {
- case 'urlencoded':
- return 'application/x-www-form-urlencoded'
- case 'multipart':
- return 'multipart/*'
- }
-
- if (type[0] === '+') {
- // "+json" -> "*/*+json" expando
- return '*/*' + type
- }
-
- return type.indexOf('/') === -1
- ? mime.lookup(type)
- : type
-}
-
-/**
- * Check if `expected` mime type
- * matches `actual` mime type with
- * wildcard and +suffix support.
- *
- * @param {String} expected
- * @param {String} actual
- * @return {Boolean}
- * @private
- */
-
-function mimeMatch (expected, actual) {
- // invalid type
- if (expected === false) {
- return false
- }
-
- // split types
- var actualParts = actual.split('/')
- var expectedParts = expected.split('/')
-
- // invalid format
- if (actualParts.length !== 2 || expectedParts.length !== 2) {
- return false
- }
-
- // validate type
- if (expectedParts[0] !== '*' && expectedParts[0] !== actualParts[0]) {
- return false
- }
-
- // validate suffix wildcard
- if (expectedParts[1].substr(0, 2) === '*+') {
- return expectedParts[1].length <= actualParts[1].length + 1 &&
- expectedParts[1].substr(1) === actualParts[1].substr(1 - expectedParts[1].length)
- }
-
- // validate subtype
- if (expectedParts[1] !== '*' && expectedParts[1] !== actualParts[1]) {
- return false
- }
-
- return true
-}
-
-/**
- * Normalize a type and remove parameters.
- *
- * @param {string} value
- * @return {string}
- * @private
- */
-
-function normalizeType (value) {
- // parse the type
- var type = typer.parse(value)
-
- // remove the parameters
- type.parameters = undefined
-
- // reformat it
- return typer.format(type)
-}
-
-/**
- * Try to normalize a type and remove parameters.
- *
- * @param {string} value
- * @return {string}
- * @private
- */
-
-function tryNormalizeType (value) {
- if (!value) {
- return null
- }
-
- try {
- return normalizeType(value)
- } catch (err) {
- return null
- }
-}
diff --git a/Server/node_modules/type-is/package.json b/Server/node_modules/type-is/package.json
deleted file mode 100644
index 7f2039f..0000000
--- a/Server/node_modules/type-is/package.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "_from": "type-is@~1.6.17",
- "_id": "type-is@1.6.18",
- "_inBundle": false,
- "_integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
- "_location": "/type-is",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "type-is@~1.6.17",
- "name": "type-is",
- "escapedName": "type-is",
- "rawSpec": "~1.6.17",
- "saveSpec": null,
- "fetchSpec": "~1.6.17"
- },
- "_requiredBy": [
- "/body-parser",
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "_shasum": "4e552cd05df09467dcbc4ef739de89f2cf37c131",
- "_spec": "type-is@~1.6.17",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/body-parser",
- "bugs": {
- "url": "https://github.com/jshttp/type-is/issues"
- },
- "bundleDependencies": false,
- "contributors": [
- {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- {
- "name": "Jonathan Ong",
- "email": "me@jongleberry.com",
- "url": "http://jongleberry.com"
- }
- ],
- "dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
- },
- "deprecated": false,
- "description": "Infer the content-type of a request.",
- "devDependencies": {
- "eslint": "5.16.0",
- "eslint-config-standard": "12.0.0",
- "eslint-plugin-import": "2.17.2",
- "eslint-plugin-markdown": "1.0.0",
- "eslint-plugin-node": "8.0.1",
- "eslint-plugin-promise": "4.1.1",
- "eslint-plugin-standard": "4.0.0",
- "mocha": "6.1.4",
- "nyc": "14.0.0"
- },
- "engines": {
- "node": ">= 0.6"
- },
- "files": [
- "LICENSE",
- "HISTORY.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/type-is#readme",
- "keywords": [
- "content",
- "type",
- "checking"
- ],
- "license": "MIT",
- "name": "type-is",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/type-is.git"
- },
- "scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --check-leaks --bail test/",
- "test-cov": "nyc --reporter=html --reporter=text npm test",
- "test-travis": "nyc --reporter=text npm test"
- },
- "version": "1.6.18"
-}
diff --git a/Server/node_modules/unpipe/HISTORY.md b/Server/node_modules/unpipe/HISTORY.md
deleted file mode 100644
index 85e0f8d..0000000
--- a/Server/node_modules/unpipe/HISTORY.md
+++ /dev/null
@@ -1,4 +0,0 @@
-1.0.0 / 2015-06-14
-==================
-
- * Initial release
diff --git a/Server/node_modules/unpipe/LICENSE b/Server/node_modules/unpipe/LICENSE
deleted file mode 100644
index aed0138..0000000
--- a/Server/node_modules/unpipe/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
-
-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.
diff --git a/Server/node_modules/unpipe/README.md b/Server/node_modules/unpipe/README.md
deleted file mode 100644
index e536ad2..0000000
--- a/Server/node_modules/unpipe/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# unpipe
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Unpipe a stream from all destinations.
-
-## Installation
-
-```sh
-$ npm install unpipe
-```
-
-## API
-
-```js
-var unpipe = require('unpipe')
-```
-
-### unpipe(stream)
-
-Unpipes all destinations from a given stream. With stream 2+, this is
-equivalent to `stream.unpipe()`. When used with streams 1 style streams
-(typically Node.js 0.8 and below), this module attempts to undo the
-actions done in `stream.pipe(dest)`.
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/unpipe.svg
-[npm-url]: https://npmjs.org/package/unpipe
-[node-image]: https://img.shields.io/node/v/unpipe.svg
-[node-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/stream-utils/unpipe.svg
-[travis-url]: https://travis-ci.org/stream-utils/unpipe
-[coveralls-image]: https://img.shields.io/coveralls/stream-utils/unpipe.svg
-[coveralls-url]: https://coveralls.io/r/stream-utils/unpipe?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/unpipe.svg
-[downloads-url]: https://npmjs.org/package/unpipe
diff --git a/Server/node_modules/unpipe/index.js b/Server/node_modules/unpipe/index.js
deleted file mode 100644
index 15c3d97..0000000
--- a/Server/node_modules/unpipe/index.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*!
- * unpipe
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = unpipe
-
-/**
- * Determine if there are Node.js pipe-like data listeners.
- * @private
- */
-
-function hasPipeDataListeners(stream) {
- var listeners = stream.listeners('data')
-
- for (var i = 0; i < listeners.length; i++) {
- if (listeners[i].name === 'ondata') {
- return true
- }
- }
-
- return false
-}
-
-/**
- * Unpipe a stream from all destinations.
- *
- * @param {object} stream
- * @public
- */
-
-function unpipe(stream) {
- if (!stream) {
- throw new TypeError('argument stream is required')
- }
-
- if (typeof stream.unpipe === 'function') {
- // new-style
- stream.unpipe()
- return
- }
-
- // Node.js 0.8 hack
- if (!hasPipeDataListeners(stream)) {
- return
- }
-
- var listener
- var listeners = stream.listeners('close')
-
- for (var i = 0; i < listeners.length; i++) {
- listener = listeners[i]
-
- if (listener.name !== 'cleanup' && listener.name !== 'onclose') {
- continue
- }
-
- // invoke the listener
- listener.call(stream)
- }
-}
diff --git a/Server/node_modules/unpipe/package.json b/Server/node_modules/unpipe/package.json
deleted file mode 100644
index cc676d2..0000000
--- a/Server/node_modules/unpipe/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "_from": "unpipe@1.0.0",
- "_id": "unpipe@1.0.0",
- "_inBundle": false,
- "_integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=",
- "_location": "/unpipe",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "unpipe@1.0.0",
- "name": "unpipe",
- "escapedName": "unpipe",
- "rawSpec": "1.0.0",
- "saveSpec": null,
- "fetchSpec": "1.0.0"
- },
- "_requiredBy": [
- "/finalhandler",
- "/raw-body"
- ],
- "_resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
- "_shasum": "b2bf4ee8514aae6165b4817829d21b2ef49904ec",
- "_spec": "unpipe@1.0.0",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/raw-body",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/stream-utils/unpipe/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Unpipe a stream from all destinations",
- "devDependencies": {
- "istanbul": "0.3.15",
- "mocha": "2.2.5",
- "readable-stream": "1.1.13"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/stream-utils/unpipe#readme",
- "license": "MIT",
- "name": "unpipe",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/stream-utils/unpipe.git"
- },
- "scripts": {
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "1.0.0"
-}
diff --git a/Server/node_modules/util-deprecate/History.md b/Server/node_modules/util-deprecate/History.md
deleted file mode 100644
index acc8675..0000000
--- a/Server/node_modules/util-deprecate/History.md
+++ /dev/null
@@ -1,16 +0,0 @@
-
-1.0.2 / 2015-10-07
-==================
-
- * use try/catch when checking `localStorage` (#3, @kumavis)
-
-1.0.1 / 2014-11-25
-==================
-
- * browser: use `console.warn()` for deprecation calls
- * browser: more jsdocs
-
-1.0.0 / 2014-04-30
-==================
-
- * initial commit
diff --git a/Server/node_modules/util-deprecate/LICENSE b/Server/node_modules/util-deprecate/LICENSE
deleted file mode 100644
index 6a60e8c..0000000
--- a/Server/node_modules/util-deprecate/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net>
-
-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.
diff --git a/Server/node_modules/util-deprecate/README.md b/Server/node_modules/util-deprecate/README.md
deleted file mode 100644
index 75622fa..0000000
--- a/Server/node_modules/util-deprecate/README.md
+++ /dev/null
@@ -1,53 +0,0 @@
-util-deprecate
-==============
-### The Node.js `util.deprecate()` function with browser support
-
-In Node.js, this module simply re-exports the `util.deprecate()` function.
-
-In the web browser (i.e. via browserify), a browser-specific implementation
-of the `util.deprecate()` function is used.
-
-
-## API
-
-A `deprecate()` function is the only thing exposed by this module.
-
-``` javascript
-// setup:
-exports.foo = deprecate(foo, 'foo() is deprecated, use bar() instead');
-
-
-// users see:
-foo();
-// foo() is deprecated, use bar() instead
-foo();
-foo();
-```
-
-
-## License
-
-(The MIT License)
-
-Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net>
-
-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.
diff --git a/Server/node_modules/util-deprecate/browser.js b/Server/node_modules/util-deprecate/browser.js
deleted file mode 100644
index 549ae2f..0000000
--- a/Server/node_modules/util-deprecate/browser.js
+++ /dev/null
@@ -1,67 +0,0 @@
-
-/**
- * Module exports.
- */
-
-module.exports = deprecate;
-
-/**
- * Mark that a method should not be used.
- * Returns a modified function which warns once by default.
- *
- * If `localStorage.noDeprecation = true` is set, then it is a no-op.
- *
- * If `localStorage.throwDeprecation = true` is set, then deprecated functions
- * will throw an Error when invoked.
- *
- * If `localStorage.traceDeprecation = true` is set, then deprecated functions
- * will invoke `console.trace()` instead of `console.error()`.
- *
- * @param {Function} fn - the function to deprecate
- * @param {String} msg - the string to print to the console when `fn` is invoked
- * @returns {Function} a new "deprecated" version of `fn`
- * @api public
- */
-
-function deprecate (fn, msg) {
- if (config('noDeprecation')) {
- return fn;
- }
-
- var warned = false;
- function deprecated() {
- if (!warned) {
- if (config('throwDeprecation')) {
- throw new Error(msg);
- } else if (config('traceDeprecation')) {
- console.trace(msg);
- } else {
- console.warn(msg);
- }
- warned = true;
- }
- return fn.apply(this, arguments);
- }
-
- return deprecated;
-}
-
-/**
- * Checks `localStorage` for boolean values for the given `name`.
- *
- * @param {String} name
- * @returns {Boolean}
- * @api private
- */
-
-function config (name) {
- // accessing global.localStorage can trigger a DOMException in sandboxed iframes
- try {
- if (!global.localStorage) return false;
- } catch (_) {
- return false;
- }
- var val = global.localStorage[name];
- if (null == val) return false;
- return String(val).toLowerCase() === 'true';
-}
diff --git a/Server/node_modules/util-deprecate/node.js b/Server/node_modules/util-deprecate/node.js
deleted file mode 100644
index 5e6fcff..0000000
--- a/Server/node_modules/util-deprecate/node.js
+++ /dev/null
@@ -1,6 +0,0 @@
-
-/**
- * For Node.js, simply re-export the core `util.deprecate` function.
- */
-
-module.exports = require('util').deprecate;
diff --git a/Server/node_modules/util-deprecate/package.json b/Server/node_modules/util-deprecate/package.json
deleted file mode 100644
index e8966e1..0000000
--- a/Server/node_modules/util-deprecate/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "_from": "util-deprecate@~1.0.1",
- "_id": "util-deprecate@1.0.2",
- "_inBundle": false,
- "_integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
- "_location": "/util-deprecate",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "util-deprecate@~1.0.1",
- "name": "util-deprecate",
- "escapedName": "util-deprecate",
- "rawSpec": "~1.0.1",
- "saveSpec": null,
- "fetchSpec": "~1.0.1"
- },
- "_requiredBy": [
- "/readable-stream"
- ],
- "_resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "_shasum": "450d4dc9fa70de732762fbd2d4a28981419a0ccf",
- "_spec": "util-deprecate@~1.0.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/readable-stream",
- "author": {
- "name": "Nathan Rajlich",
- "email": "nathan@tootallnate.net",
- "url": "http://n8.io/"
- },
- "browser": "browser.js",
- "bugs": {
- "url": "https://github.com/TooTallNate/util-deprecate/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "The Node.js `util.deprecate()` function with browser support",
- "homepage": "https://github.com/TooTallNate/util-deprecate",
- "keywords": [
- "util",
- "deprecate",
- "browserify",
- "browser",
- "node"
- ],
- "license": "MIT",
- "main": "node.js",
- "name": "util-deprecate",
- "repository": {
- "type": "git",
- "url": "git://github.com/TooTallNate/util-deprecate.git"
- },
- "scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
- },
- "version": "1.0.2"
-}
diff --git a/Server/node_modules/utils-merge/.npmignore b/Server/node_modules/utils-merge/.npmignore
deleted file mode 100644
index 3e53844..0000000
--- a/Server/node_modules/utils-merge/.npmignore
+++ /dev/null
@@ -1,9 +0,0 @@
-CONTRIBUTING.md
-Makefile
-docs/
-examples/
-reports/
-test/
-
-.jshintrc
-.travis.yml
diff --git a/Server/node_modules/utils-merge/LICENSE b/Server/node_modules/utils-merge/LICENSE
deleted file mode 100644
index 76f6d08..0000000
--- a/Server/node_modules/utils-merge/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2013-2017 Jared Hanson
-
-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.
diff --git a/Server/node_modules/utils-merge/README.md b/Server/node_modules/utils-merge/README.md
deleted file mode 100644
index 0cb7117..0000000
--- a/Server/node_modules/utils-merge/README.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# utils-merge
-
-[![Version](https://img.shields.io/npm/v/utils-merge.svg?label=version)](https://www.npmjs.com/package/utils-merge)
-[![Build](https://img.shields.io/travis/jaredhanson/utils-merge.svg)](https://travis-ci.org/jaredhanson/utils-merge)
-[![Quality](https://img.shields.io/codeclimate/github/jaredhanson/utils-merge.svg?label=quality)](https://codeclimate.com/github/jaredhanson/utils-merge)
-[![Coverage](https://img.shields.io/coveralls/jaredhanson/utils-merge.svg)](https://coveralls.io/r/jaredhanson/utils-merge)
-[![Dependencies](https://img.shields.io/david/jaredhanson/utils-merge.svg)](https://david-dm.org/jaredhanson/utils-merge)
-
-
-Merges the properties from a source object into a destination object.
-
-## Install
-
-```bash
-$ npm install utils-merge
-```
-
-## Usage
-
-```javascript
-var a = { foo: 'bar' }
- , b = { bar: 'baz' };
-
-merge(a, b);
-// => { foo: 'bar', bar: 'baz' }
-```
-
-## License
-
-[The MIT License](http://opensource.org/licenses/MIT)
-
-Copyright (c) 2013-2017 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>
-
-<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/vK9dyjRnnWsMzzJTQ57fRJpH/jaredhanson/utils-merge'> <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/vK9dyjRnnWsMzzJTQ57fRJpH/jaredhanson/utils-merge.svg' /></a>
diff --git a/Server/node_modules/utils-merge/index.js b/Server/node_modules/utils-merge/index.js
deleted file mode 100644
index 4265c69..0000000
--- a/Server/node_modules/utils-merge/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * Merge object b with object a.
- *
- * var a = { foo: 'bar' }
- * , b = { bar: 'baz' };
- *
- * merge(a, b);
- * // => { foo: 'bar', bar: 'baz' }
- *
- * @param {Object} a
- * @param {Object} b
- * @return {Object}
- * @api public
- */
-
-exports = module.exports = function(a, b){
- if (a && b) {
- for (var key in b) {
- a[key] = b[key];
- }
- }
- return a;
-};
diff --git a/Server/node_modules/utils-merge/package.json b/Server/node_modules/utils-merge/package.json
deleted file mode 100644
index 47d2489..0000000
--- a/Server/node_modules/utils-merge/package.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "_from": "utils-merge@1.0.1",
- "_id": "utils-merge@1.0.1",
- "_inBundle": false,
- "_integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=",
- "_location": "/utils-merge",
- "_phantomChildren": {},
- "_requested": {
- "type": "version",
- "registry": true,
- "raw": "utils-merge@1.0.1",
- "name": "utils-merge",
- "escapedName": "utils-merge",
- "rawSpec": "1.0.1",
- "saveSpec": null,
- "fetchSpec": "1.0.1"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
- "_shasum": "9f95710f50a267947b2ccc124741c1028427e713",
- "_spec": "utils-merge@1.0.1",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Jared Hanson",
- "email": "jaredhanson@gmail.com",
- "url": "http://www.jaredhanson.net/"
- },
- "bugs": {
- "url": "http://github.com/jaredhanson/utils-merge/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "merge() utility function",
- "devDependencies": {
- "chai": "1.x.x",
- "make-node": "0.3.x",
- "mocha": "1.x.x"
- },
- "engines": {
- "node": ">= 0.4.0"
- },
- "homepage": "https://github.com/jaredhanson/utils-merge#readme",
- "keywords": [
- "util"
- ],
- "license": "MIT",
- "licenses": [
- {
- "type": "MIT",
- "url": "http://opensource.org/licenses/MIT"
- }
- ],
- "main": "./index",
- "name": "utils-merge",
- "repository": {
- "type": "git",
- "url": "git://github.com/jaredhanson/utils-merge.git"
- },
- "scripts": {
- "test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js"
- },
- "version": "1.0.1"
-}
diff --git a/Server/node_modules/vary/HISTORY.md b/Server/node_modules/vary/HISTORY.md
deleted file mode 100644
index f6cbcf7..0000000
--- a/Server/node_modules/vary/HISTORY.md
+++ /dev/null
@@ -1,39 +0,0 @@
-1.1.2 / 2017-09-23
-==================
-
- * perf: improve header token parsing speed
-
-1.1.1 / 2017-03-20
-==================
-
- * perf: hoist regular expression
-
-1.1.0 / 2015-09-29
-==================
-
- * Only accept valid field names in the `field` argument
- - Ensures the resulting string is a valid HTTP header value
-
-1.0.1 / 2015-07-08
-==================
-
- * Fix setting empty header from empty `field`
- * perf: enable strict mode
- * perf: remove argument reassignments
-
-1.0.0 / 2014-08-10
-==================
-
- * Accept valid `Vary` header string as `field`
- * Add `vary.append` for low-level string manipulation
- * Move to `jshttp` orgainzation
-
-0.1.0 / 2014-06-05
-==================
-
- * Support array of fields to set
-
-0.0.0 / 2014-06-04
-==================
-
- * Initial release
diff --git a/Server/node_modules/vary/LICENSE b/Server/node_modules/vary/LICENSE
deleted file mode 100644
index 84441fb..0000000
--- a/Server/node_modules/vary/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014-2017 Douglas Christopher Wilson
-
-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.
diff --git a/Server/node_modules/vary/README.md b/Server/node_modules/vary/README.md
deleted file mode 100644
index cc000b3..0000000
--- a/Server/node_modules/vary/README.md
+++ /dev/null
@@ -1,101 +0,0 @@
-# vary
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Manipulate the HTTP Vary header
-
-## Installation
-
-This is a [Node.js](https://nodejs.org/en/) module available through the
-[npm registry](https://www.npmjs.com/). Installation is done using the
-[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
-
-```sh
-$ npm install vary
-```
-
-## API
-
-<!-- eslint-disable no-unused-vars -->
-
-```js
-var vary = require('vary')
-```
-
-### vary(res, field)
-
-Adds the given header `field` to the `Vary` response header of `res`.
-This can be a string of a single field, a string of a valid `Vary`
-header, or an array of multiple fields.
-
-This will append the header if not already listed, otherwise leaves
-it listed in the current location.
-
-<!-- eslint-disable no-undef -->
-
-```js
-// Append "Origin" to the Vary header of the response
-vary(res, 'Origin')
-```
-
-### vary.append(header, field)
-
-Adds the given header `field` to the `Vary` response header string `header`.
-This can be a string of a single field, a string of a valid `Vary` header,
-or an array of multiple fields.
-
-This will append the header if not already listed, otherwise leaves
-it listed in the current location. The new header string is returned.
-
-<!-- eslint-disable no-undef -->
-
-```js
-// Get header string appending "Origin" to "Accept, User-Agent"
-vary.append('Accept, User-Agent', 'Origin')
-```
-
-## Examples
-
-### Updating the Vary header when content is based on it
-
-```js
-var http = require('http')
-var vary = require('vary')
-
-http.createServer(function onRequest (req, res) {
- // about to user-agent sniff
- vary(res, 'User-Agent')
-
- var ua = req.headers['user-agent'] || ''
- var isMobile = /mobi|android|touch|mini/i.test(ua)
-
- // serve site, depending on isMobile
- res.setHeader('Content-Type', 'text/html')
- res.end('You are (probably) ' + (isMobile ? '' : 'not ') + 'a mobile user')
-})
-```
-
-## Testing
-
-```sh
-$ npm test
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/vary.svg
-[npm-url]: https://npmjs.org/package/vary
-[node-version-image]: https://img.shields.io/node/v/vary.svg
-[node-version-url]: https://nodejs.org/en/download
-[travis-image]: https://img.shields.io/travis/jshttp/vary/master.svg
-[travis-url]: https://travis-ci.org/jshttp/vary
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/vary/master.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/vary
-[downloads-image]: https://img.shields.io/npm/dm/vary.svg
-[downloads-url]: https://npmjs.org/package/vary
diff --git a/Server/node_modules/vary/index.js b/Server/node_modules/vary/index.js
deleted file mode 100644
index 5b5e741..0000000
--- a/Server/node_modules/vary/index.js
+++ /dev/null
@@ -1,149 +0,0 @@
-/*!
- * vary
- * Copyright(c) 2014-2017 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- */
-
-module.exports = vary
-module.exports.append = append
-
-/**
- * RegExp to match field-name in RFC 7230 sec 3.2
- *
- * field-name = token
- * token = 1*tchar
- * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*"
- * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
- * / DIGIT / ALPHA
- * ; any VCHAR, except delimiters
- */
-
-var FIELD_NAME_REGEXP = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/
-
-/**
- * Append a field to a vary header.
- *
- * @param {String} header
- * @param {String|Array} field
- * @return {String}
- * @public
- */
-
-function append (header, field) {
- if (typeof header !== 'string') {
- throw new TypeError('header argument is required')
- }
-
- if (!field) {
- throw new TypeError('field argument is required')
- }
-
- // get fields array
- var fields = !Array.isArray(field)
- ? parse(String(field))
- : field
-
- // assert on invalid field names
- for (var j = 0; j < fields.length; j++) {
- if (!FIELD_NAME_REGEXP.test(fields[j])) {
- throw new TypeError('field argument contains an invalid header name')
- }
- }
-
- // existing, unspecified vary
- if (header === '*') {
- return header
- }
-
- // enumerate current values
- var val = header
- var vals = parse(header.toLowerCase())
-
- // unspecified vary
- if (fields.indexOf('*') !== -1 || vals.indexOf('*') !== -1) {
- return '*'
- }
-
- for (var i = 0; i < fields.length; i++) {
- var fld = fields[i].toLowerCase()
-
- // append value (case-preserving)
- if (vals.indexOf(fld) === -1) {
- vals.push(fld)
- val = val
- ? val + ', ' + fields[i]
- : fields[i]
- }
- }
-
- return val
-}
-
-/**
- * Parse a vary header into an array.
- *
- * @param {String} header
- * @return {Array}
- * @private
- */
-
-function parse (header) {
- var end = 0
- var list = []
- var start = 0
-
- // gather tokens
- for (var i = 0, len = header.length; i < len; i++) {
- switch (header.charCodeAt(i)) {
- case 0x20: /* */
- if (start === end) {
- start = end = i + 1
- }
- break
- case 0x2c: /* , */
- list.push(header.substring(start, end))
- start = end = i + 1
- break
- default:
- end = i + 1
- break
- }
- }
-
- // final token
- list.push(header.substring(start, end))
-
- return list
-}
-
-/**
- * Mark that a request is varied on a header field.
- *
- * @param {Object} res
- * @param {String|Array} field
- * @public
- */
-
-function vary (res, field) {
- if (!res || !res.getHeader || !res.setHeader) {
- // quack quack
- throw new TypeError('res argument is required')
- }
-
- // get existing header
- var val = res.getHeader('Vary') || ''
- var header = Array.isArray(val)
- ? val.join(', ')
- : String(val)
-
- // set new header
- if ((val = append(header, field))) {
- res.setHeader('Vary', val)
- }
-}
diff --git a/Server/node_modules/vary/package.json b/Server/node_modules/vary/package.json
deleted file mode 100644
index 71aaae3..0000000
--- a/Server/node_modules/vary/package.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "_from": "vary@~1.1.2",
- "_id": "vary@1.1.2",
- "_inBundle": false,
- "_integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=",
- "_location": "/vary",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "vary@~1.1.2",
- "name": "vary",
- "escapedName": "vary",
- "rawSpec": "~1.1.2",
- "saveSpec": null,
- "fetchSpec": "~1.1.2"
- },
- "_requiredBy": [
- "/express"
- ],
- "_resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
- "_shasum": "2299f02c6ded30d4a5961b0b9f74524a18f634fc",
- "_spec": "vary@~1.1.2",
- "_where": "/home/sina/Orchestration_Cellulo_Math/orchestration/Server/node_modules/express",
- "author": {
- "name": "Douglas Christopher Wilson",
- "email": "doug@somethingdoug.com"
- },
- "bugs": {
- "url": "https://github.com/jshttp/vary/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Manipulate the HTTP Vary header",
- "devDependencies": {
- "beautify-benchmark": "0.2.4",
- "benchmark": "2.1.4",
- "eslint": "3.19.0",
- "eslint-config-standard": "10.2.1",
- "eslint-plugin-import": "2.7.0",
- "eslint-plugin-markdown": "1.0.0-beta.6",
- "eslint-plugin-node": "5.1.1",
- "eslint-plugin-promise": "3.5.0",
- "eslint-plugin-standard": "3.0.1",
- "istanbul": "0.4.5",
- "mocha": "2.5.3",
- "supertest": "1.1.0"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "files": [
- "HISTORY.md",
- "LICENSE",
- "README.md",
- "index.js"
- ],
- "homepage": "https://github.com/jshttp/vary#readme",
- "keywords": [
- "http",
- "res",
- "vary"
- ],
- "license": "MIT",
- "name": "vary",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/jshttp/vary.git"
- },
- "scripts": {
- "bench": "node benchmark/index.js",
- "lint": "eslint --plugin markdown --ext js,md .",
- "test": "mocha --reporter spec --bail --check-leaks test/",
- "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
- "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
- },
- "version": "1.1.2"
-}
diff --git a/Server/package-lock.json b/Server/package-lock.json
deleted file mode 100644
index 4ea9261..0000000
--- a/Server/package-lock.json
+++ /dev/null
@@ -1,593 +0,0 @@
-{
- "name": "server",
- "version": "1.0.0",
- "lockfileVersion": 1,
- "requires": true,
- "dependencies": {
- "accepts": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
- "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
- "requires": {
- "mime-types": "~2.1.24",
- "negotiator": "0.6.2"
- }
- },
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "array-flatten": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
- "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
- },
- "async": {
- "version": "0.9.2",
- "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz",
- "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0="
- },
- "balanced-match": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
- "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
- },
- "bignumber.js": {
- "version": "9.0.0",
- "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
- "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A=="
- },
- "body-parser": {
- "version": "1.19.0",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
- "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
- "requires": {
- "bytes": "3.1.0",
- "content-type": "~1.0.4",
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "http-errors": "1.7.2",
- "iconv-lite": "0.4.24",
- "on-finished": "~2.3.0",
- "qs": "6.7.0",
- "raw-body": "2.4.0",
- "type-is": "~1.6.17"
- }
- },
- "brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "requires": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "busboy": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/busboy/-/busboy-0.3.1.tgz",
- "integrity": "sha512-y7tTxhGKXcyBxRKAni+awqx8uqaJKrSFSNFSeRG5CsWNdmy2BIK+6VGWEW7TZnIO/533mtMEA4rOevQV815YJw==",
- "requires": {
- "dicer": "0.3.0"
- }
- },
- "bytes": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
- "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
- },
- "chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- }
- },
- "color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "requires": {
- "color-name": "1.1.3"
- }
- },
- "color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
- },
- "concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
- },
- "content-disposition": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
- "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
- "requires": {
- "safe-buffer": "5.1.2"
- }
- },
- "content-type": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
- "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
- },
- "cookie": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
- "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
- },
- "cookie-signature": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
- "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
- },
- "core-util-is": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
- "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
- },
- "cors": {
- "version": "2.8.5",
- "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
- "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
- "requires": {
- "object-assign": "^4",
- "vary": "^1"
- }
- },
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "requires": {
- "ms": "2.0.0"
- }
- },
- "depd": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
- "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
- },
- "destroy": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
- "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
- },
- "dicer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/dicer/-/dicer-0.3.0.tgz",
- "integrity": "sha512-MdceRRWqltEG2dZqO769g27N/3PXfcKl04VhYnBlo2YhH7zPi88VebsjTKclaOyiuMaGU72hTfw3VkUitGcVCA==",
- "requires": {
- "streamsearch": "0.1.2"
- }
- },
- "ee-first": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
- "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
- },
- "ejs": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.3.tgz",
- "integrity": "sha512-wmtrUGyfSC23GC/B1SMv2ogAUgbQEtDmTIhfqielrG5ExIM9TP4UoYdi90jLF1aTcsWCJNEO0UrgKzP0y3nTSg==",
- "requires": {
- "jake": "^10.6.1"
- }
- },
- "encodeurl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
- },
- "escape-html": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
- },
- "escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
- },
- "etag": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
- "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
- },
- "express": {
- "version": "4.17.1",
- "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
- "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
- "requires": {
- "accepts": "~1.3.7",
- "array-flatten": "1.1.1",
- "body-parser": "1.19.0",
- "content-disposition": "0.5.3",
- "content-type": "~1.0.4",
- "cookie": "0.4.0",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "~1.1.2",
- "fresh": "0.5.2",
- "merge-descriptors": "1.0.1",
- "methods": "~1.1.2",
- "on-finished": "~2.3.0",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.7",
- "proxy-addr": "~2.0.5",
- "qs": "6.7.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.1.2",
- "send": "0.17.1",
- "serve-static": "1.14.1",
- "setprototypeof": "1.1.1",
- "statuses": "~1.5.0",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- }
- },
- "express-fileupload": {
- "version": "1.1.7-alpha.3",
- "resolved": "https://registry.npmjs.org/express-fileupload/-/express-fileupload-1.1.7-alpha.3.tgz",
- "integrity": "sha512-2YRJQqjgfFcYiMr8inico+UQ0UsxuOUyO9wkWkx+vjsEcUI7c1ae38Nv5NKdGjHqL5+J01P6StT9mjZTI7Qzjg==",
- "requires": {
- "busboy": "^0.3.1"
- }
- },
- "filelist": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.1.tgz",
- "integrity": "sha512-8zSK6Nu0DQIC08mUC46sWGXi+q3GGpKydAG36k+JDba6VRpkevvOWUW5a/PhShij4+vHT9M+ghgG7eM+a9JDUQ==",
- "requires": {
- "minimatch": "^3.0.4"
- }
- },
- "finalhandler": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
- "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
- "requires": {
- "debug": "2.6.9",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "on-finished": "~2.3.0",
- "parseurl": "~1.3.3",
- "statuses": "~1.5.0",
- "unpipe": "~1.0.0"
- }
- },
- "forwarded": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
- "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
- },
- "fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
- },
- "has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
- },
- "http-errors": {
- "version": "1.7.2",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
- "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
- "requires": {
- "depd": "~1.1.2",
- "inherits": "2.0.3",
- "setprototypeof": "1.1.1",
- "statuses": ">= 1.5.0 < 2",
- "toidentifier": "1.0.0"
- }
- },
- "iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "requires": {
- "safer-buffer": ">= 2.1.2 < 3"
- }
- },
- "inherits": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
- },
- "ipaddr.js": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
- "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
- },
- "isarray": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
- "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
- },
- "jake": {
- "version": "10.8.2",
- "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.2.tgz",
- "integrity": "sha512-eLpKyrfG3mzvGE2Du8VoPbeSkRry093+tyNjdYaBbJS9v17knImYGNXQCUV0gLxQtF82m3E8iRb/wdSQZLoq7A==",
- "requires": {
- "async": "0.9.x",
- "chalk": "^2.4.2",
- "filelist": "^1.0.1",
- "minimatch": "^3.0.4"
- }
- },
- "media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
- },
- "merge-descriptors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
- "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
- },
- "methods": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
- "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
- },
- "mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
- },
- "mime-db": {
- "version": "1.44.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
- "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
- },
- "mime-types": {
- "version": "2.1.27",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
- "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
- "requires": {
- "mime-db": "1.44.0"
- }
- },
- "minimatch": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
- "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
- "requires": {
- "brace-expansion": "^1.1.7"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- },
- "mysql": {
- "version": "2.18.1",
- "resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz",
- "integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==",
- "requires": {
- "bignumber.js": "9.0.0",
- "readable-stream": "2.3.7",
- "safe-buffer": "5.1.2",
- "sqlstring": "2.3.1"
- }
- },
- "negotiator": {
- "version": "0.6.2",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
- "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
- },
- "object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
- },
- "on-finished": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
- "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
- "requires": {
- "ee-first": "1.1.1"
- }
- },
- "parseurl": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
- },
- "path-to-regexp": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
- "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
- },
- "process-nextick-args": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
- "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
- },
- "proxy-addr": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
- "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
- "requires": {
- "forwarded": "~0.1.2",
- "ipaddr.js": "1.9.1"
- }
- },
- "qs": {
- "version": "6.7.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
- "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
- },
- "range-parser": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
- "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
- },
- "raw-body": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
- "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
- "requires": {
- "bytes": "3.1.0",
- "http-errors": "1.7.2",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
- }
- },
- "readable-stream": {
- "version": "2.3.7",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
- "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
- "requires": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
- }
- },
- "req-flash": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/req-flash/-/req-flash-0.0.3.tgz",
- "integrity": "sha1-XkixoxmHlnKmM54NYDk1p3h55HA="
- },
- "safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- },
- "safer-buffer": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
- },
- "send": {
- "version": "0.17.1",
- "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
- "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
- "requires": {
- "debug": "2.6.9",
- "depd": "~1.1.2",
- "destroy": "~1.0.4",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "~1.7.2",
- "mime": "1.6.0",
- "ms": "2.1.1",
- "on-finished": "~2.3.0",
- "range-parser": "~1.2.1",
- "statuses": "~1.5.0"
- },
- "dependencies": {
- "ms": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
- "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
- }
- }
- },
- "serve-static": {
- "version": "1.14.1",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
- "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
- "requires": {
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.17.1"
- }
- },
- "setprototypeof": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
- "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="
- },
- "sqlstring": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz",
- "integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A="
- },
- "statuses": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow="
- },
- "streamsearch": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-0.1.2.tgz",
- "integrity": "sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo="
- },
- "string_decoder": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
- "requires": {
- "safe-buffer": "~5.1.0"
- }
- },
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "requires": {
- "has-flag": "^3.0.0"
- }
- },
- "toidentifier": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
- "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
- },
- "type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
- "requires": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
- }
- },
- "unpipe": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
- "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
- },
- "util-deprecate": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
- },
- "utils-merge": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
- "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
- },
- "vary": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
- "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
- }
- }
-}
diff --git a/Server/package.json b/Server/package.json
deleted file mode 100644
index 6765881..0000000
--- a/Server/package.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "name": "server",
- "version": "1.0.0",
- "description": "",
- "main": "Server.js",
- "scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
- },
- "author": "",
- "license": "ISC",
- "dependencies": {
- "body-parser": "^1.19.0",
- "cors": "^2.8.5",
- "ejs": "^3.1.3",
- "express": "^4.17.1",
- "express-fileupload": "^1.1.7-alpha.3",
- "mysql": "^2.18.1",
- "req-flash": "0.0.3"
- }
-}
diff --git a/student/lib/Activities/Ac1.dart b/student/lib/Activities/Ac1.dart
index ee2d67a..0e0c046 100644
--- a/student/lib/Activities/Ac1.dart
+++ b/student/lib/Activities/Ac1.dart
@@ -1,743 +1,743 @@
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:student/widgets/onlineRobotMap.Dart';
import 'package:student/widgets/celluloMap.Dart';
import 'dart:async';
import 'dart:convert';
import 'package:student/Database.dart';
import 'package:student/model/Group.dart';
import 'package:student/model/Cellulo.dart';
import 'package:student/widgets/showAlertDialog.Dart';
import 'package:student/widgets/membersBar.Dart';
import 'package:student/widgets/inactivityDetector.Dart';
import 'package:flutter_appavailability/flutter_appavailability.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:latlong/latlong.dart';
import 'package:map_controller/map_controller.dart';
import 'package:student/widgets/mapShapeMaker.dart';
import 'dart:math' as math;
import 'package:audioplayer/audioplayer.dart';
import 'package:tip_dialog/tip_dialog.dart';
class Ac1 extends StatefulWidget {
Ac1({Key key}) : super(key: key);
@override
_Ac1State createState() => _Ac1State();
}
class _Ac1State extends State<Ac1> {
// Activity_Independent
AudioPlayer audioPlugin = AudioPlayer();
AudioPlayer advancedPlayer = AudioPlayer();
var elapseTimer = new Stopwatch();
Timer timerCelluloPosition;
Timer timerCheckCelluloGame;
int currentTurn = 1;
bool enterBorderX = false;
bool enterBorderY = false;
bool enterBorderpolygonX = false;
bool enterBorderpolygonY = false;
bool enterBorderRectX = false;
bool enterBorderRectY = false;
bool reachendX = false;
bool reachendY = false;
bool gameoverX = false;
bool gameoverY = false;
Timer timerCelluloPositiontoserver;
// Celulo
var celluloxPosition = [0.0, 0.0];
var celluloyPosition = [0.0, 0.0];
var prevcelluloxPosition = [0.0, 0.0];
var prevcelluloyPosition = [0.0, 0.0];
var celluloxVelocity = [0.0, 0.0];
var celluloyVelocity = [0.0, 0.0];
List<double> celluloxPositiontopaint = [0.0, 0.0];
List<double> celluloyPositiontopaint = [0.0, 0.0];
bool addtoprint;
AnimationController controllerRobotPath;
Animation<double> animationRobotPath;
// Learning
List<int> mistakesSlope = [0, 0, 0];
List<int> mistakesIntrepet = [0, 0, 0];
List<int> mistakesInitialPosition = [0, 0, 0];
List<int> trapped = [0];
int scoreX = 6;
int scoreY = 6;
int trappedCircleX;
int trappedCircleY;
int trappedRectangleX;
int trappedRectangleY;
int trappedPolygonX;
int trappedPolygonY;
//Activity Dependent
double radiuosStart = 45;
String activityTitle = 'Activity 1';
var linesPath = [
'assets/images/Ac7_function1.svg',
'assets/images/Ac7_function2.svg',
'assets/images/Ac7_function3.svg',
'assets/images/GridOnlyPositive.svg',
];
List<int> progress = [0, -2, -2];
List<int> progressElpasedTime = [0, 0, 0];
int inactivity = 0;
int tapCounter = 0;
var startPoint = ['B', 'A', 'B'];
var endPoint = ['C', 'D', 'C'];
var startPointorder = [2, 0, 2];
var endPointorder = [1, 3, 1];
var pointOrder = ['A', 'B', 'C', 'D'];
static List<Offset> pointPosition = [
Offset(80, 80),
Offset(760, 80),
Offset(80, 760),
Offset(760, 760)
];
// map-related
final double mapSizeWidth = 860;
final double mapSizeHeight = 860;
double coeffScreenMapWidth;
double coeffScreenMapHeight;
final String mapPath = 'assets/images/GridOnlyPositive.svg';
var overlayPolygons = <Polygon>[
Polygon(points: [
LatLng(0.0, 0.0),
LatLng(30.0, 0.0),
LatLng(30.0, 30.0),
LatLng(0.0, 30.0)
], color: Colors.blue)
];
var mapShape = [
{
'numCircles': 4,
'originCircles': [
Offset(390, 300),
Offset(190, 170),
Offset(60, 360),
Offset(560, 690)
],
'radiuosCircles': [60.0, 70.0, 60.0, 60.0],
'numRectangles': 2,
'originRectangles': [Offset(300, 30), Offset(300, 560)],
'widthRectangles': [150.0, 100.0],
'heightRectangles': [50.0, 250.0],
- 'numPolygons': 5,
+ 'numPolygons': 2,
'sidesofPolygon': [3, 3, 5, 4, 4],
'radiusPolygon': [60.0, 70.0, 70.0, 60.0, 80.0],
'centerPolygon': [
Offset(60, 230),
Offset(600, 90),
Offset(600, 250),
Offset(600, 500),
Offset(780, 400)
],
'startCenter': pointPosition[2],
'endCenter': pointPosition[1]
},
{
'numCircles': 2,
'originCircles': [
Offset(380, 320),
Offset(160, 290),
],
'radiuosCircles': [60.0, 70.0],
'numRectangles': 3,
'originRectangles': [
Offset(100, 500),
Offset(700, 560),
Offset(500, 360)
],
'widthRectangles': [150.0, 100.0, 80.0],
'heightRectangles': [50.0, 250.0, 230.0],
- 'numPolygons': 4,
+ 'numPolygons': 2,
'sidesofPolygon': [3, 5, 4, 4],
'radiusPolygon': [70.0, 80.0, 70.0, 70.0],
'centerPolygon': [
Offset(300, 90),
Offset(600, 60),
Offset(500, 650),
Offset(780, 300)
],
'startCenter': pointPosition[0],
'endCenter': pointPosition[3]
},
{
- 'numCircles': 3,
+ 'numCircles': 2,
'originCircles': [
Offset(260, 170),
Offset(490, 560),
Offset(690, 590),
],
'radiuosCircles': [80.0, 70.0, 70.0],
'numRectangles': 2,
'originRectangles': [Offset(500, 30), Offset(350, 560)],
'widthRectangles': [150.0, 100.0],
'heightRectangles': [80.0, 300.0],
- 'numPolygons': 3,
+ 'numPolygons': 2,
'sidesofPolygon': [3, 4, 4],
'radiusPolygon': [70.0, 90.0, 80.0],
'centerPolygon': [
Offset(40, 630),
Offset(70, 390),
Offset(620, 220),
],
'startCenter': pointPosition[2],
'endCenter': pointPosition[1]
},
];
@override
void initState() {
super.initState();
dbRef.child('groups').child(group.id).child('tabletStatus').set("YES");
dbRef.child('groups').child(group.id).child('currentActivity').set("Ac1");
elapseTimer.start();
timerCelluloPosition =
new Timer.periodic(new Duration(milliseconds: 100), (time) {
if (totalRobots() > 1) {
// print(cellulox.getrobotKidnapped().toString());
// print(celluloy.getrobotKidnapped().toString());
cellulox.getrobotx().then((val) => setState(() {
if (val != null) {
celluloxPosition[0] = val;
// print(celluloxPosition[0]);
if (addtoprint == true) celluloxPositiontopaint.add(val);
}
// print(addtoprint.toString());
}));
cellulox.getroboty().then((val) => setState(() {
if (val != null) {
celluloxPosition[1] = val;
}
}));
celluloy.getrobotx().then((val) => setState(() {
if (val != null) {
celluloyPosition[0] = val;
}
}));
celluloy.getroboty().then((val) => setState(() {
if (val != null) {
celluloyPosition[1] = val;
if (addtoprint == true) celluloyPositiontopaint.add(val);
}
}));
if (celluloxPosition[0] > 800 || celluloyPosition[1] > 800) {
cellulox.setVelocity(0, 0);
celluloy.setVelocity(0, 0);
}
}
});
/*
timerCelluloPositiontoserver =
new Timer.periodic(new Duration(milliseconds: 800), (time) {
dbRef.child("celluloPosition").push().set(json.encode({
"x": celluloxPosition[0],
"y": celluloyPosition[1],
"acID": "Ac1",
"turn": currentTurn,
"groupID": group.id,
}));
});
*/
timerCheckCelluloGame =
new Timer.periodic(new Duration(milliseconds: 500), (time) {
setState(() {
checkCelluloGame(
mapShape[currentTurn - 1],
Offset((celluloxPosition[0]), (celluloxPosition[1])),
Offset(celluloxPosition[0], celluloxPosition[1]),
Offset(celluloyPosition[0], celluloyPosition[1]),
0);
checkCelluloGame(
mapShape[currentTurn - 1],
Offset((celluloyPosition[0]), (celluloyPosition[1])),
Offset(celluloxPosition[0], celluloxPosition[1]),
Offset(celluloyPosition[0], celluloyPosition[1]),
1);
});
});
onDataSend();
}
void colorRobots() {
for (int i = 0; i < 6; i++) {
cellulox.setColor(0, 0, 0, 0, 0);
}
for (int i = 0; i < scoreX; i++) {
cellulox.setColor(0, 255, 0, 1, i);
}
for (int i = 0; i < 6; i++) {
celluloy.setColor(0, 0, 0, 0, 0);
}
for (int i = 0; i < scoreY; i++) {
celluloy.setColor(0, 0, 255, 1, i);
}
}
void onDataSend() {
dbRef.child('attempts').push().set(json.encode({
"numAttempts": tapCounter,
"groupID": group.id,
"acID": "Ac1",
"elpasedTime": elapseTimer.elapsedMilliseconds -
progressElpasedTime[currentTurn - 1],
"progress": {
"turn1": progress[0],
"turn2": progress[1],
"turn3": progress[2]
},
"progressElpasedTime": {
"turn1": progressElpasedTime[0],
"turn2": progressElpasedTime[1],
"turn3": progressElpasedTime[2],
},
"currentTurn": currentTurn,
"inactivity": inactivity,
"mistakes": {
"turn1": {
"slope": mistakesSlope[0],
"initialPoint": mistakesInitialPosition[0]
},
"turn2": {
"slope": mistakesSlope[1],
"initialPoint": mistakesInitialPosition[1]
},
"turn3": {
"slope": mistakesSlope[2],
"initialPoint": mistakesInitialPosition[2]
},
}
}));
}
void checkCelluloGame(var mapShape, Offset celluloTargetPosition,
Offset celluloXPosition, Offset celluloYPosition, int id) {
var insideBorder = false;
var insideShape = false;
final double coeffHaptic = 10;
double radiuosBorder = 40;
bool enterShape = false;
var XVelocityCelluloX;
var YVelocityCelluloX;
var XVelocityCelluloY;
var YVelocityCelluloY;
double celluloXYdistances = math.sqrt(
math.pow((celluloXPosition.dx - celluloYPosition.dx), 2) +
math.pow((celluloXPosition.dy - celluloYPosition.dy), 2));
double distanceThreshold = 120;
//print(score.toString());
//print(enterBorder.toString());
if (celluloXYdistances < distanceThreshold) {
cellulox.robotVibrate(10, 10, 0, 100, 100);
celluloy.robotVibrate(10, 10, 0, 100, 100);
// cellulox.setVelocity(-celluloxVelocity[0], -celluloxVelocity[1]);
// celluloy.setVelocity(-celluloyVelocity[0], -celluloyVelocity[1]);
}
var distancePointCenter = math.sqrt(math.pow(
(celluloTargetPosition.dx - mapShape['startCenter'].dx), 2) +
math.pow((celluloTargetPosition.dy - mapShape['startCenter'].dy), 2));
if (distancePointCenter <= radiuosStart) {
if (id == 0) {
scoreX = 6;
reachendX = false;
gameoverX = false;
// onDataSend();
}
if (id == 1) {
scoreY = 6;
reachendY = false;
gameoverY = false;
// onDataSend();
}
}
if (scoreX <= 0 && gameoverX == false) {
tapCounter = tapCounter + 1;
gameoverX = true;
onDataSend();
showAlertDialog(context, 'Red Robot Does not have energy',
'Tell your friend with Red Robot to go start point');
}
if (scoreY <= 0 && gameoverY == false) {
tapCounter = tapCounter + 1;
onDataSend();
gameoverY = true;
showAlertDialog(context, 'BLue Robot Does not have energy',
'Tell your friend with Blue Robot to go start point');
}
var distancePointEnd = math.sqrt(
math.pow((celluloTargetPosition.dx - mapShape['endCenter'].dx), 2) +
math.pow((celluloTargetPosition.dy - mapShape['endCenter'].dy), 2));
if (distancePointEnd <= radiuosStart) {
if (id == 0 && reachendX == false) {
// scoreX = -1;
showAlertDialog(context, 'Red Robot reached the goal point',
'Tell your friend to start again or when both robots reached the end, you can go to next turn.');
onDataSend();
reachendX = true;
}
if (id == 1 && reachendY == false) {
showAlertDialog(context, 'Blue Robot reached the goal point',
'Tell your friend to start again or when both robots reached the end, you can go to next turn.');
onDataSend();
reachendY = true;
}
}
print('enterX' + enterBorderX.toString());
for (int i = 0; i < mapShape['numCircles']; i++) {
var distancePointCenter = math.sqrt(math.pow(
(celluloTargetPosition.dx - mapShape['originCircles'][i].dx), 2) +
math.pow(
(celluloTargetPosition.dy - mapShape['originCircles'][i].dy), 2));
if (distancePointCenter <=
mapShape['radiuosCircles'][i] + radiuosBorder) {
insideBorder = true;
XVelocityCelluloX = coeffHaptic *
(celluloXPosition.dx - mapShape['originCircles'][i].dx);
YVelocityCelluloX = coeffHaptic *
(celluloXPosition.dy - mapShape['originCircles'][i].dy);
XVelocityCelluloY = coeffHaptic *
(celluloYPosition.dx - mapShape['originCircles'][i].dx);
YVelocityCelluloY = coeffHaptic *
(celluloYPosition.dy - mapShape['originCircles'][i].dy);
if (id == 0) cellulox.setVelocity(XVelocityCelluloX, YVelocityCelluloX);
if (id == 1) celluloy.setVelocity(XVelocityCelluloY, YVelocityCelluloY);
if (id == 0) {
if (enterBorderX == false) {
scoreX = scoreX - 1;
enterBorderX = true;
}
trappedCircleX = i;
}
if (id == 1) {
if (enterBorderY == false) {
scoreY = scoreY - 1;
enterBorderY = true;
}
trappedCircleY = i;
}
break;
} else if (id == 0 && i == trappedCircleX) {
enterBorderX = false;
} else if (id == 1 && i == trappedCircleY) {
enterBorderY = false;
}
/*
insideBorder = false;
if (distancePointCenter <= mapShape['radiuosCircles'][i]) {
insideShape = true;
} else {
insideShape = false;
enterShape = false;
}
if (insideShape == true) {
if (enterShape == false) {
score = score - 1;
enterShape = true;
}
}
*/
}
for (int i = 0; i < mapShape['numRectangles']; i++) {
if ((Rect.fromCenter(
center: Offset(mapShape['originRectangles'][i].dx,
mapShape['originRectangles'][i].dy),
width: mapShape['widthRectangles'][i],
height: mapShape['heightRectangles'][i])
.contains(celluloTargetPosition) ==
true)) {
insideBorder = true;
XVelocityCelluloX = coeffHaptic *
(celluloXPosition.dx - mapShape['originRectangles'][i].dx);
YVelocityCelluloX = coeffHaptic *
(celluloXPosition.dy - mapShape['originRectangles'][i].dy);
XVelocityCelluloY = coeffHaptic *
(celluloYPosition.dx - mapShape['originRectangles'][i].dx);
YVelocityCelluloY = coeffHaptic *
(celluloYPosition.dy - mapShape['originRectangles'][i].dy);
if (id == 0) cellulox.setVelocity(XVelocityCelluloX, YVelocityCelluloX);
if (id == 1) celluloy.setVelocity(XVelocityCelluloY, YVelocityCelluloY);
if (id == 0) {
if (enterBorderRectX == false) {
scoreX = scoreX - 1;
enterBorderRectX = true;
}
trappedRectangleX = i;
}
if (id == 1) {
if (enterBorderRectY == false) {
scoreY = scoreY - 1;
enterBorderRectY = true;
}
trappedRectangleY = i;
}
break;
} else if (id == 0 && i == trappedRectangleX) {
enterBorderRectX = false;
} else if (id == 1 && i == trappedRectangleY) {
enterBorderRectY = false;
}
// if (id == 0) cellulox.clearrobot();
//if (id == 1) celluloy.clearrobot();
}
for (int i = 0; i < mapShape['numPolygons']; i++) {
var distancePointCenter = math.sqrt(math.pow(
(celluloTargetPosition.dx - mapShape['centerPolygon'][i].dx), 2) +
math.pow(
(celluloTargetPosition.dy - mapShape['centerPolygon'][i].dy), 2));
if (distancePointCenter <= mapShape['radiusPolygon'][i] + radiuosBorder) {
insideBorder = true;
XVelocityCelluloX = coeffHaptic *
(celluloXPosition.dx - mapShape['centerPolygon'][i].dx);
YVelocityCelluloX = coeffHaptic *
(celluloXPosition.dy - mapShape['centerPolygon'][i].dy);
XVelocityCelluloY = coeffHaptic *
(celluloYPosition.dx - mapShape['centerPolygon'][i].dx);
YVelocityCelluloY = coeffHaptic *
(celluloYPosition.dy - mapShape['centerPolygon'][i].dy);
if (id == 0) cellulox.setVelocity(XVelocityCelluloX, YVelocityCelluloX);
if (id == 1) celluloy.setVelocity(XVelocityCelluloY, YVelocityCelluloY);
if (id == 0) {
if (enterBorderpolygonX == false) {
scoreX = scoreX - 1;
enterBorderpolygonX = true;
}
trappedPolygonX = i;
}
if (id == 1) {
if (enterBorderpolygonY == false) {
scoreY = scoreY - 1;
enterBorderpolygonY = true;
}
trappedPolygonY = i;
}
break;
} else if (id == 0 && i == trappedPolygonX) {
enterBorderpolygonX = false;
} else if (id == 1 && i == trappedPolygonY) {
enterBorderpolygonY = false;
}
}
if (enterBorderX == false &&
enterBorderRectX == false &&
enterBorderpolygonX == false &&
id == 0) cellulox.clearrobot();
if (enterBorderY == false &&
enterBorderRectY == false &&
enterBorderpolygonY == false &&
id == 1) celluloy.clearrobot();
colorRobots();
/*
/*
/*
insideBorder = false;
if (distancePointCenter <= mapShape['radiuosCircles'][i]) {
insideShape = true;
} else {
insideShape = false;
enterShape = false;
}
if (insideShape == true) {
if (enterShape == false) {
score = score - 1;
enterShape = true;
}
}
*/
if (id == 0) cellulox.clearrobot();
if (id == 1) celluloy.clearrobot();
}
*/
}
*/
}
void calcVelocity() {
celluloxVelocity[0] = celluloxPosition[0] - prevcelluloxPosition[0];
celluloxVelocity[1] = celluloxPosition[1] - prevcelluloxPosition[1];
celluloyVelocity[0] = celluloyPosition[0] - prevcelluloyPosition[0];
celluloyVelocity[1] = celluloyPosition[1] - prevcelluloyPosition[1];
prevcelluloxPosition = celluloxPosition;
prevcelluloyPosition = celluloyPosition;
}
@override
void dispose() {
cellulox.resetrobot();
celluloy.resetrobot();
timerCelluloPosition.cancel();
timerCheckCelluloGame.cancel();
elapseTimer.stop();
super.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Avoid the hidden obstacles'),
),
backgroundColor: Colors.white,
body: SingleChildScrollView(
child: Column(children: <Widget>[
Row(mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[
Container(
height: 100,
width: 600,
child: Stack(children: <Widget>[
Card(
child: ListTile(
title: Text('Guide your friedns to go from ' +
startPoint[currentTurn - 1].toString() +
' to ' +
endPoint[currentTurn - 1].toString()),
),
)
])),
SizedBox(width: 20),
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(100)),
color: Colors.blue),
child: FlatButton(
child: Text(
"Next Turn",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w700,
fontSize: 18),
),
onPressed: () => {
tapCounter = 0,
if (currentTurn <= 2)
{
setState(() {
currentTurn = currentTurn + 1;
}),
progress[currentTurn - 2] = 1,
// controller.reset(),
progress[currentTurn - 1] = 0,
onDataSend(),
}
else
{
progress[2] = 1,
onDataSend(),
showAlertDialog(
context, 'Wait for teacher', 'Game has finished! '),
},
},
)),
]),
SizedBox(
height: 50,
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(100)),
// color: Colors.blue
),
child: Stack(
children: <Widget>[
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: CustomPaint(
//size: Size(200, 200),
painter:
//LinePainter2(celluloxPositiontopaint, celluloyPositiontopaint),
MapShapeMaker(
MediaQuery.of(context).size.width *
0.9 /
mapSizeWidth,
MediaQuery.of(context).size.height *
0.65 /
mapSizeHeight,
mapShape[currentTurn - 1]['numRectangles'],
mapShape[currentTurn - 1]['originRectangles'],
mapShape[currentTurn - 1]['widthRectangles'],
mapShape[currentTurn - 1]['heightRectangles'],
mapShape[currentTurn - 1]['numCircles'],
mapShape[currentTurn - 1]['originCircles'],
mapShape[currentTurn - 1]['radiuosCircles'],
mapShape[currentTurn - 1]['numPolygons'],
mapShape[currentTurn - 1]['sidesofPolygon'],
mapShape[currentTurn - 1]['radiusPolygon'],
mapShape[currentTurn - 1]['centerPolygon'],
mapShape[currentTurn - 1]['startCenter'],
mapShape[currentTurn - 1]['endCenter']),
),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 * ((celluloxPosition[0]) / mapSizeWidth) - 1,
2 * ((celluloxPosition[1]) / mapSizeHeight) - 1),
child: Card(
child: SvgPicture.asset("assets/images/celluloRed.svg",
height: 60, width: 60),
),
),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 * ((celluloyPosition[0]) / mapSizeWidth) - 1,
2 * ((celluloyPosition[1]) / mapSizeHeight) - 1),
child: Card(
child: SvgPicture.asset("assets/images/celluloBlue.svg",
height: 60, width: 60),
),
),
),
],
)),
SizedBox(
height: 45,
),
MembersBar(),
])));
}
}
diff --git a/student/lib/Activities/Ac2.dart b/student/lib/Activities/Ac2.dart
index f8e94fd..5c45b94 100644
--- a/student/lib/Activities/Ac2.dart
+++ b/student/lib/Activities/Ac2.dart
@@ -1,640 +1,640 @@
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:student/widgets/mapShapeMaker.dart';
import 'package:student/widgets/onlineRobotMap.Dart';
import 'package:student/widgets/celluloMap.Dart';
import 'dart:async';
import 'dart:convert';
import 'package:student/Database.dart';
import 'package:student/model/Group.dart';
import 'package:student/model/Cellulo.dart';
import 'package:student/widgets/showAlertDialog.Dart';
import 'package:student/widgets/membersBar.Dart';
import 'package:student/widgets/inactivityDetector.Dart';
import 'package:flutter_appavailability/flutter_appavailability.dart';
import 'package:student/widgets/ShapePainter.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:student/widgets/checkCelluloGame.dart';
import 'package:audioplayer/audioplayer.dart';
import 'package:tip_dialog/tip_dialog.dart';
import 'dart:math' as math;
class Ac2 extends StatefulWidget {
Ac2({Key key}) : super(key: key);
@override
_Ac2State createState() => _Ac2State();
}
class _Ac2State extends State<Ac2> {
// Activity_Independent
var elapseTimer = new Stopwatch();
Timer timerCelluloPosition;
Timer timerCelluloPositiontoserver;
Timer timerCheckCelluloGame;
int currentTurn = 1;
int inactivity = 0;
int tapCounter = 0;
List<int> progress = [0, -2, -2];
List<int> progressElpasedTime = [0, 0, 0];
// Celulo
var celluloxPosition = [0.0, 0.0];
var celluloyPosition = [0.0, 0.0];
List<double> celluloxPositiontopaint = [0.0, 0.0];
List<double> celluloyPositiontopaint = [0.0, 0.0];
bool addtoprint;
Animation<double> animationRobotPath;
// Learning
List<int> gameScore = [0, 0, 0];
List<int> celluloEnergy = [6, 6, 6];
List<int> mistakesSlope = [0, 0, 0];
List<int> mistakesIntrepet = [0, 0, 0];
List<int> mistakesInitialPosition = [0, 0, 0];
int score = 6;
//Activity Dependent
bool enterBorderX = false;
bool enterBorderY = false;
bool enterBorderpolygonX = false;
bool enterBorderpolygonY = false;
bool enterBorderRectX = false;
bool enterBorderRectY = false;
int scoreX = 6;
int scoreY = 6;
int trappedCircleX;
int trappedCircleY;
int trappedRectangleX;
int trappedRectangleY;
int trappedPolygonX;
int trappedPolygonY;
bool reachendY = false;
bool gameoverY = false;
String activityTitle = 'Activity 2';
var linesPath = [
'assets/images/Ac7_function1.svg',
'assets/images/Ac7_function2.svg',
'assets/images/Ac7_function3.svg',
'assets/images/GridOnlyPositive.svg',
];
var startPoint = ['B', 'A', 'B'];
var endPoint = ['C', 'D', 'C'];
var startPointorder = [2, 0, 2];
var endPointorder = [1, 3, 1];
var pointOrder = ['A', 'B', 'C', 'D'];
static List<Offset> pointPosition = [
Offset(80, 80),
Offset(760, 80),
Offset(80, 760),
Offset(760, 760)
];
// map-related
double radiuosStart = 45;
//final Offset startPoint = new Offset(0.0, 0.0);
//inal Offset endPoint = new Offset(0.0, 0.0);
final double mapSizeWidth = 860;
final double mapSizeHeight = 860;
final String mapPath = 'assets/images/GridOnlyPositive.svg';
double coeffScreenMapWidth;
double coeffScreenMapHeight;
var mapShape = [
{
'numCircles': 0,
'originCircles': [
Offset(390, 300),
Offset(160, 70),
Offset(60, 360),
Offset(560, 690)
],
'radiuosCircles': [60.0, 50.0, 50.0, 40.0],
- 'numRectangles': 5,
+ 'numRectangles': 3,
'originRectangles': [
Offset(300, 30),
Offset(200, 560),
Offset(400, 760),
Offset(780, 460),
Offset(650, 500)
],
'widthRectangles': [150.0, 100.0, 50.0, 100.0, 100.0],
'heightRectangles': [50.0, 250.0, 300.0, 50.0, 100.0],
- 'numPolygons': 4,
+ 'numPolygons': 2,
'sidesofPolygon': [4, 4, 4, 4],
'radiusPolygon': [70.0, 70.0, 50.0, 60.0, 50.0],
'centerPolygon': [
Offset(60, 280),
Offset(500, 140),
Offset(600, 200),
Offset(500, 500),
Offset(680, 400)
],
'startCenter': pointPosition[2],
'endCenter': pointPosition[1]
},
{
'numCircles': 0,
'originCircles': [
Offset(390, 300),
Offset(160, 70),
Offset(60, 360),
Offset(560, 690)
],
'radiuosCircles': [60.0, 50.0, 50.0, 40.0],
- 'numRectangles': 4,
+ 'numRectangles': 2,
'originRectangles': [
Offset(300, 30),
Offset(300, 560),
Offset(500, 560),
Offset(750, 360)
],
'widthRectangles': [
150.0,
100.0,
50.0,
150.0,
],
'heightRectangles': [50.0, 250.0, 250.0, 300.0],
- 'numPolygons': 4,
+ 'numPolygons': 2,
'sidesofPolygon': [4, 4, 4, 4],
'radiusPolygon': [80.0, 60.0, 50.0, 60.0],
'centerPolygon': [
Offset(100, 330),
Offset(600, 90),
Offset(500, 200),
Offset(400, 350),
],
'startCenter': pointPosition[0],
'endCenter': pointPosition[3]
},
{
'numCircles': 0,
'originCircles': [
Offset(390, 300),
Offset(160, 70),
Offset(60, 360),
Offset(560, 690)
],
'radiuosCircles': [60.0, 50.0, 50.0, 40.0],
'numRectangles': 3,
'originRectangles': [Offset(350, 70), Offset(300, 560), Offset(700, 520)],
'widthRectangles': [350.0, 300.0, 100.0],
'heightRectangles': [50.0, 250.0, 100.0],
'numPolygons': 3,
'sidesofPolygon': [4, 4, 4],
'radiusPolygon': [100.0, 60.0, 70.0],
'centerPolygon': [
Offset(80, 230),
Offset(650, 190),
Offset(400, 250),
],
'startCenter': pointPosition[2],
'endCenter': pointPosition[1]
},
];
@override
void initState() {
super.initState();
dbRef.child('groups').child(group.id).child('tabletStatus').set("YES");
dbRef.child('groups').child(group.id).child('currentActivity').set("Ac2");
elapseTimer.start();
// coeffScreenMapHeight =
// MediaQuery.of(context).size.width * 0.9 / mapSizeWidth;
// coeffScreenMapHeight =
// MediaQuery.of(context).size.height * 0.9 / mapSizeHeight;
timerCelluloPosition =
new Timer.periodic(new Duration(milliseconds: 500), (time) {
if (totalRobots() > 1) {
cellulox.getrobotx().then((val) => setState(() {
if (val != null) {
celluloxPosition[0] = val;
print(celluloxPosition[0]);
if (addtoprint == true) celluloxPositiontopaint.add(val);
}
// print(addtoprint.toString());
}));
cellulox.getroboty().then((val) => setState(() {
if (val != null) {
celluloxPosition[1] = val;
}
}));
celluloy.getrobotx().then((val) => setState(() {
if (val != null) {
celluloyPosition[0] = val;
}
}));
celluloy.getroboty().then((val) => setState(() {
if (val != null) {
celluloyPosition[1] = val;
if (addtoprint == true) celluloyPositiontopaint.add(val);
}
}));
if (celluloxPosition[0] > 800 || celluloyPosition[1] > 800) {
cellulox.setVelocity(0, 0);
celluloy.setVelocity(0, 0);
}
}
});
timerCelluloPositiontoserver =
new Timer.periodic(new Duration(milliseconds: 2800), (time) {
dbRef.child("celluloPosition").push().set(json.encode({
"x": celluloxPosition[0],
"y": celluloyPosition[1],
"acID": "Ac2",
"turn": currentTurn,
"groupID": group.id,
}));
});
timerCheckCelluloGame =
new Timer.periodic(new Duration(milliseconds: 500), (time) {
checkCelluloGame(
mapShape[currentTurn - 1],
Offset((celluloxPosition[0] + celluloyPosition[0]) / 2,
(celluloxPosition[1] + celluloyPosition[1]) / 2),
Offset(celluloxPosition[0], celluloxPosition[1]),
Offset(celluloyPosition[0], celluloyPosition[1]),
1);
});
}
void checkCelluloGame(var mapShape, Offset celluloTargetPosition,
Offset celluloXPosition, Offset celluloYPosition, int id) {
var insideBorder = false;
var insideShape = false;
final double coeffHaptic = 10;
double radiuosBorder = 40;
bool enterShape = false;
var XVelocityCelluloX;
var YVelocityCelluloX;
var XVelocityCelluloY;
var YVelocityCelluloY;
double celluloXYdistances = math.sqrt(
math.pow((celluloXPosition.dx - celluloYPosition.dx), 2) +
math.pow((celluloXPosition.dy - celluloYPosition.dy), 2));
double distanceThreshold = 120;
//print(score.toString());
//print(enterBorder.toString());
if (celluloXYdistances < distanceThreshold) {
cellulox.robotVibrate(10, 10, 0, 100, 100);
celluloy.robotVibrate(10, 10, 0, 100, 100);
// cellulox.setVelocity(-celluloxVelocity[0], -celluloxVelocity[1]);
// celluloy.setVelocity(-celluloyVelocity[0], -celluloyVelocity[1]);
}
var distancePointCenter = math.sqrt(math.pow(
(celluloTargetPosition.dx - mapShape['startCenter'].dx), 2) +
math.pow((celluloTargetPosition.dy - mapShape['startCenter'].dy), 2));
if (distancePointCenter <= radiuosStart) {
scoreX = 6;
scoreY = 6;
}
if (scoreY <= 0 && gameoverY == false) {
tapCounter = tapCounter + 1;
onDataSend();
gameoverY = true;
showAlertDialog(context, 'BLue Robot Does not have energy',
'Tell your friend with Blue Robot to go start point');
}
var distancePointEnd = math.sqrt(
math.pow((celluloTargetPosition.dx - mapShape['endCenter'].dx), 2) +
math.pow((celluloTargetPosition.dy - mapShape['endCenter'].dy), 2));
if (distancePointEnd <= radiuosStart) {
tapCounter = tapCounter + 1;
onDataSend();
showAlertDialog(context, 'Blue Robot reached the goal point',
'Tell your friend to start again or when both robots reached the end, you can go to next turn.');
}
for (int i = 0; i < mapShape['numRectangles']; i++) {
if ((Rect.fromCenter(
center: Offset(mapShape['originRectangles'][i].dx,
mapShape['originRectangles'][i].dy),
width: mapShape['widthRectangles'][i],
height: mapShape['heightRectangles'][i])
.contains(celluloTargetPosition) ==
true)) {
insideBorder = true;
XVelocityCelluloX = coeffHaptic *
(celluloTargetPosition.dx - mapShape['originRectangles'][i].dx);
YVelocityCelluloX = coeffHaptic *
(celluloTargetPosition.dy - mapShape['originRectangles'][i].dy);
XVelocityCelluloY = coeffHaptic *
(celluloTargetPosition.dx - mapShape['originRectangles'][i].dx);
YVelocityCelluloY = coeffHaptic *
(celluloTargetPosition.dy - mapShape['originRectangles'][i].dy);
cellulox.setVelocity(XVelocityCelluloX, YVelocityCelluloX);
celluloy.setVelocity(XVelocityCelluloY, YVelocityCelluloY);
if (enterBorderRectY == false) {
scoreY = scoreY - 1;
scoreX = scoreX - 1;
enterBorderRectY = true;
}
trappedRectangleY = i;
break;
} else if (i == trappedRectangleY) {
enterBorderRectY = false;
}
// if (id == 0) cellulox.clearrobot();
//if (id == 1) celluloy.clearrobot();
}
for (int i = 0; i < mapShape['numPolygons']; i++) {
var distancePointCenter = math.sqrt(math.pow(
(celluloTargetPosition.dx - mapShape['centerPolygon'][i].dx), 2) +
math.pow(
(celluloTargetPosition.dy - mapShape['centerPolygon'][i].dy), 2));
if (distancePointCenter <= mapShape['radiusPolygon'][i] + radiuosBorder) {
insideBorder = true;
XVelocityCelluloX = coeffHaptic *
(celluloTargetPosition.dx - mapShape['centerPolygon'][i].dx);
YVelocityCelluloX = coeffHaptic *
(celluloTargetPosition.dy - mapShape['centerPolygon'][i].dy);
XVelocityCelluloY = coeffHaptic *
(celluloTargetPosition.dx - mapShape['centerPolygon'][i].dx);
YVelocityCelluloY = coeffHaptic *
(celluloTargetPosition.dy - mapShape['centerPolygon'][i].dy);
cellulox.setVelocity(XVelocityCelluloX, YVelocityCelluloX);
celluloy.setVelocity(XVelocityCelluloY, YVelocityCelluloY);
if (enterBorderpolygonY == false) {
scoreY = scoreY - 1;
scoreX = scoreX - 1;
enterBorderpolygonY = true;
}
trappedPolygonY = i;
break;
} else if (i == trappedPolygonY) {
enterBorderpolygonY = false;
}
}
if (enterBorderY == false &&
enterBorderRectY == false &&
enterBorderpolygonY == false &&
id == 1) {
cellulox.clearrobot();
celluloy.clearrobot();
}
colorRobots();
/*
/*
/*
insideBorder = false;
if (distancePointCenter <= mapShape['radiuosCircles'][i]) {
insideShape = true;
} else {
insideShape = false;
enterShape = false;
}
if (insideShape == true) {
if (enterShape == false) {
score = score - 1;
enterShape = true;
}
}
*/
if (id == 0) cellulox.clearrobot();
if (id == 1) celluloy.clearrobot();
}
*/
}
*/
}
void colorRobots() {
for (int i = 0; i < 6; i++) {
cellulox.setColor(0, 0, 0, 0, 0);
}
for (int i = 0; i < scoreX; i++) {
cellulox.setColor(0, 255, 0, 1, i);
}
for (int i = 0; i < 6; i++) {
celluloy.setColor(0, 0, 0, 0, 0);
}
for (int i = 0; i < scoreY; i++) {
celluloy.setColor(0, 0, 255, 1, i);
}
}
@override
void dispose() {
timerCelluloPosition.cancel();
timerCheckCelluloGame.cancel();
elapseTimer.stop();
super.dispose();
}
void onDataSend() {
dbRef.child('attempts').push().set(json.encode({
"numAttempts": tapCounter,
"groupID": group.id,
"acID": "Ac2",
"elpasedTime": elapseTimer.elapsedMilliseconds -
progressElpasedTime[currentTurn - 1],
"progress": {
"turn1": progress[0],
"turn2": progress[1],
"turn3": progress[2]
},
"progressElpasedTime": {
"turn1": progressElpasedTime[0],
"turn2": progressElpasedTime[1],
"turn3": progressElpasedTime[2],
},
"currentTurn": currentTurn,
"inactivity": inactivity,
"mistakes": {
"turn1": {
"slope": mistakesSlope[0],
"initialPoint": mistakesInitialPosition[0]
},
"turn2": {
"slope": mistakesSlope[1],
"initialPoint": mistakesInitialPosition[1]
},
"turn3": {
"slope": mistakesSlope[2],
"initialPoint": mistakesInitialPosition[2]
},
}
}));
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Avoid the hidden obstacles'),
),
backgroundColor: Colors.white,
body: SingleChildScrollView(
child: Column(children: <Widget>[
Row(mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[
Container(
height: 100,
width: 600,
child: Stack(children: <Widget>[
Card(
child: ListTile(
title: Text('Guide your friedns to go from ' +
startPoint[currentTurn - 1].toString() +
' to ' +
endPoint[currentTurn - 1].toString()),
),
)
])),
SizedBox(width: 20),
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(100)),
color: Colors.blue),
child: FlatButton(
child: Text(
"Next Turn",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w700,
fontSize: 18),
),
onPressed: () => {
tapCounter = 0,
if (currentTurn <= 2)
{
setState(() {
currentTurn = currentTurn + 1;
}),
progress[currentTurn - 2] = 1,
// controller.reset(),
progress[currentTurn - 1] = 0,
onDataSend(),
}
else
{
progress[2] = 1,
onDataSend(),
showAlertDialog(
context, 'Wait for teacher', 'Game has finished! '),
},
},
)),
]),
SizedBox(
height: 50,
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
decoration: BoxDecoration(
// borderRadius: BorderRadius.all(Radius.circular(100)),
// color: Colors.blue
),
child: Stack(
children: <Widget>[
CustomPaint(
//size: Size(200, 200),
painter:
//LinePainter2(celluloxPositiontopaint, celluloyPositiontopaint),
MapShapeMaker(
MediaQuery.of(context).size.width *
0.9 /
mapSizeWidth,
MediaQuery.of(context).size.height *
0.65 /
mapSizeHeight,
mapShape[currentTurn - 1]['numRectangles'],
mapShape[currentTurn - 1]['originRectangles'],
mapShape[currentTurn - 1]['widthRectangles'],
mapShape[currentTurn - 1]['heightRectangles'],
mapShape[currentTurn - 1]['numCircles'],
mapShape[currentTurn - 1]['originCircles'],
mapShape[currentTurn - 1]['radiuosCircles'],
mapShape[currentTurn - 1]['numPolygons'],
mapShape[currentTurn - 1]['sidesofPolygon'],
mapShape[currentTurn - 1]['radiusPolygon'],
mapShape[currentTurn - 1]['centerPolygon'],
mapShape[currentTurn - 1]['startCenter'],
mapShape[currentTurn - 1]['endCenter']),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 *
((celluloxPosition[0] + celluloyPosition[0]) /
2 /
mapSizeWidth) -
1,
2 *
((celluloxPosition[1] + celluloyPosition[1]) /
2 /
mapSizeHeight) -
1),
child: Card(
child: SvgPicture.asset(
"assets/images/celluloPurple.svg",
height: 60,
width: 60),
),
),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 * ((celluloxPosition[0]) / mapSizeWidth) - 1,
2 * ((celluloxPosition[1]) / mapSizeHeight) - 1),
child: Card(
child: SvgPicture.asset("assets/images/celluloRed.svg",
height: 60, width: 60),
),
),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 * ((celluloyPosition[0]) / mapSizeWidth) - 1,
2 * ((celluloyPosition[1]) / mapSizeHeight) - 1),
child: Card(
child: SvgPicture.asset("assets/images/celluloBlue.svg",
height: 60, width: 60),
),
),
),
],
)),
SizedBox(
height: 75,
),
MembersBar(),
])));
}
}
diff --git a/student/lib/Activities/Ac3.dart b/student/lib/Activities/Ac3.dart
index a15f191..8c023b5 100644
--- a/student/lib/Activities/Ac3.dart
+++ b/student/lib/Activities/Ac3.dart
@@ -1,567 +1,568 @@
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:student/widgets/onlineRobotMap.Dart';
import 'dart:async';
import 'dart:convert';
import 'package:student/Database.dart';
import 'package:student/model/Group.dart';
import 'package:student/model/Cellulo.dart';
import 'package:student/widgets/showAlertDialog.Dart';
import 'package:student/widgets/membersBar.Dart';
import 'package:student/widgets/inactivityDetector.Dart';
import 'package:flutter_appavailability/flutter_appavailability.dart';
import 'package:student/widgets/mapShapeMaker.dart';
import 'package:audioplayer/audioplayer.dart';
import 'package:tip_dialog/tip_dialog.dart';
import 'dart:math' as math;
class Ac3 extends StatefulWidget {
Ac3({Key key}) : super(key: key);
@override
_Ac3State createState() => _Ac3State();
}
class _Ac3State extends State<Ac3> {
// Activity_Independent
int currentTurn = 1;
var elapseTimer = new Stopwatch();
AnimationController controllerRobotPath;
Animation<double> animationRobotPath;
Timer timerCelluloPosition;
Timer timerCheckCelluloGame;
Timer timerCelluloPositiontoserver;
// Celulo
var celluloxPosition = [0.0, 0.0];
var celluloyPosition = [0.0, 0.0];
// Learning
List<int> progress = [0, -2, -2];
int tapCounter = 0;
List<int> progressElpasedTime = [0, 0, 0];
int inactivity = 0;
List<int> mistakesSlope = [0, 0, 0];
List<int> mistakesIntrepet = [0, 0, 0];
List<int> mistakesInitialPosition = [0, 0, 0];
// ACTIVITY Dependent
bool enterBorderX = false;
bool enterBorderY = false;
bool enterBorderpolygonX = false;
bool enterBorderpolygonY = false;
bool enterBorderRectX = false;
bool enterBorderRectY = false;
int scoreX = 6;
int scoreY = 6;
int trappedCircleX;
int trappedCircleY;
int trappedRectangleX;
int trappedRectangleY;
int trappedPolygonX;
int trappedPolygonY;
bool reachendY = false;
bool gameoverY = false;
final double mapSizeWidth = 860;
final double mapSizeHeight = 860;
double coeffScreenMapWidth;
double coeffScreenMapHeight;
var startPoint = ['B', 'A', 'B'];
var endPoint = ['C', 'D', 'C'];
var startPointorder = [2, 0, 2];
var endPointorder = [1, 3, 1];
double radiuosStart = 45;
var pointOrder = ['A', 'B', 'C', 'D'];
static List<Offset> pointPosition = [
Offset(80, 80),
Offset(760, 80),
Offset(80, 760),
Offset(760, 760)
];
var mapShape = [
{
'numCircles': 0,
'originCircles': [Offset(0, 0)],
'radiuosCircles': [0.0],
'numRectangles': 7,
'originRectangles': [
Offset(300, 30),
Offset(100, 560),
Offset(600, 630),
Offset(780, 360),
Offset(300, 300),
Offset(500, 260),
Offset(300, 560)
],
'widthRectangles': [150.0, 100.0, 50.0, 80.0, 150.0, 100.0, 100.0],
'heightRectangles': [70.0, 100.0, 200.0, 300.0, 40.0, 300.0, 200.0],
'numPolygons': 0,
'sidesofPolygon': [0],
'radiusPolygon': [0.0],
'centerPolygon': [Offset(0, 0)],
'startCenter': pointPosition[2],
'endCenter': pointPosition[1]
},
{
'numCircles': 0,
'originCircles': [Offset(0, 0)],
'radiuosCircles': [0.0],
'numRectangles': 6,
'originRectangles': [
Offset(690, 430),
Offset(500, 560),
Offset(430, 130),
Offset(300, 760),
Offset(100, 230),
Offset(100, 460)
],
'widthRectangles': [150.0, 100.0, 200.0, 100.0, 210.0, 210.0],
'heightRectangles': [150.0, 250.0, 50.0, 250.0, 50.0, 300.0],
'numPolygons': 0,
'sidesofPolygon': [3, 3, 5, 4, 4],
'radiusPolygon': [30.0, 40.0, 40.0, 40.0, 50.0],
'centerPolygon': [
Offset(40, 130),
Offset(700, 90),
Offset(600, 200),
Offset(600, 500),
Offset(780, 400)
],
'startCenter': pointPosition[0],
'endCenter': pointPosition[3]
},
{
'numCircles': 0,
'originCircles': [Offset(0, 0)],
'radiuosCircles': [0.0],
'numRectangles': 7,
'originRectangles': [
Offset(300, 130),
Offset(500, 460),
Offset(750, 530),
Offset(600, 130),
Offset(600, 730),
Offset(100, 530),
Offset(350, 460)
],
'widthRectangles': [160.0, 90.0, 150.0, 100.0, 150.0, 300.0, 50.0],
'heightRectangles': [130.0, 270.0, 150.0, 250.0, 100.0, 70.0, 250.0],
'numPolygons': 0,
'sidesofPolygon': [0],
'radiusPolygon': [0.0],
'centerPolygon': [Offset(0, 0)],
'startCenter': pointPosition[2],
'endCenter': pointPosition[1]
},
];
var mapShapeScreen;
@override
void initState() {
super.initState();
dbRef.child('groups').child(group.id).child('tabletStatus').set("YES");
dbRef.child('groups').child(group.id).child('currentActivity').set("Ac3");
elapseTimer.start();
timerCelluloPositiontoserver =
new Timer.periodic(new Duration(milliseconds: 2800), (time) {
dbRef.child("celluloPosition").push().set(json.encode({
"x": celluloxPosition[0],
"y": celluloyPosition[1],
"acID": "Ac3",
"turn": currentTurn,
"groupID": group.id,
}));
});
timerCelluloPosition =
new Timer.periodic(new Duration(milliseconds: 500), (time) {
if (totalRobots() > 1) {
cellulox.getrobotx().then((val) => setState(() {
if (val != null) {
celluloxPosition[0] = val;
print(celluloxPosition[0]);
// if (addtoprint == true) celluloxPositiontopaint.add(val);
}
// print(addtoprint.toString());
}));
cellulox.getroboty().then((val) => setState(() {
if (val != null) {
celluloxPosition[1] = val;
}
}));
celluloy.getrobotx().then((val) => setState(() {
if (val != null) {
celluloyPosition[0] = val;
}
}));
celluloy.getroboty().then((val) => setState(() {
if (val != null) {
celluloyPosition[1] = val;
// if (addtoprint == true) celluloyPositiontopaint.add(val);
}
}));
if (celluloxPosition[0] > 800 || celluloyPosition[1] > 800) {
cellulox.setVelocity(0, 0);
celluloy.setVelocity(0, 0);
}
}
});
timerCheckCelluloGame =
new Timer.periodic(new Duration(milliseconds: 500), (time) {
checkCelluloGame(
mapShape[currentTurn - 1],
Offset((celluloxPosition[0] + celluloyPosition[0]) / 2,
(celluloxPosition[1] + celluloyPosition[1]) / 2),
Offset(celluloxPosition[0], celluloxPosition[1]),
Offset(celluloyPosition[0], celluloyPosition[1]),
1);
});
}
void checkCelluloGame(var mapShape, Offset celluloTargetPosition,
Offset celluloXPosition, Offset celluloYPosition, int id) {
var insideBorder = false;
var insideShape = false;
final double coeffHaptic = 10;
double radiuosBorder = 40;
bool enterShape = false;
var XVelocityCelluloX;
var YVelocityCelluloX;
var XVelocityCelluloY;
var YVelocityCelluloY;
double celluloXYdistances = math.sqrt(
math.pow((celluloXPosition.dx - celluloYPosition.dx), 2) +
math.pow((celluloXPosition.dy - celluloYPosition.dy), 2));
double distanceThreshold = 120;
//print(score.toString());
//print(enterBorder.toString());
if (celluloXYdistances < distanceThreshold) {
cellulox.robotVibrate(10, 10, 0, 100, 100);
celluloy.robotVibrate(10, 10, 0, 100, 100);
// cellulox.setVelocity(-celluloxVelocity[0], -celluloxVelocity[1]);
// celluloy.setVelocity(-celluloyVelocity[0], -celluloyVelocity[1]);
}
var distancePointCenter = math.sqrt(math.pow(
(celluloTargetPosition.dx - mapShape['startCenter'].dx), 2) +
math.pow((celluloTargetPosition.dy - mapShape['startCenter'].dy), 2));
if (distancePointCenter <= radiuosStart) {
scoreY = 6;
scoreX = 6;
gameoverY = false;
reachendY = false;
}
if (scoreY <= 0 && gameoverY == false) {
tapCounter = tapCounter + 1;
onDataSend();
gameoverY = true;
showAlertDialog(context, 'BLue Robot Does not have energy',
'Tell your friend with Blue Robot to go start point');
}
+
var distancePointEnd = math.sqrt(
math.pow((celluloTargetPosition.dx - mapShape['endCenter'].dx), 2) +
math.pow((celluloTargetPosition.dy - mapShape['endCenter'].dy), 2));
if (distancePointEnd <= radiuosStart && reachendY == false) {
// scoreX = -1;
reachendY = true;
tapCounter = tapCounter + 1;
onDataSend();
showAlertDialog(context, 'Your Robot reached the goal point',
'Tell your friend to start again or you can go to next turn.');
}
for (int i = 0; i < mapShape['numRectangles']; i++) {
if ((Rect.fromCenter(
center: Offset(mapShape['originRectangles'][i].dx,
mapShape['originRectangles'][i].dy),
width: mapShape['widthRectangles'][i],
height: mapShape['heightRectangles'][i])
.contains(celluloTargetPosition) ==
true)) {
insideBorder = true;
XVelocityCelluloX = coeffHaptic *
(celluloXPosition.dx - mapShape['originRectangles'][i].dx);
YVelocityCelluloX = coeffHaptic *
(celluloXPosition.dy - mapShape['originRectangles'][i].dy);
XVelocityCelluloY = coeffHaptic *
(celluloYPosition.dx - mapShape['originRectangles'][i].dx);
YVelocityCelluloY = coeffHaptic *
(celluloYPosition.dy - mapShape['originRectangles'][i].dy);
cellulox.setVelocity(XVelocityCelluloX, 0);
celluloy.setVelocity(0, YVelocityCelluloY);
if (enterBorderRectY == false) {
scoreY = scoreY - 1;
scoreX = scoreX - 1;
enterBorderRectY = true;
}
trappedRectangleY = i;
break;
} else if (id == 1 && i == trappedRectangleY) {
enterBorderRectY = false;
}
// if (id == 0) cellulox.clearrobot();
//if (id == 1) celluloy.clearrobot();
}
if (enterBorderY == false &&
enterBorderRectY == false &&
enterBorderpolygonY == false) {
cellulox.clearrobot();
celluloy.clearrobot();
}
colorRobots();
/*
/*
/*
insideBorder = false;
if (distancePointCenter <= mapShape['radiuosCircles'][i]) {
insideShape = true;
} else {
insideShape = false;
enterShape = false;
}
if (insideShape == true) {
if (enterShape == false) {
score = score - 1;
enterShape = true;
}
}
*/
if (id == 0) cellulox.clearrobot();
if (id == 1) celluloy.clearrobot();
}
*/
}
*/
}
void colorRobots() {
for (int i = 0; i < 6; i++) {
cellulox.setColor(0, 0, 0, 0, 0);
}
for (int i = 0; i < scoreX; i++) {
cellulox.setColor(0, 255, 0, 1, i);
}
for (int i = 0; i < 6; i++) {
celluloy.setColor(0, 0, 0, 0, 0);
}
for (int i = 0; i < scoreY; i++) {
celluloy.setColor(0, 0, 255, 1, i);
}
}
@override
void dispose() {
elapseTimer.stop();
super.dispose();
timerCelluloPosition.cancel(); //
// timerCheckCelluloGame.cancel();
}
void onDataSend() {
dbRef.child('attempts').push().set(json.encode({
"numAttempts": tapCounter,
"groupID": group.id,
"acID": "Ac3",
"elpasedTime": elapseTimer.elapsedMilliseconds -
progressElpasedTime[currentTurn - 1],
"progress": {
"turn1": progress[0],
"turn2": progress[1],
"turn3": progress[2]
},
"progressElpasedTime": {
"turn1": progressElpasedTime[0],
"turn2": progressElpasedTime[1],
"turn3": progressElpasedTime[2],
},
"currentTurn": currentTurn,
"inactivity": inactivity,
"mistakes": {
"turn1": {
"slope": mistakesSlope[0],
"initialPoint": mistakesInitialPosition[0]
},
"turn2": {
"slope": mistakesSlope[1],
"initialPoint": mistakesInitialPosition[1]
},
"turn3": {
"slope": mistakesSlope[2],
"initialPoint": mistakesInitialPosition[2]
},
}
}));
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Avoid the hidden obstacles'),
),
backgroundColor: Colors.white,
body: SingleChildScrollView(
child: Column(children: <Widget>[
Row(mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[
Container(
height: 100,
width: 600,
child: Stack(children: <Widget>[
Card(
child: ListTile(
title: Text('Guide your friedns to go from ' +
startPoint[currentTurn - 1].toString() +
' to ' +
endPoint[currentTurn - 1].toString()),
),
),
])),
SizedBox(
width: 15,
),
SizedBox(width: 20),
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(100)),
color: Colors.blue),
child: FlatButton(
child: Text(
"Next Turn",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w700,
fontSize: 18),
),
onPressed: () => {
tapCounter = 0,
if (currentTurn <= 2)
{
setState(() {
currentTurn = currentTurn + 1;
}),
progress[currentTurn - 2] = 1,
// controller.reset(),
progress[currentTurn - 1] = 0,
onDataSend(),
}
else
{
progress[2] = 1,
onDataSend(),
showAlertDialog(
context, 'Wait for teacher', 'Game has finished! '),
},
},
),
)
]),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(100)),
// color: Colors.blue
),
child: Stack(
children: <Widget>[
CustomPaint(
//size: Size(200, 200),
painter:
//LinePainter2(celluloxPositiontopaint, celluloyPositiontopaint),
MapShapeMaker(
MediaQuery.of(context).size.width *
0.9 /
mapSizeWidth,
MediaQuery.of(context).size.height *
0.65 /
mapSizeHeight,
mapShape[currentTurn - 1]['numRectangles'],
mapShape[currentTurn - 1]['originRectangles'],
mapShape[currentTurn - 1]['widthRectangles'],
mapShape[currentTurn - 1]['heightRectangles'],
mapShape[currentTurn - 1]['numCircles'],
mapShape[currentTurn - 1]['originCircles'],
mapShape[currentTurn - 1]['radiuosCircles'],
mapShape[currentTurn - 1]['numPolygons'],
mapShape[currentTurn - 1]['sidesofPolygon'],
mapShape[currentTurn - 1]['radiusPolygon'],
mapShape[currentTurn - 1]['centerPolygon'],
mapShape[currentTurn - 1]['startCenter'],
mapShape[currentTurn - 1]['endCenter']),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 *
((celluloxPosition[0] + celluloyPosition[0]) /
2 /
mapSizeWidth) -
1,
2 *
((celluloxPosition[1] + celluloyPosition[1]) /
2 /
mapSizeHeight) -
1),
child: Card(
child: SvgPicture.asset(
"assets/images/celluloPurple.svg",
height: 60,
width: 60),
),
),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 * ((celluloxPosition[0]) / mapSizeWidth) - 1,
2 * ((celluloxPosition[1]) / mapSizeHeight) - 1),
child: Card(
child: SvgPicture.asset("assets/images/celluloRed.svg",
height: 60, width: 60),
),
),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 * ((celluloyPosition[0]) / mapSizeWidth) - 1,
2 * ((celluloyPosition[1]) / mapSizeHeight) - 1),
child: Card(
child: SvgPicture.asset("assets/images/celluloBlue.svg",
height: 60, width: 60),
),
),
)
],
)),
SizedBox(
height: 55,
),
MembersBar(),
])));
}
}
diff --git a/student/lib/Activities/Ac4.dart b/student/lib/Activities/Ac4.dart
index 6e80f0c..4d4f76b 100644
--- a/student/lib/Activities/Ac4.dart
+++ b/student/lib/Activities/Ac4.dart
@@ -1,449 +1,530 @@
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:student/widgets/onlineRobotMap.Dart';
import 'dart:async';
import 'dart:convert';
import 'package:student/Database.dart';
import 'package:student/model/Group.dart';
import 'package:student/model/Cellulo.dart';
import 'package:student/widgets/showAlertDialog.Dart';
import 'package:student/widgets/membersBar.Dart';
import 'package:student/widgets/inactivityDetector.Dart';
import 'package:flutter_appavailability/flutter_appavailability.dart';
import 'package:student/widgets/bezierCurvePainter.dart';
import 'package:bezier/bezier.dart';
import 'package:student/widgets/mapShapeMaker.dart';
import 'package:bezier/bezier.dart';
-import "dart:math";
+import "dart:math" as math;
import "package:vector_math/vector_math.dart" as vector;
class Ac4 extends StatefulWidget {
Ac4({Key key}) : super(key: key);
@override
_Ac4State createState() => _Ac4State();
}
class _Ac4State extends State<Ac4> {
// Activity_Independent
int currentTurn = 1;
var elapseTimer = new Stopwatch();
AnimationController controllerRobotPath;
Animation<double> animationRobotPath;
Timer timerCelluloPosition;
// Celulo
var celluloxPosition = [0.0, 0.0];
var celluloyPosition = [0.0, 0.0];
var xHaptic;
var yHaptic;
// Learning
-
+ bool gameover = false;
+ int score = 6;
+ bool outofborder = false;
+ bool reachend = false;
+ double radiuosStart = 45;
List<int> mistakesSlope = [0, 0, 0];
List<int> mistakesIntrepet = [0, 0, 0];
List<int> mistakesInitialPosition = [0, 0, 0];
int tapCounter = 0;
List<int> progress = [0, -2, -2];
List<int> progressElpasedTime = [0, 0, 0];
//Activity Dependent
final double mapSizeWidth = 860;
final double mapSizeHeight = 860;
static List<Offset> pointPosition = [
Offset(80, 80),
Offset(760, 80),
Offset(80, 760),
Offset(760, 760)
];
var midddlePoint1 = [
Offset(291.1, 176.2),
Offset(110.2, 632.8),
Offset(610.2, 732.8)
];
var midddlePoint2 = [
Offset(410.2, 532.8),
Offset(356, 357),
Offset(110.2, 232.8)
];
var mapShape = [
{
'numCircles': 0,
'originCircles': [Offset(0, 0)],
'radiuosCircles': [0.0],
'numRectangles': 0,
'originRectangles': [
Offset(300, 30),
Offset(100, 560),
Offset(600, 630),
Offset(780, 360),
Offset(300, 300),
Offset(500, 260),
Offset(300, 560)
],
'widthRectangles': [150.0, 100.0, 50.0, 80.0, 150.0, 100.0, 100.0],
'heightRectangles': [70.0, 100.0, 200.0, 300.0, 40.0, 300.0, 200.0],
'numPolygons': 0,
'sidesofPolygon': [0],
'radiusPolygon': [0.0],
'centerPolygon': [Offset(0, 0)],
'startCenter': pointPosition[2],
'endCenter': pointPosition[1]
},
{
'numCircles': 0,
'originCircles': [Offset(0, 0)],
'radiuosCircles': [0.0],
'numRectangles': 0,
'originRectangles': [
Offset(690, 430),
Offset(500, 560),
Offset(430, 130),
Offset(300, 760),
Offset(100, 230),
Offset(100, 460)
],
'widthRectangles': [150.0, 100.0, 200.0, 100.0, 210.0, 210.0],
'heightRectangles': [150.0, 250.0, 50.0, 250.0, 50.0, 300.0],
'numPolygons': 0,
'sidesofPolygon': [3, 3, 5, 4, 4],
'radiusPolygon': [30.0, 40.0, 40.0, 40.0, 50.0],
'centerPolygon': [
Offset(40, 130),
Offset(700, 90),
Offset(600, 200),
Offset(600, 500),
Offset(780, 400)
],
'startCenter': pointPosition[0],
'endCenter': pointPosition[3]
},
{
'numCircles': 0,
'originCircles': [Offset(0, 0)],
'radiuosCircles': [0.0],
'numRectangles': 0,
'originRectangles': [
Offset(300, 130),
Offset(500, 460),
Offset(750, 530),
Offset(600, 130),
Offset(600, 730),
Offset(100, 530),
Offset(350, 460)
],
'widthRectangles': [160.0, 90.0, 150.0, 100.0, 150.0, 300.0, 50.0],
'heightRectangles': [130.0, 270.0, 150.0, 250.0, 100.0, 70.0, 250.0],
'numPolygons': 0,
'sidesofPolygon': [0],
'radiusPolygon': [0.0],
'centerPolygon': [Offset(0, 0)],
'startCenter': pointPosition[2],
'endCenter': pointPosition[1]
},
];
void onDataSend() {
dbRef.child('attempts').push().set(json.encode({
"numAttempts": tapCounter,
"groupID": group.id,
"acID": "Ac4",
"elpasedTime": elapseTimer.elapsedMilliseconds -
progressElpasedTime[currentTurn - 1],
"progress": {
"turn1": progress[0],
"turn2": progress[1],
"turn3": progress[2]
},
"progressElpasedTime": {
"turn1": progressElpasedTime[0],
"turn2": progressElpasedTime[1],
"turn3": progressElpasedTime[2],
},
"currentTurn": currentTurn,
// "inactivity": inactivity,
"mistakes": {
"turn1": {
"slope": mistakesSlope[0],
"initialPoint": mistakesInitialPosition[0]
},
"turn2": {
"slope": mistakesSlope[1],
"initialPoint": mistakesInitialPosition[1]
},
"turn3": {
"slope": mistakesSlope[2],
"initialPoint": mistakesInitialPosition[2]
},
}
}));
}
void calcHaptic() {
Offset beginpath = mapShape[currentTurn - 1]['startCenter'];
Offset endpath = mapShape[currentTurn - 1]['endCenter'];
-
final curve = new CubicBezier([
new vector.Vector2(beginpath.dx, beginpath.dy),
new vector.Vector2(
midddlePoint1[currentTurn - 1].dx, midddlePoint1[currentTurn - 1].dy),
new vector.Vector2(
midddlePoint2[currentTurn - 1].dx, midddlePoint2[currentTurn - 1].dy),
new vector.Vector2(endpath.dx, endpath.dy)
]);
var tHaptic = curve.nearestTValue(new vector.Vector2(
(celluloxPosition[0] + celluloyPosition[0]) / 2,
(celluloxPosition[1] + celluloyPosition[1]) / 2));
var xyHaptic = curve.pointAt(tHaptic);
print('thaptic' + tHaptic.toString());
print('xyhaptic' + xyHaptic.toString());
cellulox.setGoalPosition(2 * xyHaptic[0].toDouble() - celluloyPosition[0],
celluloxPosition[1], 150);
celluloy.setGoalPosition(celluloyPosition[0],
2 * xyHaptic[1].toDouble() - celluloxPosition[1], 150);
- /*
- var slopeHaptic = -1 / linesSlope[currentTurn - 1];
- var initialHaptic = (originCoordinates[1] - celluloyPosition[1]) / 100 -
- slopeHaptic * (celluloxPosition[0] - originCoordinates[0]) / 100;
- // print('initialhaptic' + initialHaptic.toString());
- setState(() {
- xHaptic = (initialHaptic - initialPoint[currentTurn - 1]) /
- (linesSlope[currentTurn - 1] - slopeHaptic);
- yHaptic = ((linesSlope[currentTurn - 1]) * xHaptic +
- initialPoint[currentTurn - 1]);
- });
- // print('xcelluloy' + xcelluloy.toDouble().toString());
-// print('yhaptic' + yHaptic.toString());
- // print('xhaptic' + xHaptic.toString());
- cellulox.setGoalPosition(
- xHaptic * 100 + originCoordinates[0], xcelluloy.toDouble(), 150);
- celluloy.setGoalPosition(
- ycellulox.toDouble(), originCoordinates[1] - (100 * yHaptic), 150);
- */
+
+ var distancePointCurve = math.sqrt(math.pow(
+ ((celluloxPosition[0] + celluloyPosition[0]) / 2 - beginpath.dx),
+ 2) +
+ math.pow(
+ ((celluloxPosition[1] + celluloyPosition[1]) / 2 - beginpath.dy),
+ 2));
+
+/*
+ if (scoret> 50 && outofborder==false) {outofborder=true;
+ timeStart = new Date().getTime();
+ // console.log(timeStart)
+ }
+ var timeNow = new Date().getTime();
+
+ //console.log( timeNow- timeStart)
+ if (outofborder==true && timeNow- timeStart < 3000 && scoret < 10 )
+ {
+ outofborder=false;
+ // console.log("outofbordrfalse")
+ }
+
+ if (outofborder==true && timeNow- timeStart > 3000 ) {
+outofborder=false;
+ score=score-1;
+
+//console.log("battey reduced")
+ }
+*/
}
@override
void initState() {
super.initState();
cellulox.setColor(0, 255, 0, 0, 0);
-
celluloy.setColor(0, 0, 255, 0, 0);
dbRef.child('groups').child(group.id).child('tabletStatus').set("YES");
dbRef.child('groups').child(group.id).child('currentActivity').set("Ac4");
timerCelluloPosition =
- new Timer.periodic(new Duration(milliseconds: 500), (time) {
+ new Timer.periodic(new Duration(milliseconds: 200), (time) {
if (totalRobots() > 1) {
cellulox.getrobotx().then((val) => setState(() {
if (val != null) {
celluloxPosition[0] = val;
print('dddd' + celluloxPosition[0].toString());
// if (addtoprint == true) celluloxPositiontopaint.add(val);
}
// print(addtoprint.toString());
}));
cellulox.getroboty().then((val) => setState(() {
if (val != null) {
celluloxPosition[1] = val;
}
}));
celluloy.getrobotx().then((val) => setState(() {
if (val != null) {
celluloyPosition[0] = val;
}
}));
celluloy.getroboty().then((val) => setState(() {
if (val != null) {
celluloyPosition[1] = val;
// if (addtoprint == true) celluloyPositiontopaint.add(val);
}
}));
if (celluloxPosition[0] > 800 || celluloyPosition[1] > 800) {
cellulox.setVelocity(0, 0);
celluloy.setVelocity(0, 0);
}
}
//if (runHaptic == true) {
calcHaptic();
+ checkCelluloGame();
});
elapseTimer.start();
onDataSend();
}
+ void checkCelluloGame() {
+ Offset beginpath = mapShape[currentTurn - 1]['startCenter'];
+ Offset endpath = mapShape[currentTurn - 1]['endCenter'];
+
+ double celluloXYdistances = math.sqrt(
+ math.pow((celluloxPosition[0] - celluloyPosition[0]), 2) +
+ math.pow((celluloxPosition[1] - celluloyPosition[1]), 2));
+ double distanceThreshold = 120;
+ //print(score.toString());
+ //print(enterBorder.toString());
+
+ if (celluloXYdistances < distanceThreshold) {
+ cellulox.robotVibrate(10, 10, 0, 100, 100);
+ celluloy.robotVibrate(10, 10, 0, 100, 100);
+ // cellulox.setVelocity(-celluloxVelocity[0], -celluloxVelocity[1]);
+ // celluloy.setVelocity(-celluloyVelocity[0], -celluloyVelocity[1]);
+ }
+ var distancePointCenter = math.sqrt(math.pow(
+ ((celluloxPosition[0] + celluloyPosition[0]) / 2 - beginpath.dx),
+ 2) +
+ math.pow(
+ ((celluloxPosition[1] + celluloyPosition[1]) / 2 - beginpath.dy),
+ 2));
+ if (distancePointCenter <= radiuosStart) {
+ score = 6;
+ gameover = false;
+ reachend = false;
+ }
+
+ if (score <= 0 && gameover == false) {
+ tapCounter = tapCounter + 1;
+ onDataSend();
+ gameover = true;
+ showAlertDialog(context, 'Your Robot Does not have energy',
+ 'Tell your friend to go start point to get energy');
+ }
+
+ var distancePointEnd = math.sqrt(math.pow(
+ ((celluloxPosition[0] + celluloyPosition[0]) / 2 - endpath.dx), 2) +
+ math.pow(
+ ((celluloxPosition[1] + celluloyPosition[1]) / 2 - endpath.dy), 2));
+ if (distancePointEnd <= radiuosStart && reachend == false) {
+ // scoreX = -1;
+ reachend = true;
+ tapCounter = tapCounter + 1;
+ onDataSend();
+ showAlertDialog(context, 'Your Robot reached the goal point',
+ 'Tell your friend to start again or you can go to next turn.');
+ }
+ colorRobots();
+ }
+
+ void colorRobots() {
+ for (int i = 0; i < 6; i++) {
+ cellulox.setColor(0, 0, 0, 0, 0);
+ }
+ for (int i = 0; i < score; i++) {
+ cellulox.setColor(0, 255, 0, 1, i);
+ }
+
+ for (int i = 0; i < 6; i++) {
+ celluloy.setColor(0, 0, 0, 0, 0);
+ }
+ for (int i = 0; i < score; i++) {
+ celluloy.setColor(0, 0, 255, 1, i);
+ }
+ }
+
@override
void dispose() {
elapseTimer.stop();
timerCelluloPosition.cancel(); //
super.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Follow the Line'),
),
backgroundColor: Colors.white,
body: SingleChildScrollView(
child: Column(children: <Widget>[
Row(mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[
Container(
height: 100,
width: 600,
child: Stack(children: <Widget>[
Card(
child: ListTile(
title: Text('Try to follow the curve. '),
),
),
])),
SizedBox(
width: 15,
),
SizedBox(width: 20),
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(100)),
color: Colors.blue),
child: FlatButton(
child: Text(
"Next Turn",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w700,
fontSize: 18),
),
onPressed: () => {
tapCounter = 0,
if (currentTurn <= 2)
{
setState(() {
currentTurn = currentTurn + 1;
}),
progress[currentTurn - 2] = 1,
// controller.reset(),
progress[currentTurn - 1] = 0,
onDataSend(),
}
else
{
progress[2] = 1,
onDataSend(),
showAlertDialog(
context, 'Wait for teacher', 'Game has finished! '),
},
},
),
)
]),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(100)),
// color: Colors.blue
),
child: Stack(
children: <Widget>[
CustomPaint(
//size: Size(200, 200),
painter:
//LinePainter2(celluloxPositiontopaint, celluloyPositiontopaint),
MapShapeMaker(
MediaQuery.of(context).size.width *
0.9 /
mapSizeWidth,
MediaQuery.of(context).size.height *
0.65 /
mapSizeHeight,
mapShape[currentTurn - 1]['numRectangles'],
mapShape[currentTurn - 1]['originRectangles'],
mapShape[currentTurn - 1]['widthRectangles'],
mapShape[currentTurn - 1]['heightRectangles'],
mapShape[currentTurn - 1]['numCircles'],
mapShape[currentTurn - 1]['originCircles'],
mapShape[currentTurn - 1]['radiuosCircles'],
mapShape[currentTurn - 1]['numPolygons'],
mapShape[currentTurn - 1]['sidesofPolygon'],
mapShape[currentTurn - 1]['radiusPolygon'],
mapShape[currentTurn - 1]['centerPolygon'],
mapShape[currentTurn - 1]['startCenter'],
mapShape[currentTurn - 1]['endCenter']),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 *
((celluloxPosition[0] + celluloyPosition[0]) /
2 /
mapSizeWidth) -
1,
2 *
((celluloxPosition[1] + celluloyPosition[1]) /
2 /
mapSizeHeight) -
1),
child: Card(
child: SvgPicture.asset(
"assets/images/celluloPurple.svg",
height: 60,
width: 60),
),
),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 * ((celluloxPosition[0]) / mapSizeWidth) - 1,
2 * ((celluloxPosition[1]) / mapSizeHeight) - 1),
child: Card(
child: SvgPicture.asset("assets/images/celluloRed.svg",
height: 60, width: 60),
),
),
),
Container(
width: MediaQuery.of(context).size.width * 0.9,
height: MediaQuery.of(context).size.height * 0.65,
child: Align(
alignment: Alignment(
2 * ((celluloyPosition[0]) / mapSizeWidth) - 1,
2 * ((celluloyPosition[1]) / mapSizeHeight) - 1),
child: Card(
child: SvgPicture.asset("assets/images/celluloBlue.svg",
height: 60, width: 60),
),
),
),
CustomPaint(
//size: Size(200, 200),
painter: BezierCurvePainter(
mapShape[currentTurn - 1]['startCenter'],
mapShape[currentTurn - 1]['endCenter'],
MediaQuery.of(context).size.width *
0.9 /
mapSizeWidth,
MediaQuery.of(context).size.height *
0.65 /
mapSizeHeight,
currentTurn)
//LinePainter2(celluloxPositiontopaint, celluloyPositiontopaint),
),
],
)),
SizedBox(
height: 15,
),
MembersBar(),
])));
}
}

Event Timeline