commit 14b8ae24fa5cb1b9621a268511ba45b4d21e58df Author: 编码猿 Date: Fri Sep 27 01:01:17 2024 +0800 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..403adbc --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +.DS_Store +node_modules +/dist + + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.pydio b/.pydio new file mode 100644 index 0000000..92a450e --- /dev/null +++ b/.pydio @@ -0,0 +1 @@ +0ea07af1-bc07-4e6c-b1ab-60bf9415113c \ No newline at end of file diff --git a/dependent/.pydio b/dependent/.pydio new file mode 100644 index 0000000..4b47313 --- /dev/null +++ b/dependent/.pydio @@ -0,0 +1 @@ +15438fe5-b271-4bab-921a-9f27f632e057 \ No newline at end of file diff --git a/dependent/SocketRocket/.pydio b/dependent/SocketRocket/.pydio new file mode 100644 index 0000000..61ea3cc --- /dev/null +++ b/dependent/SocketRocket/.pydio @@ -0,0 +1 @@ +0686e910-791a-43b7-815e-fbabaa49e281 \ No newline at end of file diff --git a/dependent/SocketRocket/libSocketRocket.a b/dependent/SocketRocket/libSocketRocket.a new file mode 100644 index 0000000..015f3d6 Binary files /dev/null and b/dependent/SocketRocket/libSocketRocket.a differ diff --git a/dependent/Sparkle/.pydio b/dependent/Sparkle/.pydio new file mode 100644 index 0000000..b787719 --- /dev/null +++ b/dependent/Sparkle/.pydio @@ -0,0 +1 @@ +2562a390-8a5b-48a7-a8a6-f3ccc76ce765 \ No newline at end of file diff --git a/dependent/Sparkle/Sparkle.framework.dSYM/.pydio b/dependent/Sparkle/Sparkle.framework.dSYM/.pydio new file mode 100644 index 0000000..3d1eebc --- /dev/null +++ b/dependent/Sparkle/Sparkle.framework.dSYM/.pydio @@ -0,0 +1 @@ +4a40c545-d88c-4a35-8d8d-27b23578b3f9 \ No newline at end of file diff --git a/dependent/Sparkle/Sparkle.framework.dSYM/Contents/.pydio b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/.pydio new file mode 100644 index 0000000..824e268 --- /dev/null +++ b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/.pydio @@ -0,0 +1 @@ +af4fe108-0088-4283-9b20-09cf14651105 \ No newline at end of file diff --git a/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Info.plist b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Info.plist new file mode 100644 index 0000000..04826e8 --- /dev/null +++ b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.org.sparkle-project.Sparkle + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.27.1 + CFBundleVersion + 1.106 + + diff --git a/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/.pydio b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/.pydio new file mode 100644 index 0000000..006ef65 --- /dev/null +++ b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/.pydio @@ -0,0 +1 @@ +b5b1e5e0-492d-42b6-bffa-a7ad266745d2 \ No newline at end of file diff --git a/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/DWARF/.pydio b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/DWARF/.pydio new file mode 100644 index 0000000..ed519e4 --- /dev/null +++ b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/DWARF/.pydio @@ -0,0 +1 @@ +fce3d5ae-86ec-41a0-a83c-4d46c083b996 \ No newline at end of file diff --git a/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/DWARF/Sparkle b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/DWARF/Sparkle new file mode 100644 index 0000000..3c0610c Binary files /dev/null and b/dependent/Sparkle/Sparkle.framework.dSYM/Contents/Resources/DWARF/Sparkle differ diff --git a/uebersicht-code/.gitignore b/uebersicht-code/.gitignore new file mode 100755 index 0000000..72a4fd3 --- /dev/null +++ b/uebersicht-code/.gitignore @@ -0,0 +1,25 @@ +# Xcode +.DS_Store +/build/ +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +*.xcworkspace +!default.xcworkspace +xcuserdata +profile +*.moved-aside +DerivedData +.idea/ + +server/node_modules + +# build files +server/release/server.js +server/release/public/client.js +server/release/node_modules diff --git a/uebersicht-code/.gitmodules b/uebersicht-code/.gitmodules new file mode 100755 index 0000000..f65e8fe --- /dev/null +++ b/uebersicht-code/.gitmodules @@ -0,0 +1,3 @@ +[submodule "SocketRocket"] + path = SocketRocket + url = https://github.com/square/SocketRocket.git diff --git a/uebersicht-code/.prettierrc b/uebersicht-code/.prettierrc new file mode 100755 index 0000000..3cd2a31 --- /dev/null +++ b/uebersicht-code/.prettierrc @@ -0,0 +1,6 @@ +{ + "trailingComma": "all", + "bracketSpacing": false, + "arrowParens": "always", + "singleQuote": true +} diff --git a/uebersicht-code/.pydio b/uebersicht-code/.pydio new file mode 100644 index 0000000..8596ca6 --- /dev/null +++ b/uebersicht-code/.pydio @@ -0,0 +1 @@ +928a3811-afca-4423-b581-fd03ec123269 \ No newline at end of file diff --git a/uebersicht-code/.travis.yml b/uebersicht-code/.travis.yml new file mode 100755 index 0000000..9296155 --- /dev/null +++ b/uebersicht-code/.travis.yml @@ -0,0 +1,15 @@ +os: osx +language: node_js + +# Add new versions to test here +node_js: + - 10 + +before_install: + - cd server + +install: + - npm install + +script: + - npm test diff --git a/uebersicht-code/ClassicWidgets.md b/uebersicht-code/ClassicWidgets.md new file mode 100755 index 0000000..805923f --- /dev/null +++ b/uebersicht-code/ClassicWidgets.md @@ -0,0 +1,268 @@ +# Übersicht +*Keep an eye on what's happening on your machine and in the world.* + +For general info check out the [Übersicht website.](http://tracesof.net/uebersicht) + +## Writing Widgets + +In essence, widgets are plain JavaScript objects that define a few key properties and methods. They need to be defined in a single file with a `.js` or `.coffee` extension for Übersicht to pick them up. Übersicht will listen to file changes inside your widget directory, so you can edit widgets and see the result live. + +You can also include node modules and split your widget into separate files using [NodeJS' module syntax](https://www.sitepoint.com/understanding-module-exports-exports-node-js/). Any file that is in a directory called `/node_modules`, `/lib` or `/src` will be treated as a module and will not show up as a separate widget. + +Currently they are best written in [CoffeeScript](http://coffeescript.org). Plain JS widgets work as well, but it currently doesn't have CommonJS support. This documentation will use the CoffeScript syntax, but here is a small example widget [in pure JavaScript](https://gist.github.com/felixhageloh/34645a899a0f22f583bb). As an alternative, you could use CoffeScript's back-tick ` operator to only write the relevant parts in JavaScript. + +The following properties and methods are currently supported: + + +### command + +A **string** containing the shell command to be executed, or +a **function(callback)** which eventually calls callback with some data. +For example: + +```coffeescript +command: "echo Hello World" +``` + +Watch out for quotes inside commands. Often they need to properly escaped, like: + +```coffeescript +command: "ps axo \"rss,pid,ucomm\" | sort -nr | head -n3" +``` + +Example using a command function: + +```coffeescript +command: (callback) -> + # example function that fetches data from a server + fetchData 'some/url', (error, data) -> + callback(error, data) +``` + +The first and only argument passed to a command function is a callback, which must be called to continue running the widget. It follows the standard NodeJS [error-first callback pattern](http://fredkschott.com/post/2014/03/understanding-error-first-callbacks-in-node-js/). + + +### refreshFrequency + +An **integer** specifying how often the above command is executed. It defines the delay in milliseconds between consecutive commands executions. Example: + +```coffeescript +refreshFrequency: 10000 +``` + +You can also specify `refreshFrequency` as a string, like '2 days', '1d', '10h', '2.5 hrs', '2h', '1m', or '5s'. + +```coffeescript +refreshFrequency: '10s' # equates to 10000 +``` + +The default is 1000 (1s). If set to `false` the widget won't refresh automatically. + +### style + +A **string** defining the css style of this widget, which is also used to control the position. In order to allow for easy scoping of CSS rules, styles are written using the [Stylus](http://learnboost.github.io/stylus/) preprocessor. Example: + +```coffeescript +style: """ + top: 0 + left: 0 + color: #fff + + .some-class + box-shadow: 0 0 2px rgba(#000, 0.1) +""" +``` + +For convenience, the [nib library](https://tj.github.io/nib/) for Stylus is included, so mixins for CSS3 are available. + +Note that widgets are positioned absolute in relation to the screen (minus the menu bar), so a widget with `top: 0` and `left: 0` will be positioned in the top left corner of the screen, just below the menu bar. + + +### render : output + +A **function** returning a HTML string to render this widget. It gets the output of `command` passed in as a string. For example, a widget with: + +```coffeescript +command: "echo Hello World!" + +render: (output) -> """ +

#{output}

+""" +``` + +would render as **Hello World!**. Usually, your `output` will be something more complicated, for example a JSON string, so you will have to parse it first. + +The default implementation of render just returns `output`. + +### afterRender : domEl + +A **function** that gets called, as the name suggests, after `render` with a reference to our newly rendered DOM element. It can be used to do one time setups that you wouldn't want to do on every update. + + +### update : output, domEl + +A **function** implementing update behavior of this widget. If specified, `render` will be called once when the widget is first initialized. Afterwards, update will be called for every refresh cycle. If no update method is provided, `render` will be called instead. + +Since `render` will simply replace the inner HTML of a widget every time, you can use render to do a partial update of your widgets, kick off animations etc. For example, if the output of your command returns a percentage, you could do something like: + +```coffeescript +# we don't care about output here +render: (_) -> """ +
+""" + +update: (output, domEl) -> + $(domEl).find('.bar').css height: output+'%' +``` + +This will set the height of .bar every time this widget refreshes. As you can see, jQuery is available. + +## Widget Internals + +For writing more advanced widgets you might not want to rely on the standard 'run command, then redraw' cycle and instead manage some of the widget internals yourself. There are a few methods you can use from within `render`, `afterRender` and `update` + +### @stop() + +Stop the widget from updating if a `refreshFrequency` is set. The widget won't update until `@start` is called. + +### @start() + +Start updating a previously stopped widget again. Does nothing if `refreshFrequency` is set to `false`. + +### @refresh() + +Runs the command and redraws the widget as it normally would as part of a refresh cycle. If no command is set, the widget will only redraw. + +### @run(command, callback) + +Runs a shell command and calls callback with the result. Command is a string containing the shell command, just like the `command` property of a widget. Callback is called with err (if any) and stdout, in standard node fashion. + +## Geolocation API + +While the WebView used by Übersicht seems to provide the standard HTML5 geolocation API, it is not functional and there seems to be no way to enable it. Übersicht now provides a custom implementation, which tries to follow the standard implementation as closely as possible. However, so far it provides only the basics and might still be somewehat unstable. The api can be found under `window.geolocation` (instead of `window.navigator.geolocation`). And supports the following methods + +```coffeescript +geolocation.getCurrentPosition(callback) +``` + +```coffeescript +geolocation.watchPosition(callback) +``` + +```coffeescript +geolocation.clearWatch(watchId) +``` + +Check the [documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation) for details on how to use these methods. The main difference to the standard API is that none of them accept options (the accuracy for position data is always set to the highest) and error reporting has not be implemented yet. + +However, in a adition to the standard `Position` object provided by the standard API, Übersicht provides an extra `address` property with the following fields: + + - Street + - City + - ZIP + - Country + - State + - CountryCode + + +## Hosted Functionality + +A global object called `uebersicht` exists which exposes extra functionality that is typically not available in a browser. At the moment it is very limited: + + +### uebersicht.makeBgSlice(canvas) + +Has been deprecated as of version 0.8 in favor of -webkit-backdrop-filter. It should be available on all systems that have Safari 9+ installed. https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter + +## Built In Proxy Server + +If you like you make Ajax requests to an external site without using a command, you can make use of the built in proxy server. It is running on `http://127.0.0.1:41417` and can be used as follows: + + command: (callback) -> + proxy = "http://127.0.0.1:41417/" + server = "http://example.com:8080" + path = "/getsomejson" + $.get proxy + server + path, (json) -> + callback null, json + +## Scripting Support + +Übersicht has AppleScript support since version 1.1.45. To get detailed information on what you can script, open the Script Editor and add Übersicht to the Library (use Window -> Library to show). Here are a few examples of what you can do with AppleScript: + + tell application "Übersicht" to refresh + +refreshes all widgets. + + tell application "Übersicht" to refresh widget id "my-widget" + +refreshes widget with id "my-widget". + + tell application "Übersicht" to every widget + +lists all widgets. + + tell application "Übersicht" to set hidden of widget id "top-cpu-coffee" to false + +hides the widget with ID "top-cpu-coffee" + +### Typing the umlaut 'Ü' + +Unfortunately OS X seems to use a different UTF-8 code point for the Ü in its file system than you get by typing it normally (or by copy pasting it from here). There are three ways you can get the correct character: + +- use the Script Editor of OS X and add Übersicht to its library. Once you initiate a new script via the Editor it will contain the correct name of the app. +- while Übersicht is running, list the process using `ps ax | grep sicht` and copy paste the name from there +- rename the app to whatever you like ('Uebersicht' would be the correct spelling without using the umlaut) + +## Building Übersicht + +To build Übersicht you will need to have NodeJS and a few dependencies installed: + +### setup + +Install node and npm using homebrew + + brew install node + +then run + + npm install + +### git and unicode characters + +Git might not like the umlaut (ü) in some of the path names and will constantly show them as untracked files. To get rid of this issue, I had to use + + git config core.precomposeunicode false + +However, the common advice is to set this to `true`. It might depend on the OS and git version which one to use. + +### building + +The code base consists of two parts, a cocoa app and a NodeJS app inside `server/`. To build the node app seperately, use `npm run release`. This happens automatically every time you build using XCode. + +The node app can be run standalone using + +```coffeescript +coffee server/server.coffee -d -p +``` + +# Building in Xcode + +The first time opening the project in Xcode you might see this message when trying to build: "The run destination My Mac is not valid for Running the scheme 'Übersicht'." + +Click on `Uebersicht` in the project navigator and then select the menu `Editor > Validate Settings...` and click `Perform Changes`. + +You can then attempt to build, you may then be presented with code sign issues, click `Fix Issue` to continue. + +Now you need to remove the code signing shell script, select the `Übersicht` target and under `Build Phases` remove the code in the `Code Sign Frameworks` section. + +You should now be able to build successfully. + +There is one last step on the Node.js side to complete. For the sake of brevity, this link will solve your problem: + +http://stackoverflow.com/questions/31254725/transport-security-has-blocked-a-cleartext-http + +# Legal + +The source for Übersicht is released under the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +© 2016 Felix Hageloh diff --git a/uebersicht-code/LICENSE b/uebersicht-code/LICENSE new file mode 100755 index 0000000..94a9ed0 --- /dev/null +++ b/uebersicht-code/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/uebersicht-code/Makefile b/uebersicht-code/Makefile new file mode 100755 index 0000000..3c0d807 --- /dev/null +++ b/uebersicht-code/Makefile @@ -0,0 +1,2 @@ +test: + cd server && npm install --no-progress && npm test diff --git a/uebersicht-code/Podfile b/uebersicht-code/Podfile new file mode 100755 index 0000000..55814ca --- /dev/null +++ b/uebersicht-code/Podfile @@ -0,0 +1,8 @@ +# Uncomment the next line to define a global platform for your project +platform :macos, '10.10' + +target 'Uebersicht' do + # Pods for Uebersicht + pod 'SocketRocket' + pod 'Sparkle' +end diff --git a/uebersicht-code/Podfile.lock b/uebersicht-code/Podfile.lock new file mode 100755 index 0000000..3ee613c --- /dev/null +++ b/uebersicht-code/Podfile.lock @@ -0,0 +1,20 @@ +PODS: + - SocketRocket (0.5.1) + - Sparkle (1.23.0) + +DEPENDENCIES: + - SocketRocket + - Sparkle + +SPEC REPOS: + https://github.com/cocoapods/specs.git: + - SocketRocket + - Sparkle + +SPEC CHECKSUMS: + SocketRocket: d57c7159b83c3c6655745cd15302aa24b6bae531 + Sparkle: 55b1a87ba69d56913375a281546b7c82dec95bb0 + +PODFILE CHECKSUM: f68839bf85fc3a629cc21d58a289a00e2eaaa792 + +COCOAPODS: 1.7.5 diff --git a/uebersicht-code/README.md b/uebersicht-code/README.md new file mode 100644 index 0000000..750a552 --- /dev/null +++ b/uebersicht-code/README.md @@ -0,0 +1,414 @@ +# Übersicht +*Keep an eye on what's happening on your machine and in the world.* + +For general info check out the [Übersicht website.](http://tracesof.net/uebersicht) + +## Writing Widgets + +In essence, widgets are JavaScript modules that expose a few key properties and methods. They need to be defined in a single file with a `.jsx` extension for Übersicht to pick them up. Previously, widgets could be written in CoffeeScript and are still supported. Check [the old documentation](ClassicWidgets.md) for details. Übersicht will listen to file changes inside your widget directory, so you can edit widgets and see the result live. + +Widget rendering is done using [React](https://reactjs.org) and its [JSX](https://reactjs.org/docs/introducing-jsx.html) syntax. Simple widget state is managed for you by Übersicht, but for more advanced widgets you can manage state using a Redux-like pattern. You `dispatch` events, which get processed by a single `updateState` function which returns the new state, which is passed to the render function of your widget. + +State is kept when you modify your widget, which allows for live coding. Any changes to the UI of your widget will be immediately visible. One drawback (at least with the current implementation) is that if you change the shape of your state you might have to 'Refresh all Widgets' from the app menu for your widget to work. + +You can also include node modules and split your widget into separate files using [ESM syntax](http://2ality.com/2014/09/es6-modules-final.html). Any file that is in a directory called `/node_modules`, `/lib` or `/src` will be treated as a module and will not show up as a separate widget. + +The following properties and methods are supported: + +### command + +A **string** containing the shell command to be executed, or
+a **function(dispatch : function)** which eventually dispatches an event, +or **undefined** meaning that no command will be executed for this widget. + +For example: + +```jsx +export const command = "echo Hello World"; +``` + +Watch out for quotes inside commands. Often they need to properly escaped, like: + +```jsx +export const command = "ps axo \"rss,pid,ucomm\" | sort -nr | head -n3"; +``` + +Example using a command function: + +```jsx +export const command = (dispatch) => + fetch('some/url.json)') + .then((response) => { + dispatch({ type: 'FETCH_SUCCEDED', data: response.json() }); + }) + .catch((error) => { + dispatch({ type: 'FETCH_FAILED', error: error }); + }); +``` + +The first and only argument passed to a command function is a `dispatch` function, which you can use to dispatch plain JasvaScript objects, called events, to be picked up by your `updateState` function. + + +### refreshFrequency + +An **number** specifying how often the above command is executed. + +It defines the delay in milliseconds between consecutive commands executions. Example: + +```coffeescript +export const refreshFrequency = 1000; // widget will run command once a second +``` + +The default is 1000 (1s). If set to `false` the widget won't refresh automatically. + +### className + +An **object** or **string** defining the CSS rules to applied to the root of your widget. + +It is most commonly used control the position of your widget. It is converted to a CSS class name using the [Emotion CSS-in-JS library](https://emotion.sh/docs/css). Read more about [styling your widgets here](#styling-widgets). + +```jsx +export const className = { + top: 0, + left: 0, + color: '#fff' +} +``` + +or + +```jsx +export const className = ` + top: 0; + left: 0; + color: #fff; +` +``` + +Note that widgets are positioned absolute in relation to the screen (minus the menu bar), so a widget with `top: 0` and `left: 0` will be positioned in the top left corner of the screen, just below the menu bar. + +### render : props + +A **function(props : object)** to render your widget. + +If you know [React functional components](https://reactjs.org/docs/components-and-props.html) you know how render works. The `props` passed to this function is whatever state your `updateState` function returns. If you don't provide your own `updateState` function, the default props that are passed are `output` and `error`, containing the output your command produced and any error that might have occurred. + +```jsx +export const render = ({output, error}) => { + return error ? ( +
Something went wrong: {String(error)}
+ ) : ( +
+

We got some output!

+

{output}

+
+ ); +} +``` + +The default implementation of render just returns `output`. + +### updateState : event, previousState + +A **function(event : object, previousState : object)** implementing the state update behavior of this widget. + +When provided, this function must return the next state, which will be passed as `props` to your render function. The default function will return `output` and `error` from the event object. + +```jsx +export const updateState = (event, previousState) => { + if (event.error) { + return { ...previousState, warning: `We got an error: ${event.error}` }; + } + const [cpuPct, processName] = event.output.split(','); + return { + cpuPct: parseFloat(cpuPct), + processName + }; +} +``` +This will pass a props object containing `cpuPct` and `processName` to the render function. If an error occurred, it will pass the previous state plus a warning message. + +If your widget has more complex state logic, for example because it is fetching data from several different sources, it is a good idea to add a `type` property to your events. You can use this type to decide how to update your state. For example: + +```jsx +export const updateState = (event, previousState) => { + switch(event.type) { + case 'CO2_FETCHED': return updateCo2(event.output, previousState); + case 'TEMPERATURE_FETCHED': return updateTemp(event.output, previousState); + default: { + return previousState; + } + } +} +``` + +This example also shows that you can make use of functions to further break down your state update logic. + +### initialState + +An **object** with the initial state of your widget. + +If you provide a custom `updateState` function you might need to define the initial state that gets passed on initial render of the widget. before any command has been run. + +```jsx +export const initialState = { output: 'fetching data...' }; +``` + +The default initial state is `{ output: '' }`. + +### init : dispatch + +A **function(dispatch : function)** that is called the first time your widget loads. Many widgets won't need this, but you can use this function to perform any initial setup for more advanced use cases. For example, instead of relying on periodic shell commands, you might want to open and listen to WebSocket events to update your widget. + +```jsx +export const init = (dispatch) => { + const socket = new WebSocket('ws://localhost:8080'); + + socket.addEventListener('message', (event) => { + dispatch({type: 'MESSAGE_RECEIVED', data: event.data}); + }); +} +``` + +## Styling Widgets + +Uebersicht comes bundled with [Emotion ](https://emotion.sh) (version 9). It exposes it's `css` and `styled` functions via the `uebersicht` module. + +As described above, you can use `className` to style and position the root node of your widget. For further styling you can do something like this: + +```jsx +import { css } from "uebersicht" + +const header = css` + font-family: Ubuntu; + font-size: 20px; + text-align: center; + color: white; +` + +const boxes = css` + display: flex; + justify-content: center; +` + +const box = css({ + height: "40px", + width: "40px", + "& + &": { + marginLeft: "5px" + } +}) + +export const className = ` + left: 20px; + top: 20px; + width: 200px; +` + +export const initialState = { colors: ["DeepPink", "DeepSkyBlue", "Coral"] } + +export const render = ({ colors }) => { + return ( +
+

Some colored boxes

+
+ {colors.map((color, idx) => ( +
+ ))} +
+
+ ) +} +``` + +Alternatively, you can also make use of Emotion's styles components: + +```jsx +import { styled } from "uebersicht" + +const Header = styled("h1")` + font-family: Ubuntu; + font-size: 20px; + text-align: center; + color: white; +` + +const Boxes = styled("div")` + display: flex; + justify-content: center; +` + +const Box = styled("div")(props => ({ + height: "40px", + width: "40px", + background: props.color, + marginRight: "5px" +})) + +export const className = ` + left: 20px; + top: 20px; + width: 200px; +` + +export const initialState = { colors: ["DeepPink", "DeepSkyBlue", "Coral"] } + +export const render = ({ colors }) => { + return ( +
+
Some colored boxes
+ + {colors.map((color, idx) => ( + + ))} + +
+ ) +} +``` + +Finally, since you can also install and import any module you like, you can use your favorite styling library instead. + +## Running Shell Commands + +If need to run extra shell commands without using the [command](#command) property, you can import the `run` function from the `uebersicht` module. + +It returns a Promise, which will resolve to the output of the command (stdout) or reject if any error occurred. + +```jsx +import { run } from 'uebersicht' + +export const render => (props, dispatch) { + return ( + + ); +} +``` +> Note that in order to receive click events you need to configure an interaction shortcut and give Übersicht accessibility access. + +## Geolocation API + +While the WebView used by Übersicht seems to provide the standard HTML5 geolocation API, it is not functional and there seems to be no way to enable it. Übersicht now provides a custom implementation, which tries to follow the standard implementation as closely as possible. However, so far it provides only the basics and might still be somewhat unstable. The api can be found under `window.geolocation` (instead of `window.navigator.geolocation`). And supports the following methods + +```js +geolocation.getCurrentPosition(callback) +``` + +```js +geolocation.watchPosition(callback) +``` + +```js +geolocation.clearWatch(watchId) +``` + +Check the [documentation](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation) for details on how to use these methods. The main difference to the standard API is that none of them accept options (the accuracy for position data is always set to the highest) and error reporting has not be implemented yet. + +However, in a addition to the standard `Position` object provided by the standard API, Übersicht provides an extra `address` property with the following fields: + + - Street + - City + - ZIP + - Country + - State + - CountryCode + + +## Built In Proxy Server + +If you like you make Ajax requests to an external site without using a command, you can make use of the built in proxy server. It is running on `http://127.0.0.1:41417` and can be used as follows: + + command: (callback) -> + proxy = "http://127.0.0.1:41417/" + server = "http://example.com:8080" + path = "/getsomejson" + $.get proxy + server + path, (json) -> + callback null, json + +## Scripting Support + +Übersicht has AppleScript support since version 1.1.45. To get detailed information on what you can script, open the Script Editor and add Übersicht to the Library (use Window -> Library to show). Here are a few examples of what you can do with AppleScript. (Note that the examples all use the application id instead of the app name. This is because typing the umlaut Ü can be tricky): + + tell application id "tracesOf.Uebersicht" to refresh + +refreshes all widgets. + + tell application id "tracesOf.Uebersicht" to refresh widget id "my-widget" + +refreshes widget with id "my-widget". + + tell application id "tracesOf.Uebersicht" to every widget + +lists all widgets. + + tell application id "tracesOf.Uebersicht" to set hidden of widget id "top-cpu-coffee" to false + +hides the widget with ID "top-cpu-coffee" + + +## Building Übersicht + +To build Übersicht you will need to have NodeJS and a few dependencies installed: + +### setup + +Currently, the project supports node 8. + +If you already have node, you'll have to +``` +brew unlink node +``` +Now, install node 8 using homebrew +``` +brew install node@8 && brew link --force node@6 +``` +then run +``` +npm install +``` +### git and unicode characters + +Git might not like the umlaut (ü) in some of the path names and will constantly show them as untracked files. To get rid of this issue, I had to use + + git config core.precomposeunicode false + +However, the common advice is to set this to `true`. It might depend on the OS and git version which one to use. + +### building + +The code base consists of two parts, a cocoa app and a NodeJS app inside `server/`. To build the node app separately, use `npm run release`. This happens automatically every time you build using XCode. + +The node app can be run standalone using + +```coffeescript +coffee server/server.coffee -d -p +``` + +# Building in Xcode + +The first time opening the project in Xcode you might see this message when trying to build: "The run destination My Mac is not valid for Running the scheme 'Übersicht'." + +Click on `Uebersicht` in the project navigator and then select the menu `Editor > Validate Settings...` and click `Perform Changes`. + +You can then attempt to build, you may then be presented with code sign issues, click `Fix Issue` to continue. + +Now you need to remove the code signing shell script, select the `Übersicht` target and under `Build Phases` remove the code in the `Code Sign Frameworks` section. + +You should now be able to build successfully. + +There is one last step on the Node.js side to complete. For the sake of brevity, this link will solve your problem: + +http://stackoverflow.com/questions/31254725/transport-security-has-blocked-a-cleartext-http + +# Legal + +The source for Übersicht is released under the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +© 2019 Felix Hageloh diff --git a/uebersicht-code/Uebersicht.xcodeproj/.pydio b/uebersicht-code/Uebersicht.xcodeproj/.pydio new file mode 100644 index 0000000..b8a8db6 --- /dev/null +++ b/uebersicht-code/Uebersicht.xcodeproj/.pydio @@ -0,0 +1 @@ +b8e13892-111e-4a98-a503-87c9d312c068 \ No newline at end of file diff --git a/uebersicht-code/Uebersicht.xcodeproj/project.pbxproj b/uebersicht-code/Uebersicht.xcodeproj/project.pbxproj new file mode 100755 index 0000000..152a189 --- /dev/null +++ b/uebersicht-code/Uebersicht.xcodeproj/project.pbxproj @@ -0,0 +1,710 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + DC314A201C0EE024000A56D2 /* UBWidgetsController.m in Sources */ = {isa = PBXBuildFile; fileRef = DC314A1F1C0EE024000A56D2 /* UBWidgetsController.m */; }; + DC404DF31D2844E100305CE2 /* UBWebViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DC404DF21D2844E100305CE2 /* UBWebViewController.m */; }; + DC404DF51D294B3100305CE2 /* geolocation.js in Resources */ = {isa = PBXBuildFile; fileRef = DC404DF41D294B3100305CE2 /* geolocation.js */; }; + DC43AD8017EC2D9500241CC2 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC43AD7F17EC2D9500241CC2 /* Cocoa.framework */; }; + DC43AD8C17EC2D9500241CC2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DC43AD8B17EC2D9500241CC2 /* main.m */; }; + DC43AD9317EC2D9500241CC2 /* UBAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DC43AD9217EC2D9500241CC2 /* UBAppDelegate.m */; }; + DC43AD9817EC2D9500241CC2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DC43AD9717EC2D9500241CC2 /* Images.xcassets */; }; + DC43ADB517EC35A800241CC2 /* UBWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = DC43ADB417EC31EB00241CC2 /* UBWindow.m */; }; + DC43ADB717EC38D300241CC2 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC43ADB617EC38D300241CC2 /* WebKit.framework */; }; + DC4913961BEF9A75003E76EF /* UBScreensController.m in Sources */ = {isa = PBXBuildFile; fileRef = DC4913951BEF9A75003E76EF /* UBScreensController.m */; }; + DC4F43F3189E90DD00937925 /* status-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = DC4F43F1189E90DD00937925 /* status-icon.png */; }; + DC4F43F4189E90DD00937925 /* status-icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC4F43F2189E90DD00937925 /* status-icon@2x.png */; }; + DC4FC28118EAB1CA00B7FD79 /* übersicht-logo.png in Resources */ = {isa = PBXBuildFile; fileRef = DC4FC28018EAB1CA00B7FD79 /* übersicht-logo.png */; }; + DC57ED2E18DB4EC900A24FDD /* UBPreferencesController.xib in Resources */ = {isa = PBXBuildFile; fileRef = DC57ED2C18DB4EC900A24FDD /* UBPreferencesController.xib */; }; + DC62CC731E1C0F73004F85B8 /* Uebersicht.sdef in Resources */ = {isa = PBXBuildFile; fileRef = DC74D0741E1A6FC300893D53 /* Uebersicht.sdef */; }; + DC66522D1E212735003267AF /* UBWidgetForScripting.m in Sources */ = {isa = PBXBuildFile; fileRef = DC66522C1E212735003267AF /* UBWidgetForScripting.m */; }; + DC74D0781E1A71E500893D53 /* UBRefreshCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = DC74D0771E1A71E500893D53 /* UBRefreshCommand.m */; }; + DC9296A71C5017CF006E4267 /* widget-status-visible.png in Resources */ = {isa = PBXBuildFile; fileRef = DC9296A51C5017CF006E4267 /* widget-status-visible.png */; }; + DC9296A81C5017CF006E4267 /* widget-status-visible@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC9296A61C5017CF006E4267 /* widget-status-visible@2x.png */; }; + DC9296AB1C501D34006E4267 /* widget-status-hidden.png in Resources */ = {isa = PBXBuildFile; fileRef = DC9296A91C501D34006E4267 /* widget-status-hidden.png */; }; + DC9296AC1C501D34006E4267 /* widget-status-hidden@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC9296AA1C501D34006E4267 /* widget-status-hidden@2x.png */; }; + DC9F7CE31C439CE50014E25B /* UBDispatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = DC9F7CE21C439CE50014E25B /* UBDispatcher.m */; }; + DCAAAF9618DF0B050097677F /* GettingStarted.jsx in Resources */ = {isa = PBXBuildFile; fileRef = DCAAAF9518DF0B050097677F /* GettingStarted.jsx */; }; + DCAC78CA1C550B810051E78B /* UBWebSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = DCAC78C91C550B810051E78B /* UBWebSocket.m */; }; + DCAC78CD1C551D130051E78B /* UBListener.m in Sources */ = {isa = PBXBuildFile; fileRef = DCAC78CC1C551D130051E78B /* UBListener.m */; }; + DCB95A8D22FAD3F60066A51A /* UBApplication.m in Sources */ = {isa = PBXBuildFile; fileRef = DCB95A8C22FAD3F60066A51A /* UBApplication.m */; }; + DCBD665922F823AC0043E434 /* UBWebView.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBD665822F823AC0043E434 /* UBWebView.m */; }; + DCC74B26252AF6DA00C1D1E5 /* UBWindowGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = DCC74B25252AF6DA00C1D1E5 /* UBWindowGroup.m */; }; + DCC7B2F61C575BCE00F563C8 /* UBWidgetsStore.m in Sources */ = {isa = PBXBuildFile; fileRef = DCC7B2F51C575BCE00F563C8 /* UBWidgetsStore.m */; }; + DCCBDB992524638400FFAAE1 /* UBWindowsController.m in Sources */ = {isa = PBXBuildFile; fileRef = DCCBDB982524638400FFAAE1 /* UBWindowsController.m */; }; + DCE7E3C11A376AD400A12516 /* UBLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = DCE7E3C01A376AD400A12516 /* UBLocation.m */; }; + DCECA1C71893F23200C0CA32 /* localnode in Resources */ = {isa = PBXBuildFile; fileRef = DCECA1C51893F23200C0CA32 /* localnode */; }; + DCECA1C81893F23200C0CA32 /* server.js in Resources */ = {isa = PBXBuildFile; fileRef = DCECA1C61893F23200C0CA32 /* server.js */; }; + DCECA1CA1893F4EF00C0CA32 /* public in Resources */ = {isa = PBXBuildFile; fileRef = DCECA1C91893F4EF00C0CA32 /* public */; }; + DCECA1CE1893FE5500C0CA32 /* node_modules in Resources */ = {isa = PBXBuildFile; fileRef = DCECA1CD1893FE5500C0CA32 /* node_modules */; }; + DCECA1CF1894008800C0CA32 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = DC43AD9417EC2D9500241CC2 /* MainMenu.xib */; }; + DCF9D9011E9D512600D27988 /* UBReloadCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = DCF9D9001E9D512600D27988 /* UBReloadCommand.m */; }; + E0EA7A6227CA42DB00BC6693 /* Sparkle in Resources */ = {isa = PBXBuildFile; fileRef = E0EA7A6027CA42DB00BC6693 /* Sparkle */; }; + E0EA7A6327CA42DB00BC6693 /* SocketRocket in Resources */ = {isa = PBXBuildFile; fileRef = E0EA7A6127CA42DB00BC6693 /* SocketRocket */; }; + E0EA7A6527CA42EF00BC6693 /* libSocketRocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E0EA7A6427CA42EF00BC6693 /* libSocketRocket.a */; }; + E0EA7A6727CA42FA00BC6693 /* Sparkle.framework.dSYM in Frameworks */ = {isa = PBXBuildFile; fileRef = E0EA7A6627CA42FA00BC6693 /* Sparkle.framework.dSYM */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 1F1AEE7879137369A94611DB /* Pods-Uebersicht.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Uebersicht.release.xcconfig"; path = "Pods/Target Support Files/Pods-Uebersicht/Pods-Uebersicht.release.xcconfig"; sourceTree = ""; }; + 2B2DEDD7D214E00F6E0F133D /* Pods-Uebersicht.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Uebersicht.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Uebersicht/Pods-Uebersicht.debug.xcconfig"; sourceTree = ""; }; + DC314A1E1C0EE024000A56D2 /* UBWidgetsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBWidgetsController.h; sourceTree = ""; }; + DC314A1F1C0EE024000A56D2 /* UBWidgetsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBWidgetsController.m; sourceTree = ""; }; + DC404DE81D26B92000305CE2 /* WKInspector.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WKInspector.h; sourceTree = ""; }; + DC404DE91D26B9E000305CE2 /* WKBase.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WKBase.h; sourceTree = ""; }; + DC404DED1D26BB6500305CE2 /* WKPage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WKPage.h; sourceTree = ""; }; + DC404DEE1D26C1D000305CE2 /* WKView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WKView.h; sourceTree = ""; }; + DC404DF11D2844E100305CE2 /* UBWebViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBWebViewController.h; sourceTree = ""; }; + DC404DF21D2844E100305CE2 /* UBWebViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; path = UBWebViewController.m; sourceTree = ""; tabWidth = 4; }; + DC404DF41D294B3100305CE2 /* geolocation.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = geolocation.js; sourceTree = ""; }; + DC43AD7C17EC2D9500241CC2 /* 桌面小组件.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "桌面小组件.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + DC43AD7F17EC2D9500241CC2 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; + DC43AD8217EC2D9500241CC2 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + DC43AD8317EC2D9500241CC2 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + DC43AD8417EC2D9500241CC2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + DC43AD8717EC2D9500241CC2 /* Uebersicht-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Uebersicht-Info.plist"; sourceTree = ""; }; + DC43AD8B17EC2D9500241CC2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + DC43AD8D17EC2D9500241CC2 /* Uebersicht-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Uebersicht-Prefix.pch"; sourceTree = ""; }; + DC43AD9117EC2D9500241CC2 /* UBAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UBAppDelegate.h; sourceTree = ""; }; + DC43AD9217EC2D9500241CC2 /* UBAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UBAppDelegate.m; sourceTree = ""; }; + DC43AD9517EC2D9500241CC2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + DC43AD9717EC2D9500241CC2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + DC43ADB317EC31EB00241CC2 /* UBWindow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UBWindow.h; sourceTree = ""; }; + DC43ADB417EC31EB00241CC2 /* UBWindow.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UBWindow.m; sourceTree = ""; }; + DC43ADB617EC38D300241CC2 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; + DC4913941BEF9A75003E76EF /* UBScreensController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBScreensController.h; sourceTree = ""; }; + DC4913951BEF9A75003E76EF /* UBScreensController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBScreensController.m; sourceTree = ""; }; + DC4F43F1189E90DD00937925 /* status-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "status-icon.png"; sourceTree = ""; }; + DC4F43F2189E90DD00937925 /* status-icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "status-icon@2x.png"; sourceTree = ""; }; + DC4FC28018EAB1CA00B7FD79 /* übersicht-logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "übersicht-logo.png"; sourceTree = ""; }; + DC57ED2A18DB4EC900A24FDD /* UBPreferencesController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBPreferencesController.h; sourceTree = ""; }; + DC57ED2B18DB4EC900A24FDD /* UBPreferencesController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBPreferencesController.m; sourceTree = ""; }; + DC57ED2C18DB4EC900A24FDD /* UBPreferencesController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = UBPreferencesController.xib; sourceTree = ""; }; + DC66522B1E212735003267AF /* UBWidgetForScripting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBWidgetForScripting.h; sourceTree = ""; }; + DC66522C1E212735003267AF /* UBWidgetForScripting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBWidgetForScripting.m; sourceTree = ""; }; + DC74D0741E1A6FC300893D53 /* Uebersicht.sdef */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Uebersicht.sdef; sourceTree = ""; }; + DC74D0761E1A71E500893D53 /* UBRefreshCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBRefreshCommand.h; sourceTree = ""; }; + DC74D0771E1A71E500893D53 /* UBRefreshCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBRefreshCommand.m; sourceTree = ""; }; + DC84AF8F1E17B912008BF454 /* UBScreenChangeListener.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UBScreenChangeListener.h; sourceTree = ""; }; + DC9296A51C5017CF006E4267 /* widget-status-visible.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "widget-status-visible.png"; sourceTree = ""; }; + DC9296A61C5017CF006E4267 /* widget-status-visible@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "widget-status-visible@2x.png"; sourceTree = ""; }; + DC9296A91C501D34006E4267 /* widget-status-hidden.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "widget-status-hidden.png"; sourceTree = ""; }; + DC9296AA1C501D34006E4267 /* widget-status-hidden@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "widget-status-hidden@2x.png"; sourceTree = ""; }; + DC99A7C418DC41A600E61222 /* Übersicht.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "Übersicht.entitlements"; sourceTree = ""; }; + DC9F7CE11C439CE50014E25B /* UBDispatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBDispatcher.h; sourceTree = ""; }; + DC9F7CE21C439CE50014E25B /* UBDispatcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBDispatcher.m; sourceTree = ""; }; + DCAAAF9518DF0B050097677F /* GettingStarted.jsx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = GettingStarted.jsx; sourceTree = ""; }; + DCAC78C81C550B810051E78B /* UBWebSocket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBWebSocket.h; sourceTree = ""; }; + DCAC78C91C550B810051E78B /* UBWebSocket.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBWebSocket.m; sourceTree = ""; }; + DCAC78CB1C551D130051E78B /* UBListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBListener.h; sourceTree = ""; }; + DCAC78CC1C551D130051E78B /* UBListener.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBListener.m; sourceTree = ""; }; + DCB5D9861948802C000D5C83 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; + DCB95A8B22FAD3F50066A51A /* UBApplication.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UBApplication.h; sourceTree = ""; }; + DCB95A8C22FAD3F60066A51A /* UBApplication.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UBApplication.m; sourceTree = ""; }; + DCBD665722F823AC0043E434 /* UBWebView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UBWebView.h; sourceTree = ""; }; + DCBD665822F823AC0043E434 /* UBWebView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UBWebView.m; sourceTree = ""; }; + DCC74B24252AF6DA00C1D1E5 /* UBWindowGroup.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UBWindowGroup.h; sourceTree = ""; }; + DCC74B25252AF6DA00C1D1E5 /* UBWindowGroup.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UBWindowGroup.m; sourceTree = ""; }; + DCC7B2F41C575BCE00F563C8 /* UBWidgetsStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBWidgetsStore.h; sourceTree = ""; }; + DCC7B2F51C575BCE00F563C8 /* UBWidgetsStore.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBWidgetsStore.m; sourceTree = ""; }; + DCCBDB972524638400FFAAE1 /* UBWindowsController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UBWindowsController.h; sourceTree = ""; }; + DCCBDB982524638400FFAAE1 /* UBWindowsController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UBWindowsController.m; sourceTree = ""; }; + DCD6280E1D8187EC00358595 /* WKWebViewInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebViewInternal.h; sourceTree = ""; }; + DCE7E3BF1A376AD400A12516 /* UBLocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBLocation.h; sourceTree = ""; }; + DCE7E3C01A376AD400A12516 /* UBLocation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBLocation.m; sourceTree = ""; }; + DCECA1C51893F23200C0CA32 /* localnode */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = localnode; path = server/release/localnode; sourceTree = ""; }; + DCECA1C61893F23200C0CA32 /* server.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = server.js; path = server/release/server.js; sourceTree = ""; }; + DCECA1C91893F4EF00C0CA32 /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; name = public; path = server/release/public; sourceTree = ""; }; + DCECA1CD1893FE5500C0CA32 /* node_modules */ = {isa = PBXFileReference; lastKnownFileType = folder; name = node_modules; path = server/release/node_modules; sourceTree = ""; }; + DCF9D8FF1E9D512600D27988 /* UBReloadCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBReloadCommand.h; sourceTree = ""; }; + DCF9D9001E9D512600D27988 /* UBReloadCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UBReloadCommand.m; sourceTree = ""; }; + E0A0673E27C6BB7E005CA910 /* zh-HK */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-HK"; path = "zh-HK.lproj/MainMenu.strings"; sourceTree = ""; }; + E0EA7A6027CA42DB00BC6693 /* Sparkle */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Sparkle; path = ../dependent/Sparkle; sourceTree = ""; }; + E0EA7A6127CA42DB00BC6693 /* SocketRocket */ = {isa = PBXFileReference; lastKnownFileType = folder; name = SocketRocket; path = ../dependent/SocketRocket; sourceTree = ""; }; + E0EA7A6427CA42EF00BC6693 /* libSocketRocket.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSocketRocket.a; path = ../dependent/SocketRocket/libSocketRocket.a; sourceTree = ""; }; + E0EA7A6627CA42FA00BC6693 /* Sparkle.framework.dSYM */ = {isa = PBXFileReference; lastKnownFileType = wrapper.dsym; name = Sparkle.framework.dSYM; path = ../dependent/Sparkle/Sparkle.framework.dSYM; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + DC43AD7917EC2D9500241CC2 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E0EA7A6727CA42FA00BC6693 /* Sparkle.framework.dSYM in Frameworks */, + E0EA7A6527CA42EF00BC6693 /* libSocketRocket.a in Frameworks */, + DC43ADB717EC38D300241CC2 /* WebKit.framework in Frameworks */, + DC43AD8017EC2D9500241CC2 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 66A3FC476F2A2EEE871EA3E2 /* Pods */ = { + isa = PBXGroup; + children = ( + 2B2DEDD7D214E00F6E0F133D /* Pods-Uebersicht.debug.xcconfig */, + 1F1AEE7879137369A94611DB /* Pods-Uebersicht.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + DC404DEB1D26BAA400305CE2 /* WKHeaders */ = { + isa = PBXGroup; + children = ( + DCD6280E1D8187EC00358595 /* WKWebViewInternal.h */, + DC404DE81D26B92000305CE2 /* WKInspector.h */, + DC404DE91D26B9E000305CE2 /* WKBase.h */, + DC404DED1D26BB6500305CE2 /* WKPage.h */, + DC404DEE1D26C1D000305CE2 /* WKView.h */, + ); + name = WKHeaders; + sourceTree = ""; + }; + DC43AD7317EC2D9500241CC2 = { + isa = PBXGroup; + children = ( + DC43AD8517EC2D9500241CC2 /* Uebersicht */, + DCECA1C21893F1C300C0CA32 /* server */, + DC43AD7E17EC2D9500241CC2 /* Frameworks */, + DC43AD7D17EC2D9500241CC2 /* Products */, + 66A3FC476F2A2EEE871EA3E2 /* Pods */, + ); + sourceTree = ""; + }; + DC43AD7D17EC2D9500241CC2 /* Products */ = { + isa = PBXGroup; + children = ( + DC43AD7C17EC2D9500241CC2 /* 桌面小组件.app */, + ); + name = Products; + sourceTree = ""; + }; + DC43AD7E17EC2D9500241CC2 /* Frameworks */ = { + isa = PBXGroup; + children = ( + E0EA7A6627CA42FA00BC6693 /* Sparkle.framework.dSYM */, + E0EA7A6427CA42EF00BC6693 /* libSocketRocket.a */, + E0EA7A6127CA42DB00BC6693 /* SocketRocket */, + E0EA7A6027CA42DB00BC6693 /* Sparkle */, + DCB5D9861948802C000D5C83 /* JavaScriptCore.framework */, + DC43ADB617EC38D300241CC2 /* WebKit.framework */, + DC43AD7F17EC2D9500241CC2 /* Cocoa.framework */, + DC43AD8117EC2D9500241CC2 /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; + DC43AD8117EC2D9500241CC2 /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + DC43AD8217EC2D9500241CC2 /* AppKit.framework */, + DC43AD8317EC2D9500241CC2 /* CoreData.framework */, + DC43AD8417EC2D9500241CC2 /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + DC43AD8517EC2D9500241CC2 /* Uebersicht */ = { + isa = PBXGroup; + children = ( + DC99A7C418DC41A600E61222 /* Übersicht.entitlements */, + DC43AD9417EC2D9500241CC2 /* MainMenu.xib */, + DCB95A8B22FAD3F50066A51A /* UBApplication.h */, + DCB95A8C22FAD3F60066A51A /* UBApplication.m */, + DC43AD9117EC2D9500241CC2 /* UBAppDelegate.h */, + DC43AD9217EC2D9500241CC2 /* UBAppDelegate.m */, + DCCBDB972524638400FFAAE1 /* UBWindowsController.h */, + DCCBDB982524638400FFAAE1 /* UBWindowsController.m */, + DC43ADB317EC31EB00241CC2 /* UBWindow.h */, + DC43ADB417EC31EB00241CC2 /* UBWindow.m */, + DCC74B24252AF6DA00C1D1E5 /* UBWindowGroup.h */, + DCC74B25252AF6DA00C1D1E5 /* UBWindowGroup.m */, + DCBD665722F823AC0043E434 /* UBWebView.h */, + DCBD665822F823AC0043E434 /* UBWebView.m */, + DC404DF11D2844E100305CE2 /* UBWebViewController.h */, + DC404DF21D2844E100305CE2 /* UBWebViewController.m */, + DC4913941BEF9A75003E76EF /* UBScreensController.h */, + DC4913951BEF9A75003E76EF /* UBScreensController.m */, + DC57ED2A18DB4EC900A24FDD /* UBPreferencesController.h */, + DC57ED2B18DB4EC900A24FDD /* UBPreferencesController.m */, + DC57ED2C18DB4EC900A24FDD /* UBPreferencesController.xib */, + DCE7E3BF1A376AD400A12516 /* UBLocation.h */, + DCE7E3C01A376AD400A12516 /* UBLocation.m */, + DC314A1E1C0EE024000A56D2 /* UBWidgetsController.h */, + DC314A1F1C0EE024000A56D2 /* UBWidgetsController.m */, + DCC7B2F41C575BCE00F563C8 /* UBWidgetsStore.h */, + DCC7B2F51C575BCE00F563C8 /* UBWidgetsStore.m */, + DCAC78C81C550B810051E78B /* UBWebSocket.h */, + DCAC78C91C550B810051E78B /* UBWebSocket.m */, + DC9F7CE11C439CE50014E25B /* UBDispatcher.h */, + DC9F7CE21C439CE50014E25B /* UBDispatcher.m */, + DCAC78CB1C551D130051E78B /* UBListener.h */, + DCAC78CC1C551D130051E78B /* UBListener.m */, + DC84AF8F1E17B912008BF454 /* UBScreenChangeListener.h */, + DC74D0751E1A717800893D53 /* Script Support */, + DC404DEB1D26BAA400305CE2 /* WKHeaders */, + DC43AD8617EC2D9500241CC2 /* Supporting Files */, + DC43AD9717EC2D9500241CC2 /* Images.xcassets */, + ); + path = Uebersicht; + sourceTree = ""; + }; + DC43AD8617EC2D9500241CC2 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + DC9296A91C501D34006E4267 /* widget-status-hidden.png */, + DC9296AA1C501D34006E4267 /* widget-status-hidden@2x.png */, + DC9296A51C5017CF006E4267 /* widget-status-visible.png */, + DC9296A61C5017CF006E4267 /* widget-status-visible@2x.png */, + DC4FC28018EAB1CA00B7FD79 /* übersicht-logo.png */, + DCAAAF9518DF0B050097677F /* GettingStarted.jsx */, + DC4F43F1189E90DD00937925 /* status-icon.png */, + DC4F43F2189E90DD00937925 /* status-icon@2x.png */, + DC43AD8717EC2D9500241CC2 /* Uebersicht-Info.plist */, + DC43AD8B17EC2D9500241CC2 /* main.m */, + DC43AD8D17EC2D9500241CC2 /* Uebersicht-Prefix.pch */, + DC404DF41D294B3100305CE2 /* geolocation.js */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + DC74D0751E1A717800893D53 /* Script Support */ = { + isa = PBXGroup; + children = ( + DC66522B1E212735003267AF /* UBWidgetForScripting.h */, + DC66522C1E212735003267AF /* UBWidgetForScripting.m */, + DC74D0761E1A71E500893D53 /* UBRefreshCommand.h */, + DC74D0771E1A71E500893D53 /* UBRefreshCommand.m */, + DCF9D8FF1E9D512600D27988 /* UBReloadCommand.h */, + DCF9D9001E9D512600D27988 /* UBReloadCommand.m */, + DC74D0741E1A6FC300893D53 /* Uebersicht.sdef */, + ); + name = "Script Support"; + sourceTree = ""; + }; + DCECA1C21893F1C300C0CA32 /* server */ = { + isa = PBXGroup; + children = ( + DCECA1CD1893FE5500C0CA32 /* node_modules */, + DCECA1C91893F4EF00C0CA32 /* public */, + DCECA1C51893F23200C0CA32 /* localnode */, + DCECA1C61893F23200C0CA32 /* server.js */, + ); + name = server; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + DC43AD7B17EC2D9500241CC2 /* Uebersicht */ = { + isa = PBXNativeTarget; + buildConfigurationList = DC43ADAD17EC2D9500241CC2 /* Build configuration list for PBXNativeTarget "Uebersicht" */; + buildPhases = ( + 23C6390C35B95DC020D8A7A6 /* [CP] Check Pods Manifest.lock */, + DC06A1C01985092700789130 /* Compile JS */, + DC43AD7817EC2D9500241CC2 /* Sources */, + DC43AD7917EC2D9500241CC2 /* Frameworks */, + DC43AD7A17EC2D9500241CC2 /* Resources */, + DC92346F23015178009D9E2F /* Run Script */, + 408EC9591BE0037CFA86EB7A /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Uebersicht; + productName = "Übersicht"; + productReference = DC43AD7C17EC2D9500241CC2 /* 桌面小组件.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DC43AD7417EC2D9500241CC2 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = UB; + LastUpgradeCheck = 0930; + ORGANIZATIONNAME = tracesOf; + TargetAttributes = { + DC43AD7B17EC2D9500241CC2 = { + DevelopmentTeam = 65D7ZZT739; + ProvisioningStyle = Automatic; + SystemCapabilities = { + com.apple.HardenedRuntime = { + enabled = 1; + }; + com.apple.Sandbox = { + enabled = 0; + }; + }; + }; + }; + }; + buildConfigurationList = DC43AD7717EC2D9500241CC2 /* Build configuration list for PBXProject "Uebersicht" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + English, + Base, + "zh-HK", + ); + mainGroup = DC43AD7317EC2D9500241CC2; + productRefGroup = DC43AD7D17EC2D9500241CC2 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DC43AD7B17EC2D9500241CC2 /* Uebersicht */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DC43AD7A17EC2D9500241CC2 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC62CC731E1C0F73004F85B8 /* Uebersicht.sdef in Resources */, + DCECA1CF1894008800C0CA32 /* MainMenu.xib in Resources */, + DC9296AC1C501D34006E4267 /* widget-status-hidden@2x.png in Resources */, + DC43AD9817EC2D9500241CC2 /* Images.xcassets in Resources */, + DC9296A71C5017CF006E4267 /* widget-status-visible.png in Resources */, + DC4F43F4189E90DD00937925 /* status-icon@2x.png in Resources */, + DC4FC28118EAB1CA00B7FD79 /* übersicht-logo.png in Resources */, + DC4F43F3189E90DD00937925 /* status-icon.png in Resources */, + DC9296A81C5017CF006E4267 /* widget-status-visible@2x.png in Resources */, + E0EA7A6227CA42DB00BC6693 /* Sparkle in Resources */, + DC9296AB1C501D34006E4267 /* widget-status-hidden.png in Resources */, + DCECA1CE1893FE5500C0CA32 /* node_modules in Resources */, + DCECA1CA1893F4EF00C0CA32 /* public in Resources */, + DC57ED2E18DB4EC900A24FDD /* UBPreferencesController.xib in Resources */, + DCECA1C71893F23200C0CA32 /* localnode in Resources */, + DC404DF51D294B3100305CE2 /* geolocation.js in Resources */, + E0EA7A6327CA42DB00BC6693 /* SocketRocket in Resources */, + DCAAAF9618DF0B050097677F /* GettingStarted.jsx in Resources */, + DCECA1C81893F23200C0CA32 /* server.js in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 23C6390C35B95DC020D8A7A6 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Uebersicht-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 408EC9591BE0037CFA86EB7A /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Uebersicht/Pods-Uebersicht-frameworks.sh", + "${PODS_ROOT}/Sparkle/Sparkle.framework", + "${PODS_ROOT}/Sparkle/Sparkle.framework.dSYM", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Sparkle.framework", + "${DWARF_DSYM_FOLDER_PATH}/Sparkle.framework.dSYM", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Uebersicht/Pods-Uebersicht-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + DC06A1C01985092700789130 /* Compile JS */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Compile JS"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "export PATH=$PATH:/usr/local/bin\ncd server && npm run-script release\n"; + }; + DC92346F23015178009D9E2F /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "Run Script"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = " +"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DC43AD7817EC2D9500241CC2 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DCC74B26252AF6DA00C1D1E5 /* UBWindowGroup.m in Sources */, + DC9F7CE31C439CE50014E25B /* UBDispatcher.m in Sources */, + DCE7E3C11A376AD400A12516 /* UBLocation.m in Sources */, + DC43ADB517EC35A800241CC2 /* UBWindow.m in Sources */, + DCF9D9011E9D512600D27988 /* UBReloadCommand.m in Sources */, + DC314A201C0EE024000A56D2 /* UBWidgetsController.m in Sources */, + DC4913961BEF9A75003E76EF /* UBScreensController.m in Sources */, + DCBD665922F823AC0043E434 /* UBWebView.m in Sources */, + DCC7B2F61C575BCE00F563C8 /* UBWidgetsStore.m in Sources */, + DCCBDB992524638400FFAAE1 /* UBWindowsController.m in Sources */, + DCAC78CA1C550B810051E78B /* UBWebSocket.m in Sources */, + DC43AD8C17EC2D9500241CC2 /* main.m in Sources */, + DCB95A8D22FAD3F60066A51A /* UBApplication.m in Sources */, + DC74D0781E1A71E500893D53 /* UBRefreshCommand.m in Sources */, + DC404DF31D2844E100305CE2 /* UBWebViewController.m in Sources */, + DC66522D1E212735003267AF /* UBWidgetForScripting.m in Sources */, + DCAC78CD1C551D130051E78B /* UBListener.m in Sources */, + DC43AD9317EC2D9500241CC2 /* UBAppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + DC43AD9417EC2D9500241CC2 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + DC43AD9517EC2D9500241CC2 /* Base */, + E0A0673E27C6BB7E005CA910 /* zh-HK */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + DC43ADAB17EC2D9500241CC2 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.10; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DC43ADAC17EC2D9500241CC2 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.10; + SDKROOT = macosx; + }; + name = Release; + }; + DC43ADAE17EC2D9500241CC2 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2B2DEDD7D214E00F6E0F133D /* Pods-Uebersicht.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = "Uebersicht/Übersicht.entitlements"; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 69; + DEVELOPMENT_TEAM = 65D7ZZT739; + ENABLE_HARDENED_RUNTIME = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)", + "$(PROJECT_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Uebersicht/Uebersicht-Prefix.pch"; + INFOPLIST_FILE = "$(SRCROOT)/Uebersicht/Uebersicht-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[arch=*]" = "@loader_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MARKETING_VERSION = 1.6; + OTHER_CODE_SIGN_FLAGS = ""; + PRODUCT_BUNDLE_IDENTIFIER = tracesOf.Uebersicht; + PRODUCT_NAME = "桌面小组件"; + PROVISIONING_PROFILE = ""; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = macosx; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + DC43ADAF17EC2D9500241CC2 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1F1AEE7879137369A94611DB /* Pods-Uebersicht.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = "Uebersicht/Übersicht.entitlements"; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 69; + DEVELOPMENT_TEAM = 65D7ZZT739; + ENABLE_HARDENED_RUNTIME = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(SRCROOT)", + "$(PROJECT_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Uebersicht/Uebersicht-Prefix.pch"; + INFOPLIST_FILE = "$(SRCROOT)/Uebersicht/Uebersicht-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[arch=*]" = "@loader_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.10; + MARKETING_VERSION = 1.6; + OTHER_CODE_SIGN_FLAGS = ""; + PRODUCT_BUNDLE_IDENTIFIER = tracesOf.Uebersicht; + PRODUCT_NAME = "桌面小组件"; + PROVISIONING_PROFILE = ""; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = macosx; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DC43AD7717EC2D9500241CC2 /* Build configuration list for PBXProject "Uebersicht" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC43ADAB17EC2D9500241CC2 /* Debug */, + DC43ADAC17EC2D9500241CC2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DC43ADAD17EC2D9500241CC2 /* Build configuration list for PBXNativeTarget "Uebersicht" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC43ADAE17EC2D9500241CC2 /* Debug */, + DC43ADAF17EC2D9500241CC2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DC43AD7417EC2D9500241CC2 /* Project object */; +} diff --git a/uebersicht-code/Uebersicht.xcodeproj/xcshareddata/.pydio b/uebersicht-code/Uebersicht.xcodeproj/xcshareddata/.pydio new file mode 100644 index 0000000..df58848 --- /dev/null +++ b/uebersicht-code/Uebersicht.xcodeproj/xcshareddata/.pydio @@ -0,0 +1 @@ +e8abf4c6-9c77-4826-b4cd-29108ef2c5b9 \ No newline at end of file diff --git a/uebersicht-code/Uebersicht.xcodeproj/xcshareddata/xcschemes/.pydio b/uebersicht-code/Uebersicht.xcodeproj/xcshareddata/xcschemes/.pydio new file mode 100644 index 0000000..892e913 --- /dev/null +++ b/uebersicht-code/Uebersicht.xcodeproj/xcshareddata/xcschemes/.pydio @@ -0,0 +1 @@ +bce31bce-5dde-4674-85d2-2958109bf24e \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/.pydio b/uebersicht-code/Uebersicht/.pydio new file mode 100644 index 0000000..bd14416 --- /dev/null +++ b/uebersicht-code/Uebersicht/.pydio @@ -0,0 +1 @@ +2d3f6bcf-02a0-433b-b602-b8e6088aad64 \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/Base.lproj/.pydio b/uebersicht-code/Uebersicht/Base.lproj/.pydio new file mode 100644 index 0000000..56debf1 --- /dev/null +++ b/uebersicht-code/Uebersicht/Base.lproj/.pydio @@ -0,0 +1 @@ +4ed7200e-67e1-4470-9996-d3dafc2c7e75 \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/Base.lproj/MainMenu.xib b/uebersicht-code/Uebersicht/Base.lproj/MainMenu.xib new file mode 100755 index 0000000..0d75a8c --- /dev/null +++ b/uebersicht-code/Uebersicht/Base.lproj/MainMenu.xib @@ -0,0 +1,716 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uebersicht-code/Uebersicht/GettingStarted.jsx b/uebersicht-code/Uebersicht/GettingStarted.jsx new file mode 100644 index 0000000..5394a52 --- /dev/null +++ b/uebersicht-code/Uebersicht/GettingStarted.jsx @@ -0,0 +1,68 @@ +import { css, run } from "uebersicht" + +export const command = "ls" + +export const refreshFrequency = 100000 // ms + +export const className = css` + left: 200px; + top: 10px; +` +const hello = css` + font-size: 40px; + color: #fff; +` + +const liclass = css` + color: #fff; +` + +const submit = css` + font-size: 16px; + padding: 10px 15px; + border-radius: 6px; + border: none; + background: red; + color: #fff; +` + +// 定义变量 +export const initialState = { + count: 2, + list: [ + { id: 1, title: '新闻列表1' }, + { id: 2, title: '新闻列表2' }, + { id: 3, title: '新闻列表3' }, + ] +}; + +// 初始化函数 +export const init = (dispatch) => { + console.log("init run....") +} + +// 更新数据状态,刷新页面 +export const updateState = (event, previousState) => { + console.log("event: ", event); + console.log("previousState: ", previousState); + return Object.assign(previousState,event); +} + +export const render = ({ output, count, list }, dispatch) => ( +
+

h1 测试:{count}

+

h2 标签,执行shell命令(ls -a)得到的返回: {output}

+
    + { + list.map((e,i) => { + return
  • {i} —— {e.title}
  • + }) + } +
+ +
+) diff --git a/uebersicht-code/Uebersicht/Images.xcassets/.pydio b/uebersicht-code/Uebersicht/Images.xcassets/.pydio new file mode 100644 index 0000000..ece01d4 --- /dev/null +++ b/uebersicht-code/Uebersicht/Images.xcassets/.pydio @@ -0,0 +1 @@ +7fb5981b-2ec9-4eae-9222-f9198f7a817c \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/.pydio b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/.pydio new file mode 100644 index 0000000..e2fb821 --- /dev/null +++ b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/.pydio @@ -0,0 +1 @@ +4c10b15d-f82b-449b-92aa-c2dc2a892e6d \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/128.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/128.png new file mode 100755 index 0000000..f9b1daa Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/128.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/128@2x.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/128@2x.png new file mode 100755 index 0000000..34b8bdf Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/128@2x.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/16.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/16.png new file mode 100755 index 0000000..ce03d1c Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/16.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/16@2x.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/16@2x.png new file mode 100755 index 0000000..48f13c2 Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/16@2x.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/256.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/256.png new file mode 100755 index 0000000..e75202a Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/256.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/256@2x.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/256@2x.png new file mode 100755 index 0000000..166374c Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/256@2x.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/32.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/32.png new file mode 100755 index 0000000..e840dd3 Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/32.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/32@2x.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/32@2x.png new file mode 100755 index 0000000..ff90ce7 Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/32@2x.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/512.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/512.png new file mode 100755 index 0000000..a2015fb Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/512.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/512@2x.png b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/512@2x.png new file mode 100755 index 0000000..ea954a5 Binary files /dev/null and b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/512@2x.png differ diff --git a/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/Contents.json b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100755 index 0000000..2fe2dbc --- /dev/null +++ b/uebersicht-code/Uebersicht/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "16.png", + "scale" : "1x" + }, + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "16@2x.png", + "scale" : "2x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "32.png", + "scale" : "1x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "32@2x.png", + "scale" : "2x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "128.png", + "scale" : "1x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "128@2x.png", + "scale" : "2x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "256.png", + "scale" : "1x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "256@2x.png", + "scale" : "2x" + }, + { + "size" : "512x512", + "idiom" : "mac", + "filename" : "512.png", + "scale" : "1x" + }, + { + "size" : "512x512", + "idiom" : "mac", + "filename" : "512@2x.png", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/UBAppDelegate.h b/uebersicht-code/Uebersicht/UBAppDelegate.h new file mode 100755 index 0000000..e50f632 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBAppDelegate.h @@ -0,0 +1,31 @@ +// +// UBAppDelegate.h +// Übersicht +// +// Created by Felix Hageloh on 20/9/13. +// Copyright (c) 2013 Felix Hageloh. +// +// Released under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. See for +// details. + +#import +#import "UBScreenChangeListener.h" + +@interface UBAppDelegate : NSObject + +@property (weak) IBOutlet NSMenu *statusBarMenu; +@property (readonly) NSArray* widgets; + +- (void)widgetDirDidChange; +- (void)interactionDidChange; +- (void)screensChanged:(NSDictionary*)screens; +- (IBAction)showPreferences:(id)sender; +- (IBAction)openWidgetDir:(id)sender; +- (IBAction)showDebugConsole:(id)sender; +- (IBAction)refreshWidgets:(id)sender; +- (void)reloadWidget:(NSString*)widgetId; +- (void)loginShellDidChange; + +@end diff --git a/uebersicht-code/Uebersicht/UBAppDelegate.m b/uebersicht-code/Uebersicht/UBAppDelegate.m new file mode 100755 index 0000000..f85cde4 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBAppDelegate.m @@ -0,0 +1,466 @@ +// +// UBAppDelegate.m +// Übersicht +// +// Created by Felix Hageloh on 20/9/13. +// Copyright (c) 2013 Felix Hageloh. +// +// Released under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. See for +// details. + +#import "UBAppDelegate.h" +#import "UBWindow.h" +#import "UBPreferencesController.m" +#import "UBScreensController.h" +#import "UBWidgetsController.h" +#import "UBWidgetsStore.h" +#import "UBWebSocket.h" +#import "UBWindowsController.h" + +int const PORT = 41416; + +@implementation UBAppDelegate { + NSStatusItem* statusBarItem; + NSTask* widgetServer; + UBPreferencesController* preferences; + UBScreensController* screensController; + UBWindowsController* windowsController; + BOOL keepServerAlive; + int portOffset; + UBWidgetsStore* widgetsStore; + UBWidgetsController* widgetsController; + BOOL needsRefresh; +} + +@synthesize statusBarMenu; + +- (void)applicationDidFinishLaunching:(NSNotification *)aNotification +{ + needsRefresh = YES; + statusBarItem = [self addStatusItemToMenu: statusBarMenu]; + preferences = [[UBPreferencesController alloc] + initWithWindowNibName:@"UBPreferencesController" + ]; + + // NSTask doesn't terminate when xcode stop is pressed. Other ways of + // spawning the server, like system() or popen() have the same problem. + // So, hit em with a hammer :( + system("killall localnode"); + + widgetsStore = [[UBWidgetsStore alloc] init]; + + screensController = [[UBScreensController alloc] + initWithChangeListener:self + ]; + + windowsController = [[UBWindowsController alloc] init]; + + widgetsController = [[UBWidgetsController alloc] + initWithMenu: statusBarMenu + widgets: widgetsStore + screens: screensController + preferences: preferences + ]; + [widgetsStore onChange: ^(NSDictionary* widgets) { + [self->widgetsController render]; + }]; + + // make sure notifcations always show + NSUserNotificationCenter* unc = [NSUserNotificationCenter + defaultUserNotificationCenter + ]; + unc.delegate = self; + + + [[[NSWorkspace sharedWorkspace] notificationCenter] + addObserver: self + selector: @selector(wakeFromSleep:) + name: NSWorkspaceDidWakeNotification + object: nil + ]; + + [[[NSWorkspace sharedWorkspace] notificationCenter] + addObserver: self + selector: @selector(workspaceChanged:) + name: NSWorkspaceActiveSpaceDidChangeNotification + object: nil + ]; + + [[[NSWorkspace sharedWorkspace] notificationCenter] + addObserver: self + selector: @selector(loginSessionBecameActive:) + name: NSWorkspaceSessionDidBecomeActiveNotification + object: nil + ]; + + [[[NSWorkspace sharedWorkspace] notificationCenter] + addObserver: self + selector: @selector(loginSessionResigned:) + name: NSWorkspaceSessionDidResignActiveNotification + object: nil + ]; + + // start server and load webview + portOffset = 0; + [self startUp]; + + [self listenToWallpaperChanges]; +} + +- (NSDictionary*)fetchState +{ + [[UBWebSocket sharedSocket] open:[self serverUrl:@"ws"]]; + NSURL *urlPath = [[self serverUrl:@"http"] URLByAppendingPathComponent: @"state/"]; + NSData *jsonData = [NSData dataWithContentsOfURL:urlPath]; + NSError *error = nil; + NSDictionary *dataDictionary = [NSJSONSerialization + JSONObjectWithData: jsonData + options: NSJSONReadingMutableContainers + error: &error + ]; + if (error) NSLog(@"%@", error); + return dataDictionary; +} + +- (void)startUp +{ + + NSLog(@"starting server task"); + + void (^handleData)(NSString*) = ^(NSString* output) { + // note that these might be called several times + if ([output rangeOfString:@"server started"].location != NSNotFound) { + [self->widgetsStore reset: [self fetchState]]; + // this will trigger a render + [self->screensController syncScreens:self]; + + } else if ([output rangeOfString:@"EADDRINUSE"].location != NSNotFound) { + self->portOffset++; + } + }; + + void (^handleExit)(NSTask*) = ^(NSTask* theTask) { + [self shutdown]; + if (self->portOffset >= 20) { + self->keepServerAlive = NO; + NSLog(@"couldn't find an open port. Giving up..."); + } + if (self->keepServerAlive) { + [self + performSelector: @selector(startUp) + withObject: nil + afterDelay: 1.0 + ]; + } + }; + + keepServerAlive = YES; + widgetServer = [self + launchWidgetServer: [preferences.widgetDir path] + onData: handleData + onExit: handleExit + ]; +} + +- (void)shutdown:(Boolean)keepAlive +{ + keepServerAlive = keepAlive; + [windowsController closeAll]; + [[UBWebSocket sharedSocket] close]; + if (widgetServer){ + [widgetServer terminate]; + } +} + +- (void)shutdown +{ + [self shutdown:false]; +} + +- (void)applicationWillTerminate:(NSNotification *)notification +{ + keepServerAlive = NO; + [widgetServer terminate]; + [[NSStatusBar systemStatusBar] removeStatusItem:statusBarItem]; + +} + +- (NSStatusItem*)addStatusItemToMenu:(NSMenu*)aMenu +{ + NSStatusBar* bar = [NSStatusBar systemStatusBar]; + NSStatusItem* item; + + item = [bar statusItemWithLength: NSSquareStatusItemLength]; + + NSImage *image = [[NSBundle mainBundle] imageForResource:@"status-icon"]; + [image setTemplate:YES]; + [item.button setImage: image]; + [item setMenu:aMenu]; + [item setEnabled:YES]; + + return item; +} + +- (NSTask*)launchWidgetServer:(NSString*)widgetPath + onData:(void (^)(NSString*))dataHandler + onExit:(void (^)(NSTask*))exitHandler +{ + NSBundle* bundle = [NSBundle mainBundle]; + NSString* nodePath = [bundle pathForResource:@"localnode" ofType:nil]; + NSString* serverPath = [bundle pathForResource:@"server" ofType:@"js"]; + BOOL loginShell = [[NSUserDefaults standardUserDefaults] + boolForKey:@"loginShell" + ]; + + NSTask *task = [[NSTask alloc] init]; + + [task setStandardOutput:[NSPipe pipe]]; + [task.standardOutput fileHandleForReading].readabilityHandler = ^(NSFileHandle *handle) { + NSData *output = [handle availableData]; + NSString *outStr = [[NSString alloc] + initWithData:output + encoding:NSUTF8StringEncoding + ]; + + NSLog(@"%@", outStr); + dispatch_async(dispatch_get_main_queue(), ^{ + dataHandler(outStr); + }); + }; + + task.terminationHandler = ^(NSTask *theTask) { + [theTask.standardOutput fileHandleForReading].readabilityHandler = nil; + dispatch_async(dispatch_get_main_queue(), ^{ + exitHandler(theTask); + }); + }; + + [task setLaunchPath:nodePath]; + [task setArguments:@[ + serverPath, + @"-d", widgetPath, + @"-p", [NSString stringWithFormat:@"%d", PORT + portOffset], + @"-s", [[self getPreferencesDir] path], + loginShell ? @"--login-shell" : @"" + ]]; + + [task launch]; + return task; +} + + +- (NSURL*)getPreferencesDir +{ + NSArray* urls = [[NSFileManager defaultManager] + URLsForDirectory:NSApplicationSupportDirectory + inDomains:NSUserDomainMask + ]; + + return [urls[0] + URLByAppendingPathComponent:[[NSBundle mainBundle] bundleIdentifier] + isDirectory:YES + ]; +} + +- (NSURL*)serverUrl:(NSString*)protocol +{ + // trailing slash required for load policy in UBWindow + return [NSURL + URLWithString:[NSString + stringWithFormat:@"%@://127.0.0.1:%d/", protocol, PORT+portOffset + ] + ]; +} + + +# +#pragma mark Screen Handling +# + +- (void)screensChanged:(NSDictionary*)screens +{ + if (widgetsController) { + [windowsController + updateWindows:screens + baseUrl: [self serverUrl: @"http"] + interactionEnabled: preferences.enableInteraction + forceRefresh: needsRefresh + ]; + needsRefresh = NO; + } +} + +# +# pragma mark received actions +# + + +- (void)widgetDirDidChange +{ + [self shutdown:true]; +} + +- (void)loginShellDidChange +{ + [self shutdown:true]; +} + +- (void)interactionDidChange +{ + [windowsController closeAll]; + needsRefresh = YES; + [screensController syncScreens:self]; +} + +- (IBAction)showPreferences:(id)sender +{ + [preferences showWindow:nil]; + [NSApp activateIgnoringOtherApps:YES]; + [preferences.window makeKeyAndOrderFront:self]; +} + +- (IBAction)openWidgetDir:(id)sender +{ + [[NSWorkspace sharedWorkspace]openURL:preferences.widgetDir]; +} + +- (IBAction)visitWidgetGallery:(id)sender +{ + [[NSWorkspace sharedWorkspace] + openURL:[NSURL URLWithString:@"http://tracesof.net/uebersicht-widgets/"] + ]; +} + +- (IBAction)refreshWidgets:(id)sender +{ + needsRefresh = YES; + [screensController syncScreens:self]; +} + +- (IBAction)showDebugConsole:(id)sender +{ + NSNumber* currentScreen = [[NSScreen mainScreen] + deviceDescription + ][@"NSScreenNumber"]; + + [windowsController showDebugConsolesForScreen:currentScreen]; +} + +- (BOOL)userNotificationCenter:(NSUserNotificationCenter *)center + shouldPresentNotification:(NSUserNotification *)notification +{ + return YES; +} + +- (void)wakeFromSleep:(NSNotification *)notification +{ + [windowsController reloadAll]; +} + +- (void)workspaceChanged:(NSNotification *)notification +{ + [windowsController workspaceChanged]; +} + +- (void)wallpaperChanged:(NSNotification *)notification +{ + [windowsController wallpaperChanged]; +} + +- (void)loginSessionBecameActive:(NSNotification *)notification +{ + [self startUp]; +} + +- (void)loginSessionResigned:(NSNotification *)notification +{ + [self shutdown]; +} + + +- (void)listenToWallpaperChanges +{ + NSArray *paths = NSSearchPathForDirectoriesInDomains( + NSLibraryDirectory, + NSUserDomainMask, + YES + ); + + CFStringRef path = (__bridge CFStringRef)[paths[0] + stringByAppendingPathComponent:@"/Application Support/Dock/" + ]; + + FSEventStreamContext context = { + 0, + (__bridge void *)(self), NULL, NULL, NULL + }; + FSEventStreamRef stream; + + stream = FSEventStreamCreate( + NULL, + &wallpaperSettingsChanged, + &context, + CFArrayCreate(NULL, (const void **)&path, 1, NULL), + kFSEventStreamEventIdSinceNow, + 0, + kFSEventStreamCreateFlagFileEvents | kFSEventStreamCreateFlagUseCFTypes + ); + + FSEventStreamScheduleWithRunLoop( + stream, + CFRunLoopGetCurrent(), + kCFRunLoopDefaultMode + ); + FSEventStreamStart(stream); + +} + +void wallpaperSettingsChanged( + ConstFSEventStreamRef streamRef, + void *this, + size_t numEvents, + void *eventPaths, + const FSEventStreamEventFlags eventFlags[], + const FSEventStreamEventId eventIds[] +) +{ + CFStringRef path; + CFArrayRef paths = eventPaths; + + for (int i=0; i < numEvents; i++) { + path = CFArrayGetValueAtIndex(paths, i); + if (CFStringFindWithOptions(path, CFSTR("desktoppicture.db"), + CFRangeMake(0,CFStringGetLength(path)), + kCFCompareCaseInsensitive, + NULL) == true) { + [(__bridge UBAppDelegate*)this + performSelector:@selector(wallpaperChanged:) + withObject:nil + afterDelay:0.5 + ]; + } + } +} + +# +# pragma mark script support +# + +- (NSArray*)getWidgets +{ + return [widgetsController widgetsForScripting]; +} + +- (BOOL)application:(NSApplication *)sender delegateHandlesKey:(NSString *)key +{ + return [key isEqualToString:@"widgets"]; +} + +- (void)reloadWidget:(NSString*)widgetId +{ + [widgetsController reloadWidget:widgetId]; +} + +@end diff --git a/uebersicht-code/Uebersicht/UBApplication.h b/uebersicht-code/Uebersicht/UBApplication.h new file mode 100755 index 0000000..da5d12b --- /dev/null +++ b/uebersicht-code/Uebersicht/UBApplication.h @@ -0,0 +1,17 @@ +// +// UBApplication.h +// Uebersicht +// +// Created by Felix Hageloh on 7/8/19. +// Copyright © 2019 tracesOf. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface UBApplication : NSApplication + +@end + +NS_ASSUME_NONNULL_END diff --git a/uebersicht-code/Uebersicht/UBApplication.m b/uebersicht-code/Uebersicht/UBApplication.m new file mode 100755 index 0000000..c34f849 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBApplication.m @@ -0,0 +1,21 @@ +// +// UBApplication.m +// Uebersicht +// +// Created by Felix Hageloh on 7/8/19. +// Copyright © 2019 tracesOf. All rights reserved. +// + +#import "UBApplication.h" + +@implementation UBApplication + +- (void)sendEvent:(NSEvent *)event +{ + if (event.type == NSEventTypeMouseEntered) { + [event.window makeKeyWindow]; + } + [super sendEvent:event]; +} + +@end diff --git a/uebersicht-code/Uebersicht/UBDispatcher.h b/uebersicht-code/Uebersicht/UBDispatcher.h new file mode 100755 index 0000000..873fd12 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBDispatcher.h @@ -0,0 +1,16 @@ +// +// UBDispatcher.h +// +// +// Created by Felix Hageloh on 11/1/16. +// +// + +#import + + +@interface UBDispatcher : NSObject + +- (void)dispatch:(NSString*)type withPayload:(id)payload; + +@end diff --git a/uebersicht-code/Uebersicht/UBDispatcher.m b/uebersicht-code/Uebersicht/UBDispatcher.m new file mode 100755 index 0000000..b63f186 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBDispatcher.m @@ -0,0 +1,40 @@ +// +// UBDispatcher.m +// +// +// Created by Felix Hageloh on 11/1/16. +// +// + +#import "UBDispatcher.h" +#import "UBWebSocket.h" + +@implementation UBDispatcher + + +- (void)dispatch:(NSString*)type withPayload:(id)payload +{ + NSDictionary* message = @{ @"type": type, @"payload": payload }; + + NSError* error; + NSData* jsonData = [NSJSONSerialization + dataWithJSONObject: message + options: 0 + error: &error + ]; + + if (!jsonData) { + NSLog(@"err: %@", error); + return; + } + + [[UBWebSocket sharedSocket] + send: [[NSString alloc] + initWithData:jsonData + encoding:NSUTF8StringEncoding + ] + ]; +} + + +@end diff --git a/uebersicht-code/Uebersicht/UBListener.h b/uebersicht-code/Uebersicht/UBListener.h new file mode 100755 index 0000000..a368653 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBListener.h @@ -0,0 +1,15 @@ +// +// UBListener.h +// +// +// Created by Felix Hageloh on 24/1/16. +// +// + +#import + +@interface UBListener : NSObject + +- (void)on:(NSString*)type do:(void (^)(id))callback; + +@end diff --git a/uebersicht-code/Uebersicht/UBListener.m b/uebersicht-code/Uebersicht/UBListener.m new file mode 100755 index 0000000..2872100 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBListener.m @@ -0,0 +1,56 @@ +// +// UBListener.m +// +// +// Created by Felix Hageloh on 24/1/16. +// +// + +#import "UBListener.h" +#import "UBWebSocket.h" + +@implementation UBListener { + NSMutableDictionary* listeners; +} + +- (id)init +{ + self = [super init]; + if (self) { + listeners = [[NSMutableDictionary alloc] init]; + + [[UBWebSocket sharedSocket] listen:^(id message) { + [self handleMessage:message]; + }]; + } + return self; +} + +- (void)on:(NSString*)type do:(void (^)(id))callback +{ + if (!listeners[type]) { + listeners[type] = [[NSMutableArray alloc] init]; + } + + [listeners[type] addObject:callback]; +} + +- (void)handleMessage:(id)message +{ + NSDictionary* parsedMessage = [NSJSONSerialization + JSONObjectWithData: [message dataUsingEncoding:NSUTF8StringEncoding] + options: 0 + error: nil + ]; + + NSString* type = parsedMessage[@"type"]; + if (!listeners[type]) { + return; + } + + for (void (^listener)(id) in listeners[type]) { + listener(parsedMessage[@"payload"]); + } +} + +@end diff --git a/uebersicht-code/Uebersicht/UBLocation.h b/uebersicht-code/Uebersicht/UBLocation.h new file mode 100755 index 0000000..eaf4601 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBLocation.h @@ -0,0 +1,18 @@ +// +// UBLocation.h +// Übersicht +// +// Created by Felix Hageloh on 9/12/14. +// Copyright (c) 2014 tracesOf. All rights reserved. +// + +#import + +@import WebKit; +@import CoreLocation; + +@interface UBLocation : NSObject + +//- (id) initWithContext:(JSContextRef)context; +//- (void)getCurrentPosition:(WebScriptObject *)callback; +@end diff --git a/uebersicht-code/Uebersicht/UBLocation.m b/uebersicht-code/Uebersicht/UBLocation.m new file mode 100755 index 0000000..93b3640 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBLocation.m @@ -0,0 +1,184 @@ +// +// UBLocation.m +// Übersicht +// +// Created by Felix Hageloh on 9/12/14. +// Copyright (c) 2014 tracesOf. All rights reserved. +// + +#import "UBLocation.h" + +@implementation UBLocation { + CLLocationManager* locationManager; + CLGeocoder* geoCoder; + NSMutableDictionary* waitingForReponse; + NSString* callbackSignature; + NSString* currentPosition; + BOOL serviceStarted; +} + +- (id)init { + self = [super init]; + + if (self) { + locationManager = [[CLLocationManager alloc] init]; + locationManager.delegate = self; + locationManager.desiredAccuracy = kCLLocationAccuracyBest; + + geoCoder = [[CLGeocoder alloc] init]; + + waitingForReponse = [[NSMutableDictionary alloc] init]; + callbackSignature = @"__UBCallbacks__.call(%@, %@)"; + + serviceStarted = NO; + } + + return self; +} + +- (void)userContentController:(WKUserContentController *)controller + didReceiveScriptMessage:(WKScriptMessage *)message +{ + NSString* callbackId = message.body[@"callbackId"]; + if ([message.body[@"type"] isEqualToString:@"registerCallback"]) { + if (!serviceStarted) { + [self startService]; + } + + waitingForReponse[callbackId] = message; + + if (currentPosition) { + [self respondToMessage:message withArguments:currentPosition]; + } + } else if([message.body[@"type"] isEqualToString:@"removeCallback"]) { + [waitingForReponse removeObjectForKey:callbackId]; + + if (waitingForReponse.count == 0) { + [self stopService]; + } + } +} + +- (void)respondToMessage:(WKScriptMessage*)message withArguments:(NSString*)args +{ + [message.webView + evaluateJavaScript: [NSString + stringWithFormat:callbackSignature, + message.body[@"callbackId"], + args + ] + completionHandler: nil + ]; +} + +- (void)startService +{ + if (serviceStarted) { return; } + + [locationManager startUpdatingLocation]; + serviceStarted = YES; +} + +- (void)stopService +{ + if (!serviceStarted) { return; } + + [locationManager stopUpdatingLocation]; + currentPosition = nil; + serviceStarted = NO; +} + +- (NSString*)toJSString:(CLLocation *)location placeMark:(CLPlacemark*)placeMark +{ + // Coordinates properties (Position.coords) + CLLocationDegrees latitude = location.coordinate.latitude; + CLLocationDegrees longitude = location.coordinate.longitude; + CLLocationDistance altitude = location.altitude; + CLLocationSpeed speed = location.speed; + CLLocationDirection heading = location.course; + CLLocationAccuracy accuracy = location.horizontalAccuracy; + CLLocationAccuracy altitudeAccuracy = location.verticalAccuracy; + + + NSDate *timestamp = location.timestamp; + NSDictionary *address = placeMark.addressDictionary; + + NSString* format = @"{ \ + \"position\": { \ + \"timestamp\": %f, \ + \"coords\": { \ + \"latitude\": %f, \ + \"longitude\": %f, \ + \"altitude\": %f, \ + \"accuracy\": %f, \ + \"altitudeAccuracy\": %f, \ + \"heading\": %f, \ + \"speed\": %f \ + } \ + }, \ + \"address\": { \ + \"street\": \"%@\", \ + \"city\": \"%@\", \ + \"zip\": \"%@\", \ + \"country\": \"%@\", \ + \"state\": \"%@\", \ + \"CountryCode\": \"%@\" \ + } \ + }"; + + + return [NSString + stringWithFormat:format, + (timestamp.timeIntervalSince1970 * 1000), + latitude, + longitude, + altitude, + accuracy, + altitudeAccuracy, + heading, + speed, + address[@"Street"], + address[@"City"], + address[@"ZIP"], + address[@"Country"], + address[@"State"], + address[@"CountryCode"] + ]; + +} + + +# +#pragma mark CoreLocation delegates +# + +- (void)locationManager:(CLLocationManager *)manager + didUpdateLocations:(NSArray *)locations +{ + CLLocation *location = [locations lastObject]; + + [geoCoder cancelGeocode]; + [geoCoder + reverseGeocodeLocation:location + completionHandler:^(NSArray *placemarks, NSError *error) { + if (error) return; + CLPlacemark *placemark = ((CLPlacemark*)placemarks[0]); + self->currentPosition = [self toJSString:location placeMark:placemark]; + + for (id callbackId in self->waitingForReponse) { + [self + respondToMessage: self->waitingForReponse[callbackId] + withArguments: self->currentPosition + ]; + } + } + ]; +} + +- (void)locationManager:(CLLocationManager *)manager + didFailWithError:(NSError *)error +{ +} + + +@end diff --git a/uebersicht-code/Uebersicht/UBPreferencesController.h b/uebersicht-code/Uebersicht/UBPreferencesController.h new file mode 100755 index 0000000..7ac1e1f --- /dev/null +++ b/uebersicht-code/Uebersicht/UBPreferencesController.h @@ -0,0 +1,26 @@ +// +// UBPreferencesController.h +// Übersicht +// +// Created by Felix Hageloh on 20/3/14. +// Copyright (c) 2014 Felix Hageloh. +// +// Released under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. See for +// details. + +#import + +@interface UBPreferencesController : NSWindowController + +@property (weak) IBOutlet NSPopUpButton *filePicker; +@property BOOL startAtLogin; +@property BOOL compatibilityMode; +@property NSURL* widgetDir; +@property BOOL loginShell; +@property BOOL enableInteraction; + +- (IBAction)showFilePicker:(id)sender; + +@end diff --git a/uebersicht-code/Uebersicht/UBPreferencesController.m b/uebersicht-code/Uebersicht/UBPreferencesController.m new file mode 100755 index 0000000..ec696d8 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBPreferencesController.m @@ -0,0 +1,275 @@ +// +// UBPreferencesController.m +// Übersicht +// +// Created by Felix Hageloh on 20/3/14. +// Copyright (c) 2014 Felix Hageloh. +// +// Released under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. See for +// details. + +#import "UBPreferencesController.h" + +@implementation UBPreferencesController { + LSSharedFileListRef loginItems; +} + +@synthesize filePicker; + +- (id)initWithWindowNibName:(NSString *)windowNibName +{ + self = [super initWithWindowNibName:windowNibName]; + if (self) { + + NSData* defaultWidgetDir = [self ensureDefaultsWidgetDir]; + NSDictionary *appDefaults = @{ + @"widgetDirectory": defaultWidgetDir, + @"enableInteraction": @YES + }; + [[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults]; + + // watch for login item changes + loginItems = LSSharedFileListCreate(NULL, + kLSSharedFileListSessionLoginItems, + NULL); + + LSSharedFileListAddObserver(loginItems, + CFRunLoopGetMain(), + kCFRunLoopCommonModes, + loginItemsChanged, + (__bridge void*)self); + } + + return self; +} + +- (void)windowDidLoad +{ + [super windowDidLoad]; + + [[self.window standardWindowButton:NSWindowMiniaturizeButton] setEnabled:NO]; + [[self.window standardWindowButton:NSWindowZoomButton] setEnabled:NO]; + + [self widgetDirChanged:self.widgetDir]; +} + +# +#pragma mark Widget Directory +# + +- (IBAction)showFilePicker:(id)sender +{ + NSOpenPanel* openPanel = [NSOpenPanel openPanel]; + + [openPanel setCanChooseFiles:NO]; + [openPanel setCanChooseDirectories:YES]; + + [openPanel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result) { + if (result == NSFileHandlingPanelOKButton) { + [self setWidgetDir:[openPanel URLs][0]]; + } + + [self->filePicker selectItemAtIndex:0]; + }]; +} + +- (NSURL*)widgetDir +{ + NSData* widgetDir = [[NSUserDefaults standardUserDefaults] + objectForKey:@"widgetDirectory"]; + + return [NSKeyedUnarchiver unarchiveObjectWithData:widgetDir]; +} + +- (void)setWidgetDir:(NSURL*)newDir +{ + NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; + [defaults setObject:[NSKeyedArchiver archivedDataWithRootObject:newDir] + forKey:@"widgetDirectory"]; + + [self widgetDirChanged:newDir]; + [(UBAppDelegate *)[NSApp delegate] widgetDirDidChange]; +} + +- (void)widgetDirChanged:(NSURL*)url +{ + NSImage *iconImage = [[NSWorkspace sharedWorkspace] iconForFile:[url path]]; + [iconImage setSize:NSMakeSize(16,16)]; + + // TODO: see if we could use bindings for this + [[filePicker itemAtIndex:0] setTitle: [url path]]; + [[filePicker itemAtIndex:0] setImage:iconImage]; +} + + +- (NSData*)ensureDefaultsWidgetDir +{ + NSArray* urls = [[NSFileManager defaultManager] + URLsForDirectory:NSApplicationSupportDirectory + inDomains:NSUserDomainMask + ]; + + NSURL* defaultDir = [urls[0] + URLByAppendingPathComponent:@"Übersicht/widgets" + isDirectory:YES + ]; + + [self createIfNotExists:defaultDir]; + + return [NSKeyedArchiver archivedDataWithRootObject:defaultDir]; +} + +- (void)createIfNotExists:(NSURL*)defaultWidgetDir +{ + NSFileManager* fileManager = [NSFileManager defaultManager]; + BOOL isDir; + + if ([fileManager fileExistsAtPath:[defaultWidgetDir path] isDirectory:&isDir] && isDir) { + return; + } + + NSError* error; + [fileManager createDirectoryAtURL:defaultWidgetDir + withIntermediateDirectories:YES + attributes:nil + error:&error]; + + if (error) { + NSLog(@"%@", error); + return; + } + + NSURL* gettinStartedWidget = [[NSBundle mainBundle] URLForResource:@"GettingStarted" withExtension:@"jsx"]; + + [fileManager copyItemAtURL:gettinStartedWidget + toURL:[defaultWidgetDir URLByAppendingPathComponent:@"GettingStarted.jsx"] + error:&error]; + + NSURL* logo = [[NSBundle mainBundle] URLForResource:@"übersicht-logo" withExtension:@"png"]; + + [fileManager copyItemAtURL:logo + toURL:[defaultWidgetDir URLByAppendingPathComponent:@"logo.png"] + error:&error]; + + if (error) { + NSLog(@"%@", error); + } + +} + +# +#pragma mark Login Shell +# + + +- (BOOL)loginShell +{ + NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; + return [defaults boolForKey:@"loginShell"]; +} + +- (void)setLoginShell:(BOOL)enabled +{ + NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; + [defaults setBool:enabled forKey:@"loginShell"]; + [(UBAppDelegate *)[NSApp delegate] loginShellDidChange]; +} + + +# +#pragma mark Interaction +# + + +- (BOOL)enableInteraction +{ + NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; + return [[defaults valueForKey:@"enableInteraction"] boolValue]; +} + +- (void)setEnableInteraction:(BOOL)enabled +{ + NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; + [defaults setObject:@(enabled) forKey:@"enableInteraction"]; + [(UBAppDelegate *)[NSApp delegate] interactionDidChange]; +} + +# +#pragma mark Startup +# + +- (BOOL)startAtLogin +{ + return [self getLoginItem] != NULL; +} + +- (void)setStartAtLogin:(BOOL)doStart +{ + if (doStart) { + NSURL *bundleURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] bundlePath]]; + LSSharedFileListInsertItemURL(loginItems, + kLSSharedFileListItemLast, + NULL, + NULL, + (__bridge CFURLRef)bundleURL, + NULL, + NULL); + } else { + LSSharedFileListItemRef loginItemRef = [self getLoginItem]; + if (loginItemRef) { + LSSharedFileListItemRemove(loginItems, loginItemRef); + CFRelease(loginItemRef); + } + + } +} + +- (LSSharedFileListItemRef)getLoginItem +{ + CFArrayRef snapshotRef = LSSharedFileListCopySnapshot(loginItems, NULL); + NSURL *bundleURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] bundlePath]]; + + LSSharedFileListItemRef itemRef = NULL; + CFURLRef itemURLRef; + + for (id item in (__bridge NSArray*)snapshotRef) { + itemRef = (__bridge LSSharedFileListItemRef)item; + if (LSSharedFileListItemResolve(itemRef, 0, &itemURLRef, NULL) == noErr) { + if ([bundleURL isEqual:((__bridge NSURL *)itemURLRef)]) { + CFRetain(itemRef); + break; + } + } + itemRef = NULL; + } + + CFRelease(snapshotRef); + return itemRef; +} + +static void loginItemsChanged(LSSharedFileListRef listRef, void *context) +{ + UBPreferencesController *controller = (__bridge UBPreferencesController*)context; + + [controller willChangeValueForKey:@"startAtLogin"]; + [controller didChangeValueForKey:@"startAtLogin"]; +} + +# +#pragma mark Teardown +# + +- (void)dealloc +{ + LSSharedFileListRemoveObserver(loginItems, + CFRunLoopGetMain(), + kCFRunLoopCommonModes, + loginItemsChanged, + (__bridge void*)self); + CFRelease(loginItems); +} + + +@end diff --git a/uebersicht-code/Uebersicht/UBPreferencesController.xib b/uebersicht-code/Uebersicht/UBPreferencesController.xib new file mode 100755 index 0000000..2decd03 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBPreferencesController.xib @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uebersicht-code/Uebersicht/UBRefreshCommand.h b/uebersicht-code/Uebersicht/UBRefreshCommand.h new file mode 100755 index 0000000..d9bd6ed --- /dev/null +++ b/uebersicht-code/Uebersicht/UBRefreshCommand.h @@ -0,0 +1,13 @@ +// +// UBRefreshCommand.h +// Uebersicht +// +// Created by Felix Hageloh on 2/1/17. +// Copyright © 2017 tracesOf. All rights reserved. +// + +#import + +@interface UBRefreshCommand : NSScriptCommand + +@end diff --git a/uebersicht-code/Uebersicht/UBRefreshCommand.m b/uebersicht-code/Uebersicht/UBRefreshCommand.m new file mode 100755 index 0000000..e0ad5ff --- /dev/null +++ b/uebersicht-code/Uebersicht/UBRefreshCommand.m @@ -0,0 +1,20 @@ +// +// UBRefreshCommand.m +// Uebersicht +// +// Created by Felix Hageloh on 2/1/17. +// Copyright © 2017 tracesOf. All rights reserved. +// + +#import "UBRefreshCommand.h" +#import "UBAppDelegate.h" + +@implementation UBRefreshCommand + +-(id)performDefaultImplementation +{ + [(UBAppDelegate*)[NSApp delegate] refreshWidgets:self]; + return nil; +} + +@end diff --git a/uebersicht-code/Uebersicht/UBReloadCommand.h b/uebersicht-code/Uebersicht/UBReloadCommand.h new file mode 100755 index 0000000..9f328b3 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBReloadCommand.h @@ -0,0 +1,13 @@ +// +// UBReloadCommand.h +// Uebersicht +// +// Created by Felix Hageloh on 11/4/17. +// Copyright © 2017 tracesOf. All rights reserved. +// + +#import + +@interface UBReloadCommand : NSScriptCommand + +@end diff --git a/uebersicht-code/Uebersicht/UBReloadCommand.m b/uebersicht-code/Uebersicht/UBReloadCommand.m new file mode 100755 index 0000000..319bf3d --- /dev/null +++ b/uebersicht-code/Uebersicht/UBReloadCommand.m @@ -0,0 +1,18 @@ +// +// UBReloadCommand.m +// Uebersicht +// +// Created by Felix Hageloh on 11/4/17. +// Copyright © 2017 tracesOf. All rights reserved. +// + +#import "UBReloadCommand.h" + +@implementation UBReloadCommand + +-(id)performDefaultImplementation +{ + return nil; +} + +@end diff --git a/uebersicht-code/Uebersicht/UBScreenChangeListener.h b/uebersicht-code/Uebersicht/UBScreenChangeListener.h new file mode 100755 index 0000000..46afad3 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBScreenChangeListener.h @@ -0,0 +1,17 @@ +// +// UBScreenChangeListener.h +// Uebersicht +// +// Created by Felix Hageloh on 31/12/16. +// Copyright © 2016 tracesOf. All rights reserved. +// + +#ifndef UBScreenChangeListener_h +#define UBScreenChangeListener_h + + +#endif /* UBScreenChangeListener_h */ + +@protocol UBScreenChangeListener +- (void)screensChanged:(NSDictionary*)screens; +@end diff --git a/uebersicht-code/Uebersicht/UBScreensController.h b/uebersicht-code/Uebersicht/UBScreensController.h new file mode 100755 index 0000000..c39ffc0 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBScreensController.h @@ -0,0 +1,19 @@ +// +// UBScreensMenuController.h +// +// +// Created by Felix Hageloh on 8/11/15. +// +// + +#import + +@interface UBScreensController : NSObject + +@property NSMutableDictionary* screens; +@property NSArray* sortedScreens; + +- (id)initWithChangeListener:(id)target; +- (void)syncScreens:(id)sender; + +@end diff --git a/uebersicht-code/Uebersicht/UBScreensController.m b/uebersicht-code/Uebersicht/UBScreensController.m new file mode 100755 index 0000000..e707c43 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBScreensController.m @@ -0,0 +1,195 @@ +// +// UBScreensMenuController.m +// +// +// Created by Felix Hageloh on 8/11/15. +// +// + +#import "UBScreensController.h" +#import "UBDispatcher.h" +#import "UBScreenChangeListener.h" + +int const MAX_DISPLAYS = 42; + +@implementation UBScreensController { + id listener; + UBDispatcher* dispatcher; +} + +@synthesize screens; +@synthesize sortedScreens; + +- (id)initWithChangeListener:(id)target; +{ + self = [super init]; + if (self) { + screens = [[NSMutableDictionary alloc] initWithCapacity:MAX_DISPLAYS]; + listener = target; + dispatcher = [[UBDispatcher alloc] init]; + + [[NSNotificationCenter defaultCenter] + addObserver: self + selector: @selector(syncScreens:) + name: NSApplicationDidChangeScreenParametersNotification + object: nil + ]; + } + + return self; +} + + +- (void)updateScreens +{ + NSString *name; + NSMutableDictionary *nameList = [[NSMutableDictionary alloc] + initWithCapacity:MAX_DISPLAYS + ]; + + CGDirectDisplayID displays[MAX_DISPLAYS]; + uint32_t numDisplays; + + CGError error = CGGetActiveDisplayList( + MAX_DISPLAYS, + displays, + &numDisplays + ); + + if (error || numDisplays == 0) { + [self + performSelector: @selector(updateScreens) + withObject: nil + afterDelay: 1 + ]; + return; + } + + [screens removeAllObjects]; + NSMutableArray *ids = [[NSMutableArray alloc] initWithCapacity:numDisplays]; + + for(int i = 0; i < numDisplays; i++) { + name = [self screenNameForDisplay:displays[i]]; + if (!name) + name = [NSString stringWithFormat:@"Display %i", i]; + + NSNumber *count; + if ((count = nameList[name])) { + nameList[name] = [NSNumber numberWithInt:count.intValue+1]; + name = [name stringByAppendingString:[NSString + stringWithFormat:@" (%i)", count.intValue+1] + ]; + } else { + nameList[name] = [NSNumber numberWithInt:1]; + } + + NSNumber* screenId = @(displays[i]); + screens[screenId] = name; + [ids addObject: screenId]; + } + + sortedScreens = ids; + + [dispatcher + dispatch: @"SCREENS_DID_CHANGE" + withPayload: sortedScreens + ]; +} + +- (void)syncScreens:(id)sender +{ + [self updateScreens]; + [listener screensChanged:screens]; +} + + +- (NSString*)screenNameForDisplay:(CGDirectDisplayID)displayID +{ + if (CGDisplayIsBuiltin(displayID)) { + return @"Built-in Display"; + } + + CFDictionaryRef deviceInfo = getDisplayInfoDictionary(displayID); + + if (!deviceInfo) { + return nil; + } + + NSString *name = nil; + NSDictionary *localizedNames = [(__bridge NSDictionary *)deviceInfo + objectForKey:[NSString stringWithUTF8String:kDisplayProductName] + ]; + if ([localizedNames count] > 0) { + name = [localizedNames + objectForKey:[[localizedNames allKeys] objectAtIndex:0] + ]; + } + CFRelease(deviceInfo); + return name; +} + + + +-(NSInteger)indexOfScreenMenuItems:(NSMenu*)menu +{ + return [menu indexOfItem:[menu itemWithTitle:@"Check for Updates..."]] + 2; +} + +// can't belive you are making. me. do. this. +static CFDictionaryRef getDisplayInfoDictionary(CGDirectDisplayID displayID) +{ + CFDictionaryRef info = nil; + io_iterator_t iter; + io_service_t serv; + + CFMutableDictionaryRef matching = IOServiceMatching("IODisplayConnect"); + + // releases matching for us + kern_return_t err = IOServiceGetMatchingServices( + kIOMasterPortDefault, + matching, + &iter + ); + if (err) return nil; + + while ((serv = IOIteratorNext(iter)) != 0) + { + + CFIndex vendorID, productID; + CFNumberRef vendorIDRef, productIDRef; + Boolean success; + + info = IODisplayCreateInfoDictionary(serv,kIODisplayOnlyPreferredName); + + vendorIDRef = CFDictionaryGetValue(info, CFSTR(kDisplayVendorID)); + productIDRef = CFDictionaryGetValue(info, CFSTR(kDisplayProductID)); + + success = CFNumberGetValue( + vendorIDRef, + kCFNumberCFIndexType, + &vendorID + ); + + success &= CFNumberGetValue( + productIDRef, + kCFNumberCFIndexType, + &productID + ); + + if (!success || CGDisplayVendorNumber(displayID) != vendorID || + CGDisplayModelNumber(displayID) != productID) { + CFRelease(info); + info = nil; + continue; + } + + break; + } + + IOObjectRelease(serv); + IOObjectRelease(iter); + return info; +} + + +@end diff --git a/uebersicht-code/Uebersicht/UBWebSocket.h b/uebersicht-code/Uebersicht/UBWebSocket.h new file mode 100755 index 0000000..8918d1a --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWebSocket.h @@ -0,0 +1,20 @@ +// +// UBWebSocket.h +// +// +// Created by Felix Hageloh on 24/1/16. +// +// + +#import +#import + +@interface UBWebSocket : NSObject + ++ (id)sharedSocket; +- (void)open:(NSURL*)aUrl; +- (void)close; +- (void)send:(id)message; +- (void)listen:(void (^)(id))listener; + +@end diff --git a/uebersicht-code/Uebersicht/UBWebSocket.m b/uebersicht-code/Uebersicht/UBWebSocket.m new file mode 100755 index 0000000..84accb5 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWebSocket.m @@ -0,0 +1,122 @@ +// +// UBWebSocket.m +// +// +// Created by Felix Hageloh on 24/1/16. +// +// + +#import "UBWebSocket.h" + +@implementation UBWebSocket { + NSMutableArray* listeners; + NSMutableArray* queuedMessages; + SRWebSocket* ws; + NSURL* url; +} + + ++ (id)sharedSocket { + static UBWebSocket* sharedSocket = nil; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + sharedSocket = [[self alloc] init]; + }); + return sharedSocket; +} + +- (id)init { + + if (self = [super init]) { + listeners = [[NSMutableArray alloc] init]; + queuedMessages = [[NSMutableArray alloc] init]; + } + return self; +} + +- (void)send:(id)message +{ + if (ws && ws.readyState == SR_OPEN) { + [ws send:message]; + } else { + [queuedMessages addObject: message]; + } +} + +- (void)listen:(void (^)(id))listener +{ + [listeners addObject:listener]; +} + +- (void)open:(NSURL*)aUrl +{ + if (ws) { + return; + } + + url = aUrl; + NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:url]; + [request setValue:@"Übersicht" forHTTPHeaderField:@"Origin"]; + ws = [[SRWebSocket alloc] initWithURLRequest: request]; + ws.delegate = self; + [ws open]; +} + +- (void)close +{ + if (ws) { + ws.delegate = nil; + [ws close]; + ws = nil; + url = nil; + } +} + +- (void)reopen +{ + [self close]; + if (url) { + [self open:url]; + } +} + +- (void)webSocketDidOpen:(SRWebSocket *)webSocket +{ + for (id message in queuedMessages) { + [ws send:message]; + } + + [queuedMessages removeAllObjects]; +} + +- (void)webSocket:(SRWebSocket *)webSocket didReceiveMessage:(id)message +{ + for (void (^listener)(id) in listeners) { + listener(message); + } +} + +- (void)webSocket:(SRWebSocket *)webSocket didFailWithError:(NSError *)error +{ + [webSocket close]; + [self + performSelector:@selector(reopen) + withObject:nil + afterDelay: 0.1 + ]; +} + +- (void)webSocket:(SRWebSocket *)webSocket + didCloseWithCode:(NSInteger)code + reason:(NSString *)reason + wasClean:(BOOL)wasClean +{ + + [self + performSelector:@selector(reopen) + withObject:nil + afterDelay: 0.1 + ]; +} + +@end diff --git a/uebersicht-code/Uebersicht/UBWebView.h b/uebersicht-code/Uebersicht/UBWebView.h new file mode 100755 index 0000000..ff891d1 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWebView.h @@ -0,0 +1,17 @@ +// +// UBWebView.h +// Uebersicht +// +// Created by Felix Hageloh on 5/8/19. +// Copyright © 2019 tracesOf. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface UBWebView : WKWebView + +@end + +NS_ASSUME_NONNULL_END diff --git a/uebersicht-code/Uebersicht/UBWebView.m b/uebersicht-code/Uebersicht/UBWebView.m new file mode 100755 index 0000000..5163b1f --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWebView.m @@ -0,0 +1,18 @@ +// +// UBWebView.m +// Uebersicht +// +// Created by Felix Hageloh on 5/8/19. +// Copyright © 2019 tracesOf. All rights reserved. +// + +#import "UBWebView.h" + +@implementation UBWebView + + +- (BOOL) acceptsFirstMouse:(NSEvent*) event +{ + return YES; +} +@end diff --git a/uebersicht-code/Uebersicht/UBWebViewController.h b/uebersicht-code/Uebersicht/UBWebViewController.h new file mode 100755 index 0000000..6a1cd4b --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWebViewController.h @@ -0,0 +1,23 @@ +// +// UBWebViewController.h +// Uebersicht +// +// Created by Felix Hageloh on 2/7/16. +// Copyright © 2016 tracesOf. All rights reserved. +// + +#import +@import WebKit; + +@interface UBWebViewController : NSObject + +@property (strong, readonly) NSView* view; + +- (id)initWithFrame:(NSRect)frame; +- (void)load:(NSURL*)url; +- (void)reload; +- (void)redraw; +- (void)destroy; +- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message; + +@end diff --git a/uebersicht-code/Uebersicht/UBWebViewController.m b/uebersicht-code/Uebersicht/UBWebViewController.m new file mode 100755 index 0000000..e22f25f --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWebViewController.m @@ -0,0 +1,214 @@ +// +// UBWebViewController.m +// Uebersicht +// +// Created by Felix Hageloh on 2/7/16. +// Copyright © 2016 tracesOf. All rights reserved. +// + +#import "UBWebViewController.h" +#import "UBLocation.h" +#import "UBWebView.h" +#import "UBWindow.h" + + +@implementation UBWebViewController { + NSURL* url; +} + +@synthesize view; + +- (id)initWithFrame:(NSRect)frame +{ + self = [super init]; + + if (self) { + view = [self buildWebView:frame]; + } + + return self; +} + +- (void)load:(NSURL*)newUrl +{ + switch (((UBWindow*)self.view.window).windowType) { + case UBWindowTypeAgnostic: + url = newUrl; + break; + case UBWindowTypeBackground: + url = [newUrl URLByAppendingPathComponent: @"background"]; + break; + case UBWindowTypeForeground: + url = [newUrl URLByAppendingPathComponent: @"foreground"]; + break; + default: + break; + } + [(WKWebView*)view loadRequest:[NSURLRequest requestWithURL: url]]; +} + +- (void)reload +{ + [(WKWebView*)view reloadFromOrigin:self]; +} + +- (void)redraw +{ + [self forceRedraw:(WKWebView*)view]; +} + +- (void)destroy +{ + [self teardownWebview:(WKWebView *)view]; + view = nil; +} + +- (WKWebView*)buildWebView:(NSRect)frame +{ + WKWebView* webView = [[UBWebView alloc] + initWithFrame: frame + configuration: [self sharedConfig] + ]; + [webView setValue:@YES forKey:@"drawsTransparentBackground"]; + [webView.configuration.preferences + setValue: @YES + forKey: @"developerExtrasEnabled" + ]; + webView.navigationDelegate = (id)self; + + return webView; +} + +- (void)teardownWebview:(WKWebView*)webView +{ + webView.navigationDelegate = nil; + [webView stopLoading:self]; + [webView removeFromSuperview]; +} + +- (WKWebViewConfiguration*)sharedConfig { + static WKWebViewConfiguration *sharedConfig = nil; + static dispatch_once_t onceToken; + dispatch_once(&onceToken, ^{ + sharedConfig = [self buildConfig]; + }); + return sharedConfig; +} + +- (WKWebViewConfiguration*)buildConfig +{ + WKUserContentController* ucController = [ + [WKUserContentController alloc] init + ]; + + // geolocation + [ucController + addScriptMessageHandler: [[UBLocation alloc] init] + name: @"geolocation" + ]; + + NSString* geolocationScript = [NSString + stringWithContentsOfURL: [[NSBundle mainBundle] + URLForResource: @"geolocation" + withExtension: @"js" + ] + encoding: NSUTF8StringEncoding + error: nil + ]; + [ucController addUserScript:[[WKUserScript alloc] + initWithSource: geolocationScript + injectionTime: WKUserScriptInjectionTimeAtDocumentStart + forMainFrameOnly: YES + ]]; + + // hack to make old widgets relying on process.argv[0] work + NSString* processArgvHack = [NSString + stringWithFormat:@"process = {argv: ['%@'.replace(/ /g, '\\\\ ')]}", + [[NSBundle mainBundle] pathForResource:@"localnode" ofType:nil] + ]; + [ucController addUserScript:[[WKUserScript alloc] + initWithSource: processArgvHack + injectionTime: WKUserScriptInjectionTimeAtDocumentStart + forMainFrameOnly: YES + ]]; + + [ucController addScriptMessageHandler: self name: @"uebersicht"]; + + WKWebViewConfiguration* config = [[WKWebViewConfiguration alloc] init]; + config.userContentController = ucController; + + return config; +} + +- (void)forceRedraw:(WKWebView*)webView +{ + [webView + evaluateJavaScript: + @"document.documentElement.style.transform = 'scale(1)';\ + requestAnimationFrame(function() {\ + document.documentElement.style.transform = '';\ + });" + completionHandler:NULL + ]; +} + + +- (void)webView:(WKWebView *)webView + didFinishNavigation:(WKNavigation*)navigation +{ + NSLog(@"loaded %@", webView.URL); +} + +- (void)webView:(WKWebView *)sender + didFailNavigation:(WKNavigation*)nav + withError:(NSError *)error +{ + [self handleWebviewLoadError:error]; +} + +- (void)webView:(WKWebView *)sender + didFailProvisionalNavigation:(WKNavigation *)nav + withError:(NSError *)error +{ + [self handleWebviewLoadError:error]; +} + + +- (void)webView: (WKWebView *)theWebView + decidePolicyForNavigationAction: (WKNavigationAction*)action + decisionHandler: (void (^)(WKNavigationActionPolicy))handler +{ + if (!action.targetFrame.mainFrame) { + handler(WKNavigationActionPolicyAllow); + } else if ([action.request.URL isEqual: url]) { + handler(WKNavigationActionPolicyAllow); + } else if (action.navigationType == WKNavigationTypeLinkActivated) { + [[NSWorkspace sharedWorkspace] openURL:action.request.URL]; + handler(WKNavigationActionPolicyCancel); + } else { + handler(WKNavigationActionPolicyCancel); + } + +} + +- (void)handleWebviewLoadError:(NSError *)error +{ + NSLog(@"Error loading webview: %@", error); + [self + performSelector: @selector(load:) + withObject: url + afterDelay: 5.0 + ]; +} + +- (void)userContentController:(WKUserContentController *)controller + didReceiveScriptMessage:(WKScriptMessage *) message +{ + if ([message.body isEqual: @"widgetEnter"]) { + [message.webView.window setIgnoresMouseEvents: NO]; + } else if ([message.body isEqual:@"widgetLeave"]) { + [message.webView.window setIgnoresMouseEvents: YES]; + } +} + +@end diff --git a/uebersicht-code/Uebersicht/UBWidgetForScripting.h b/uebersicht-code/Uebersicht/UBWidgetForScripting.h new file mode 100755 index 0000000..3c21044 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWidgetForScripting.h @@ -0,0 +1,21 @@ +// +// UBWidgetForScripting.h +// Uebersicht +// +// Created by Felix Hageloh on 7/1/17. +// Copyright © 2017 tracesOf. All rights reserved. +// + +#import + +@interface UBWidgetForScripting : NSObject + +@property (nonatomic) NSString *id; +@property (nonatomic) BOOL hidden; +@property (nonatomic) BOOL showOnAllScreens; +@property (nonatomic) BOOL showOnMainScreen; + +-(id)initWithId:(NSString*)widgetId andSettings:(NSDictionary*)settings; +-(void)refresh:(NSScriptCommand*)command; +-(void)reload:(NSScriptCommand*)command; +@end diff --git a/uebersicht-code/Uebersicht/UBWidgetForScripting.m b/uebersicht-code/Uebersicht/UBWidgetForScripting.m new file mode 100755 index 0000000..12b2820 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWidgetForScripting.m @@ -0,0 +1,96 @@ +// +// UBWidgetForScripting.m +// Uebersicht +// +// Created by Felix Hageloh on 7/1/17. +// Copyright © 2017 tracesOf. All rights reserved. +// + +#import "UBWidgetForScripting.h" +#import "UBDispatcher.h" +#import "UBAppDelegate.h" + +static UBDispatcher* dispatcher; + +@implementation UBWidgetForScripting + ++ (void)initialize { + if(!dispatcher) { + dispatcher = [[UBDispatcher alloc] init]; + } +} + +-(id)initWithId:(NSString*)widgetId andSettings:(NSDictionary*)settings +{ + self = [super init]; + if (self) { + _id = widgetId; + _hidden = [settings[@"hidden"] boolValue]; + _showOnAllScreens = [settings[@"showOnAllScreens"] boolValue]; + _showOnMainScreen = [settings[@"showOnMainScreen"] boolValue]; + } + return self; +} + +- (NSUniqueIDSpecifier *)objectSpecifier { + + return [[NSUniqueIDSpecifier alloc] + initWithContainerClassDescription: (NSScriptClassDescription *)[NSApp + classDescription + ] + containerSpecifier: nil + key: @"widgets" + uniqueID: self.id + ]; +} + +- (void)setHidden:(BOOL)hidden +{ + if (_hidden == hidden) { + return; + } + _hidden = hidden; + [dispatcher + dispatch: _hidden ? @"WIDGET_SET_TO_HIDE" : @"WIDGET_SET_TO_SHOW" + withPayload: _id + ]; +} + +- (void)setShowOnMainScreen:(BOOL)showOnMainScreen +{ + if (_showOnMainScreen == showOnMainScreen) { + return; + } + _showOnMainScreen = showOnMainScreen; + [dispatcher + dispatch: @"WIDGET_SET_TO_MAIN_SCREEN" + withPayload: _id + ]; +} + +- (void)setShowOnAllScreens:(BOOL)showOnAllScreens +{ + if (_showOnAllScreens == showOnAllScreens) { + return; + } + _showOnAllScreens = showOnAllScreens; + [dispatcher + dispatch: @"WIDGET_SET_TO_ALL_SCREENS" + withPayload: _id + ]; +} + +- (void)refresh:(NSScriptCommand*)command +{ + [dispatcher + dispatch: @"WIDGET_WANTS_REFRESH" + withPayload: _id + ]; +} + +- (void)reload:(NSScriptCommand*)command +{ + [(UBAppDelegate*)NSApp.delegate reloadWidget: _id]; +} + +@end diff --git a/uebersicht-code/Uebersicht/UBWidgetsController.h b/uebersicht-code/Uebersicht/UBWidgetsController.h new file mode 100755 index 0000000..0163225 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWidgetsController.h @@ -0,0 +1,24 @@ +// +// UBWidgetsController.h +// +// +// Created by Felix Hageloh on 2/12/15. +// +// + +#import +@class UBScreensController; +@class UBWidgetsStore; +@class UBPreferencesController; + +@interface UBWidgetsController : NSController + +- (id)initWithMenu:(NSMenu*)menu + widgets:(UBWidgetsStore*)theWidgets + screens:(UBScreensController*)screens + preferences:(UBPreferencesController*)preferences; +- (void)render; +- (NSArray*)widgetsForScripting; +- (void)reloadWidget:(NSString*)widgetId; + +@end diff --git a/uebersicht-code/Uebersicht/UBWidgetsController.m b/uebersicht-code/Uebersicht/UBWidgetsController.m new file mode 100755 index 0000000..121ac78 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWidgetsController.m @@ -0,0 +1,435 @@ +// +// UBWidgetsController.m +// +// +// Created by Felix Hageloh on 2/12/15. +// +// + +#import "UBWidgetsController.h" +#import "UBWidgetsStore.h" +#import "UBScreensController.h" +#import "UBDispatcher.h" +#import "UBWidgetForScripting.h" +#import "UBPreferencesController.h" + +@implementation UBWidgetsController { + UBWidgetsStore* widgets; + UBScreensController* screensController; + UBPreferencesController* preferences; + NSMenu* mainMenu; + NSInteger currentIndex; + NSImage* statusIconVisible; + NSImage* statusIconHidden; + UBDispatcher* dispatcher; +} + +static NSInteger const WIDGET_MENU_ITEM_TAG = 42; + +- (id)initWithMenu:(NSMenu*)menu + widgets:(UBWidgetsStore*)theWidgets + screens:(UBScreensController*)screens + preferences:(UBPreferencesController*)prefs +{ + self = [super init]; + + + if (self) { + + mainMenu = menu; + widgets = theWidgets; + screensController = screens; + preferences = prefs; + + currentIndex = [self indexOfWidgetMenuItems:menu]; + [menu insertItem:[NSMenuItem separatorItem] atIndex:currentIndex]; + currentIndex++; + NSMenuItem* header = [[NSMenuItem alloc] init]; + [header setTitle:@"所有组件"]; + [header setState:0]; + [mainMenu insertItem:header atIndex:currentIndex]; + currentIndex++; + [menu insertItem:[NSMenuItem separatorItem] atIndex:currentIndex]; + + dispatcher = [[UBDispatcher alloc] init]; + + statusIconVisible = [[NSBundle mainBundle] + imageForResource:@"widget-status-visible" + ]; + [statusIconVisible setTemplate:YES]; + + statusIconHidden = [[NSBundle mainBundle] + imageForResource:@"widget-status-hidden" + ]; + } + + return self; +} + + +- (void)render +{ + for (NSMenuItem *item in [mainMenu itemArray]) { + if (item.tag == WIDGET_MENU_ITEM_TAG) { + [mainMenu removeItem: item]; + } + } + + NSString* widgetId; + NSString* error; + for (NSInteger i = widgets.sortedWidgets.count - 1; i >= 0; i--) { + widgetId = widgets.sortedWidgets[i]; + [self renderWidget:widgetId inMenu:mainMenu]; + + error = [widgets get:widgetId][@"error"]; + if (error) { + [self notifyUser:error withTitle:@"Error"]; + } + } +} + + +- (void)renderWidget:(NSString*)widgetId inMenu:(NSMenu*)menu +{ + NSMenuItem* newItem = [[NSMenuItem alloc] init]; + + [newItem setTitle:widgetId]; + [newItem setRepresentedObject:widgetId]; + [newItem setTag:WIDGET_MENU_ITEM_TAG]; + + [newItem + setImage:[self isWidgetVisible:widgetId] + ? statusIconVisible + : statusIconHidden + ]; + + + NSMenu* widgetMenu = [[NSMenu alloc] init]; + [widgetMenu setAutoenablesItems: NO]; + [widgetMenu insertItem:[NSMenuItem separatorItem] atIndex:0]; + [self addHideOptionToMenu:widgetMenu forWidget:widgetId]; + [self addBackgroundOptionToMenu:widgetMenu forWidget:widgetId]; + + [self + addScreens: [screensController screens] + toWidgetMenu: widgetMenu + forWidget: widgetId + ]; + + [self addSelectedScreensOptionToMenu:widgetMenu forWidget:widgetId]; + [widgetMenu insertItem:[NSMenuItem separatorItem] atIndex:0]; + + [self addMainScreenOptionToMenu:widgetMenu forWidget:widgetId]; + [self addAllScreensOptionToMenu:widgetMenu forWidget:widgetId]; + + + [self addEditMenuItemToMenu:widgetMenu forWidget:widgetId]; + [widgetMenu insertItem:[NSMenuItem separatorItem] atIndex:1]; + + + [newItem setSubmenu:widgetMenu]; + [menu insertItem:newItem atIndex:currentIndex]; +} + +- (void)addEditMenuItemToMenu:(NSMenu*)menu forWidget:(NSString*)widgetId +{ + NSMenuItem* item = [[NSMenuItem alloc] + initWithTitle: @"编辑..." + action: @selector(editWidget:) + keyEquivalent: @"" + ]; + [item setRepresentedObject:widgetId]; + [item setTarget:self]; + [menu insertItem:item atIndex:0]; + +} + +- (void)addMainScreenOptionToMenu:(NSMenu*)menu forWidget:(NSString*)widgetId +{ + NSMenuItem* item = [[NSMenuItem alloc] + initWithTitle: @"在主显示器上显示" + action: @selector(showOnMainScreen:) + keyEquivalent: @"" + ]; + NSDictionary* settings = [widgets getSettings:widgetId]; + [item setTarget:self]; + [item setRepresentedObject:widgetId]; + [item setState:[settings[@"showOnMainScreen"] boolValue]]; + [menu insertItem:item atIndex:0]; +} + + +- (void)addAllScreensOptionToMenu:(NSMenu*)menu forWidget:(NSString*)widgetId +{ + NSMenuItem* item = [[NSMenuItem alloc] + initWithTitle: @"在所有屏幕上显示" + action: @selector(showOnAllScreens:) + keyEquivalent: @"" + ]; + NSDictionary* settings = [widgets getSettings:widgetId]; + [item setTarget:self]; + [item setRepresentedObject:widgetId]; + [item setState:[settings[@"showOnAllScreens"] boolValue]]; + [menu insertItem:item atIndex:0]; +} + +- (void)addHideOptionToMenu:(NSMenu*)menu forWidget:(NSString*)widgetId +{ + NSMenuItem* item = [[NSMenuItem alloc] + initWithTitle: @"隐藏组件" + action: @selector(toggleHidden:) + keyEquivalent: @"" + ]; + + NSDictionary* settings = [widgets getSettings:widgetId]; + [item setTarget:self]; + [item setRepresentedObject:widgetId]; + [item setState:[settings[@"隐藏"] boolValue]]; + [menu insertItem:item atIndex:0]; +} + +- (void)addSelectedScreensOptionToMenu:(NSMenu*)menu + forWidget:(NSString*)widgetId +{ + NSMenuItem* item = [[NSMenuItem alloc] init]; + NSDictionary* settings = [widgets getSettings:widgetId]; + + [item setTitle:@"在选定屏幕上显示:"]; + [item setState:[settings[@"showOnSelectedScreens"] boolValue]]; + [item setEnabled:NO]; + [menu insertItem:item atIndex:0]; +} + +- (void)addBackgroundOptionToMenu:(NSMenu*)menu + forWidget:(NSString*)widgetId +{ + NSMenuItem* item = [[NSMenuItem alloc] + initWithTitle: @"发送到后台" + action: @selector(toggleBackground:) + keyEquivalent: @"" + ]; + NSDictionary* settings = [widgets getSettings:widgetId]; + [item setTarget:self]; + [item setRepresentedObject:widgetId]; + [item setState: preferences.enableInteraction + ? [settings[@"inBackground"] boolValue] + : YES + ]; + [item setEnabled: preferences.enableInteraction]; + [menu insertItem:item atIndex:0]; +} + +- (void)removeWidget:(NSString*)widgetId FromMenu:(NSMenu*)menu +{ + [menu removeItem:[menu itemWithTitle:widgetId]]; +} + +- (void)addScreens:(NSDictionary*)screens + toWidgetMenu:(NSMenu*)menu + forWidget:(NSString*)widgetId +{ + NSString *title; + NSMenuItem *newItem; + NSString *name; + NSArray* widgetScreens = [widgets getSettings:widgetId][@"screens"]; + + newItem = [NSMenuItem separatorItem]; + [menu insertItem:newItem atIndex:0]; + + int i = 0; + for(NSNumber* screenId in screensController.sortedScreens) { + name = screensController.screens[screenId]; + title = [NSString stringWithFormat:@"显示 %@", name]; + newItem = [[NSMenuItem alloc] + initWithTitle: title + action: @selector(toggleScreen:) + keyEquivalent: @"" + ]; + + [newItem setTarget:self]; + [newItem + setRepresentedObject: @{ + @"screenId": screenId, + @"widgetId": widgetId + } + ]; + + if ([widgetScreens containsObject:screenId]) { + [newItem setState:YES]; + } + [menu insertItem:newItem atIndex:i]; + i++; + } +} + +- (BOOL)isWidgetVisible:(NSString*)widgetId +{ + NSDictionary* settings = [widgets getSettings:widgetId]; + BOOL isVisible = NO; + if ([settings[@"hidden"] boolValue]) { + isVisible = NO; + } else if ([settings[@"showOnAllScreens"] boolValue]) { + isVisible = YES; + } else if ([settings[@"showOnMainScreen"] boolValue]) { + isVisible = YES; + } else if ([settings[@"showOnSelectedScreens"] boolValue]) { + NSMutableSet *intersection = [NSMutableSet + setWithArray: settings[@"screens"] + ]; + + [intersection + intersectSet:[NSSet setWithArray:[screensController sortedScreens]] + ]; + + isVisible = [intersection count] > 0; + } + + return isVisible; +} + + +-(NSInteger)indexOfWidgetMenuItems:(NSMenu*)menu +{ + return [menu indexOfItem:[menu itemWithTitle:@"检查新版..."]] + 2; +} + + +- (void)showOnAllScreens:(id)sender +{ + NSString* widgetId = [(NSMenuItem*)sender representedObject]; + + [dispatcher + dispatch: @"WIDGET_SET_TO_ALL_SCREENS" + withPayload: widgetId + ]; +} + +- (void)showOnSelectedScreens:(id)sender +{ + NSString* widgetId = [(NSMenuItem*)sender representedObject]; + + [dispatcher + dispatch: @"WIDGET_SET_TO_SELECTED_SCREENS" + withPayload: widgetId + ]; +} + +- (void)showOnMainScreen:(id)sender +{ + NSString* widgetId = [(NSMenuItem*)sender representedObject]; + + [dispatcher + dispatch: @"WIDGET_SET_TO_MAIN_SCREEN" + withPayload: widgetId + ]; +} + +- (void)toggleHidden:(id)sender +{ + NSString* widgetId = [(NSMenuItem*)sender representedObject]; + NSDictionary* settings = [widgets getSettings:widgetId]; + BOOL isHidden = [settings[@"hidden"] boolValue]; + + [dispatcher + dispatch: isHidden ? @"WIDGET_SET_TO_SHOW" : @"WIDGET_SET_TO_HIDE" + withPayload: widgetId + ]; +} + +- (void)toggleBackground:(id)sender +{ + NSString* widgetId = [(NSMenuItem*)sender representedObject]; + NSDictionary* settings = [widgets getSettings:widgetId]; + BOOL inBackground = [settings[@"inBackground"] boolValue]; + + [dispatcher + dispatch: inBackground + ? @"WIDGET_SET_TO_FOREGROUND" + : @"WIDGET_SET_TO_BACKGROUND" + withPayload: widgetId + ]; +} + +- (void)toggleScreen:(id)sender +{ + NSMenuItem* menuItem = (NSMenuItem*)sender; + NSDictionary* data = [menuItem representedObject]; + NSNumber* screenId = data[@"screenId"]; + NSDictionary* widgetSettings = [widgets getSettings:data[@"widgetId"]]; + NSString* message; + + if ([(NSArray*)widgetSettings[@"screens"] containsObject:screenId]) { + message = @"SCREEN_DESELECTED_FOR_WIDGET"; + } else { + message = @"SCREEN_SELECTED_FOR_WIDGET"; + } + + [dispatcher + dispatch: @"WIDGET_SET_TO_SELECTED_SCREENS" + withPayload: data[@"widgetId"] + ]; + + [dispatcher + dispatch: message + withPayload: @{ + @"id": data[@"widgetId"], + @"screenId": screenId + } + ]; +} + +- (void)editWidget:(id)sender +{ + NSString* widgetId = [(NSMenuItem*)sender representedObject]; + NSString* filePath = [widgets get:widgetId][@"filePath"]; + + if (![[NSWorkspace sharedWorkspace] openFile:filePath]) { + NSString* message = @"Please configure an app to edit .%@ files"; + [self + notifyUser: [NSString + stringWithFormat: message, [filePath pathExtension] + ] + withTitle: @"No Editor Configured." + ]; + } +} + +- (void)reloadWidget:(NSString*)widgetId +{ + NSString* filePath = [widgets get:widgetId][@"filePath"]; + NSDictionary* attributes = [NSDictionary + dictionaryWithObjectsAndKeys: [NSDate date], NSFileModificationDate, nil + ]; + [NSFileManager.defaultManager + setAttributes: attributes + ofItemAtPath:filePath + error: NULL + ]; +} + +- (void)notifyUser:(NSString*)message withTitle:(NSString*)title +{ + NSUserNotification *notification = [[NSUserNotification alloc] init]; + notification.title = title; + notification.informativeText = message; + + [[NSUserNotificationCenter defaultUserNotificationCenter] + deliverNotification:notification + ]; +} + +- (NSArray*)widgetsForScripting +{ + NSMutableArray* allWidgets = [NSMutableArray array]; + for ( NSString* widgetId in [widgets sortedWidgets]) { + [allWidgets addObject: [[UBWidgetForScripting alloc] + initWithId: widgetId + andSettings: [widgets getSettings:widgetId] + ] + ]; + } + return allWidgets; +} + + +@end diff --git a/uebersicht-code/Uebersicht/UBWidgetsStore.h b/uebersicht-code/Uebersicht/UBWidgetsStore.h new file mode 100755 index 0000000..445e476 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWidgetsStore.h @@ -0,0 +1,20 @@ +// +// UBWidgetsStore.h +// +// +// Created by Felix Hageloh on 26/1/16. +// +// + +#import + +@interface UBWidgetsStore : NSObject + +- (void)onChange:(void (^)(NSDictionary*))aChangeHandler; +- (void)reset; +- (void)reset:(NSDictionary*)state; +- (NSDictionary*)get:(NSString*)widgetId; +- (NSDictionary*)getSettings:(NSString*)widgetId; +- (NSArray*)sortedWidgets; + +@end diff --git a/uebersicht-code/Uebersicht/UBWidgetsStore.m b/uebersicht-code/Uebersicht/UBWidgetsStore.m new file mode 100755 index 0000000..c8cf7c9 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWidgetsStore.m @@ -0,0 +1,249 @@ +// +// UBWidgetsStore.m +// +// +// Created by Felix Hageloh on 26/1/16. +// +// + +#import "UBWidgetsStore.h" +#import "UBListener.h" + + +@implementation UBWidgetsStore { + UBListener* listener; + NSMutableDictionary* widgets; + NSMutableDictionary* settings; + NSArray* sortedWidgets; + void (^changeHandler)(NSDictionary*); + NSDictionary* defaultSettings; +} + +- (id)init +{ + self = [super init]; + + + if (self) { + widgets = [[NSMutableDictionary alloc] init]; + settings = [[NSMutableDictionary alloc] init]; + listener = [[UBListener alloc] init]; + + defaultSettings = @{ + @"showOnAllScreens": @YES, + @"showOnSelectedScreens": @NO, + @"hidden": @NO, + @"screens": @[] + }; + + [listener on:@"WIDGET_ADDED" do:^(NSDictionary* data) { + [self addWidget:data]; + [self notifyChange]; + }]; + + [listener on:@"WIDGET_SETTINGS_CHANGED" do:^(NSDictionary* details) { + self->settings[details[@"id"]] = [[NSMutableDictionary alloc] + initWithDictionary:details[@"settings"] + ]; + [self notifyChange]; + }]; + + [listener on:@"WIDGET_REMOVED" do:^(NSString* widgetId) { + if (self->widgets[widgetId]) { + [self removeWidget:widgetId]; + [self notifyChange]; + } + }]; + + [listener on:@"WIDGET_SET_TO_SELECTED_SCREENS" do:^(NSString* widgetId) { + [self updateSettings:widgetId withPatch:@{ + @"showOnAllScreens": @NO, + @"showOnSelectedScreens": @YES, + @"showOnMainScreen": @NO, + @"hidden": @NO, + }]; + [self notifyChange]; + }]; + + [listener on:@"WIDGET_SET_TO_ALL_SCREENS" do:^(NSString* widgetId) { + [self updateSettings:widgetId withPatch:@{ + @"showOnAllScreens": @YES, + @"showOnSelectedScreens": @NO, + @"showOnMainScreen": @NO, + @"hidden": @NO, + @"screens": @[], + }]; + [self notifyChange]; + }]; + + [listener on:@"WIDGET_SET_TO_MAIN_SCREEN" do:^(NSString* widgetId) { + [self updateSettings:widgetId withPatch:@{ + @"showOnAllScreens": @NO, + @"showOnSelectedScreens": @NO, + @"showOnMainScreen": @YES, + @"hidden": @NO, + @"screens": @[], + }]; + [self notifyChange]; + }]; + + [listener on:@"WIDGET_SET_TO_HIDE" do:^(NSString* widgetId) { + [self updateSettings:widgetId withPatch:@{ + @"hidden": @YES, + }]; + [self notifyChange]; + }]; + + [listener on:@"WIDGET_SET_TO_SHOW" do:^(NSString* widgetId) { + [self updateSettings:widgetId withPatch:@{ + @"hidden": @NO, + }]; + [self notifyChange]; + }]; + + [listener on:@"WIDGET_SET_TO_BACKGROUND" do:^(NSString* widgetId) { + [self updateSettings:widgetId withPatch:@{ + @"inBackground": @YES, + }]; + [self notifyChange]; + }]; + + [listener on:@"WIDGET_SET_TO_FOREGROUND" do:^(NSString* widgetId) { + [self updateSettings:widgetId withPatch:@{ + @"inBackground": @NO, + }]; + [self notifyChange]; + }]; + + [listener on:@"SCREEN_SELECTED_FOR_WIDGET" do:^(NSDictionary* data) { + [self selectScreen:data[@"screenId"] forWidget:data[@"id"]]; + [self notifyChange]; + }]; + + [listener on:@"SCREEN_DESELECTED_FOR_WIDGET" do:^(NSDictionary* data) { + [self deselectScreen:data[@"screenId"] forWidget:data[@"id"]]; + [self notifyChange]; + }]; + + [listener on:@"SCREENS_DID_CHANGE" do:^(NSDictionary* data) { + [self notifyChange];; + }]; + } + + return self; +} + +- (void)onChange:(void (^)(NSDictionary*))aChangeHandler +{ + changeHandler = aChangeHandler; +} + +- (void)reset +{ + widgets = [[NSMutableDictionary alloc] init]; + settings = [[NSMutableDictionary alloc] init]; +} + +- (void)reset:(NSDictionary*)state +{ + widgets = [(NSDictionary*)state[@"widgets"] mutableCopy]; + settings = [(NSDictionary*)state[@"settings"] mutableCopy]; +} + +- (NSDictionary*)get:(NSString*)widgetId +{ + NSMutableDictionary* widget; + + if (widgets[widgetId]) { + widget = [[NSMutableDictionary alloc] + initWithDictionary:widgets[widgetId] + ]; + + widget[@"settings"] = settings[widgetId]; + } + + return widget; +} + +- (NSDictionary*)getSettings:(NSString*)widgetId +{ + return widgets[widgetId] ? settings[widgetId] : NULL; +} + +- (NSArray*)sortedWidgets +{ + return sortedWidgets; +} + +- (void)notifyChange +{ + if (changeHandler) { + changeHandler(widgets); + } +} + + +- (NSDictionary*)addWidget:(NSDictionary*)widget +{ + BOOL alreadyExists = !!widgets[widget[@"id"]]; + widgets[widget[@"id"]] = widget; + if (!alreadyExists) { + sortedWidgets = [widgets.allKeys + sortedArrayUsingSelector:@selector(compare:) + ]; + } + + if (!settings[widget[@"id"]]) { + settings[widget[@"id"]] = [[NSMutableDictionary alloc] + initWithDictionary:defaultSettings + ]; + } + + return widget; +} + +- (void)updateSettings:(NSString*)widgetId withPatch:(NSDictionary*)patch +{ + if (!settings[widgetId]) { + settings[widgetId] = [[NSMutableDictionary alloc] + initWithDictionary:defaultSettings + ]; + } + + [settings[widgetId] addEntriesFromDictionary:patch]; +} + +- (void)removeWidget:(NSString*)widgetId +{ + [widgets removeObjectForKey:widgetId]; + + sortedWidgets = [widgets.allKeys + sortedArrayUsingSelector:@selector(compare:) + ]; +} + +- (void)selectScreen:(NSNumber*)screenId forWidget:(NSString*)widgetId +{ + NSArray* screens = settings[widgetId][@"screens"]; + + if (![screens containsObject:screenId]) { + settings[widgetId][@"screens"] = [screens arrayByAddingObject:screenId]; + } +} + +- (void)deselectScreen:(NSNumber*)screenId forWidget:(NSString*)widgetId +{ + NSArray* screens = settings[widgetId][@"screens"]; + NSPredicate *withoutScreen = [NSPredicate + predicateWithBlock: ^BOOL(id s, NSDictionary * _) { + return s != screenId; + } + ]; + + settings[widgetId][@"screens"] = [screens + filteredArrayUsingPredicate: withoutScreen + ]; +} + + +@end diff --git a/uebersicht-code/Uebersicht/UBWindow.h b/uebersicht-code/Uebersicht/UBWindow.h new file mode 100755 index 0000000..63fe987 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWindow.h @@ -0,0 +1,33 @@ +// +// UBWindow.h +// Übersicht +// +// Created by Felix Hageloh on 20/9/13. +// Copyright (c) 2013 Felix Hageloh. +// +// Released under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. See for +// details. + +#import + + +typedef NS_ENUM(NSInteger, UBWindowType) { + UBWindowTypeAgnostic, + UBWindowTypeBackground, + UBWindowTypeForeground +}; + + +@interface UBWindow : NSWindow + +@property UBWindowType windowType; + +- (id)initWithWindowType:(UBWindowType)type; +- (void)loadUrl:(NSURL*)url; +- (void)reload; +- (void)workspaceChanged; +- (void)wallpaperChanged; + +@end diff --git a/uebersicht-code/Uebersicht/UBWindow.m b/uebersicht-code/Uebersicht/UBWindow.m new file mode 100755 index 0000000..3988503 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWindow.m @@ -0,0 +1,166 @@ +// +// UBWindow.m +// Übersicht +// +// A window that sits on desktop level, is always fullscreen and doesn't show +// up in Mission Control +// +// Created by Felix Hageloh on 20/9/13. +// Copyright (c) 2013 Felix Hageloh. +// Released under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. See for +// details. +// + +#import "UBWindow.h" +#import "UBWebViewController.h" + +@implementation UBWindow { + UBWebViewController* webViewController; + NSTrackingArea* trackingArea; + UBWindowType type; +} + +- (id)initWithWindowType:(UBWindowType)windowType +{ + self = [super + initWithContentRect: NSMakeRect(0, 0, 0, 0) + styleMask: NSBorderlessWindowMask + backing: NSBackingStoreBuffered + defer: NO + ]; + + if (self) { + type = windowType; + [self setBackgroundColor:[NSColor clearColor]]; + [self setOpaque:NO]; + [self setCollectionBehavior:( + NSWindowCollectionBehaviorStationary | + NSWindowCollectionBehaviorCanJoinAllSpaces | + NSWindowCollectionBehaviorIgnoresCycle + )]; + + [self setRestorable:NO]; + [self disableSnapshotRestoration]; + [self setDisplaysWhenScreenProfileChanges:YES]; + [self setReleasedWhenClosed:NO]; + [self setWindowType:windowType]; + [self setIgnoresMouseEvents:YES]; + + webViewController = [[UBWebViewController alloc] + initWithFrame: [self frame] + ]; + [self setContentView:webViewController.view]; + } + + return self; +} + +- (void)loadUrl:(NSURL*)url +{ + [webViewController load:url]; +} + +- (void)reload +{ + [webViewController reload]; +} + +// TODO: check if we can do at least some cleanups in webViewController#destroy +//- (void)close +//{ +// [webViewController destroy]; +// [super close]; +//} + +# +#pragma mark tracking area +# + + +- (void)setupTrackingArea +{ + trackingArea = [[NSTrackingArea alloc] + initWithRect: self.contentView.bounds + options: NSTrackingMouseMoved + | NSTrackingMouseEnteredAndExited + | NSTrackingActiveAlways + owner: nil + userInfo: nil + ]; + [self.contentView addTrackingArea:trackingArea]; +} + +- (void)setFrame:(NSRect)newFrame display:(BOOL)doDisplay +{ + [super setFrame:newFrame display:doDisplay]; + [self updateTrackingArea]; +} + +- (void)updateTrackingArea +{ + if (trackingArea != nil) { + [self.contentView removeTrackingArea:trackingArea]; + } + if (self.contentView) { + [self setupTrackingArea]; + } +} + +# +#pragma mark signals/events +# + +- (void)workspaceChanged +{ + [webViewController redraw]; +} + +- (void)wallpaperChanged +{ + [webViewController redraw]; +} + +# +#pragma mark window type and interaction +# + + +- (void)setWindowType:(UBWindowType)newType +{ + switch (newType) { + case UBWindowTypeForeground: + [self setLevel:kCGNormalWindowLevel-1]; + [self updateTrackingArea]; + break; + case UBWindowTypeBackground: + case UBWindowTypeAgnostic: + [self setLevel:kCGDesktopWindowLevel]; + if (trackingArea != nil) { + [self.contentView removeTrackingArea:trackingArea]; + } + [self setIgnoresMouseEvents:YES]; + break; + default: + break; + } + type = newType; +} + +- (UBWindowType)windowType +{ + return type; +} + +# +#pragma mark flags +# + +- (BOOL)isKeyWindow { return type == UBWindowTypeForeground; } +- (BOOL)canBecomeKeyWindow { return type == UBWindowTypeForeground; } +- (BOOL)canBecomeMainWindow { return type == UBWindowTypeForeground; } +- (BOOL)acceptsFirstResponder { return type == UBWindowTypeForeground; } +- (BOOL)acceptsMouseMovedEvents { return type == UBWindowTypeForeground;; } + +@end diff --git a/uebersicht-code/Uebersicht/UBWindowGroup.h b/uebersicht-code/Uebersicht/UBWindowGroup.h new file mode 100755 index 0000000..be130dd --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWindowGroup.h @@ -0,0 +1,29 @@ +// +// UBWindowGroup.h +// Uebersicht +// +// Created by Felix Hageloh on 05/10/2020. +// Copyright © 2020 tracesOf. All rights reserved. +// + +#import +#import "UBWindow.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface UBWindowGroup : NSObject + +@property (readonly, strong) UBWindow* foreground; +@property (readonly, strong) UBWindow* background; + +- (id)initWithInteractionEnabled:(BOOL)interactionEnabled; +- (void)loadUrl:(NSURL*)Url; +- (void)reload; +- (void)close; +- (void)setFrame:(NSRect)frame display:(BOOL)flag; +- (void)workspaceChanged; +- (void)wallpaperChanged; + +@end + +NS_ASSUME_NONNULL_END diff --git a/uebersicht-code/Uebersicht/UBWindowGroup.m b/uebersicht-code/Uebersicht/UBWindowGroup.m new file mode 100755 index 0000000..183de98 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWindowGroup.m @@ -0,0 +1,75 @@ +// +// UBWindowGroup.m +// Uebersicht +// +// Created by Felix Hageloh on 05/10/2020. +// Copyright © 2020 tracesOf. All rights reserved. +// + +#import "UBWindowGroup.h" +#import "UBWindow.h" + +@implementation UBWindowGroup + +@synthesize foreground; +@synthesize background; + + +- (id)initWithInteractionEnabled:(BOOL)interactionEnabled +{ + self = [super init]; + if (self) { + if (interactionEnabled) { + foreground = [[UBWindow alloc] + initWithWindowType: UBWindowTypeForeground + ]; + [foreground orderFront:self]; + } + + background = [[UBWindow alloc] + initWithWindowType: interactionEnabled + ? UBWindowTypeBackground + : UBWindowTypeAgnostic + ]; + [background orderFront:self]; + } + return self; +} + +- (void)close +{ + [foreground close]; + [background close]; +} + +- (void)reload +{ + [foreground reload]; + [background reload]; +} + +- (void)loadUrl:(NSURL*)url +{ + [foreground loadUrl: url]; + [background loadUrl: url]; +} + +- (void)setFrame:(NSRect)frame display:(BOOL)flag +{ + [foreground setFrame:frame display:flag]; + [background setFrame:frame display:flag]; +} + +- (void)wallpaperChanged +{ + [foreground wallpaperChanged]; + [background wallpaperChanged]; +} + +- (void)workspaceChanged +{ + [foreground workspaceChanged]; + [background workspaceChanged]; +} + +@end diff --git a/uebersicht-code/Uebersicht/UBWindowsController.h b/uebersicht-code/Uebersicht/UBWindowsController.h new file mode 100755 index 0000000..b5831b1 --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWindowsController.h @@ -0,0 +1,29 @@ +// +// UBWindowsController.h +// Uebersicht +// +// Created by Felix Hageloh on 30/09/2020. +// Copyright © 2020 tracesOf. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface UBWindowsController : NSObject + + +- (void)updateWindows:(NSDictionary*)screens + baseUrl:(NSURL*)baseUrl + interactionEnabled:(Boolean)interactionEnabled + forceRefresh:(Boolean)forceRefresh; + +- (void)reloadAll; +- (void)closeAll; +- (void)workspaceChanged; +- (void)wallpaperChanged; +- (void)showDebugConsolesForScreen:(NSNumber*)screenId; + +@end + +NS_ASSUME_NONNULL_END diff --git a/uebersicht-code/Uebersicht/UBWindowsController.m b/uebersicht-code/Uebersicht/UBWindowsController.m new file mode 100755 index 0000000..7e1e8ec --- /dev/null +++ b/uebersicht-code/Uebersicht/UBWindowsController.m @@ -0,0 +1,164 @@ +// +// UBWindowsController.m +// Uebersicht +// +// Created by Felix Hageloh on 30/09/2020. +// Copyright © 2020 tracesOf. All rights reserved. +// + +#import "UBWindowsController.h" +#import "UBWindowGroup.h" +#import "WKInspector.h" +#import "WKView.h" +#import "WKPage.h" +#import "WKWebViewInternal.h" + +@import WebKit; + +@implementation UBWindowsController { + NSMutableDictionary* windows; +} + +- (id)init +{ + self = [super init]; + if (self) { + windows = [[NSMutableDictionary alloc] initWithCapacity:42]; + } + return self; +} + + +- (void)updateWindows:(NSDictionary*)screens + baseUrl:(NSURL*)baseUrl + interactionEnabled:(Boolean)interactionEnabled + forceRefresh:(Boolean)forceRefresh +{ + NSMutableArray* obsoleteScreens = [[windows allKeys] mutableCopy]; + UBWindowGroup* windowGroup; + + for(NSNumber* screenId in screens) { + if (![windows objectForKey:screenId]) { + windowGroup = [[UBWindowGroup alloc] + initWithInteractionEnabled: interactionEnabled + ]; + [windows setObject:windowGroup forKey:screenId]; + [windowGroup loadUrl: [self screenUrl:screenId baseUrl:baseUrl]]; + } else { + windowGroup = windows[screenId]; + if (forceRefresh) { + [windowGroup reload]; + } + } + + [windowGroup setFrame:[self screenRect:screenId] display:YES]; + [obsoleteScreens removeObject:screenId]; + } + + for (NSNumber* screenId in obsoleteScreens) { + [windows[screenId] close]; + [windows removeObjectForKey:screenId]; + } + + NSLog(@"using %lu screens", (unsigned long)[windows count]); +} + +- (NSRect)screenRect:(NSNumber*)screenId +{ + NSRect screenRect = CGDisplayBounds([screenId unsignedIntValue]); + CGRect mainScreenRect = CGDisplayBounds(CGMainDisplayID()); + int menuBarHeight = [[NSApp mainMenu] menuBarHeight]; + + screenRect.origin.y = -1 * (screenRect.origin.y + screenRect.size.height - + mainScreenRect.size.height); + + screenRect.size.height = screenRect.size.height - menuBarHeight; + + return screenRect; +} + +- (void)reloadAll +{ + for (NSNumber* screenId in windows) { + UBWindowGroup* window = windows[screenId]; + [window reload]; + } +} + +- (void)closeAll +{ + for (UBWindowGroup* window in [windows allValues]) { + [window close]; + } + [windows removeAllObjects]; +} + + +- (void)showDebugConsolesForScreen:(NSNumber*)screenId +{ + NSWindow* window; + window = [(UBWindowGroup*)windows[screenId] foreground]; + if (window) [self showDebugConsoleForWindow: window]; + + window = [(UBWindowGroup*)windows[screenId] background]; + if (window) [self showDebugConsoleForWindow: window]; +} + +- (void)showDebugConsoleForWindow:(NSWindow*)window +{ + WKPageRef page = NULL; + SEL pageForTesting = @selector(_pageForTesting); + + if ([window.contentView.subviews[0] isKindOfClass:[WKView class]]) { + WKView* webview = window.contentView.subviews[0]; + page = webview.pageRef; + } else if ([window.contentView respondsToSelector:pageForTesting]) { + page = (__bridge WKPageRef)([window.contentView + performSelector: pageForTesting + ]); + } + + if (page) { + WKInspectorRef inspector = WKPageGetInspector(page); + + [NSApp activateIgnoringOtherApps:YES]; + + WKInspectorShowConsole(inspector); + [self + performSelector: @selector(detachInspector:) + withObject: (__bridge id)(inspector) + afterDelay: 0 + ]; + } +} + +- (void)detachInspector:(WKInspectorRef)inspector +{ + WKInspectorDetach(inspector); +} + +- (void)workspaceChanged +{ + for (NSNumber* screenId in windows) { + [windows[screenId] workspaceChanged]; + } +} + +- (void)wallpaperChanged +{ + for (NSNumber* screenId in windows) { + [windows[screenId] wallpaperChanged]; + } +} + +- (NSURL*)screenUrl:(NSNumber*)screenId baseUrl:(NSURL*)baseUrl +{ + return [baseUrl + URLByAppendingPathComponent:[NSString + stringWithFormat:@"%@", + screenId + ] + ]; +} + +@end diff --git a/uebersicht-code/Uebersicht/Uebersicht-Info.plist b/uebersicht-code/Uebersicht/Uebersicht-Info.plist new file mode 100755 index 0000000..e0d151c --- /dev/null +++ b/uebersicht-code/Uebersicht/Uebersicht-Info.plist @@ -0,0 +1,75 @@ + + + + + CFBundleDevelopmentRegion + zh_CN + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + LSUIElement + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSExceptionDomains + + a.hecdn.net + + NSIncludesSubdomains + + NSTemporaryExceptionAllowsInsecureHTTPLoads + + NSTemporaryExceptionMinimumTLSVersion + TLSv1.1 + + + + NSAppleEventsUsageDescription + A widget would like to control another app. + NSAppleMusicUsageDescription + A widget would like to access your Media Library. + NSAppleScriptEnabled + + NSBluetoothPeripheralUsageDescription + A widget would like to access Bluetooth. + NSCalendarsUsageDescription + A widget would like to access your Calendar. + NSHomeKitUsageDescription + A widget would like to make use of HomeKit. + NSHumanReadableCopyright + Copyright © 2022 Felix Hageloh, Translation in bmy . 一款可以用 React.js 开发MacOs桌面小组件的应用! + NSLocationUsageDescription + A widget would like to access your current locatiuon. + NSMainNibFile + MainMenu + NSPhotoLibraryUsageDescription + A widget would like to access your Photo Library. + NSPrincipalClass + UBApplication + NSRemindersUsageDescription + A widget would like to access your Reminders. + NSSupportsAppNap + + OSAScriptingDefinition + Uebersicht.sdef + SUFeedURL + https://raw.githubusercontent.com/felixhageloh/uebersicht/gh-pages/updates.xml.rss + + diff --git a/uebersicht-code/Uebersicht/Uebersicht-Prefix.pch b/uebersicht-code/Uebersicht/Uebersicht-Prefix.pch new file mode 100755 index 0000000..35d7640 --- /dev/null +++ b/uebersicht-code/Uebersicht/Uebersicht-Prefix.pch @@ -0,0 +1,9 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#ifdef __OBJC__ + #import +#endif diff --git a/uebersicht-code/Uebersicht/Uebersicht.sdef b/uebersicht-code/Uebersicht/Uebersicht.sdef new file mode 100755 index 0000000..235028d --- /dev/null +++ b/uebersicht-code/Uebersicht/Uebersicht.sdef @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uebersicht-code/Uebersicht/WKBase.h b/uebersicht-code/Uebersicht/WKBase.h new file mode 100755 index 0000000..3ed83df --- /dev/null +++ b/uebersicht-code/Uebersicht/WKBase.h @@ -0,0 +1,16 @@ +/* + * https://github.com/WebKit/webkit/blob/master/Source/WebKit2/Shared/API/c/WKBase.h + * Copyright (C) 2010 Apple Inc. All rights reserved. + */ + +#ifndef WKBase_h +#define WKBase_h + + +#define WK_EXPORT + +/* WebKit2 shared types */ +typedef const struct OpaqueWKInspector* WKInspectorRef; +typedef const struct OpaqueWKPage* WKPageRef; + +#endif /* WKBase_h */ \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/WKInspector.h b/uebersicht-code/Uebersicht/WKInspector.h new file mode 100755 index 0000000..bacc9b4 --- /dev/null +++ b/uebersicht-code/Uebersicht/WKInspector.h @@ -0,0 +1,47 @@ +/* + * https://raw.githubusercontent.com/WebKit/webkit/master/Source/WebKit2/UIProcess/API/C/WKInspector.h + * Copyright (C) 2010 Apple Inc. All rights reserved. + * + */ + +#ifndef WKInspector_h +#define WKInspector_h + +#include "WKBase.h" + +#ifndef __cplusplus +#include +#endif + +#ifdef __cplusplus +extern "C" { +#endif + + +WK_EXPORT WKPageRef WKInspectorGetPage(WKInspectorRef inspector); + +WK_EXPORT bool WKInspectorIsConnected(WKInspectorRef inspector); +WK_EXPORT bool WKInspectorIsVisible(WKInspectorRef inspector); +WK_EXPORT bool WKInspectorIsFront(WKInspectorRef inspector); + +WK_EXPORT void WKInspectorConnect(WKInspectorRef inspector); + +WK_EXPORT void WKInspectorShow(WKInspectorRef inspector); +WK_EXPORT void WKInspectorHide(WKInspectorRef inspector); +WK_EXPORT void WKInspectorClose(WKInspectorRef inspector); + +WK_EXPORT void WKInspectorShowConsole(WKInspectorRef inspector); +WK_EXPORT void WKInspectorShowResources(WKInspectorRef inspector); + +WK_EXPORT bool WKInspectorIsAttached(WKInspectorRef inspector); +WK_EXPORT void WKInspectorAttach(WKInspectorRef inspector); +WK_EXPORT void WKInspectorDetach(WKInspectorRef inspector); + +WK_EXPORT bool WKInspectorIsProfilingPage(WKInspectorRef inspector); +WK_EXPORT void WKInspectorTogglePageProfiling(WKInspectorRef inspector); + +#ifdef __cplusplus +} +#endif + +#endif // WKInspector_h \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/WKPage.h b/uebersicht-code/Uebersicht/WKPage.h new file mode 100755 index 0000000..d3db523 --- /dev/null +++ b/uebersicht-code/Uebersicht/WKPage.h @@ -0,0 +1,14 @@ +/* + * https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/C/WKPage.h + * Copyright (C) 2010 Apple Inc. All rights reserved. + */ + +#ifndef WKPage_h +#define WKPage_h + +#import "WKBase.h" +#import "WKInspector.h" + +WK_EXPORT WKInspectorRef WKPageGetInspector(WKPageRef page); + +#endif diff --git a/uebersicht-code/Uebersicht/WKView.h b/uebersicht-code/Uebersicht/WKView.h new file mode 100755 index 0000000..7ca781a --- /dev/null +++ b/uebersicht-code/Uebersicht/WKView.h @@ -0,0 +1,16 @@ +/* https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/Cocoa/WKView.h + * https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h + * https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/mac/WKViewInternal.h + * Copyright (C) 2010 Apple Inc. All rights reserved. + */ + +#ifndef WKView_h +#define WKView_h + +#import "WKBase.h" + +@interface WKView : NSView {} +@property (readonly) WKPageRef pageRef; +@end + +#endif \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/WKWebViewInternal.h b/uebersicht-code/Uebersicht/WKWebViewInternal.h new file mode 100755 index 0000000..2a715c9 --- /dev/null +++ b/uebersicht-code/Uebersicht/WKWebViewInternal.h @@ -0,0 +1,14 @@ +/* + * https://github.com/WebKit/webkit/blob/master/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewInternal.h + * Copyright (C) 2010 Apple Inc. All rights reserved. + */ + +#ifndef WKWebViewInternal_h +#define WKWebViewInternal_h + +#include "WKBase.h" + +//@interface WKWebView +//- (WKPageRef)_pageForTesting; +//@end +#endif diff --git a/uebersicht-code/Uebersicht/en.lproj/.pydio b/uebersicht-code/Uebersicht/en.lproj/.pydio new file mode 100644 index 0000000..9448b9c --- /dev/null +++ b/uebersicht-code/Uebersicht/en.lproj/.pydio @@ -0,0 +1 @@ +70c7a87a-683a-47da-9894-740ac308d1c9 \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/en.lproj/Credits.rtf b/uebersicht-code/Uebersicht/en.lproj/Credits.rtf new file mode 100755 index 0000000..59a53c9 --- /dev/null +++ b/uebersicht-code/Uebersicht/en.lproj/Credits.rtf @@ -0,0 +1,6 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf400 +{\fonttbl} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +\paperw11900\paperh16840\vieww9600\viewh8400\viewkind0 +} \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/en.lproj/InfoPlist.strings b/uebersicht-code/Uebersicht/en.lproj/InfoPlist.strings new file mode 100755 index 0000000..477b28f --- /dev/null +++ b/uebersicht-code/Uebersicht/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/uebersicht-code/Uebersicht/geolocation.js b/uebersicht-code/Uebersicht/geolocation.js new file mode 100755 index 0000000..28ce836 --- /dev/null +++ b/uebersicht-code/Uebersicht/geolocation.js @@ -0,0 +1,67 @@ +window.__UBCallbacks__ = (function () { + var api = {}; + var callbacks = {}; + var currentId = 0; + + api.register = function register(callback) { + var id = currentId++; + callbacks[id] = callback; + + return id; + }; + + api.remove = function remove(id) { + delete callbacks[id]; + }; + + api.call = function call(id) { + if (callbacks[id]) { + callbacks[id].apply( + null, + Array.prototype.slice.apply(arguments, [1]) + ); + } + }; + + return api; +}()); + +(function() { + var geolocation = window.navigator.geolocation; + var messageHandler = window.webkit.messageHandlers.geolocation; + + geolocation.getCurrentPosition = function getCurrentPosition(onPos, onErr) { + var callbackId = __UBCallbacks__.register(function (pos) { + onPos(pos); + __UBCallbacks__.remove(callbackId); + geolocation.clearWatch(callbackId); + }) + + messageHandler.postMessage({ + type: 'registerCallback', + callbackId: callbackId + }); + }; + + geolocation.watchPosition = function watchPosition(onPos, onErr) { + var callbackId = __UBCallbacks__.register(function (pos) { + onPos(pos); + }) + + messageHandler.postMessage({ + type: 'registerCallback', + callbackId: callbackId + }); + + return callbackId; + }; + + geolocation.clearWatch = function clearWatch(callbackId) { + messageHandler.postMessage({ + type: 'removeCallback', + callbackId: callbackId + }); + } + + window.geolocation = geolocation; +}()); diff --git a/uebersicht-code/Uebersicht/main.m b/uebersicht-code/Uebersicht/main.m new file mode 100755 index 0000000..32fe029 --- /dev/null +++ b/uebersicht-code/Uebersicht/main.m @@ -0,0 +1,18 @@ +// +// main.m +// Übersicht +// +// Created by Felix Hageloh on 20/9/13. +// Copyright (c) 2013 Felix Hageloh. +// +// Released under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. See for +// details. + +#import + +int main(int argc, const char * argv[]) +{ + return NSApplicationMain(argc, argv); +} diff --git a/uebersicht-code/Uebersicht/status-icon.png b/uebersicht-code/Uebersicht/status-icon.png new file mode 100755 index 0000000..ce03d1c Binary files /dev/null and b/uebersicht-code/Uebersicht/status-icon.png differ diff --git a/uebersicht-code/Uebersicht/status-icon@2x.png b/uebersicht-code/Uebersicht/status-icon@2x.png new file mode 100755 index 0000000..48f13c2 Binary files /dev/null and b/uebersicht-code/Uebersicht/status-icon@2x.png differ diff --git a/uebersicht-code/Uebersicht/widget-status-hidden.png b/uebersicht-code/Uebersicht/widget-status-hidden.png new file mode 100755 index 0000000..fcfca88 Binary files /dev/null and b/uebersicht-code/Uebersicht/widget-status-hidden.png differ diff --git a/uebersicht-code/Uebersicht/widget-status-hidden@2x.png b/uebersicht-code/Uebersicht/widget-status-hidden@2x.png new file mode 100755 index 0000000..0dc17dd Binary files /dev/null and b/uebersicht-code/Uebersicht/widget-status-hidden@2x.png differ diff --git a/uebersicht-code/Uebersicht/widget-status-visible.png b/uebersicht-code/Uebersicht/widget-status-visible.png new file mode 100755 index 0000000..626f01f Binary files /dev/null and b/uebersicht-code/Uebersicht/widget-status-visible.png differ diff --git a/uebersicht-code/Uebersicht/widget-status-visible@2x.png b/uebersicht-code/Uebersicht/widget-status-visible@2x.png new file mode 100755 index 0000000..dfbef93 Binary files /dev/null and b/uebersicht-code/Uebersicht/widget-status-visible@2x.png differ diff --git a/uebersicht-code/Uebersicht/zh-HK.lproj/.pydio b/uebersicht-code/Uebersicht/zh-HK.lproj/.pydio new file mode 100644 index 0000000..d628eeb --- /dev/null +++ b/uebersicht-code/Uebersicht/zh-HK.lproj/.pydio @@ -0,0 +1 @@ +3ba705a2-adc8-41c7-b90f-147bb0e38905 \ No newline at end of file diff --git a/uebersicht-code/Uebersicht/zh-HK.lproj/MainMenu.strings b/uebersicht-code/Uebersicht/zh-HK.lproj/MainMenu.strings new file mode 100644 index 0000000..5d5085e --- /dev/null +++ b/uebersicht-code/Uebersicht/zh-HK.lproj/MainMenu.strings @@ -0,0 +1,405 @@ + +/* Class = "NSMenuItem"; title = "Bring All to Front"; ObjectID = "5"; */ +"5.title" = "Bring All to Front"; + +/* Class = "NSMenuItem"; title = "Window"; ObjectID = "19"; */ +"19.title" = "Window"; + +/* Class = "NSMenuItem"; title = "Minimize"; ObjectID = "23"; */ +"23.title" = "Minimize"; + +/* Class = "NSMenu"; title = "Window"; ObjectID = "24"; */ +"24.title" = "Window"; + +/* Class = "NSMenu"; title = "AMainMenu"; ObjectID = "29"; */ +"29.title" = "AMainMenu"; + +/* Class = "NSMenuItem"; title = "桌面小组件"; ObjectID = "56"; */ +"56.title" = "桌面小组件"; + +/* Class = "NSMenu"; title = "桌面小组件"; ObjectID = "57"; */ +"57.title" = "桌面小组件"; + +/* Class = "NSMenuItem"; title = "About Übersicht"; ObjectID = "58"; */ +"58.title" = "About Übersicht"; + +/* Class = "NSMenuItem"; title = "Open…"; ObjectID = "72"; */ +"72.title" = "Open…"; + +/* Class = "NSMenuItem"; title = "Close"; ObjectID = "73"; */ +"73.title" = "Close"; + +/* Class = "NSMenuItem"; title = "Save…"; ObjectID = "75"; */ +"75.title" = "Save…"; + +/* Class = "NSMenuItem"; title = "Page Setup..."; ObjectID = "77"; */ +"77.title" = "Page Setup..."; + +/* Class = "NSMenuItem"; title = "Print…"; ObjectID = "78"; */ +"78.title" = "Print…"; + +/* Class = "NSMenu"; title = "File"; ObjectID = "81"; */ +"81.title" = "File"; + +/* Class = "NSMenuItem"; title = "New"; ObjectID = "82"; */ +"82.title" = "New"; + +/* Class = "NSMenuItem"; title = "File"; ObjectID = "83"; */ +"83.title" = "File"; + +/* Class = "NSMenuItem"; title = "Revert to Saved"; ObjectID = "112"; */ +"112.title" = "Revert to Saved"; + +/* Class = "NSMenuItem"; title = "Open Recent"; ObjectID = "124"; */ +"124.title" = "Open Recent"; + +/* Class = "NSMenu"; title = "Open Recent"; ObjectID = "125"; */ +"125.title" = "Open Recent"; + +/* Class = "NSMenuItem"; title = "Clear Menu"; ObjectID = "126"; */ +"126.title" = "Clear Menu"; + +/* Class = "NSMenuItem"; title = "Preferences…"; ObjectID = "129"; */ +"129.title" = "Preferences…"; + +/* Class = "NSMenu"; title = "Services"; ObjectID = "130"; */ +"130.title" = "Services"; + +/* Class = "NSMenuItem"; title = "Services"; ObjectID = "131"; */ +"131.title" = "Services"; + +/* Class = "NSMenuItem"; title = "Hide Übersicht"; ObjectID = "134"; */ +"134.title" = "Hide Übersicht"; + +/* Class = "NSMenuItem"; title = "Quit Übersicht"; ObjectID = "136"; */ +"136.title" = "Quit Übersicht"; + +/* Class = "NSMenuItem"; title = "Hide Others"; ObjectID = "145"; */ +"145.title" = "Hide Others"; + +/* Class = "NSMenuItem"; title = "Show All"; ObjectID = "150"; */ +"150.title" = "Show All"; + +/* Class = "NSMenuItem"; title = "Stop Speaking"; ObjectID = "195"; */ +"195.title" = "Stop Speaking"; + +/* Class = "NSMenuItem"; title = "Start Speaking"; ObjectID = "196"; */ +"196.title" = "Start Speaking"; + +/* Class = "NSMenuItem"; title = "Copy"; ObjectID = "197"; */ +"197.title" = "Copy"; + +/* Class = "NSMenuItem"; title = "Select All"; ObjectID = "198"; */ +"198.title" = "Select All"; + +/* Class = "NSMenuItem"; title = "Cut"; ObjectID = "199"; */ +"199.title" = "Cut"; + +/* Class = "NSMenu"; title = "Spelling and Grammar"; ObjectID = "200"; */ +"200.title" = "Spelling and Grammar"; + +/* Class = "NSMenuItem"; title = "Check Document Now"; ObjectID = "201"; */ +"201.title" = "Check Document Now"; + +/* Class = "NSMenuItem"; title = "Delete"; ObjectID = "202"; */ +"202.title" = "Delete"; + +/* Class = "NSMenuItem"; title = "Paste"; ObjectID = "203"; */ +"203.title" = "Paste"; + +/* Class = "NSMenuItem"; title = "Show Spelling and Grammar"; ObjectID = "204"; */ +"204.title" = "Show Spelling and Grammar"; + +/* Class = "NSMenu"; title = "Edit"; ObjectID = "205"; */ +"205.title" = "Edit"; + +/* Class = "NSMenuItem"; title = "Undo"; ObjectID = "207"; */ +"207.title" = "Undo"; + +/* Class = "NSMenuItem"; title = "Find Next"; ObjectID = "208"; */ +"208.title" = "Find Next"; + +/* Class = "NSMenuItem"; title = "Find…"; ObjectID = "209"; */ +"209.title" = "Find…"; + +/* Class = "NSMenuItem"; title = "Jump to Selection"; ObjectID = "210"; */ +"210.title" = "Jump to Selection"; + +/* Class = "NSMenuItem"; title = "Speech"; ObjectID = "211"; */ +"211.title" = "Speech"; + +/* Class = "NSMenu"; title = "Speech"; ObjectID = "212"; */ +"212.title" = "Speech"; + +/* Class = "NSMenuItem"; title = "Find Previous"; ObjectID = "213"; */ +"213.title" = "Find Previous"; + +/* Class = "NSMenuItem"; title = "Redo"; ObjectID = "215"; */ +"215.title" = "Redo"; + +/* Class = "NSMenuItem"; title = "Spelling and Grammar"; ObjectID = "216"; */ +"216.title" = "Spelling and Grammar"; + +/* Class = "NSMenuItem"; title = "Edit"; ObjectID = "217"; */ +"217.title" = "Edit"; + +/* Class = "NSMenuItem"; title = "Find"; ObjectID = "218"; */ +"218.title" = "Find"; + +/* Class = "NSMenuItem"; title = "Check Spelling While Typing"; ObjectID = "219"; */ +"219.title" = "Check Spelling While Typing"; + +/* Class = "NSMenu"; title = "Find"; ObjectID = "220"; */ +"220.title" = "Find"; + +/* Class = "NSMenuItem"; title = "Use Selection for Find"; ObjectID = "221"; */ +"221.title" = "Use Selection for Find"; + +/* Class = "NSMenuItem"; title = "Zoom"; ObjectID = "239"; */ +"239.title" = "Zoom"; + +/* Class = "NSMenuItem"; title = "View"; ObjectID = "295"; */ +"295.title" = "View"; + +/* Class = "NSMenu"; title = "View"; ObjectID = "296"; */ +"296.title" = "View"; + +/* Class = "NSMenuItem"; title = "Show Toolbar"; ObjectID = "297"; */ +"297.title" = "Show Toolbar"; + +/* Class = "NSMenuItem"; title = "Customize Toolbar…"; ObjectID = "298"; */ +"298.title" = "Customize Toolbar…"; + +/* Class = "NSMenuItem"; title = "Check Grammar With Spelling"; ObjectID = "346"; */ +"346.title" = "Check Grammar With Spelling"; + +/* Class = "NSMenuItem"; title = "Substitutions"; ObjectID = "348"; */ +"348.title" = "Substitutions"; + +/* Class = "NSMenu"; title = "Substitutions"; ObjectID = "349"; */ +"349.title" = "Substitutions"; + +/* Class = "NSMenuItem"; title = "Smart Copy/Paste"; ObjectID = "350"; */ +"350.title" = "Smart Copy/Paste"; + +/* Class = "NSMenuItem"; title = "Smart Quotes"; ObjectID = "351"; */ +"351.title" = "Smart Quotes"; + +/* Class = "NSMenuItem"; title = "Smart Links"; ObjectID = "354"; */ +"354.title" = "Smart Links"; + +/* Class = "NSMenuItem"; title = "Format"; ObjectID = "375"; */ +"375.title" = "Format"; + +/* Class = "NSMenu"; title = "Format"; ObjectID = "376"; */ +"376.title" = "Format"; + +/* Class = "NSMenuItem"; title = "Font"; ObjectID = "377"; */ +"377.title" = "Font"; + +/* Class = "NSMenu"; title = "Font"; ObjectID = "388"; */ +"388.title" = "Font"; + +/* Class = "NSMenuItem"; title = "Show Fonts"; ObjectID = "389"; */ +"389.title" = "Show Fonts"; + +/* Class = "NSMenuItem"; title = "Bold"; ObjectID = "390"; */ +"390.title" = "Bold"; + +/* Class = "NSMenuItem"; title = "Italic"; ObjectID = "391"; */ +"391.title" = "Italic"; + +/* Class = "NSMenuItem"; title = "Underline"; ObjectID = "392"; */ +"392.title" = "Underline"; + +/* Class = "NSMenuItem"; title = "Bigger"; ObjectID = "394"; */ +"394.title" = "Bigger"; + +/* Class = "NSMenuItem"; title = "Smaller"; ObjectID = "395"; */ +"395.title" = "Smaller"; + +/* Class = "NSMenuItem"; title = "Kern"; ObjectID = "397"; */ +"397.title" = "Kern"; + +/* Class = "NSMenuItem"; title = "Ligatures"; ObjectID = "398"; */ +"398.title" = "Ligatures"; + +/* Class = "NSMenuItem"; title = "Baseline"; ObjectID = "399"; */ +"399.title" = "Baseline"; + +/* Class = "NSMenuItem"; title = "Show Colors"; ObjectID = "401"; */ +"401.title" = "Show Colors"; + +/* Class = "NSMenuItem"; title = "Copy Style"; ObjectID = "403"; */ +"403.title" = "Copy Style"; + +/* Class = "NSMenuItem"; title = "Paste Style"; ObjectID = "404"; */ +"404.title" = "Paste Style"; + +/* Class = "NSMenu"; title = "Baseline"; ObjectID = "405"; */ +"405.title" = "Baseline"; + +/* Class = "NSMenuItem"; title = "Use Default"; ObjectID = "406"; */ +"406.title" = "Use Default"; + +/* Class = "NSMenuItem"; title = "Superscript"; ObjectID = "407"; */ +"407.title" = "Superscript"; + +/* Class = "NSMenuItem"; title = "Subscript"; ObjectID = "408"; */ +"408.title" = "Subscript"; + +/* Class = "NSMenuItem"; title = "Raise"; ObjectID = "409"; */ +"409.title" = "Raise"; + +/* Class = "NSMenuItem"; title = "Lower"; ObjectID = "410"; */ +"410.title" = "Lower"; + +/* Class = "NSMenu"; title = "Ligatures"; ObjectID = "411"; */ +"411.title" = "Ligatures"; + +/* Class = "NSMenuItem"; title = "Use Default"; ObjectID = "412"; */ +"412.title" = "Use Default"; + +/* Class = "NSMenuItem"; title = "Use None"; ObjectID = "413"; */ +"413.title" = "Use None"; + +/* Class = "NSMenuItem"; title = "Use All"; ObjectID = "414"; */ +"414.title" = "Use All"; + +/* Class = "NSMenu"; title = "Kern"; ObjectID = "415"; */ +"415.title" = "Kern"; + +/* Class = "NSMenuItem"; title = "Use Default"; ObjectID = "416"; */ +"416.title" = "Use Default"; + +/* Class = "NSMenuItem"; title = "Use None"; ObjectID = "417"; */ +"417.title" = "Use None"; + +/* Class = "NSMenuItem"; title = "Tighten"; ObjectID = "418"; */ +"418.title" = "Tighten"; + +/* Class = "NSMenuItem"; title = "Loosen"; ObjectID = "419"; */ +"419.title" = "Loosen"; + +/* Class = "NSMenuItem"; title = "Transformations"; ObjectID = "450"; */ +"450.title" = "Transformations"; + +/* Class = "NSMenu"; title = "Transformations"; ObjectID = "451"; */ +"451.title" = "Transformations"; + +/* Class = "NSMenuItem"; title = "Make Upper Case"; ObjectID = "452"; */ +"452.title" = "Make Upper Case"; + +/* Class = "NSMenuItem"; title = "Correct Spelling Automatically"; ObjectID = "454"; */ +"454.title" = "Correct Spelling Automatically"; + +/* Class = "NSMenuItem"; title = "Show Substitutions"; ObjectID = "457"; */ +"457.title" = "Show Substitutions"; + +/* Class = "NSMenuItem"; title = "Smart Dashes"; ObjectID = "460"; */ +"460.title" = "Smart Dashes"; + +/* Class = "NSMenuItem"; title = "Text Replacement"; ObjectID = "462"; */ +"462.title" = "Text Replacement"; + +/* Class = "NSMenuItem"; title = "Make Lower Case"; ObjectID = "465"; */ +"465.title" = "Make Lower Case"; + +/* Class = "NSMenuItem"; title = "Capitalize"; ObjectID = "466"; */ +"466.title" = "Capitalize"; + +/* Class = "NSMenuItem"; title = "Paste and Match Style"; ObjectID = "485"; */ +"485.title" = "Paste and Match Style"; + +/* Class = "NSMenuItem"; title = "Help"; ObjectID = "490"; */ +"490.title" = "Help"; + +/* Class = "NSMenu"; title = "Help"; ObjectID = "491"; */ +"491.title" = "Help"; + +/* Class = "NSMenuItem"; title = "Übersicht Help"; ObjectID = "492"; */ +"492.title" = "Übersicht Help"; + +/* Class = "NSMenuItem"; title = "Text"; ObjectID = "496"; */ +"496.title" = "Text"; + +/* Class = "NSMenu"; title = "Text"; ObjectID = "497"; */ +"497.title" = "Text"; + +/* Class = "NSMenuItem"; title = "Align Left"; ObjectID = "498"; */ +"498.title" = "Align Left"; + +/* Class = "NSMenuItem"; title = "Center"; ObjectID = "499"; */ +"499.title" = "Center"; + +/* Class = "NSMenuItem"; title = "Justify"; ObjectID = "500"; */ +"500.title" = "Justify"; + +/* Class = "NSMenuItem"; title = "Align Right"; ObjectID = "501"; */ +"501.title" = "Align Right"; + +/* Class = "NSMenuItem"; title = "Writing Direction"; ObjectID = "503"; */ +"503.title" = "Writing Direction"; + +/* Class = "NSMenuItem"; title = "Show Ruler"; ObjectID = "505"; */ +"505.title" = "Show Ruler"; + +/* Class = "NSMenuItem"; title = "Copy Ruler"; ObjectID = "506"; */ +"506.title" = "Copy Ruler"; + +/* Class = "NSMenuItem"; title = "Paste Ruler"; ObjectID = "507"; */ +"507.title" = "Paste Ruler"; + +/* Class = "NSMenu"; title = "Writing Direction"; ObjectID = "508"; */ +"508.title" = "Writing Direction"; + +/* Class = "NSMenuItem"; title = "Paragraph"; ObjectID = "509"; */ +"509.title" = "Paragraph"; + +/* Class = "NSMenuItem"; title = "\tDefault"; ObjectID = "510"; */ +"510.title" = "\tDefault"; + +/* Class = "NSMenuItem"; title = "\tLeft to Right"; ObjectID = "511"; */ +"511.title" = "\tLeft to Right"; + +/* Class = "NSMenuItem"; title = "\tRight to Left"; ObjectID = "512"; */ +"512.title" = "\tRight to Left"; + +/* Class = "NSMenuItem"; title = "Selection"; ObjectID = "514"; */ +"514.title" = "Selection"; + +/* Class = "NSMenuItem"; title = "\tDefault"; ObjectID = "515"; */ +"515.title" = "\tDefault"; + +/* Class = "NSMenuItem"; title = "\tLeft to Right"; ObjectID = "516"; */ +"516.title" = "\tLeft to Right"; + +/* Class = "NSMenuItem"; title = "\tRight to Left"; ObjectID = "517"; */ +"517.title" = "\tRight to Left"; + +/* Class = "NSMenuItem"; title = "Find and Replace…"; ObjectID = "534"; */ +"534.title" = "Find and Replace…"; + +/* Class = "NSMenuItem"; title = "退出"; ObjectID = "0lC-di-1Ep"; */ +"0lC-di-1Ep.title" = "退出"; + +/* Class = "NSMenuItem"; title = "本地组件目录"; ObjectID = "FhM-7d-UOL"; */ +"FhM-7d-UOL.title" = "本地组件目录"; + +/* Class = "NSMenuItem"; title = "软件设置"; ObjectID = "TZv-Vq-BWQ"; */ +"TZv-Vq-BWQ.title" = "软件设置"; + +/* Class = "NSMenuItem"; title = "关于软件"; ObjectID = "YQt-G2-uKH"; */ +"YQt-G2-uKH.title" = "关于软件"; + +/* Class = "NSMenuItem"; title = "访问组件库"; ObjectID = "g8k-60-Yu1"; */ +"g8k-60-Yu1.title" = "访问组件库"; + +/* Class = "NSMenuItem"; title = "打开调试控制台"; ObjectID = "mKH-1l-jB3"; */ +"mKH-1l-jB3.title" = "打开调试控制台"; + +/* Class = "NSMenuItem"; title = "检查新版"; ObjectID = "ssJ-cC-6aL"; */ +"ssJ-cC-6aL.title" = "检查新版"; + +/* Class = "NSMenuItem"; title = "刷新所有组件"; ObjectID = "wAr-ms-Hyi"; */ +"wAr-ms-Hyi.title" = "刷新所有组件"; diff --git a/uebersicht-code/Uebersicht/Übersicht.entitlements b/uebersicht-code/Uebersicht/Übersicht.entitlements new file mode 100755 index 0000000..ea77dc7 --- /dev/null +++ b/uebersicht-code/Uebersicht/Übersicht.entitlements @@ -0,0 +1,18 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.personal-information.addressbook + + com.apple.security.personal-information.calendars + + com.apple.security.personal-information.location + + com.apple.security.personal-information.photos-library + + + diff --git a/uebersicht-code/Uebersicht/übersicht-logo.png b/uebersicht-code/Uebersicht/übersicht-logo.png new file mode 100755 index 0000000..332d5df Binary files /dev/null and b/uebersicht-code/Uebersicht/übersicht-logo.png differ diff --git a/uebersicht-code/search.png b/uebersicht-code/search.png new file mode 100644 index 0000000..9e821fa Binary files /dev/null and b/uebersicht-code/search.png differ diff --git a/uebersicht-code/server/.babelrc b/uebersicht-code/server/.babelrc new file mode 100755 index 0000000..4ccd658 --- /dev/null +++ b/uebersicht-code/server/.babelrc @@ -0,0 +1,20 @@ +{ + "presets": [ + "@babel/preset-react", + [ + "@babel/preset-env", + { + "targets": [ + "Explorer 11", + "last 5 Safari versions", + ], + "useBuiltIns": "usage", + "corejs": "2", + "modules": "commonjs" + } + ] + ], + "plugins": [ + "@babel/plugin-proposal-object-rest-spread" + ] +} diff --git a/uebersicht-code/server/.pydio b/uebersicht-code/server/.pydio new file mode 100644 index 0000000..6bcf6a5 --- /dev/null +++ b/uebersicht-code/server/.pydio @@ -0,0 +1 @@ +160a04a8-07e3-427c-9d42-0ed982a3189e \ No newline at end of file diff --git a/uebersicht-code/server/client.coffee b/uebersicht-code/server/client.coffee new file mode 100755 index 0000000..181be0d --- /dev/null +++ b/uebersicht-code/server/client.coffee @@ -0,0 +1,90 @@ +redux = require 'redux' +window.$ = require 'jquery' + +reducer = require './src/reducer' +listenToRemote = require './src/listen' +sharedSocket = require './src/SharedSocket' +render = require './src/render' +actions = require './src/actions' +userCssLink = null +detectWidgetHover = require './src/detectWidgetHover' + + +window.onload = -> + sharedSocket.open("ws://#{window.location.host}") + path = window.location.pathname.split('/') + screen = + id: Number(path[1]) + layer: path[2] + contentEl = document.getElementById('uebersicht') + contentEl.innerHTML = '' + userCssLink = Array.from(document.querySelectorAll('link')) + .find((el) => el.href.match('userMain.css')) + + detectWidgetHover(contentEl); + + getState (err, initialState) -> + bail err, 10000 if err? + store = redux.createStore(reducer, initialState) + Object.keys(initialState.widgets).forEach (id) -> + fetchWidget(id) + .then (widgetImpl) -> store.dispatch(actions.showWidget(id, widgetImpl)) + + prevState = null + store.subscribe -> + nextState = store.getState() + return if nextState == prevState + render(store.getState(), screen, contentEl, store.dispatch) + prevState = nextState + + listenToRemote (action) -> + if action.type == 'WIDGET_WANTS_REFRESH' + render.rendered[action.payload]?.instance?.forceRefresh() + else if action.type == 'WIDGET_ADDED' + store.dispatch(action) + return if action.payload.error + fetchWidget(action.payload.id) + .then (widgetImpl) -> + store.dispatch(actions.showWidget(action.payload.id, widgetImpl)) + else if action.type == 'MASTER_STYLE_CHANGED' + reloadUserCSS() + else + store.dispatch(action) + render(initialState, screen, contentEl, store.dispatch) + +# legacy +window.uebersicht = + makeBgSlice: (canvas) -> + console.warn 'makeBgSlice has been deprecated. Please use CSS \ + backdrop-filter instead: \ + https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter' + +window.addEventListener 'contextmenu', (e) -> + e.preventDefault() + +getState = (callback) -> + $.get("/state/") + .done((response) -> callback null, JSON.parse(response)) + .fail -> callback response, null + +fetchWidget = (id) -> new Promise (resolve, reject) -> + scriptTag = document.createElement('SCRIPT') + scriptTag.id = id + scriptTag.src = '/widgets/' + id + scriptTag.onload = -> + document.head.removeChild(scriptTag) + resolve(require(id)) + scriptTag.onerror = (err) -> + document.head.removeChild(scriptTag) + reject(err) + document.head.appendChild(scriptTag) + +reloadUserCSS = -> + href = userCssLink.href.split('?')[0] + userCssLink.href = "#{href}?#{new Date().getTime()}" + +bail = (err, timeout = 0) -> + console.log err if err? + setTimeout -> + window.location.reload(true) + , timeout \ No newline at end of file diff --git a/uebersicht-code/server/package-lock.json b/uebersicht-code/server/package-lock.json new file mode 100644 index 0000000..dd598f2 --- /dev/null +++ b/uebersicht-code/server/package-lock.json @@ -0,0 +1,5648 @@ +{ + "name": "uebersicht-server", + "version": "0.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@ampproject/remapping": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz", + "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==", + "requires": { + "@jridgewell/trace-mapping": "^0.3.0" + } + }, + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "requires": { + "@babel/highlight": "^7.16.7" + } + }, + "@babel/compat-data": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.0.tgz", + "integrity": "sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==" + }, + "@babel/core": { + "version": "7.17.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.5.tgz", + "integrity": "sha512-/BBMw4EvjmyquN5O+t5eh0+YqB3XXJkYD2cjKpYtWOfFy4lQ4UozNSmxAcWT8r2XtZs0ewG+zrfsqeR15i1ajA==", + "requires": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.3", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helpers": "^7.17.2", + "@babel/parser": "^7.17.3", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.3", + "@babel/types": "^7.17.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.1.2", + "semver": "^6.3.0" + } + }, + "@babel/generator": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.3.tgz", + "integrity": "sha512-+R6Dctil/MgUsZsZAkYgK+ADNSZzJRRy0TvY65T71z/CR854xHQ1EweBYXdfT+HNeN7w0cSJJEzgxZMv40pxsg==", + "requires": { + "@babel/types": "^7.17.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", + "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", + "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "requires": { + "@babel/helper-explode-assignable-expression": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-compilation-targets": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", + "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", + "requires": { + "@babel/compat-data": "^7.16.4", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + } + }, + "@babel/helper-create-class-features-plugin": { + "version": "7.17.6", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.6.tgz", + "integrity": "sha512-SogLLSxXm2OkBbSsHZMM4tUi8fUzjs63AT/d0YQIzr6GSd8Hxsbk2KYDX0k0DweAzGMj/YWeiCsorIdtdcW8Eg==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7" + } + }, + "@babel/helper-create-regexp-features-plugin": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz", + "integrity": "sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "regexpu-core": "^5.0.1" + } + }, + "@babel/helper-define-polyfill-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", + "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "requires": { + "@babel/helper-compilation-targets": "^7.13.0", + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/traverse": "^7.13.0", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + } + }, + "@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-explode-assignable-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", + "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", + "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", + "requires": { + "@babel/helper-get-function-arity": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", + "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.7.tgz", + "integrity": "sha512-VtJ/65tYiU/6AbMTDwyoXGPKHgTsfRarivm+YbB5uAzKUyuPjgZSgAFeG87FCigc7KNHu2Pegh1XIT3lXjvz3Q==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-transforms": { + "version": "7.17.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.6.tgz", + "integrity": "sha512-2ULmRdqoOMpdvkbT8jONrZML/XALfzxlb052bldftkicAUy8AxSCkD5trDPQcwHNmolcl7wP6ehNqMlyUw6AaA==", + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.3", + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", + "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", + "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==" + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", + "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-wrap-function": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helper-replace-supers": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", + "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-simple-access": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", + "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "requires": { + "@babel/types": "^7.16.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" + }, + "@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==" + }, + "@babel/helper-wrap-function": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", + "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "requires": { + "@babel/helper-function-name": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helpers": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.2.tgz", + "integrity": "sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==", + "requires": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.0", + "@babel/types": "^7.17.0" + } + }, + "@babel/highlight": { + "version": "7.16.10", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz", + "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==", + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.3.tgz", + "integrity": "sha512-7yJPvPV+ESz2IUTPbOL+YkIGyCqOyNIzdguKQuJGnH7bg1WTIifuM21YqokFt/THWh1AkCRn9IgoykTRCBVpzA==" + }, + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz", + "integrity": "sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz", + "integrity": "sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.7" + } + }, + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz", + "integrity": "sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/plugin-syntax-async-generators": "^7.8.4" + } + }, + "@babel/plugin-proposal-class-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz", + "integrity": "sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-proposal-class-static-block": { + "version": "7.17.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.17.6.tgz", + "integrity": "sha512-X/tididvL2zbs7jZCeeRJ8167U/+Ac135AM6jCAx6gYXDUviZV5Ku9UDvWS2NCuWlFjIRXklYhwo6HhAC7ETnA==", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.17.6", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + } + }, + "@babel/plugin-proposal-dynamic-import": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", + "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + } + }, + "@babel/plugin-proposal-export-namespace-from": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz", + "integrity": "sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + } + }, + "@babel/plugin-proposal-json-strings": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz", + "integrity": "sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-json-strings": "^7.8.3" + } + }, + "@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz", + "integrity": "sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + } + }, + "@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz", + "integrity": "sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + } + }, + "@babel/plugin-proposal-numeric-separator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", + "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + } + }, + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.17.3.tgz", + "integrity": "sha512-yuL5iQA/TbZn+RGAfxQXfi7CNLmKi1f8zInn4IgobuCWcAb7i+zj4TYzQ9l8cEzVyJ89PDGuqxK1xZpUDISesw==", + "requires": { + "@babel/compat-data": "^7.17.0", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.16.7" + } + }, + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", + "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + } + }, + "@babel/plugin-proposal-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz", + "integrity": "sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + } + }, + "@babel/plugin-proposal-private-methods": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz", + "integrity": "sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw==", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.10", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-proposal-private-property-in-object": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz", + "integrity": "sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + } + }, + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz", + "integrity": "sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg==", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "requires": { + "@babel/helper-plugin-utils": "^7.12.13" + } + }, + "@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-jsx": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.16.7.tgz", + "integrity": "sha512-Esxmk7YjA8QysKeT3VhTXvF6y77f/a91SIs4pWb4H2eWGQkCKFgQaG6hdoEVZtGsrAcb2K5BW66XsOErD4WU3Q==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz", + "integrity": "sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz", + "integrity": "sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg==", + "requires": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", + "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz", + "integrity": "sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz", + "integrity": "sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "globals": "^11.1.0" + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz", + "integrity": "sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.17.3.tgz", + "integrity": "sha512-dDFzegDYKlPqa72xIlbmSkly5MluLoaC1JswABGktyt6NTXSBcUuse/kWE/wvKFWJHPETpi158qJZFS3JmykJg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", + "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz", + "integrity": "sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", + "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "requires": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz", + "integrity": "sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", + "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "requires": { + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz", + "integrity": "sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-member-expression-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", + "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz", + "integrity": "sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g==", + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz", + "integrity": "sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==", + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.7.tgz", + "integrity": "sha512-DuK5E3k+QQmnOqBR9UkusByy5WZWGRxfzV529s9nPra1GE7olmxfqO2FHobEOYSPIjPBTr4p66YDcjQnt8cBmw==", + "requires": { + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz", + "integrity": "sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ==", + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz", + "integrity": "sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw==", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz", + "integrity": "sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", + "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz", + "integrity": "sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", + "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-react-display-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.16.7.tgz", + "integrity": "sha512-qgIg8BcZgd0G/Cz916D5+9kqX0c7nPZyXaP8R2tLNN5tkyIZdG5fEwBrxwplzSnjC1jvQmyMNVwUCZPcbGY7Pg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-react-jsx": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.17.3.tgz", + "integrity": "sha512-9tjBm4O07f7mzKSIlEmPdiE6ub7kfIe6Cd+w+oQebpATfTQMAgW+YOuWxogbKVTulA+MEO7byMeIUtQ1z+z+ZQ==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-jsx": "^7.16.7", + "@babel/types": "^7.17.0" + } + }, + "@babel/plugin-transform-react-jsx-development": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.16.7.tgz", + "integrity": "sha512-RMvQWvpla+xy6MlBpPlrKZCMRs2AGiHOGHY3xRwl0pEeim348dDyxeH4xBsMPbIMhujeq7ihE702eM2Ew0Wo+A==", + "requires": { + "@babel/plugin-transform-react-jsx": "^7.16.7" + } + }, + "@babel/plugin-transform-react-pure-annotations": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.16.7.tgz", + "integrity": "sha512-hs71ToC97k3QWxswh2ElzMFABXHvGiJ01IB1TbYQDGeWRKWz/MPUTh5jGExdHvosYKpnJW5Pm3S4+TA3FyX+GA==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.7.tgz", + "integrity": "sha512-mF7jOgGYCkSJagJ6XCujSQg+6xC1M77/03K2oBmVJWoFGNUtnVJO4WHKJk3dnPC8HCcj4xBQP1Egm8DWh3Pb3Q==", + "requires": { + "regenerator-transform": "^0.14.2" + } + }, + "@babel/plugin-transform-reserved-words": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz", + "integrity": "sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", + "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz", + "integrity": "sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", + "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz", + "integrity": "sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz", + "integrity": "sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-escapes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", + "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", + "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/preset-env": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.11.tgz", + "integrity": "sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g==", + "requires": { + "@babel/compat-data": "^7.16.8", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-async-generator-functions": "^7.16.8", + "@babel/plugin-proposal-class-properties": "^7.16.7", + "@babel/plugin-proposal-class-static-block": "^7.16.7", + "@babel/plugin-proposal-dynamic-import": "^7.16.7", + "@babel/plugin-proposal-export-namespace-from": "^7.16.7", + "@babel/plugin-proposal-json-strings": "^7.16.7", + "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", + "@babel/plugin-proposal-numeric-separator": "^7.16.7", + "@babel/plugin-proposal-object-rest-spread": "^7.16.7", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", + "@babel/plugin-proposal-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-private-methods": "^7.16.11", + "@babel/plugin-proposal-private-property-in-object": "^7.16.7", + "@babel/plugin-proposal-unicode-property-regex": "^7.16.7", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.16.7", + "@babel/plugin-transform-async-to-generator": "^7.16.8", + "@babel/plugin-transform-block-scoped-functions": "^7.16.7", + "@babel/plugin-transform-block-scoping": "^7.16.7", + "@babel/plugin-transform-classes": "^7.16.7", + "@babel/plugin-transform-computed-properties": "^7.16.7", + "@babel/plugin-transform-destructuring": "^7.16.7", + "@babel/plugin-transform-dotall-regex": "^7.16.7", + "@babel/plugin-transform-duplicate-keys": "^7.16.7", + "@babel/plugin-transform-exponentiation-operator": "^7.16.7", + "@babel/plugin-transform-for-of": "^7.16.7", + "@babel/plugin-transform-function-name": "^7.16.7", + "@babel/plugin-transform-literals": "^7.16.7", + "@babel/plugin-transform-member-expression-literals": "^7.16.7", + "@babel/plugin-transform-modules-amd": "^7.16.7", + "@babel/plugin-transform-modules-commonjs": "^7.16.8", + "@babel/plugin-transform-modules-systemjs": "^7.16.7", + "@babel/plugin-transform-modules-umd": "^7.16.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.8", + "@babel/plugin-transform-new-target": "^7.16.7", + "@babel/plugin-transform-object-super": "^7.16.7", + "@babel/plugin-transform-parameters": "^7.16.7", + "@babel/plugin-transform-property-literals": "^7.16.7", + "@babel/plugin-transform-regenerator": "^7.16.7", + "@babel/plugin-transform-reserved-words": "^7.16.7", + "@babel/plugin-transform-shorthand-properties": "^7.16.7", + "@babel/plugin-transform-spread": "^7.16.7", + "@babel/plugin-transform-sticky-regex": "^7.16.7", + "@babel/plugin-transform-template-literals": "^7.16.7", + "@babel/plugin-transform-typeof-symbol": "^7.16.7", + "@babel/plugin-transform-unicode-escapes": "^7.16.7", + "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.16.8", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.20.2", + "semver": "^6.3.0" + } + }, + "@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + } + }, + "@babel/preset-react": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.16.7.tgz", + "integrity": "sha512-fWpyI8UM/HE6DfPBzD8LnhQ/OcH8AgTaqcqP2nGOXEUV+VKBR5JRN9hCk9ai+zQQ57vtm9oWeXguBCPNUjytgA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-transform-react-display-name": "^7.16.7", + "@babel/plugin-transform-react-jsx": "^7.16.7", + "@babel/plugin-transform-react-jsx-development": "^7.16.7", + "@babel/plugin-transform-react-pure-annotations": "^7.16.7" + } + }, + "@babel/runtime": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.2.tgz", + "integrity": "sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==", + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/traverse": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.3.tgz", + "integrity": "sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw==", + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.3", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.17.3", + "@babel/types": "^7.17.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + } + }, + "@babel/types": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", + "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + } + }, + "@emotion/cache": { + "version": "10.0.29", + "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-10.0.29.tgz", + "integrity": "sha512-fU2VtSVlHiF27empSbxi1O2JFdNWZO+2NFHfwO0pxgTep6Xa3uGb+3pVKfLww2l/IBGLNEZl5Xf/++A4wAYDYQ==", + "requires": { + "@emotion/sheet": "0.9.4", + "@emotion/stylis": "0.8.5", + "@emotion/utils": "0.11.3", + "@emotion/weak-memoize": "0.2.5" + } + }, + "@emotion/core": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/@emotion/core/-/core-10.3.1.tgz", + "integrity": "sha512-447aUEjPIm0MnE6QYIaFz9VQOHSXf4Iu6EWOIqq11EAPqinkSZmfymPTmlOE3QjLv846lH4JVZBUOtwGbuQoww==", + "requires": { + "@babel/runtime": "^7.5.5", + "@emotion/cache": "^10.0.27", + "@emotion/css": "^10.0.27", + "@emotion/serialize": "^0.11.15", + "@emotion/sheet": "0.9.4", + "@emotion/utils": "0.11.3" + } + }, + "@emotion/css": { + "version": "10.0.27", + "resolved": "https://registry.npmjs.org/@emotion/css/-/css-10.0.27.tgz", + "integrity": "sha512-6wZjsvYeBhyZQYNrGoR5yPMYbMBNEnanDrqmsqS1mzDm1cOTu12shvl2j4QHNS36UaTE0USIJawCH9C8oW34Zw==", + "requires": { + "@emotion/serialize": "^0.11.15", + "@emotion/utils": "0.11.3", + "babel-plugin-emotion": "^10.0.27" + } + }, + "@emotion/hash": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz", + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" + }, + "@emotion/is-prop-valid": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", + "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", + "requires": { + "@emotion/memoize": "0.7.4" + } + }, + "@emotion/memoize": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", + "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==" + }, + "@emotion/serialize": { + "version": "0.11.16", + "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-0.11.16.tgz", + "integrity": "sha512-G3J4o8by0VRrO+PFeSc3js2myYNOXVJ3Ya+RGVxnshRYgsvErfAOglKAiy1Eo1vhzxqtUvjCyS5gtewzkmvSSg==", + "requires": { + "@emotion/hash": "0.8.0", + "@emotion/memoize": "0.7.4", + "@emotion/unitless": "0.7.5", + "@emotion/utils": "0.11.3", + "csstype": "^2.5.7" + } + }, + "@emotion/sheet": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-0.9.4.tgz", + "integrity": "sha512-zM9PFmgVSqBw4zL101Q0HrBVTGmpAxFZH/pYx/cjJT5advXguvcgjHFTCaIO3enL/xr89vK2bh0Mfyj9aa0ANA==" + }, + "@emotion/styled": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-10.3.0.tgz", + "integrity": "sha512-GgcUpXBBEU5ido+/p/mCT2/Xx+Oqmp9JzQRuC+a4lYM4i4LBBn/dWvc0rQ19N9ObA8/T4NWMrPNe79kMBDJqoQ==", + "requires": { + "@emotion/styled-base": "^10.3.0", + "babel-plugin-emotion": "^10.0.27" + } + }, + "@emotion/styled-base": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@emotion/styled-base/-/styled-base-10.3.0.tgz", + "integrity": "sha512-PBRqsVKR7QRNkmfH78hTSSwHWcwDpecH9W6heujWAcyp2wdz/64PP73s7fWS1dIPm8/Exc8JAzYS8dEWXjv60w==", + "requires": { + "@babel/runtime": "^7.5.5", + "@emotion/is-prop-valid": "0.8.8", + "@emotion/serialize": "^0.11.15", + "@emotion/utils": "0.11.3" + } + }, + "@emotion/stylis": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz", + "integrity": "sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ==" + }, + "@emotion/unitless": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz", + "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" + }, + "@emotion/utils": { + "version": "0.11.3", + "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-0.11.3.tgz", + "integrity": "sha512-0o4l6pZC+hI88+bzuaX/6BgOvQVhbt2PfmxauVaYOGgbsAw14wdKyvMCZXnsnsHys94iadcF+RG/wZyx6+ZZBw==" + }, + "@emotion/weak-memoize": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz", + "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==" + }, + "@jridgewell/resolve-uri": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", + "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==" + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", + "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==" + }, + "@jridgewell/trace-mapping": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", + "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "@juliangruber/tap-finished": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@juliangruber/tap-finished/-/tap-finished-0.0.2.tgz", + "integrity": "sha1-qarWPV5EJf+KbZpqlKsoehtZXb4=", + "dev": true, + "requires": { + "once": "^1.3.3", + "tap-parser": "~0.2.0", + "through": "~2.3.4" + } + }, + "@sinonjs/commons": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", + "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/formatio": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-2.0.0.tgz", + "integrity": "sha512-ls6CAMA6/5gG+O/IdsBcblvnd8qcO/l1TYoNeAzp3wcISOxlPXQEus0mLcdwazEkWjaBdaJ3TaxmNgCLWwvWzg==", + "dev": true, + "requires": { + "samsam": "1.3.0" + } + }, + "@sinonjs/samsam": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.3.3.tgz", + "integrity": "sha512-bKCMKZvWIjYD0BLGnNrxVuw4dkWCYsLqFOUWw8VgKF/+5Y+mE7LfHWPIYoDXowH+3a9LsWDMo0uAP8YDosPvHQ==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.3.0", + "array-from": "^2.1.1", + "lodash": "^4.17.15" + } + }, + "@sinonjs/text-encoding": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", + "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", + "dev": true + }, + "@types/node": { + "version": "10.17.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", + "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==", + "dev": true + }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" + }, + "JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } + }, + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" + }, + "acorn-node": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", + "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", + "requires": { + "acorn": "^7.0.0", + "acorn-walk": "^7.0.0", + "xtend": "^4.0.2" + } + }, + "acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==" + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "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-from": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", + "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", + "dev": true + }, + "asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "assert": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", + "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", + "requires": { + "object-assign": "^4.1.1", + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "requires": { + "object.assign": "^4.1.0" + } + }, + "babel-plugin-emotion": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/babel-plugin-emotion/-/babel-plugin-emotion-10.2.2.tgz", + "integrity": "sha512-SMSkGoqTbTyUTDeuVuPIWifPdUGkTk1Kf9BWRiXIOIcuyMfsdp2EjeiiFvOzX8NOBvEh/ypKYvUh2rkgAJMCLA==", + "requires": { + "@babel/helper-module-imports": "^7.0.0", + "@emotion/hash": "0.8.0", + "@emotion/memoize": "0.7.4", + "@emotion/serialize": "^0.11.16", + "babel-plugin-macros": "^2.0.0", + "babel-plugin-syntax-jsx": "^6.18.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^1.0.5", + "find-root": "^1.1.0", + "source-map": "^0.5.7" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "babel-plugin-macros": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz", + "integrity": "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==", + "requires": { + "@babel/runtime": "^7.7.2", + "cosmiconfig": "^6.0.0", + "resolve": "^1.12.0" + } + }, + "babel-plugin-polyfill-corejs2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", + "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "requires": { + "@babel/compat-data": "^7.13.11", + "@babel/helper-define-polyfill-provider": "^0.3.1", + "semver": "^6.1.1" + } + }, + "babel-plugin-polyfill-corejs3": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", + "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1", + "core-js-compat": "^3.21.0" + } + }, + "babel-plugin-polyfill-regenerator": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", + "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1" + } + }, + "babel-plugin-syntax-jsx": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=" + }, + "babelify": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/babelify/-/babelify-10.0.0.tgz", + "integrity": "sha512-X40FaxyH7t3X+JFAKvb1H9wooWKLRCi8pg3m8poqtdZaIng+bjzp9RvKQCvRjF9isHiPkXspbbXT/zwXLtwgwg==" + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, + "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" + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "browser-launcher": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browser-launcher/-/browser-launcher-1.0.2.tgz", + "integrity": "sha512-MX5NJw6vm9v5WhRmb2R2q28DmXxFPIEL5TF0k/2LlMSd3+pRdoCkwH+qPFPOgPZnZklw1IZh9wTtqBJKUy4Ccg==", + "dev": true, + "requires": { + "headless": "~0.1.3", + "minimist": "0.0.5", + "mkdirp": "~0.3.3", + "plist": "0.2.1", + "xtend": "^4.0.0" + }, + "dependencies": { + "headless": { + "version": "0.1.3", + "bundled": true, + "dev": true + }, + "minimist": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.5.tgz", + "integrity": "sha1-16oye87PUY+RBqxrjwA/o7zqhWY=", + "dev": true + }, + "mkdirp": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz", + "integrity": "sha1-3j5fiWHIjHh+4TaN+EmsRBPsqNc=", + "dev": true + } + } + }, + "browser-pack": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz", + "integrity": "sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==", + "requires": { + "JSONStream": "^1.0.3", + "combine-source-map": "~0.8.0", + "defined": "^1.0.0", + "safe-buffer": "^5.1.1", + "through2": "^2.0.0", + "umd": "^3.0.0" + } + }, + "browser-resolve": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-2.0.0.tgz", + "integrity": "sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ==", + "requires": { + "resolve": "^1.17.0" + } + }, + "browser-run": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/browser-run/-/browser-run-6.0.0.tgz", + "integrity": "sha512-vzYaoi10x9bJcZRLj30Y/j1jSDs3g3wm4R6y0swv5ZoXwxJ+ykSBkizQP1HPiCiH6R4qD2FhvRxj0mYxeXHpCA==", + "dev": true, + "requires": { + "browser-launcher": "^1.0.1", + "duplexer": "^0.1.1", + "ecstatic": "^4.1.2", + "electron-stream": "^7.0.1", + "enstore": "^1.0.1", + "html-inject-script": "^1.1.0", + "optimist": "^0.6.1", + "phantomjs-stream": "^1.1.1", + "server-destroy": "^1.0.1", + "source-map-support": "^0.4.0", + "through": "^2.3.8", + "xhr-write-stream": "^0.1.2", + "xtend": "^4.0.1" + } + }, + "browserify": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/browserify/-/browserify-16.5.2.tgz", + "integrity": "sha512-TkOR1cQGdmXU9zW4YukWzWVSJwrxmNdADFbqbE3HFgQWe5wqZmOawqZ7J/8MPCwk/W8yY7Y0h+7mOtcZxLP23g==", + "requires": { + "JSONStream": "^1.0.3", + "assert": "^1.4.0", + "browser-pack": "^6.0.1", + "browser-resolve": "^2.0.0", + "browserify-zlib": "~0.2.0", + "buffer": "~5.2.1", + "cached-path-relative": "^1.0.0", + "concat-stream": "^1.6.0", + "console-browserify": "^1.1.0", + "constants-browserify": "~1.0.0", + "crypto-browserify": "^3.0.0", + "defined": "^1.0.0", + "deps-sort": "^2.0.0", + "domain-browser": "^1.2.0", + "duplexer2": "~0.1.2", + "events": "^2.0.0", + "glob": "^7.1.0", + "has": "^1.0.0", + "htmlescape": "^1.1.0", + "https-browserify": "^1.0.0", + "inherits": "~2.0.1", + "insert-module-globals": "^7.0.0", + "labeled-stream-splicer": "^2.0.0", + "mkdirp-classic": "^0.5.2", + "module-deps": "^6.2.3", + "os-browserify": "~0.3.0", + "parents": "^1.0.1", + "path-browserify": "~0.0.0", + "process": "~0.11.0", + "punycode": "^1.3.2", + "querystring-es3": "~0.2.0", + "read-only-stream": "^2.0.0", + "readable-stream": "^2.0.2", + "resolve": "^1.1.4", + "shasum": "^1.0.0", + "shell-quote": "^1.6.1", + "stream-browserify": "^2.0.0", + "stream-http": "^3.0.0", + "string_decoder": "^1.1.1", + "subarg": "^1.0.0", + "syntax-error": "^1.1.1", + "through2": "^2.0.0", + "timers-browserify": "^1.0.1", + "tty-browserify": "0.0.1", + "url": "~0.11.0", + "util": "~0.10.1", + "vm-browserify": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "requires": { + "pako": "~1.0.5" + } + }, + "browserslist": { + "version": "4.19.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.3.tgz", + "integrity": "sha512-XK3X4xtKJ+Txj8G5c30B4gsm71s69lqXlkYui4s6EkKxuv49qjYlY6oVd+IFJ73d4YymtM3+djvvt/R/iJwwDg==", + "requires": { + "caniuse-lite": "^1.0.30001312", + "electron-to-chromium": "^1.4.71", + "escalade": "^3.1.1", + "node-releases": "^2.0.2", + "picocolors": "^1.0.0" + } + }, + "buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", + "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", + "dev": true + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "buffer-shims": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", + "integrity": "sha1-mXjOMXOIxkmth5MCjDR37wRKi1E=", + "dev": true + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=" + }, + "byline": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", + "integrity": "sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=" + }, + "cached-path-relative": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.1.0.tgz", + "integrity": "sha512-WF0LihfemtesFcJgO7xfOoOcnWzY/QHR4qeDqV44jPU3HTI54+LnfXK3SA27AVVGCdZFgjjFFaqUA9Jx7dMJZA==" + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" + }, + "caniuse-lite": { + "version": "1.0.30001312", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz", + "integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "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" + } + }, + "charset": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/charset/-/charset-1.0.1.tgz", + "integrity": "sha512-6dVyOOYjpfFcL1Y4qChrAoQLRHvj2ziyhcm0QJlhOcAhykL/k1kTUPbeo+87MNRTRdk2OIIsIXbuF3x2wi5EXg==", + "dev": true + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "coffee-script": { + "version": "1.12.7", + "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz", + "integrity": "sha512-fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==" + }, + "coffeeify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/coffeeify/-/coffeeify-2.1.0.tgz", + "integrity": "sha1-Bt6Aqoe2GUk3c0Nh3vSt4lS3Gh4=", + "requires": { + "coffee-script": "^1.12.0", + "convert-source-map": "^1.3.0", + "through2": "^2.0.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=" + }, + "combine-source-map": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/combine-source-map/-/combine-source-map-0.8.0.tgz", + "integrity": "sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=", + "requires": { + "convert-source-map": "~1.1.0", + "inline-source-map": "~0.6.0", + "lodash.memoize": "~3.0.3", + "source-map": "~0.5.3" + }, + "dependencies": { + "convert-source-map": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", + "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=" + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "connect": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", + "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.2", + "parseurl": "~1.3.3", + "utils-merge": "1.0.1" + }, + "dependencies": { + "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" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "console-browserify": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", + "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" + }, + "convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cookiejar": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz", + "integrity": "sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==" + }, + "core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" + }, + "core-js-compat": { + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.21.1.tgz", + "integrity": "sha512-gbgX5AUvMb8gwxC7FLVWYT7Kkgu/y7+h/h1X43yJkNqhlK2fuYyQimqvKGNZFAY6CKii/GFKJ2cp/1/42TN36g==", + "requires": { + "browserslist": "^4.19.1", + "semver": "7.0.0" + }, + "dependencies": { + "semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==" + } + } + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "cors-anywhere": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cors-anywhere/-/cors-anywhere-0.4.4.tgz", + "integrity": "sha512-8OBFwnzMgR4mNrAeAyOLB2EruS2z7u02of2bOu7i9kKYlZG+niS7CTHLPgEXKWW2NAOJWRry9RRCaL9lJRjNqg==", + "requires": { + "http-proxy": "1.11.1", + "proxy-from-env": "0.0.1" + } + }, + "cosmiconfig": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", + "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", + "requires": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" + } + }, + "create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "create-emotion": { + "version": "10.0.27", + "resolved": "https://registry.npmjs.org/create-emotion/-/create-emotion-10.0.27.tgz", + "integrity": "sha512-fIK73w82HPPn/RsAij7+Zt8eCE8SptcJ3WoRMfxMtjteYxud8GDTKKld7MYwAX2TVhrw29uR1N/bVGxeStHILg==", + "requires": { + "@emotion/cache": "^10.0.27", + "@emotion/serialize": "^0.11.15", + "@emotion/sheet": "0.9.4", + "@emotion/utils": "0.11.3" + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "crypto-random-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", + "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=", + "dev": true + }, + "css": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz", + "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==", + "requires": { + "inherits": "^2.0.3", + "source-map": "^0.6.1", + "source-map-resolve": "^0.5.2", + "urix": "^0.1.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + } + } + }, + "css-parse": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/css-parse/-/css-parse-1.7.0.tgz", + "integrity": "sha1-Mh9s9zeCpv91ERE5D8BeLGV9jJs=" + }, + "cssauron": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/cssauron/-/cssauron-1.4.0.tgz", + "integrity": "sha1-pmAt/34EqDBtwNuaVR6S6LVmKtg=", + "dev": true, + "requires": { + "through": "X.X.X" + } + }, + "csstype": { + "version": "2.6.19", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz", + "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==" + }, + "dash-ast": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz", + "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==" + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + } + } + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" + }, + "deep-equal": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", + "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", + "dev": true, + "requires": { + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.1", + "is-regex": "^1.0.4", + "object-is": "^1.0.1", + "object-keys": "^1.1.1", + "regexp.prototype.flags": "^1.2.0" + } + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "requires": { + "object-keys": "^1.0.12" + } + }, + "defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=" + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "deps-sort": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.1.tgz", + "integrity": "sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw==", + "requires": { + "JSONStream": "^1.0.3", + "shasum-object": "^1.0.0", + "subarg": "^1.0.0", + "through2": "^2.0.0" + } + }, + "des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "detective": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz", + "integrity": "sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==", + "requires": { + "acorn-node": "^1.6.1", + "defined": "^1.0.0", + "minimist": "^1.1.1" + } + }, + "dezalgo": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz", + "integrity": "sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY=", + "dev": true, + "requires": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "dev": true + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==" + }, + "dotignore": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz", + "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==", + "dev": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true + }, + "duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "requires": { + "readable-stream": "^2.0.2" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ecstatic": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/ecstatic/-/ecstatic-4.1.4.tgz", + "integrity": "sha512-8E4ZLK4uRuB9pwywGpy/B9vcz4gCp6IY7u4cMbeCINr/fjb1v+0wf0Ae2XlfSnG8xZYnE4uaJBjFkYI0bqcIdw==", + "dev": true, + "requires": { + "charset": "^1.0.1", + "he": "^1.1.1", + "mime": "^2.4.1", + "minimist": "^1.1.0", + "on-finished": "^2.3.0", + "url-join": "^4.0.0" + }, + "dependencies": { + "mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true + } + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "electron": { + "version": "5.0.13", + "resolved": "https://registry.npmjs.org/electron/-/electron-5.0.13.tgz", + "integrity": "sha512-AM73AMZpb/5zm8eIXsIcp2eMdniD5WO+FqMtlIzhhtSjixflDm0pLtgudz0fHtiT/w6V+6YcpDVb4TtHtrJbHQ==", + "dev": true, + "requires": { + "@types/node": "^10.12.18", + "electron-download": "^4.1.0", + "extract-zip": "^1.0.3" + } + }, + "electron-download": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/electron-download/-/electron-download-4.1.1.tgz", + "integrity": "sha512-FjEWG9Jb/ppK/2zToP+U5dds114fM1ZOJqMAR4aXXL5CvyPE9fiqBK/9YcwC9poIFQTEJk/EM/zyRwziziRZrg==", + "dev": true, + "requires": { + "debug": "^3.0.0", + "env-paths": "^1.0.0", + "fs-extra": "^4.0.1", + "minimist": "^1.2.0", + "nugget": "^2.0.1", + "path-exists": "^3.0.0", + "rc": "^1.2.1", + "semver": "^5.4.1", + "sumchecker": "^2.0.2" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "electron-stream": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/electron-stream/-/electron-stream-7.1.0.tgz", + "integrity": "sha512-XWsPVKhkVjltoFshn0f4oHkXn4YMc+TMvBT9O6W9aS+7YQgKN0FTju9YrAzVTiNcaGxcMetmQXquSPkvZ5+4Mg==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "ecstatic": "^4.1.2", + "electron": "^5.0.0", + "json-stringify-safe": "^5.0.1", + "stream-read": "^1.1.2", + "tempy": "0.1.0" + } + }, + "electron-to-chromium": { + "version": "1.4.71", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.71.tgz", + "integrity": "sha512-Hk61vXXKRb2cd3znPE9F+2pLWdIOmP7GjiTj45y6L3W/lO+hSnUSUhq+6lEaERWBdZOHbk2s3YV5c9xVl3boVw==" + }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "emotion": { + "version": "10.0.27", + "resolved": "https://registry.npmjs.org/emotion/-/emotion-10.0.27.tgz", + "integrity": "sha512-2xdDzdWWzue8R8lu4G76uWX5WhyQuzATon9LmNeCy/2BHVC6dsEpfhN1a0qhELgtDVdjyEA6J8Y/VlI5ZnaH0g==", + "requires": { + "babel-plugin-emotion": "^10.0.27", + "create-emotion": "^10.0.27" + } + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, + "enstore": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/enstore/-/enstore-1.0.1.tgz", + "integrity": "sha1-og/nHq696KOBOgoSQEdfVYVKgas=", + "dev": true, + "requires": { + "monotonic-timestamp": "0.0.8" + } + }, + "env-paths": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-1.0.0.tgz", + "integrity": "sha1-QWgTO0K7BcOKNbGuQ5fIKYqzaeA=", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "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=" + }, + "escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + } + } + }, + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + }, + "eventemitter3": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", + "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=" + }, + "events": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/events/-/events-2.1.0.tgz", + "integrity": "sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg==" + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extract-zip": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz", + "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==", + "dev": true, + "requires": { + "concat-stream": "^1.6.2", + "debug": "^2.6.9", + "mkdirp": "^0.5.4", + "yauzl": "^2.10.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + }, + "fast-safe-stringify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" + }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "dev": true, + "requires": { + "pend": "~1.2.0" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5", + "object-assign": "^4.1.0" + } + }, + "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" + }, + "dependencies": { + "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" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "requires": { + "is-callable": "^1.1.3" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", + "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "formidable": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz", + "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==" + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" + }, + "fs-extra": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", + "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==" + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" + }, + "get-assigned-identifiers": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz", + "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==" + }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" + }, + "graceful-fs": { + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", + "dev": true + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "dev": true, + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "html-inject-script": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/html-inject-script/-/html-inject-script-1.1.0.tgz", + "integrity": "sha1-GnwQoPy9MJ6Fv1PZpe0kt0xeMnU=", + "dev": true, + "requires": { + "trumpet": "^1.7.1" + } + }, + "html-select": { + "version": "2.3.24", + "resolved": "https://registry.npmjs.org/html-select/-/html-select-2.3.24.tgz", + "integrity": "sha1-Rq1tcS5zLPMcZznV0BEKX6vxdYU=", + "dev": true, + "requires": { + "cssauron": "^1.1.0", + "duplexer2": "~0.0.2", + "inherits": "^2.0.1", + "minimist": "~0.0.8", + "readable-stream": "^1.0.27-1", + "split": "~0.3.0", + "stream-splicer": "^1.2.0", + "through2": "^1.0.0" + }, + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", + "dev": true, + "requires": { + "readable-stream": "~1.1.9" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "split": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz", + "integrity": "sha1-zQ7qXmOiEd//frDwkcQTPi0N0o8=", + "dev": true, + "requires": { + "through": "2" + } + }, + "stream-splicer": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-1.3.2.tgz", + "integrity": "sha1-PARBvhW5v04iYnXm3IOWR0VUZmE=", + "dev": true, + "requires": { + "indexof": "0.0.1", + "inherits": "^2.0.1", + "isarray": "~0.0.1", + "readable-stream": "^1.1.13-1", + "readable-wrap": "^1.0.0", + "through2": "^1.0.0" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "through2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/through2/-/through2-1.1.1.tgz", + "integrity": "sha1-CEfLxESfNAVXTb3M2buEG4OsNUU=", + "dev": true, + "requires": { + "readable-stream": ">=1.1.13-1 <1.2.0-0", + "xtend": ">=4.0.0 <4.1.0-0" + } + } + } + }, + "html-tokenize": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/html-tokenize/-/html-tokenize-1.2.5.tgz", + "integrity": "sha1-flupnstR75Buyaf83ubKMmfHiX4=", + "dev": true, + "requires": { + "inherits": "~2.0.1", + "minimist": "~0.0.8", + "readable-stream": "~1.0.27-1", + "through2": "~0.4.1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + }, + "object-keys": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", + "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=", + "dev": true + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "through2": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.4.2.tgz", + "integrity": "sha1-2/WGYDEVHsg1K7bE22SiKSqEC5s=", + "dev": true, + "requires": { + "readable-stream": "~1.0.17", + "xtend": "~2.1.1" + } + }, + "xtend": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", + "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "htmlescape": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz", + "integrity": "sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=" + }, + "http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + } + }, + "http-proxy": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.11.1.tgz", + "integrity": "sha1-cd9VdX6ALVjqgQ3yJEAZ3aBa6F0=", + "requires": { + "eventemitter3": "1.x.x", + "requires-port": "0.x.x" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "inline-source-map": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/inline-source-map/-/inline-source-map-0.6.2.tgz", + "integrity": "sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=", + "requires": { + "source-map": "~0.5.3" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "insert-module-globals": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.1.tgz", + "integrity": "sha512-ufS5Qq9RZN+Bu899eA9QCAYThY+gGW7oRkmb0vC93Vlyu/CFGcH0OYPEjVkDXA5FEbTt1+VWzdoOD3Ny9N+8tg==", + "requires": { + "JSONStream": "^1.0.3", + "acorn-node": "^1.5.2", + "combine-source-map": "^0.8.0", + "concat-stream": "^1.6.1", + "is-buffer": "^1.1.0", + "path-is-absolute": "^1.0.1", + "process": "~0.11.0", + "through2": "^2.0.0", + "undeclared-identifiers": "^1.1.2", + "xtend": "^4.0.0" + } + }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + }, + "is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true + }, + "is-core-module": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", + "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", + "requires": { + "has": "^1.0.3" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true + }, + "is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "dev": true + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "jquery": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz", + "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==" + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz", + "integrity": "sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U=", + "requires": { + "jsonify": "~0.0.0" + } + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "requires": { + "minimist": "^1.2.5" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=" + }, + "jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=" + }, + "jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, + "just-extend": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", + "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", + "dev": true + }, + "labeled-stream-splicer": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz", + "integrity": "sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==", + "requires": { + "inherits": "^2.0.1", + "stream-splicer": "^2.0.0" + } + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" + }, + "lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", + "dev": true + }, + "lodash.memoize": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-3.0.4.tgz", + "integrity": "sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=" + }, + "lolex": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-2.7.5.tgz", + "integrity": "sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "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.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" + }, + "mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "requires": { + "mime-db": "1.51.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } + }, + "mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" + }, + "module-deps": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-6.2.3.tgz", + "integrity": "sha512-fg7OZaQBcL4/L+AK5f4iVqf9OMbCclXfy/znXRxTVhJSeW5AIlS9AwheYwDaXM3lVW7OBeaeUEY3gbaC6cLlSA==", + "requires": { + "JSONStream": "^1.0.3", + "browser-resolve": "^2.0.0", + "cached-path-relative": "^1.0.2", + "concat-stream": "~1.6.0", + "defined": "^1.0.0", + "detective": "^5.2.0", + "duplexer2": "^0.1.2", + "inherits": "^2.0.1", + "parents": "^1.0.0", + "readable-stream": "^2.0.2", + "resolve": "^1.4.0", + "stream-combiner2": "^1.1.1", + "subarg": "^1.0.0", + "through2": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "monotonic-timestamp": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/monotonic-timestamp/-/monotonic-timestamp-0.0.8.tgz", + "integrity": "sha1-Z5h9AqQcFfVotsCgWIWYndJAK6A=", + "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "nib": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/nib/-/nib-1.1.2.tgz", + "integrity": "sha1-amnt5AgblcDe+L4CSkyK4MLLtsc=", + "requires": { + "stylus": "0.54.5" + }, + "dependencies": { + "glob": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz", + "integrity": "sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.2", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "requires": { + "amdefine": ">=0.0.4" + } + }, + "stylus": { + "version": "0.54.5", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.54.5.tgz", + "integrity": "sha1-QrlWCTHKcJDOhRWnmLqeaqPW3Hk=", + "requires": { + "css-parse": "1.7.x", + "debug": "*", + "glob": "7.0.x", + "mkdirp": "0.5.x", + "sax": "0.5.x", + "source-map": "0.1.x" + } + } + } + }, + "nise": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/nise/-/nise-1.5.3.tgz", + "integrity": "sha512-Ymbac/94xeIrMf59REBPOv0thr+CJVFMhrlAkW/gjCIE58BGQdCj0x7KRCb3yz+Ga2Rz3E9XXSvUyyxqqhjQAQ==", + "dev": true, + "requires": { + "@sinonjs/formatio": "^3.2.1", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "lolex": "^5.0.1", + "path-to-regexp": "^1.7.0" + }, + "dependencies": { + "@sinonjs/formatio": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.2.2.tgz", + "integrity": "sha512-B8SEsgd8gArBLMD6zpRw3juQ2FVSsmdd7qlevyDqzS9WTCtvF55/gAL+h6gue8ZvPYcdiPdvueM/qm//9XzyTQ==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1", + "@sinonjs/samsam": "^3.1.0" + } + }, + "lolex": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-5.1.2.tgz", + "integrity": "sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + } + } + }, + "node-releases": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.2.tgz", + "integrity": "sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==" + }, + "nugget": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/nugget/-/nugget-2.0.2.tgz", + "integrity": "sha512-A8A8+PtlH937KWXJnfct6ubGPfgHOe3lwFkkmrT5xW8+aRBnDWqSiW5NRuiVuh/k/auLGsZdu+WrIU2epL/FHg==", + "dev": true, + "requires": { + "debug": "^2.1.3", + "minimist": "^1.1.0", + "pretty-bytes": "^4.0.2", + "progress-stream": "^1.1.0", + "request": "^2.45.0", + "single-line-log": "^1.1.2", + "throttleit": "0.0.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" + }, + "object-is": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", + "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "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" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "~0.0.1", + "wordwrap": "~0.0.2" + }, + "dependencies": { + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + } + } + }, + "optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, + "ordered-emitter": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ordered-emitter/-/ordered-emitter-0.1.1.tgz", + "integrity": "sha1-qiC9r73MFjGDSjUPaLTvjrNO7Xs=", + "dev": true + }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=" + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "requires": { + "callsites": "^3.0.0" + } + }, + "parents": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parents/-/parents-1.0.1.tgz", + "integrity": "sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=", + "requires": { + "path-platform": "~0.11.15" + } + }, + "parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "parse-ms": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-1.0.1.tgz", + "integrity": "sha1-VjRtR0nXjyNDDKDHE4UK75GqNh0=", + "dev": true + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "path-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==" + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "path-platform": { + "version": "0.11.15", + "resolved": "https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz", + "integrity": "sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=" + }, + "path-to-regexp": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", + "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "dev": true, + "requires": { + "isarray": "0.0.1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + } + } + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + }, + "pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", + "dev": true + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "phantomjs-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/phantomjs-stream/-/phantomjs-stream-1.1.1.tgz", + "integrity": "sha1-VlD0ICjAnoRrxGO4K/TK/EOjuis=", + "dev": true, + "requires": { + "stream-read": "^1.1.2" + } + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "plist": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/plist/-/plist-0.2.1.tgz", + "integrity": "sha1-86PeB4hddz5m2KlngvG+wozystA=", + "dev": true, + "requires": { + "sax": "0.1.x" + }, + "dependencies": { + "sax": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/sax/-/sax-0.1.5.tgz", + "integrity": "sha1-0YKaYSD6AWZetNv/bEPyn9bWFHE=", + "dev": true + } + } + }, + "plur": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/plur/-/plur-1.0.0.tgz", + "integrity": "sha1-24XGgU9eXlo7Se/CjWBP7GKXUVY=", + "dev": true + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" + }, + "pretty-bytes": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz", + "integrity": "sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk=", + "dev": true + }, + "pretty-ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-2.1.0.tgz", + "integrity": "sha1-QlfCVt8/sLRR1q/6qwIYhBJpgdw=", + "dev": true, + "requires": { + "is-finite": "^1.0.1", + "parse-ms": "^1.0.0", + "plur": "^1.0.0" + } + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" + }, + "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==" + }, + "progress-stream": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/progress-stream/-/progress-stream-1.2.0.tgz", + "integrity": "sha1-LNPP6jO6OonJwSHsM0er6asSX3c=", + "dev": true, + "requires": { + "speedometer": "~0.1.2", + "through2": "~0.2.3" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "object-keys": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", + "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "through2": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.2.3.tgz", + "integrity": "sha1-6zKE2k6jEbbMis42U3SKUqvyWj8=", + "dev": true, + "requires": { + "readable-stream": "~1.1.9", + "xtend": "~2.1.1" + } + }, + "xtend": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", + "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "proxy-from-env": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-0.0.1.tgz", + "integrity": "sha1-snxJRunm1dutt1mKZDXTAUxM/Uk=" + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + }, + "qs": { + "version": "6.10.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", + "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", + "requires": { + "side-channel": "^1.0.4" + } + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" + }, + "raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "requires": { + "performance-now": "^2.1.0" + } + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "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==" + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + } + }, + "re-emitter": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/re-emitter/-/re-emitter-1.1.3.tgz", + "integrity": "sha1-+p4xn/3u6zWycpbvDz03TawvUqc=", + "dev": true + }, + "react": { + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", + "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2" + } + }, + "react-dom": { + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz", + "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2", + "scheduler": "^0.19.1" + } + }, + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "read-only-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz", + "integrity": "sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=", + "requires": { + "readable-stream": "^2.0.2" + } + }, + "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" + }, + "dependencies": { + "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" + } + } + } + }, + "readable-wrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/readable-wrap/-/readable-wrap-1.0.0.tgz", + "integrity": "sha1-O1ohHGMeEjA6VJkcgGwX564ga/8=", + "dev": true, + "requires": { + "readable-stream": "^1.1.13-1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, + "redux": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/redux/-/redux-3.7.2.tgz", + "integrity": "sha512-pNqnf9q1hI5HHZRBkj3bAngGZW/JMCmexDlOxw4XagXY2o1327nHH54LoTjiPJ0gizoqPDRqWyX/00g0hD6w+A==", + "requires": { + "lodash": "^4.2.1", + "lodash-es": "^4.2.1", + "loose-envify": "^1.1.0", + "symbol-observable": "^1.0.3" + } + }, + "regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" + }, + "regenerate-unicode-properties": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", + "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "requires": { + "regenerate": "^1.4.2" + } + }, + "regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" + }, + "regenerator-transform": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", + "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", + "requires": { + "@babel/runtime": "^7.8.4" + } + }, + "regexp.prototype.flags": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.1.tgz", + "integrity": "sha512-pMR7hBVUUGI7PMA37m2ofIdQCsomVnas+Jn5UPGAHQ+/LlwKm/aTLJHdasmHRzlfeZwHiAOaRSo2rbBDm3nNUQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "regexpu-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", + "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "requires": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.0.1", + "regjsgen": "^0.6.0", + "regjsparser": "^0.8.2", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" + } + }, + "regjsgen": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", + "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==" + }, + "regjsparser": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", + "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" + } + } + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "dev": true + } + } + }, + "requires-port": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-0.0.1.tgz", + "integrity": "sha1-S0QUQR2d98hVmV3YmajHiilRwW0=" + }, + "resolve": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "requires": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" + }, + "resumer": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", + "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", + "dev": true, + "requires": { + "through": "~2.3.4" + } + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "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==" + }, + "samsam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.3.0.tgz", + "integrity": "sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==", + "dev": true + }, + "sax": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz", + "integrity": "sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=" + }, + "scheduler": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", + "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + }, + "send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "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.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "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" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + } + } + }, + "serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + } + }, + "server-destroy": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/server-destroy/-/server-destroy-1.0.1.tgz", + "integrity": "sha1-8Tv5KOQrnD55OD5hzDmYtdFObN0=", + "dev": true + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "shasum": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/shasum/-/shasum-1.0.2.tgz", + "integrity": "sha1-5wEjENj0F/TetXEhUOVni4euVl8=", + "requires": { + "json-stable-stringify": "~0.0.0", + "sha.js": "~2.4.4" + } + }, + "shasum-object": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shasum-object/-/shasum-object-1.0.0.tgz", + "integrity": "sha512-Iqo5rp/3xVi6M4YheapzZhhGPVs0yZwHj7wvwQ1B9z8H6zk+FEnI7y3Teq7qwnekfEhu8WmG2z0z4iWZaxLWVg==", + "requires": { + "fast-safe-stringify": "^2.0.7" + } + }, + "shell-quote": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.3.tgz", + "integrity": "sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==" + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" + }, + "single-line-log": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/single-line-log/-/single-line-log-1.1.2.tgz", + "integrity": "sha1-wvg/Jzo+GhbtsJlWYdoO1e8DM2Q=", + "dev": true, + "requires": { + "string-width": "^1.0.1" + } + }, + "sinon": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-4.5.0.tgz", + "integrity": "sha512-trdx+mB0VBBgoYucy6a9L7/jfQOmvGeaKZT4OOJ+lPAtI8623xyGr8wLiE4eojzBS8G9yXbhx42GHUOVLr4X2w==", + "dev": true, + "requires": { + "@sinonjs/formatio": "^2.0.0", + "diff": "^3.1.0", + "lodash.get": "^4.4.2", + "lolex": "^2.2.0", + "nise": "^1.2.0", + "supports-color": "^5.1.0", + "type-detect": "^4.0.5" + } + }, + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==" + }, + "source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "^0.5.6" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "source-map-url": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==" + }, + "speedometer": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/speedometer/-/speedometer-0.1.4.tgz", + "integrity": "sha1-mHbb0qFp0xFUAtSObqYynIgWpQ0=", + "dev": true + }, + "split": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.0.tgz", + "integrity": "sha1-xDlc5oOrzSVLwo/h2rtuXCfc/64=", + "dev": true, + "requires": { + "through": "2" + } + }, + "sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" + }, + "stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "requires": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "stream-combiner2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", + "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=", + "requires": { + "duplexer2": "~0.1.0", + "readable-stream": "^2.0.2" + } + }, + "stream-http": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.2.0.tgz", + "integrity": "sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A==", + "requires": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "xtend": "^4.0.2" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "stream-read": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/stream-read/-/stream-read-1.1.2.tgz", + "integrity": "sha1-MTcRDXqoC6VOS4KcTNM8oQa5Vk0=", + "dev": true, + "requires": { + "dezalgo": "^1.0.1" + } + }, + "stream-splicer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz", + "integrity": "sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==", + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.2" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string.prototype.trim": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.5.tgz", + "integrity": "sha512-Lnh17webJVsD6ECeovpVN17RlAKjmz4rF9S+8Y45CkMc/ufVpTkU3vZIyIC7sllQ1FCvObZnnCdNs/HXTUOTlg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "stylus": { + "version": "0.54.8", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.54.8.tgz", + "integrity": "sha512-vr54Or4BZ7pJafo2mpf0ZcwA74rpuYCZbxrHBsH8kbcXOwSfvBFwsRfpGO5OD5fhG5HDCFW737PKaawI7OqEAg==", + "requires": { + "css-parse": "~2.0.0", + "debug": "~3.1.0", + "glob": "^7.1.6", + "mkdirp": "~1.0.4", + "safer-buffer": "^2.1.2", + "sax": "~1.2.4", + "semver": "^6.3.0", + "source-map": "^0.7.3" + }, + "dependencies": { + "css-parse": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/css-parse/-/css-parse-2.0.0.tgz", + "integrity": "sha1-pGjuZnwW2BzPBcWMONKpfHgNv9Q=", + "requires": { + "css": "^2.0.0" + } + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + } + } + }, + "subarg": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz", + "integrity": "sha1-9izxdYHplrSPyWVpn1TAauJouNI=", + "requires": { + "minimist": "^1.1.0" + } + }, + "sumchecker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-2.0.2.tgz", + "integrity": "sha1-D0LBDl0F2l1C7qPlbDOZo31sWz4=", + "dev": true, + "requires": { + "debug": "^2.2.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "superagent": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-3.8.3.tgz", + "integrity": "sha512-GLQtLMCoEIK4eDv6OGtkOoSMt3D+oq0y3dsxMuYuDvaNUvuT8eFBuLmfR0iYYzHC1e8hpzC6ZsxbuP6DIalMFA==", + "requires": { + "component-emitter": "^1.2.0", + "cookiejar": "^2.1.0", + "debug": "^3.1.0", + "extend": "^3.0.0", + "form-data": "^2.3.1", + "formidable": "^1.2.0", + "methods": "^1.1.1", + "mime": "^1.4.1", + "qs": "^6.5.1", + "readable-stream": "^2.3.5" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "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" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, + "symbol-observable": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", + "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==" + }, + "syntax-error": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz", + "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==", + "requires": { + "acorn-node": "^1.2.0" + } + }, + "tap-out": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tap-out/-/tap-out-2.1.0.tgz", + "integrity": "sha512-LJE+TBoVbOWhwdz4+FQk40nmbIuxJLqaGvj3WauQw3NYYU5TdjoV3C0x/yq37YAvVyi+oeBXmWnxWSjJ7IEyUw==", + "dev": true, + "requires": { + "re-emitter": "1.1.3", + "readable-stream": "2.2.9", + "split": "1.0.0", + "trim": "0.0.1" + }, + "dependencies": { + "process-nextick-args": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", + "dev": true + }, + "readable-stream": { + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.9.tgz", + "integrity": "sha1-z3jsb0ptHrQ9JkiMrJfwQudLf8g=", + "dev": true, + "requires": { + "buffer-shims": "~1.0.0", + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "~1.0.0", + "process-nextick-args": "~1.0.6", + "string_decoder": "~1.0.0", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "tap-parser": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-0.2.1.tgz", + "integrity": "sha1-jh6CPyEU7iHQMuLzHk+2QqKW9Qs=", + "dev": true, + "requires": { + "split": "~0.1.2" + }, + "dependencies": { + "split": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/split/-/split-0.1.2.tgz", + "integrity": "sha1-8HEHRMRT1VH8cUPq2YPaYBTjNsw=", + "dev": true, + "requires": { + "through": "1" + } + }, + "through": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/through/-/through-1.1.2.tgz", + "integrity": "sha1-NEpUJaN3MxTKfg62US+6+vdsC/4=", + "dev": true + } + } + }, + "tap-spec": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/tap-spec/-/tap-spec-5.0.0.tgz", + "integrity": "sha512-zMDVJiE5I6Y4XGjlueGXJIX2YIkbDN44broZlnypT38Hj/czfOXrszHNNJBF/DXR8n+x6gbfSx68x04kIEHdrw==", + "dev": true, + "requires": { + "chalk": "^1.0.0", + "duplexer": "^0.1.1", + "figures": "^1.4.0", + "lodash": "^4.17.10", + "pretty-ms": "^2.1.0", + "repeat-string": "^1.5.2", + "tap-out": "^2.1.0", + "through2": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "tape": { + "version": "4.15.0", + "resolved": "https://registry.npmjs.org/tape/-/tape-4.15.0.tgz", + "integrity": "sha512-SfRmG2I8QGGgJE/MCiLH8c11L5XxyUXxwK9xLRD0uiK5fehRkkSZGmR6Y1pxOt8vJ19m3sY+POTQpiaVv45/LQ==", + "dev": true, + "requires": { + "call-bind": "~1.0.2", + "deep-equal": "~1.1.1", + "defined": "~1.0.0", + "dotignore": "~0.1.2", + "for-each": "~0.3.3", + "glob": "~7.2.0", + "has": "~1.0.3", + "inherits": "~2.0.4", + "is-regex": "~1.1.4", + "minimist": "~1.2.5", + "object-inspect": "~1.12.0", + "resolve": "~1.22.0", + "resumer": "~0.0.0", + "string.prototype.trim": "~1.2.5", + "through": "~2.3.8" + } + }, + "tape-run": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/tape-run/-/tape-run-6.0.1.tgz", + "integrity": "sha512-j6k5NbHL6Ww2E3uxng7pZPr5uNFWkVuZd1u5ZWW2QunofLl08nASxmzmrj0Tphvtse6rKO9FA1ibruzY2a1IGA==", + "dev": true, + "requires": { + "@juliangruber/tap-finished": "0.0.2", + "browser-run": "^6.0.0", + "optimist": "~0.6.1", + "through": "~2.3.4", + "throughout": "0.0.0" + } + }, + "temp-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", + "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", + "dev": true + }, + "tempy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/tempy/-/tempy-0.1.0.tgz", + "integrity": "sha1-hSdBPNBxAINPzJy7gkK+lboOH+4=", + "dev": true, + "requires": { + "pify": "^2.3.0", + "temp-dir": "^1.0.0", + "unique-string": "^1.0.0" + } + }, + "throttleit": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-0.0.2.tgz", + "integrity": "sha1-z+34jmDADdlpe2H90qg0OptoDq8=", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "throughout": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/throughout/-/throughout-0.0.0.tgz", + "integrity": "sha1-2pNVJyMaeUTapg061HoyQprxqME=", + "dev": true, + "requires": { + "duplexer": "~0.0.2", + "through": "~2.3.4" + }, + "dependencies": { + "duplexer": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.0.4.tgz", + "integrity": "sha1-r8t/H4uNdPggcmFx1dZKyeSo/yA=", + "dev": true + } + } + }, + "timers-browserify": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz", + "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=", + "requires": { + "process": "~0.11.0" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" + }, + "tosource": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/tosource/-/tosource-1.0.0.tgz", + "integrity": "sha1-QtiN0RZhi88A1hBt1URvNCeQL/E=" + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + } + } + }, + "trim": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", + "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", + "dev": true + }, + "trumpet": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/trumpet/-/trumpet-1.7.2.tgz", + "integrity": "sha1-sCxp5GXRcfVeRJJL+bW90gl0yDA=", + "dev": true, + "requires": { + "duplexer2": "~0.0.2", + "html-select": "^2.3.5", + "html-tokenize": "^1.1.1", + "inherits": "^2.0.0", + "readable-stream": "^1.0.27-1", + "through2": "^1.0.0" + }, + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", + "dev": true, + "requires": { + "readable-stream": "~1.1.9" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "through2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/through2/-/through2-1.1.1.tgz", + "integrity": "sha1-CEfLxESfNAVXTb3M2buEG4OsNUU=", + "dev": true, + "requires": { + "readable-stream": ">=1.1.13-1 <1.2.0-0", + "xtend": ">=4.0.0 <4.1.0-0" + } + } + } + }, + "tty-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", + "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "uglify-js": { + "version": "3.15.1", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.1.tgz", + "integrity": "sha512-FAGKF12fWdkpvNJZENacOH0e/83eG6JyVQyanIJaBXCN1J11TUQv1T1/z8S+Z0CG0ZPk1nPcreF/c7lrTd0TEQ==", + "dev": true + }, + "umd": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", + "integrity": "sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==" + }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } + }, + "undeclared-identifiers": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz", + "integrity": "sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==", + "requires": { + "acorn-node": "^1.3.0", + "dash-ast": "^1.0.0", + "get-assigned-identifiers": "^1.2.0", + "simple-concat": "^1.0.0", + "xtend": "^4.0.1" + } + }, + "unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==" + }, + "unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "requires": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==" + }, + "unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==" + }, + "unique-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", + "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=", + "dev": true, + "requires": { + "crypto-random-string": "^1.0.0" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + } + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + } + } + }, + "url-join": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", + "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==", + "dev": true + }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "requires": { + "inherits": "2.0.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + } + } + }, + "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=" + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + }, + "dependencies": { + "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=", + "dev": true + } + } + }, + "vm-browserify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", + "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" + }, + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "dev": true + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "ws": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "requires": { + "async-limiter": "~1.0.0" + } + }, + "xhr-write-stream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/xhr-write-stream/-/xhr-write-stream-0.1.2.tgz", + "integrity": "sha1-41eEjg0Dm0Ef3Vs7+BvkfuXOJqo=", + "dev": true, + "requires": { + "concat-stream": "~0.1.0", + "ordered-emitter": "~0.1.0" + }, + "dependencies": { + "concat-stream": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-0.1.1.tgz", + "integrity": "sha1-1/TieLkM/E8PPvd/5MA7QOs/eQA=", + "dev": true + } + } + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + }, + "yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" + }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "dev": true, + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + } + } +} diff --git a/uebersicht-code/server/package.json b/uebersicht-code/server/package.json new file mode 100755 index 0000000..b3dae6b --- /dev/null +++ b/uebersicht-code/server/package.json @@ -0,0 +1,63 @@ +{ + "name": "uebersicht-server", + "version": "0.0.0", + "description": "Node.js backend for Übersicht", + "main": "server.coffee", + "scripts": { + "test": "npm run-script test-local && npm run-script test-browser", + "test-local": "tape -r coffee-script/register spec/backend/**/* | tap-spec", + "test-browser": "browserify -t coffeeify spec/frontend/*.* | tape-run | tap-spec", + "start": "coffee server.coffee", + "release": "npm run-script build-client && npm run-script build-server", + "build-client": "browserify -i ws -t coffeeify -t babelify -r ./src/uebersicht.js:uebersicht client.coffee | uglifyjs -c > release/public/client.js", + "build-server": "browserify -t coffeeify --node --detect-globals false --no-bundle-external server.coffee > release/server.js && cd release && npm prune --production && npm install --production --no-progress" + }, + "author": "Felix Hageloh", + "license": "GPL v3 ", + "private": true, + "devDependencies": { + "coffee-script": "^1.12.7", + "sinon": "^4.0.1", + "tap-spec": "^5.0.0", + "tape": "^4.13.3", + "tape-run": "^6.0.1", + "uglify-js": "^3.10.4" + }, + "dependencies": { + "@babel/core": "^7.11.6", + "@babel/plugin-proposal-object-rest-spread": "^7.11.0", + "@babel/preset-env": "^7.11.5", + "@babel/preset-react": "^7.10.4", + "@emotion/core": "^10.0.35", + "@emotion/styled": "^10.0.27", + "babel-plugin-emotion": "^10.0.33", + "babelify": "^10.0.0", + "browserify": "^16.5.2", + "byline": "^5.0.0", + "coffeeify": "^2.1.0", + "connect": "^3.6.5", + "convert-source-map": "^1.7.0", + "core-js": "^2.6.12", + "cors-anywhere": "^0.4.3", + "emotion": "^10.0.27", + "escodegen": "^1.14.3", + "esprima": "^2.7.3", + "fsevents": "^2.1.3", + "jquery": "^3.5.1", + "minimist": "^1.2.5", + "ms": "^2.0.0", + "nib": "~1.1.2", + "raf": "^3.4.0", + "react": "^16.13.1", + "react-dom": "^16.13.1", + "redux": "^3.7.2", + "serve-static": "^1.13.1", + "source-map": "^0.7.3", + "stylus": "^0.54.8", + "superagent": "^3.8.3", + "through2": "^2.0.3", + "tmp": "0.0.33", + "tosource": "~1.0.0", + "ws": "^6.0.0" + } +} diff --git a/uebersicht-code/server/public/.pydio b/uebersicht-code/server/public/.pydio new file mode 100644 index 0000000..ff7bd47 --- /dev/null +++ b/uebersicht-code/server/public/.pydio @@ -0,0 +1 @@ +77b65ec0-9cd4-4c2e-b745-deb1f510bfc0 \ No newline at end of file diff --git a/uebersicht-code/server/public/index.html b/uebersicht-code/server/public/index.html new file mode 100755 index 0000000..bfa5e99 --- /dev/null +++ b/uebersicht-code/server/public/index.html @@ -0,0 +1,16 @@ + + + + Übersicht + + + + + + + + + +
+ + diff --git a/uebersicht-code/server/release/.pydio b/uebersicht-code/server/release/.pydio new file mode 100644 index 0000000..315266d --- /dev/null +++ b/uebersicht-code/server/release/.pydio @@ -0,0 +1 @@ +b286686a-a486-45de-9c06-d1ceccfec10d \ No newline at end of file diff --git a/uebersicht-code/server/release/localnode b/uebersicht-code/server/release/localnode new file mode 100755 index 0000000..6ee1dc7 Binary files /dev/null and b/uebersicht-code/server/release/localnode differ diff --git a/uebersicht-code/server/release/package-lock.json b/uebersicht-code/server/release/package-lock.json new file mode 100644 index 0000000..dd598f2 --- /dev/null +++ b/uebersicht-code/server/release/package-lock.json @@ -0,0 +1,5648 @@ +{ + "name": "uebersicht-server", + "version": "0.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@ampproject/remapping": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz", + "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==", + "requires": { + "@jridgewell/trace-mapping": "^0.3.0" + } + }, + "@babel/code-frame": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", + "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "requires": { + "@babel/highlight": "^7.16.7" + } + }, + "@babel/compat-data": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.0.tgz", + "integrity": "sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==" + }, + "@babel/core": { + "version": "7.17.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.5.tgz", + "integrity": "sha512-/BBMw4EvjmyquN5O+t5eh0+YqB3XXJkYD2cjKpYtWOfFy4lQ4UozNSmxAcWT8r2XtZs0ewG+zrfsqeR15i1ajA==", + "requires": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.3", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helpers": "^7.17.2", + "@babel/parser": "^7.17.3", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.3", + "@babel/types": "^7.17.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.1.2", + "semver": "^6.3.0" + } + }, + "@babel/generator": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.3.tgz", + "integrity": "sha512-+R6Dctil/MgUsZsZAkYgK+ADNSZzJRRy0TvY65T71z/CR854xHQ1EweBYXdfT+HNeN7w0cSJJEzgxZMv40pxsg==", + "requires": { + "@babel/types": "^7.17.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "@babel/helper-annotate-as-pure": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", + "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", + "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "requires": { + "@babel/helper-explode-assignable-expression": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-compilation-targets": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", + "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", + "requires": { + "@babel/compat-data": "^7.16.4", + "@babel/helper-validator-option": "^7.16.7", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + } + }, + "@babel/helper-create-class-features-plugin": { + "version": "7.17.6", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.6.tgz", + "integrity": "sha512-SogLLSxXm2OkBbSsHZMM4tUi8fUzjs63AT/d0YQIzr6GSd8Hxsbk2KYDX0k0DweAzGMj/YWeiCsorIdtdcW8Eg==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7" + } + }, + "@babel/helper-create-regexp-features-plugin": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz", + "integrity": "sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "regexpu-core": "^5.0.1" + } + }, + "@babel/helper-define-polyfill-provider": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz", + "integrity": "sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA==", + "requires": { + "@babel/helper-compilation-targets": "^7.13.0", + "@babel/helper-module-imports": "^7.12.13", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/traverse": "^7.13.0", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" + } + }, + "@babel/helper-environment-visitor": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", + "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-explode-assignable-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", + "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", + "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", + "requires": { + "@babel/helper-get-function-arity": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", + "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", + "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.7.tgz", + "integrity": "sha512-VtJ/65tYiU/6AbMTDwyoXGPKHgTsfRarivm+YbB5uAzKUyuPjgZSgAFeG87FCigc7KNHu2Pegh1XIT3lXjvz3Q==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-imports": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", + "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-module-transforms": { + "version": "7.17.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.6.tgz", + "integrity": "sha512-2ULmRdqoOMpdvkbT8jONrZML/XALfzxlb052bldftkicAUy8AxSCkD5trDPQcwHNmolcl7wP6ehNqMlyUw6AaA==", + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.3", + "@babel/types": "^7.17.0" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", + "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", + "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==" + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", + "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-wrap-function": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helper-replace-supers": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", + "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", + "requires": { + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-member-expression-to-functions": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/traverse": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-simple-access": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", + "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", + "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "requires": { + "@babel/types": "^7.16.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", + "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "requires": { + "@babel/types": "^7.16.7" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", + "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==" + }, + "@babel/helper-validator-option": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", + "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==" + }, + "@babel/helper-wrap-function": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", + "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "requires": { + "@babel/helper-function-name": "^7.16.7", + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8" + } + }, + "@babel/helpers": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.2.tgz", + "integrity": "sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==", + "requires": { + "@babel/template": "^7.16.7", + "@babel/traverse": "^7.17.0", + "@babel/types": "^7.17.0" + } + }, + "@babel/highlight": { + "version": "7.16.10", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz", + "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==", + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.3.tgz", + "integrity": "sha512-7yJPvPV+ESz2IUTPbOL+YkIGyCqOyNIzdguKQuJGnH7bg1WTIifuM21YqokFt/THWh1AkCRn9IgoykTRCBVpzA==" + }, + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz", + "integrity": "sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz", + "integrity": "sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-proposal-optional-chaining": "^7.16.7" + } + }, + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz", + "integrity": "sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/plugin-syntax-async-generators": "^7.8.4" + } + }, + "@babel/plugin-proposal-class-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz", + "integrity": "sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-proposal-class-static-block": { + "version": "7.17.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.17.6.tgz", + "integrity": "sha512-X/tididvL2zbs7jZCeeRJ8167U/+Ac135AM6jCAx6gYXDUviZV5Ku9UDvWS2NCuWlFjIRXklYhwo6HhAC7ETnA==", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.17.6", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + } + }, + "@babel/plugin-proposal-dynamic-import": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", + "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + } + }, + "@babel/plugin-proposal-export-namespace-from": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz", + "integrity": "sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + } + }, + "@babel/plugin-proposal-json-strings": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz", + "integrity": "sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-json-strings": "^7.8.3" + } + }, + "@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz", + "integrity": "sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + } + }, + "@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz", + "integrity": "sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + } + }, + "@babel/plugin-proposal-numeric-separator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", + "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + } + }, + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.17.3.tgz", + "integrity": "sha512-yuL5iQA/TbZn+RGAfxQXfi7CNLmKi1f8zInn4IgobuCWcAb7i+zj4TYzQ9l8cEzVyJ89PDGuqxK1xZpUDISesw==", + "requires": { + "@babel/compat-data": "^7.17.0", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.16.7" + } + }, + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", + "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + } + }, + "@babel/plugin-proposal-optional-chaining": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz", + "integrity": "sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + } + }, + "@babel/plugin-proposal-private-methods": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz", + "integrity": "sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw==", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.16.10", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-proposal-private-property-in-object": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz", + "integrity": "sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + } + }, + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz", + "integrity": "sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg==", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "requires": { + "@babel/helper-plugin-utils": "^7.12.13" + } + }, + "@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-export-namespace-from": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-jsx": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.16.7.tgz", + "integrity": "sha512-Esxmk7YjA8QysKeT3VhTXvF6y77f/a91SIs4pWb4H2eWGQkCKFgQaG6hdoEVZtGsrAcb2K5BW66XsOErD4WU3Q==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "requires": { + "@babel/helper-plugin-utils": "^7.14.5" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz", + "integrity": "sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz", + "integrity": "sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg==", + "requires": { + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-remap-async-to-generator": "^7.16.8" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", + "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz", + "integrity": "sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz", + "integrity": "sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-optimise-call-expression": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "globals": "^11.1.0" + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz", + "integrity": "sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.17.3.tgz", + "integrity": "sha512-dDFzegDYKlPqa72xIlbmSkly5MluLoaC1JswABGktyt6NTXSBcUuse/kWE/wvKFWJHPETpi158qJZFS3JmykJg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", + "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz", + "integrity": "sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", + "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "requires": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz", + "integrity": "sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", + "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "requires": { + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz", + "integrity": "sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-member-expression-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", + "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz", + "integrity": "sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g==", + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz", + "integrity": "sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==", + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-simple-access": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.7.tgz", + "integrity": "sha512-DuK5E3k+QQmnOqBR9UkusByy5WZWGRxfzV529s9nPra1GE7olmxfqO2FHobEOYSPIjPBTr4p66YDcjQnt8cBmw==", + "requires": { + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-identifier": "^7.16.7", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz", + "integrity": "sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ==", + "requires": { + "@babel/helper-module-transforms": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.16.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz", + "integrity": "sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw==", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz", + "integrity": "sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", + "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-replace-supers": "^7.16.7" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz", + "integrity": "sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", + "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-react-display-name": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.16.7.tgz", + "integrity": "sha512-qgIg8BcZgd0G/Cz916D5+9kqX0c7nPZyXaP8R2tLNN5tkyIZdG5fEwBrxwplzSnjC1jvQmyMNVwUCZPcbGY7Pg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-react-jsx": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.17.3.tgz", + "integrity": "sha512-9tjBm4O07f7mzKSIlEmPdiE6ub7kfIe6Cd+w+oQebpATfTQMAgW+YOuWxogbKVTulA+MEO7byMeIUtQ1z+z+ZQ==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-module-imports": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/plugin-syntax-jsx": "^7.16.7", + "@babel/types": "^7.17.0" + } + }, + "@babel/plugin-transform-react-jsx-development": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.16.7.tgz", + "integrity": "sha512-RMvQWvpla+xy6MlBpPlrKZCMRs2AGiHOGHY3xRwl0pEeim348dDyxeH4xBsMPbIMhujeq7ihE702eM2Ew0Wo+A==", + "requires": { + "@babel/plugin-transform-react-jsx": "^7.16.7" + } + }, + "@babel/plugin-transform-react-pure-annotations": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.16.7.tgz", + "integrity": "sha512-hs71ToC97k3QWxswh2ElzMFABXHvGiJ01IB1TbYQDGeWRKWz/MPUTh5jGExdHvosYKpnJW5Pm3S4+TA3FyX+GA==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.7.tgz", + "integrity": "sha512-mF7jOgGYCkSJagJ6XCujSQg+6xC1M77/03K2oBmVJWoFGNUtnVJO4WHKJk3dnPC8HCcj4xBQP1Egm8DWh3Pb3Q==", + "requires": { + "regenerator-transform": "^0.14.2" + } + }, + "@babel/plugin-transform-reserved-words": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz", + "integrity": "sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", + "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz", + "integrity": "sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", + "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz", + "integrity": "sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz", + "integrity": "sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-escapes": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", + "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", + "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7" + } + }, + "@babel/preset-env": { + "version": "7.16.11", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.11.tgz", + "integrity": "sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g==", + "requires": { + "@babel/compat-data": "^7.16.8", + "@babel/helper-compilation-targets": "^7.16.7", + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-async-generator-functions": "^7.16.8", + "@babel/plugin-proposal-class-properties": "^7.16.7", + "@babel/plugin-proposal-class-static-block": "^7.16.7", + "@babel/plugin-proposal-dynamic-import": "^7.16.7", + "@babel/plugin-proposal-export-namespace-from": "^7.16.7", + "@babel/plugin-proposal-json-strings": "^7.16.7", + "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", + "@babel/plugin-proposal-numeric-separator": "^7.16.7", + "@babel/plugin-proposal-object-rest-spread": "^7.16.7", + "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", + "@babel/plugin-proposal-optional-chaining": "^7.16.7", + "@babel/plugin-proposal-private-methods": "^7.16.11", + "@babel/plugin-proposal-private-property-in-object": "^7.16.7", + "@babel/plugin-proposal-unicode-property-regex": "^7.16.7", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-transform-arrow-functions": "^7.16.7", + "@babel/plugin-transform-async-to-generator": "^7.16.8", + "@babel/plugin-transform-block-scoped-functions": "^7.16.7", + "@babel/plugin-transform-block-scoping": "^7.16.7", + "@babel/plugin-transform-classes": "^7.16.7", + "@babel/plugin-transform-computed-properties": "^7.16.7", + "@babel/plugin-transform-destructuring": "^7.16.7", + "@babel/plugin-transform-dotall-regex": "^7.16.7", + "@babel/plugin-transform-duplicate-keys": "^7.16.7", + "@babel/plugin-transform-exponentiation-operator": "^7.16.7", + "@babel/plugin-transform-for-of": "^7.16.7", + "@babel/plugin-transform-function-name": "^7.16.7", + "@babel/plugin-transform-literals": "^7.16.7", + "@babel/plugin-transform-member-expression-literals": "^7.16.7", + "@babel/plugin-transform-modules-amd": "^7.16.7", + "@babel/plugin-transform-modules-commonjs": "^7.16.8", + "@babel/plugin-transform-modules-systemjs": "^7.16.7", + "@babel/plugin-transform-modules-umd": "^7.16.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.8", + "@babel/plugin-transform-new-target": "^7.16.7", + "@babel/plugin-transform-object-super": "^7.16.7", + "@babel/plugin-transform-parameters": "^7.16.7", + "@babel/plugin-transform-property-literals": "^7.16.7", + "@babel/plugin-transform-regenerator": "^7.16.7", + "@babel/plugin-transform-reserved-words": "^7.16.7", + "@babel/plugin-transform-shorthand-properties": "^7.16.7", + "@babel/plugin-transform-spread": "^7.16.7", + "@babel/plugin-transform-sticky-regex": "^7.16.7", + "@babel/plugin-transform-template-literals": "^7.16.7", + "@babel/plugin-transform-typeof-symbol": "^7.16.7", + "@babel/plugin-transform-unicode-escapes": "^7.16.7", + "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@babel/preset-modules": "^0.1.5", + "@babel/types": "^7.16.8", + "babel-plugin-polyfill-corejs2": "^0.3.0", + "babel-plugin-polyfill-corejs3": "^0.5.0", + "babel-plugin-polyfill-regenerator": "^0.3.0", + "core-js-compat": "^3.20.2", + "semver": "^6.3.0" + } + }, + "@babel/preset-modules": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", + "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + } + }, + "@babel/preset-react": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.16.7.tgz", + "integrity": "sha512-fWpyI8UM/HE6DfPBzD8LnhQ/OcH8AgTaqcqP2nGOXEUV+VKBR5JRN9hCk9ai+zQQ57vtm9oWeXguBCPNUjytgA==", + "requires": { + "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-validator-option": "^7.16.7", + "@babel/plugin-transform-react-display-name": "^7.16.7", + "@babel/plugin-transform-react-jsx": "^7.16.7", + "@babel/plugin-transform-react-jsx-development": "^7.16.7", + "@babel/plugin-transform-react-pure-annotations": "^7.16.7" + } + }, + "@babel/runtime": { + "version": "7.17.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.2.tgz", + "integrity": "sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw==", + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "@babel/template": { + "version": "7.16.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", + "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/parser": "^7.16.7", + "@babel/types": "^7.16.7" + } + }, + "@babel/traverse": { + "version": "7.17.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.3.tgz", + "integrity": "sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw==", + "requires": { + "@babel/code-frame": "^7.16.7", + "@babel/generator": "^7.17.3", + "@babel/helper-environment-visitor": "^7.16.7", + "@babel/helper-function-name": "^7.16.7", + "@babel/helper-hoist-variables": "^7.16.7", + "@babel/helper-split-export-declaration": "^7.16.7", + "@babel/parser": "^7.17.3", + "@babel/types": "^7.17.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + } + }, + "@babel/types": { + "version": "7.17.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", + "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", + "requires": { + "@babel/helper-validator-identifier": "^7.16.7", + "to-fast-properties": "^2.0.0" + } + }, + "@emotion/cache": { + "version": "10.0.29", + "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-10.0.29.tgz", + "integrity": "sha512-fU2VtSVlHiF27empSbxi1O2JFdNWZO+2NFHfwO0pxgTep6Xa3uGb+3pVKfLww2l/IBGLNEZl5Xf/++A4wAYDYQ==", + "requires": { + "@emotion/sheet": "0.9.4", + "@emotion/stylis": "0.8.5", + "@emotion/utils": "0.11.3", + "@emotion/weak-memoize": "0.2.5" + } + }, + "@emotion/core": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/@emotion/core/-/core-10.3.1.tgz", + "integrity": "sha512-447aUEjPIm0MnE6QYIaFz9VQOHSXf4Iu6EWOIqq11EAPqinkSZmfymPTmlOE3QjLv846lH4JVZBUOtwGbuQoww==", + "requires": { + "@babel/runtime": "^7.5.5", + "@emotion/cache": "^10.0.27", + "@emotion/css": "^10.0.27", + "@emotion/serialize": "^0.11.15", + "@emotion/sheet": "0.9.4", + "@emotion/utils": "0.11.3" + } + }, + "@emotion/css": { + "version": "10.0.27", + "resolved": "https://registry.npmjs.org/@emotion/css/-/css-10.0.27.tgz", + "integrity": "sha512-6wZjsvYeBhyZQYNrGoR5yPMYbMBNEnanDrqmsqS1mzDm1cOTu12shvl2j4QHNS36UaTE0USIJawCH9C8oW34Zw==", + "requires": { + "@emotion/serialize": "^0.11.15", + "@emotion/utils": "0.11.3", + "babel-plugin-emotion": "^10.0.27" + } + }, + "@emotion/hash": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz", + "integrity": "sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==" + }, + "@emotion/is-prop-valid": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", + "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", + "requires": { + "@emotion/memoize": "0.7.4" + } + }, + "@emotion/memoize": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", + "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==" + }, + "@emotion/serialize": { + "version": "0.11.16", + "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-0.11.16.tgz", + "integrity": "sha512-G3J4o8by0VRrO+PFeSc3js2myYNOXVJ3Ya+RGVxnshRYgsvErfAOglKAiy1Eo1vhzxqtUvjCyS5gtewzkmvSSg==", + "requires": { + "@emotion/hash": "0.8.0", + "@emotion/memoize": "0.7.4", + "@emotion/unitless": "0.7.5", + "@emotion/utils": "0.11.3", + "csstype": "^2.5.7" + } + }, + "@emotion/sheet": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-0.9.4.tgz", + "integrity": "sha512-zM9PFmgVSqBw4zL101Q0HrBVTGmpAxFZH/pYx/cjJT5advXguvcgjHFTCaIO3enL/xr89vK2bh0Mfyj9aa0ANA==" + }, + "@emotion/styled": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-10.3.0.tgz", + "integrity": "sha512-GgcUpXBBEU5ido+/p/mCT2/Xx+Oqmp9JzQRuC+a4lYM4i4LBBn/dWvc0rQ19N9ObA8/T4NWMrPNe79kMBDJqoQ==", + "requires": { + "@emotion/styled-base": "^10.3.0", + "babel-plugin-emotion": "^10.0.27" + } + }, + "@emotion/styled-base": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@emotion/styled-base/-/styled-base-10.3.0.tgz", + "integrity": "sha512-PBRqsVKR7QRNkmfH78hTSSwHWcwDpecH9W6heujWAcyp2wdz/64PP73s7fWS1dIPm8/Exc8JAzYS8dEWXjv60w==", + "requires": { + "@babel/runtime": "^7.5.5", + "@emotion/is-prop-valid": "0.8.8", + "@emotion/serialize": "^0.11.15", + "@emotion/utils": "0.11.3" + } + }, + "@emotion/stylis": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz", + "integrity": "sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ==" + }, + "@emotion/unitless": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz", + "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==" + }, + "@emotion/utils": { + "version": "0.11.3", + "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-0.11.3.tgz", + "integrity": "sha512-0o4l6pZC+hI88+bzuaX/6BgOvQVhbt2PfmxauVaYOGgbsAw14wdKyvMCZXnsnsHys94iadcF+RG/wZyx6+ZZBw==" + }, + "@emotion/weak-memoize": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz", + "integrity": "sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA==" + }, + "@jridgewell/resolve-uri": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz", + "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==" + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.11", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz", + "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==" + }, + "@jridgewell/trace-mapping": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", + "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "@juliangruber/tap-finished": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/@juliangruber/tap-finished/-/tap-finished-0.0.2.tgz", + "integrity": "sha1-qarWPV5EJf+KbZpqlKsoehtZXb4=", + "dev": true, + "requires": { + "once": "^1.3.3", + "tap-parser": "~0.2.0", + "through": "~2.3.4" + } + }, + "@sinonjs/commons": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", + "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/formatio": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-2.0.0.tgz", + "integrity": "sha512-ls6CAMA6/5gG+O/IdsBcblvnd8qcO/l1TYoNeAzp3wcISOxlPXQEus0mLcdwazEkWjaBdaJ3TaxmNgCLWwvWzg==", + "dev": true, + "requires": { + "samsam": "1.3.0" + } + }, + "@sinonjs/samsam": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-3.3.3.tgz", + "integrity": "sha512-bKCMKZvWIjYD0BLGnNrxVuw4dkWCYsLqFOUWw8VgKF/+5Y+mE7LfHWPIYoDXowH+3a9LsWDMo0uAP8YDosPvHQ==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.3.0", + "array-from": "^2.1.1", + "lodash": "^4.17.15" + } + }, + "@sinonjs/text-encoding": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", + "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", + "dev": true + }, + "@types/node": { + "version": "10.17.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", + "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==", + "dev": true + }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" + }, + "JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } + }, + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" + }, + "acorn-node": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz", + "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==", + "requires": { + "acorn": "^7.0.0", + "acorn-walk": "^7.0.0", + "xtend": "^4.0.2" + } + }, + "acorn-walk": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", + "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==" + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "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-from": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz", + "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", + "dev": true + }, + "asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "assert": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", + "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", + "requires": { + "object-assign": "^4.1.1", + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "requires": { + "object.assign": "^4.1.0" + } + }, + "babel-plugin-emotion": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/babel-plugin-emotion/-/babel-plugin-emotion-10.2.2.tgz", + "integrity": "sha512-SMSkGoqTbTyUTDeuVuPIWifPdUGkTk1Kf9BWRiXIOIcuyMfsdp2EjeiiFvOzX8NOBvEh/ypKYvUh2rkgAJMCLA==", + "requires": { + "@babel/helper-module-imports": "^7.0.0", + "@emotion/hash": "0.8.0", + "@emotion/memoize": "0.7.4", + "@emotion/serialize": "^0.11.16", + "babel-plugin-macros": "^2.0.0", + "babel-plugin-syntax-jsx": "^6.18.0", + "convert-source-map": "^1.5.0", + "escape-string-regexp": "^1.0.5", + "find-root": "^1.1.0", + "source-map": "^0.5.7" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "babel-plugin-macros": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz", + "integrity": "sha512-SEP5kJpfGYqYKpBrj5XU3ahw5p5GOHJ0U5ssOSQ/WBVdwkD2Dzlce95exQTs3jOVWPPKLBN2rlEWkCK7dSmLvg==", + "requires": { + "@babel/runtime": "^7.7.2", + "cosmiconfig": "^6.0.0", + "resolve": "^1.12.0" + } + }, + "babel-plugin-polyfill-corejs2": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz", + "integrity": "sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w==", + "requires": { + "@babel/compat-data": "^7.13.11", + "@babel/helper-define-polyfill-provider": "^0.3.1", + "semver": "^6.1.1" + } + }, + "babel-plugin-polyfill-corejs3": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz", + "integrity": "sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ==", + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1", + "core-js-compat": "^3.21.0" + } + }, + "babel-plugin-polyfill-regenerator": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz", + "integrity": "sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A==", + "requires": { + "@babel/helper-define-polyfill-provider": "^0.3.1" + } + }, + "babel-plugin-syntax-jsx": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=" + }, + "babelify": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/babelify/-/babelify-10.0.0.tgz", + "integrity": "sha512-X40FaxyH7t3X+JFAKvb1H9wooWKLRCi8pg3m8poqtdZaIng+bjzp9RvKQCvRjF9isHiPkXspbbXT/zwXLtwgwg==" + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, + "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" + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "browser-launcher": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browser-launcher/-/browser-launcher-1.0.2.tgz", + "integrity": "sha512-MX5NJw6vm9v5WhRmb2R2q28DmXxFPIEL5TF0k/2LlMSd3+pRdoCkwH+qPFPOgPZnZklw1IZh9wTtqBJKUy4Ccg==", + "dev": true, + "requires": { + "headless": "~0.1.3", + "minimist": "0.0.5", + "mkdirp": "~0.3.3", + "plist": "0.2.1", + "xtend": "^4.0.0" + }, + "dependencies": { + "headless": { + "version": "0.1.3", + "bundled": true, + "dev": true + }, + "minimist": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.5.tgz", + "integrity": "sha1-16oye87PUY+RBqxrjwA/o7zqhWY=", + "dev": true + }, + "mkdirp": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz", + "integrity": "sha1-3j5fiWHIjHh+4TaN+EmsRBPsqNc=", + "dev": true + } + } + }, + "browser-pack": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz", + "integrity": "sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==", + "requires": { + "JSONStream": "^1.0.3", + "combine-source-map": "~0.8.0", + "defined": "^1.0.0", + "safe-buffer": "^5.1.1", + "through2": "^2.0.0", + "umd": "^3.0.0" + } + }, + "browser-resolve": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-2.0.0.tgz", + "integrity": "sha512-7sWsQlYL2rGLy2IWm8WL8DCTJvYLc/qlOnsakDac87SOoCd16WLsaAMdCiAqsTNHIe+SXfaqyxyo6THoWqs8WQ==", + "requires": { + "resolve": "^1.17.0" + } + }, + "browser-run": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/browser-run/-/browser-run-6.0.0.tgz", + "integrity": "sha512-vzYaoi10x9bJcZRLj30Y/j1jSDs3g3wm4R6y0swv5ZoXwxJ+ykSBkizQP1HPiCiH6R4qD2FhvRxj0mYxeXHpCA==", + "dev": true, + "requires": { + "browser-launcher": "^1.0.1", + "duplexer": "^0.1.1", + "ecstatic": "^4.1.2", + "electron-stream": "^7.0.1", + "enstore": "^1.0.1", + "html-inject-script": "^1.1.0", + "optimist": "^0.6.1", + "phantomjs-stream": "^1.1.1", + "server-destroy": "^1.0.1", + "source-map-support": "^0.4.0", + "through": "^2.3.8", + "xhr-write-stream": "^0.1.2", + "xtend": "^4.0.1" + } + }, + "browserify": { + "version": "16.5.2", + "resolved": "https://registry.npmjs.org/browserify/-/browserify-16.5.2.tgz", + "integrity": "sha512-TkOR1cQGdmXU9zW4YukWzWVSJwrxmNdADFbqbE3HFgQWe5wqZmOawqZ7J/8MPCwk/W8yY7Y0h+7mOtcZxLP23g==", + "requires": { + "JSONStream": "^1.0.3", + "assert": "^1.4.0", + "browser-pack": "^6.0.1", + "browser-resolve": "^2.0.0", + "browserify-zlib": "~0.2.0", + "buffer": "~5.2.1", + "cached-path-relative": "^1.0.0", + "concat-stream": "^1.6.0", + "console-browserify": "^1.1.0", + "constants-browserify": "~1.0.0", + "crypto-browserify": "^3.0.0", + "defined": "^1.0.0", + "deps-sort": "^2.0.0", + "domain-browser": "^1.2.0", + "duplexer2": "~0.1.2", + "events": "^2.0.0", + "glob": "^7.1.0", + "has": "^1.0.0", + "htmlescape": "^1.1.0", + "https-browserify": "^1.0.0", + "inherits": "~2.0.1", + "insert-module-globals": "^7.0.0", + "labeled-stream-splicer": "^2.0.0", + "mkdirp-classic": "^0.5.2", + "module-deps": "^6.2.3", + "os-browserify": "~0.3.0", + "parents": "^1.0.1", + "path-browserify": "~0.0.0", + "process": "~0.11.0", + "punycode": "^1.3.2", + "querystring-es3": "~0.2.0", + "read-only-stream": "^2.0.0", + "readable-stream": "^2.0.2", + "resolve": "^1.1.4", + "shasum": "^1.0.0", + "shell-quote": "^1.6.1", + "stream-browserify": "^2.0.0", + "stream-http": "^3.0.0", + "string_decoder": "^1.1.1", + "subarg": "^1.0.0", + "syntax-error": "^1.1.1", + "through2": "^2.0.0", + "timers-browserify": "^1.0.1", + "tty-browserify": "0.0.1", + "url": "~0.11.0", + "util": "~0.10.1", + "vm-browserify": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "requires": { + "pako": "~1.0.5" + } + }, + "browserslist": { + "version": "4.19.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.3.tgz", + "integrity": "sha512-XK3X4xtKJ+Txj8G5c30B4gsm71s69lqXlkYui4s6EkKxuv49qjYlY6oVd+IFJ73d4YymtM3+djvvt/R/iJwwDg==", + "requires": { + "caniuse-lite": "^1.0.30001312", + "electron-to-chromium": "^1.4.71", + "escalade": "^3.1.1", + "node-releases": "^2.0.2", + "picocolors": "^1.0.0" + } + }, + "buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz", + "integrity": "sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==", + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", + "dev": true + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "buffer-shims": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", + "integrity": "sha1-mXjOMXOIxkmth5MCjDR37wRKi1E=", + "dev": true + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=" + }, + "byline": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/byline/-/byline-5.0.0.tgz", + "integrity": "sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=" + }, + "cached-path-relative": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.1.0.tgz", + "integrity": "sha512-WF0LihfemtesFcJgO7xfOoOcnWzY/QHR4qeDqV44jPU3HTI54+LnfXK3SA27AVVGCdZFgjjFFaqUA9Jx7dMJZA==" + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" + }, + "caniuse-lite": { + "version": "1.0.30001312", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz", + "integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "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" + } + }, + "charset": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/charset/-/charset-1.0.1.tgz", + "integrity": "sha512-6dVyOOYjpfFcL1Y4qChrAoQLRHvj2ziyhcm0QJlhOcAhykL/k1kTUPbeo+87MNRTRdk2OIIsIXbuF3x2wi5EXg==", + "dev": true + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "coffee-script": { + "version": "1.12.7", + "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz", + "integrity": "sha512-fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==" + }, + "coffeeify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/coffeeify/-/coffeeify-2.1.0.tgz", + "integrity": "sha1-Bt6Aqoe2GUk3c0Nh3vSt4lS3Gh4=", + "requires": { + "coffee-script": "^1.12.0", + "convert-source-map": "^1.3.0", + "through2": "^2.0.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=" + }, + "combine-source-map": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/combine-source-map/-/combine-source-map-0.8.0.tgz", + "integrity": "sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=", + "requires": { + "convert-source-map": "~1.1.0", + "inline-source-map": "~0.6.0", + "lodash.memoize": "~3.0.3", + "source-map": "~0.5.3" + }, + "dependencies": { + "convert-source-map": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", + "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=" + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "connect": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", + "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.2", + "parseurl": "~1.3.3", + "utils-merge": "1.0.1" + }, + "dependencies": { + "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" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "console-browserify": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", + "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" + }, + "convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cookiejar": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz", + "integrity": "sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ==" + }, + "core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" + }, + "core-js-compat": { + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.21.1.tgz", + "integrity": "sha512-gbgX5AUvMb8gwxC7FLVWYT7Kkgu/y7+h/h1X43yJkNqhlK2fuYyQimqvKGNZFAY6CKii/GFKJ2cp/1/42TN36g==", + "requires": { + "browserslist": "^4.19.1", + "semver": "7.0.0" + }, + "dependencies": { + "semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==" + } + } + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "cors-anywhere": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cors-anywhere/-/cors-anywhere-0.4.4.tgz", + "integrity": "sha512-8OBFwnzMgR4mNrAeAyOLB2EruS2z7u02of2bOu7i9kKYlZG+niS7CTHLPgEXKWW2NAOJWRry9RRCaL9lJRjNqg==", + "requires": { + "http-proxy": "1.11.1", + "proxy-from-env": "0.0.1" + } + }, + "cosmiconfig": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", + "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", + "requires": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" + } + }, + "create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "create-emotion": { + "version": "10.0.27", + "resolved": "https://registry.npmjs.org/create-emotion/-/create-emotion-10.0.27.tgz", + "integrity": "sha512-fIK73w82HPPn/RsAij7+Zt8eCE8SptcJ3WoRMfxMtjteYxud8GDTKKld7MYwAX2TVhrw29uR1N/bVGxeStHILg==", + "requires": { + "@emotion/cache": "^10.0.27", + "@emotion/serialize": "^0.11.15", + "@emotion/sheet": "0.9.4", + "@emotion/utils": "0.11.3" + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "crypto-random-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", + "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=", + "dev": true + }, + "css": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz", + "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==", + "requires": { + "inherits": "^2.0.3", + "source-map": "^0.6.1", + "source-map-resolve": "^0.5.2", + "urix": "^0.1.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + } + } + }, + "css-parse": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/css-parse/-/css-parse-1.7.0.tgz", + "integrity": "sha1-Mh9s9zeCpv91ERE5D8BeLGV9jJs=" + }, + "cssauron": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/cssauron/-/cssauron-1.4.0.tgz", + "integrity": "sha1-pmAt/34EqDBtwNuaVR6S6LVmKtg=", + "dev": true, + "requires": { + "through": "X.X.X" + } + }, + "csstype": { + "version": "2.6.19", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz", + "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==" + }, + "dash-ast": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz", + "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==" + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + } + } + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" + }, + "deep-equal": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", + "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", + "dev": true, + "requires": { + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.1", + "is-regex": "^1.0.4", + "object-is": "^1.0.1", + "object-keys": "^1.1.1", + "regexp.prototype.flags": "^1.2.0" + } + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "requires": { + "object-keys": "^1.0.12" + } + }, + "defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=" + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" + }, + "deps-sort": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.1.tgz", + "integrity": "sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw==", + "requires": { + "JSONStream": "^1.0.3", + "shasum-object": "^1.0.0", + "subarg": "^1.0.0", + "through2": "^2.0.0" + } + }, + "des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" + }, + "detective": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz", + "integrity": "sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==", + "requires": { + "acorn-node": "^1.6.1", + "defined": "^1.0.0", + "minimist": "^1.1.1" + } + }, + "dezalgo": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz", + "integrity": "sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY=", + "dev": true, + "requires": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "dev": true + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==" + }, + "dotignore": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/dotignore/-/dotignore-0.1.2.tgz", + "integrity": "sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw==", + "dev": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true + }, + "duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "requires": { + "readable-stream": "^2.0.2" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ecstatic": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/ecstatic/-/ecstatic-4.1.4.tgz", + "integrity": "sha512-8E4ZLK4uRuB9pwywGpy/B9vcz4gCp6IY7u4cMbeCINr/fjb1v+0wf0Ae2XlfSnG8xZYnE4uaJBjFkYI0bqcIdw==", + "dev": true, + "requires": { + "charset": "^1.0.1", + "he": "^1.1.1", + "mime": "^2.4.1", + "minimist": "^1.1.0", + "on-finished": "^2.3.0", + "url-join": "^4.0.0" + }, + "dependencies": { + "mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true + } + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" + }, + "electron": { + "version": "5.0.13", + "resolved": "https://registry.npmjs.org/electron/-/electron-5.0.13.tgz", + "integrity": "sha512-AM73AMZpb/5zm8eIXsIcp2eMdniD5WO+FqMtlIzhhtSjixflDm0pLtgudz0fHtiT/w6V+6YcpDVb4TtHtrJbHQ==", + "dev": true, + "requires": { + "@types/node": "^10.12.18", + "electron-download": "^4.1.0", + "extract-zip": "^1.0.3" + } + }, + "electron-download": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/electron-download/-/electron-download-4.1.1.tgz", + "integrity": "sha512-FjEWG9Jb/ppK/2zToP+U5dds114fM1ZOJqMAR4aXXL5CvyPE9fiqBK/9YcwC9poIFQTEJk/EM/zyRwziziRZrg==", + "dev": true, + "requires": { + "debug": "^3.0.0", + "env-paths": "^1.0.0", + "fs-extra": "^4.0.1", + "minimist": "^1.2.0", + "nugget": "^2.0.1", + "path-exists": "^3.0.0", + "rc": "^1.2.1", + "semver": "^5.4.1", + "sumchecker": "^2.0.2" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "electron-stream": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/electron-stream/-/electron-stream-7.1.0.tgz", + "integrity": "sha512-XWsPVKhkVjltoFshn0f4oHkXn4YMc+TMvBT9O6W9aS+7YQgKN0FTju9YrAzVTiNcaGxcMetmQXquSPkvZ5+4Mg==", + "dev": true, + "requires": { + "debug": "^4.1.0", + "ecstatic": "^4.1.2", + "electron": "^5.0.0", + "json-stringify-safe": "^5.0.1", + "stream-read": "^1.1.2", + "tempy": "0.1.0" + } + }, + "electron-to-chromium": { + "version": "1.4.71", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.71.tgz", + "integrity": "sha512-Hk61vXXKRb2cd3znPE9F+2pLWdIOmP7GjiTj45y6L3W/lO+hSnUSUhq+6lEaERWBdZOHbk2s3YV5c9xVl3boVw==" + }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "emotion": { + "version": "10.0.27", + "resolved": "https://registry.npmjs.org/emotion/-/emotion-10.0.27.tgz", + "integrity": "sha512-2xdDzdWWzue8R8lu4G76uWX5WhyQuzATon9LmNeCy/2BHVC6dsEpfhN1a0qhELgtDVdjyEA6J8Y/VlI5ZnaH0g==", + "requires": { + "babel-plugin-emotion": "^10.0.27", + "create-emotion": "^10.0.27" + } + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, + "enstore": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/enstore/-/enstore-1.0.1.tgz", + "integrity": "sha1-og/nHq696KOBOgoSQEdfVYVKgas=", + "dev": true, + "requires": { + "monotonic-timestamp": "0.0.8" + } + }, + "env-paths": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-1.0.0.tgz", + "integrity": "sha1-QWgTO0K7BcOKNbGuQ5fIKYqzaeA=", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "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=" + }, + "escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + } + } + }, + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + }, + "eventemitter3": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", + "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=" + }, + "events": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/events/-/events-2.1.0.tgz", + "integrity": "sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg==" + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extract-zip": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz", + "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==", + "dev": true, + "requires": { + "concat-stream": "^1.6.2", + "debug": "^2.6.9", + "mkdirp": "^0.5.4", + "yauzl": "^2.10.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + }, + "fast-safe-stringify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" + }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "dev": true, + "requires": { + "pend": "~1.2.0" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5", + "object-assign": "^4.1.0" + } + }, + "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" + }, + "dependencies": { + "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" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" + }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "requires": { + "is-callable": "^1.1.3" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", + "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "formidable": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz", + "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==" + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" + }, + "fs-extra": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", + "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==" + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" + }, + "get-assigned-identifiers": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz", + "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==" + }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" + }, + "graceful-fs": { + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", + "dev": true + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "dev": true, + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "html-inject-script": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/html-inject-script/-/html-inject-script-1.1.0.tgz", + "integrity": "sha1-GnwQoPy9MJ6Fv1PZpe0kt0xeMnU=", + "dev": true, + "requires": { + "trumpet": "^1.7.1" + } + }, + "html-select": { + "version": "2.3.24", + "resolved": "https://registry.npmjs.org/html-select/-/html-select-2.3.24.tgz", + "integrity": "sha1-Rq1tcS5zLPMcZznV0BEKX6vxdYU=", + "dev": true, + "requires": { + "cssauron": "^1.1.0", + "duplexer2": "~0.0.2", + "inherits": "^2.0.1", + "minimist": "~0.0.8", + "readable-stream": "^1.0.27-1", + "split": "~0.3.0", + "stream-splicer": "^1.2.0", + "through2": "^1.0.0" + }, + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", + "dev": true, + "requires": { + "readable-stream": "~1.1.9" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "split": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz", + "integrity": "sha1-zQ7qXmOiEd//frDwkcQTPi0N0o8=", + "dev": true, + "requires": { + "through": "2" + } + }, + "stream-splicer": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-1.3.2.tgz", + "integrity": "sha1-PARBvhW5v04iYnXm3IOWR0VUZmE=", + "dev": true, + "requires": { + "indexof": "0.0.1", + "inherits": "^2.0.1", + "isarray": "~0.0.1", + "readable-stream": "^1.1.13-1", + "readable-wrap": "^1.0.0", + "through2": "^1.0.0" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "through2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/through2/-/through2-1.1.1.tgz", + "integrity": "sha1-CEfLxESfNAVXTb3M2buEG4OsNUU=", + "dev": true, + "requires": { + "readable-stream": ">=1.1.13-1 <1.2.0-0", + "xtend": ">=4.0.0 <4.1.0-0" + } + } + } + }, + "html-tokenize": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/html-tokenize/-/html-tokenize-1.2.5.tgz", + "integrity": "sha1-flupnstR75Buyaf83ubKMmfHiX4=", + "dev": true, + "requires": { + "inherits": "~2.0.1", + "minimist": "~0.0.8", + "readable-stream": "~1.0.27-1", + "through2": "~0.4.1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + }, + "object-keys": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", + "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=", + "dev": true + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "through2": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.4.2.tgz", + "integrity": "sha1-2/WGYDEVHsg1K7bE22SiKSqEC5s=", + "dev": true, + "requires": { + "readable-stream": "~1.0.17", + "xtend": "~2.1.1" + } + }, + "xtend": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", + "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "htmlescape": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz", + "integrity": "sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=" + }, + "http-errors": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==", + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.1" + } + }, + "http-proxy": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.11.1.tgz", + "integrity": "sha1-cd9VdX6ALVjqgQ3yJEAZ3aBa6F0=", + "requires": { + "eventemitter3": "1.x.x", + "requires-port": "0.x.x" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "inline-source-map": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/inline-source-map/-/inline-source-map-0.6.2.tgz", + "integrity": "sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=", + "requires": { + "source-map": "~0.5.3" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + } + } + }, + "insert-module-globals": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.1.tgz", + "integrity": "sha512-ufS5Qq9RZN+Bu899eA9QCAYThY+gGW7oRkmb0vC93Vlyu/CFGcH0OYPEjVkDXA5FEbTt1+VWzdoOD3Ny9N+8tg==", + "requires": { + "JSONStream": "^1.0.3", + "acorn-node": "^1.5.2", + "combine-source-map": "^0.8.0", + "concat-stream": "^1.6.1", + "is-buffer": "^1.1.0", + "path-is-absolute": "^1.0.1", + "process": "~0.11.0", + "through2": "^2.0.0", + "undeclared-identifiers": "^1.1.2", + "xtend": "^4.0.0" + } + }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" + }, + "is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true + }, + "is-core-module": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", + "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", + "requires": { + "has": "^1.0.3" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true + }, + "is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "dev": true + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "jquery": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz", + "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==" + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, + "json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz", + "integrity": "sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U=", + "requires": { + "jsonify": "~0.0.0" + } + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "requires": { + "minimist": "^1.2.5" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=" + }, + "jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=" + }, + "jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, + "just-extend": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", + "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", + "dev": true + }, + "labeled-stream-splicer": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz", + "integrity": "sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==", + "requires": { + "inherits": "^2.0.1", + "stream-splicer": "^2.0.0" + } + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" + }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" + }, + "lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", + "dev": true + }, + "lodash.memoize": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-3.0.4.tgz", + "integrity": "sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=" + }, + "lolex": { + "version": "2.7.5", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-2.7.5.tgz", + "integrity": "sha512-l9x0+1offnKKIzYVjyXU2SiwhXDLekRzKyhnbyldPHvC7BvLPVpdNUNR2KeMAiCN2D/kLNttZgQD5WjSxuBx3Q==", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "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.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" + }, + "mime-types": { + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "requires": { + "mime-db": "1.51.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } + }, + "mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" + }, + "module-deps": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-6.2.3.tgz", + "integrity": "sha512-fg7OZaQBcL4/L+AK5f4iVqf9OMbCclXfy/znXRxTVhJSeW5AIlS9AwheYwDaXM3lVW7OBeaeUEY3gbaC6cLlSA==", + "requires": { + "JSONStream": "^1.0.3", + "browser-resolve": "^2.0.0", + "cached-path-relative": "^1.0.2", + "concat-stream": "~1.6.0", + "defined": "^1.0.0", + "detective": "^5.2.0", + "duplexer2": "^0.1.2", + "inherits": "^2.0.1", + "parents": "^1.0.0", + "readable-stream": "^2.0.2", + "resolve": "^1.4.0", + "stream-combiner2": "^1.1.1", + "subarg": "^1.0.0", + "through2": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "monotonic-timestamp": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/monotonic-timestamp/-/monotonic-timestamp-0.0.8.tgz", + "integrity": "sha1-Z5h9AqQcFfVotsCgWIWYndJAK6A=", + "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "nib": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/nib/-/nib-1.1.2.tgz", + "integrity": "sha1-amnt5AgblcDe+L4CSkyK4MLLtsc=", + "requires": { + "stylus": "0.54.5" + }, + "dependencies": { + "glob": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz", + "integrity": "sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.2", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "requires": { + "amdefine": ">=0.0.4" + } + }, + "stylus": { + "version": "0.54.5", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.54.5.tgz", + "integrity": "sha1-QrlWCTHKcJDOhRWnmLqeaqPW3Hk=", + "requires": { + "css-parse": "1.7.x", + "debug": "*", + "glob": "7.0.x", + "mkdirp": "0.5.x", + "sax": "0.5.x", + "source-map": "0.1.x" + } + } + } + }, + "nise": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/nise/-/nise-1.5.3.tgz", + "integrity": "sha512-Ymbac/94xeIrMf59REBPOv0thr+CJVFMhrlAkW/gjCIE58BGQdCj0x7KRCb3yz+Ga2Rz3E9XXSvUyyxqqhjQAQ==", + "dev": true, + "requires": { + "@sinonjs/formatio": "^3.2.1", + "@sinonjs/text-encoding": "^0.7.1", + "just-extend": "^4.0.2", + "lolex": "^5.0.1", + "path-to-regexp": "^1.7.0" + }, + "dependencies": { + "@sinonjs/formatio": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@sinonjs/formatio/-/formatio-3.2.2.tgz", + "integrity": "sha512-B8SEsgd8gArBLMD6zpRw3juQ2FVSsmdd7qlevyDqzS9WTCtvF55/gAL+h6gue8ZvPYcdiPdvueM/qm//9XzyTQ==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1", + "@sinonjs/samsam": "^3.1.0" + } + }, + "lolex": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-5.1.2.tgz", + "integrity": "sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + } + } + }, + "node-releases": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.2.tgz", + "integrity": "sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==" + }, + "nugget": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/nugget/-/nugget-2.0.2.tgz", + "integrity": "sha512-A8A8+PtlH937KWXJnfct6ubGPfgHOe3lwFkkmrT5xW8+aRBnDWqSiW5NRuiVuh/k/auLGsZdu+WrIU2epL/FHg==", + "dev": true, + "requires": { + "debug": "^2.1.3", + "minimist": "^1.1.0", + "pretty-bytes": "^4.0.2", + "progress-stream": "^1.1.0", + "request": "^2.45.0", + "single-line-log": "^1.1.2", + "throttleit": "0.0.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" + }, + "object-is": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", + "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "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" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "dev": true, + "requires": { + "minimist": "~0.0.1", + "wordwrap": "~0.0.2" + }, + "dependencies": { + "minimist": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", + "dev": true + } + } + }, + "optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, + "ordered-emitter": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ordered-emitter/-/ordered-emitter-0.1.1.tgz", + "integrity": "sha1-qiC9r73MFjGDSjUPaLTvjrNO7Xs=", + "dev": true + }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=" + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "requires": { + "callsites": "^3.0.0" + } + }, + "parents": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parents/-/parents-1.0.1.tgz", + "integrity": "sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=", + "requires": { + "path-platform": "~0.11.15" + } + }, + "parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "parse-ms": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-1.0.1.tgz", + "integrity": "sha1-VjRtR0nXjyNDDKDHE4UK75GqNh0=", + "dev": true + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "path-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==" + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "path-platform": { + "version": "0.11.15", + "resolved": "https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz", + "integrity": "sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=" + }, + "path-to-regexp": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", + "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "dev": true, + "requires": { + "isarray": "0.0.1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + } + } + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + }, + "pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", + "dev": true + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "phantomjs-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/phantomjs-stream/-/phantomjs-stream-1.1.1.tgz", + "integrity": "sha1-VlD0ICjAnoRrxGO4K/TK/EOjuis=", + "dev": true, + "requires": { + "stream-read": "^1.1.2" + } + }, + "picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "plist": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/plist/-/plist-0.2.1.tgz", + "integrity": "sha1-86PeB4hddz5m2KlngvG+wozystA=", + "dev": true, + "requires": { + "sax": "0.1.x" + }, + "dependencies": { + "sax": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/sax/-/sax-0.1.5.tgz", + "integrity": "sha1-0YKaYSD6AWZetNv/bEPyn9bWFHE=", + "dev": true + } + } + }, + "plur": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/plur/-/plur-1.0.0.tgz", + "integrity": "sha1-24XGgU9eXlo7Se/CjWBP7GKXUVY=", + "dev": true + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" + }, + "pretty-bytes": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz", + "integrity": "sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk=", + "dev": true + }, + "pretty-ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-2.1.0.tgz", + "integrity": "sha1-QlfCVt8/sLRR1q/6qwIYhBJpgdw=", + "dev": true, + "requires": { + "is-finite": "^1.0.1", + "parse-ms": "^1.0.0", + "plur": "^1.0.0" + } + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" + }, + "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==" + }, + "progress-stream": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/progress-stream/-/progress-stream-1.2.0.tgz", + "integrity": "sha1-LNPP6jO6OonJwSHsM0er6asSX3c=", + "dev": true, + "requires": { + "speedometer": "~0.1.2", + "through2": "~0.2.3" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "object-keys": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", + "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "through2": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.2.3.tgz", + "integrity": "sha1-6zKE2k6jEbbMis42U3SKUqvyWj8=", + "dev": true, + "requires": { + "readable-stream": "~1.1.9", + "xtend": "~2.1.1" + } + }, + "xtend": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", + "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "proxy-from-env": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-0.0.1.tgz", + "integrity": "sha1-snxJRunm1dutt1mKZDXTAUxM/Uk=" + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + } + } + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + }, + "qs": { + "version": "6.10.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", + "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", + "requires": { + "side-channel": "^1.0.4" + } + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" + }, + "raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "requires": { + "performance-now": "^2.1.0" + } + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "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==" + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + } + }, + "re-emitter": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/re-emitter/-/re-emitter-1.1.3.tgz", + "integrity": "sha1-+p4xn/3u6zWycpbvDz03TawvUqc=", + "dev": true + }, + "react": { + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", + "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2" + } + }, + "react-dom": { + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz", + "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2", + "scheduler": "^0.19.1" + } + }, + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, + "read-only-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz", + "integrity": "sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=", + "requires": { + "readable-stream": "^2.0.2" + } + }, + "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" + }, + "dependencies": { + "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" + } + } + } + }, + "readable-wrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/readable-wrap/-/readable-wrap-1.0.0.tgz", + "integrity": "sha1-O1ohHGMeEjA6VJkcgGwX564ga/8=", + "dev": true, + "requires": { + "readable-stream": "^1.1.13-1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, + "redux": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/redux/-/redux-3.7.2.tgz", + "integrity": "sha512-pNqnf9q1hI5HHZRBkj3bAngGZW/JMCmexDlOxw4XagXY2o1327nHH54LoTjiPJ0gizoqPDRqWyX/00g0hD6w+A==", + "requires": { + "lodash": "^4.2.1", + "lodash-es": "^4.2.1", + "loose-envify": "^1.1.0", + "symbol-observable": "^1.0.3" + } + }, + "regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" + }, + "regenerate-unicode-properties": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz", + "integrity": "sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw==", + "requires": { + "regenerate": "^1.4.2" + } + }, + "regenerator-runtime": { + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" + }, + "regenerator-transform": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", + "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", + "requires": { + "@babel/runtime": "^7.8.4" + } + }, + "regexp.prototype.flags": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.1.tgz", + "integrity": "sha512-pMR7hBVUUGI7PMA37m2ofIdQCsomVnas+Jn5UPGAHQ+/LlwKm/aTLJHdasmHRzlfeZwHiAOaRSo2rbBDm3nNUQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "regexpu-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", + "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "requires": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.0.1", + "regjsgen": "^0.6.0", + "regjsparser": "^0.8.2", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.0.0" + } + }, + "regjsgen": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz", + "integrity": "sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==" + }, + "regjsparser": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz", + "integrity": "sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA==", + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" + } + } + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "dev": true + } + } + }, + "requires-port": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-0.0.1.tgz", + "integrity": "sha1-S0QUQR2d98hVmV3YmajHiilRwW0=" + }, + "resolve": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", + "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "requires": { + "is-core-module": "^2.8.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" + }, + "resumer": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", + "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", + "dev": true, + "requires": { + "through": "~2.3.4" + } + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "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==" + }, + "samsam": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/samsam/-/samsam-1.3.0.tgz", + "integrity": "sha512-1HwIYD/8UlOtFS3QO3w7ey+SdSDFE4HRNLZoZRYVQefrOY3l17epswImeB1ijgJFQJodIaHcwkp3r/myBjFVbg==", + "dev": true + }, + "sax": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz", + "integrity": "sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=" + }, + "scheduler": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", + "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + }, + "send": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz", + "integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==", + "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.8.1", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "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" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + } + } + }, + "serve-static": { + "version": "1.14.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz", + "integrity": "sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ==", + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.2" + } + }, + "server-destroy": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/server-destroy/-/server-destroy-1.0.1.tgz", + "integrity": "sha1-8Tv5KOQrnD55OD5hzDmYtdFObN0=", + "dev": true + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "shasum": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/shasum/-/shasum-1.0.2.tgz", + "integrity": "sha1-5wEjENj0F/TetXEhUOVni4euVl8=", + "requires": { + "json-stable-stringify": "~0.0.0", + "sha.js": "~2.4.4" + } + }, + "shasum-object": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shasum-object/-/shasum-object-1.0.0.tgz", + "integrity": "sha512-Iqo5rp/3xVi6M4YheapzZhhGPVs0yZwHj7wvwQ1B9z8H6zk+FEnI7y3Teq7qwnekfEhu8WmG2z0z4iWZaxLWVg==", + "requires": { + "fast-safe-stringify": "^2.0.7" + } + }, + "shell-quote": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.3.tgz", + "integrity": "sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw==" + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" + }, + "single-line-log": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/single-line-log/-/single-line-log-1.1.2.tgz", + "integrity": "sha1-wvg/Jzo+GhbtsJlWYdoO1e8DM2Q=", + "dev": true, + "requires": { + "string-width": "^1.0.1" + } + }, + "sinon": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-4.5.0.tgz", + "integrity": "sha512-trdx+mB0VBBgoYucy6a9L7/jfQOmvGeaKZT4OOJ+lPAtI8623xyGr8wLiE4eojzBS8G9yXbhx42GHUOVLr4X2w==", + "dev": true, + "requires": { + "@sinonjs/formatio": "^2.0.0", + "diff": "^3.1.0", + "lodash.get": "^4.4.2", + "lolex": "^2.2.0", + "nise": "^1.2.0", + "supports-color": "^5.1.0", + "type-detect": "^4.0.5" + } + }, + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==" + }, + "source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "dev": true, + "requires": { + "source-map": "^0.5.6" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "source-map-url": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==" + }, + "speedometer": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/speedometer/-/speedometer-0.1.4.tgz", + "integrity": "sha1-mHbb0qFp0xFUAtSObqYynIgWpQ0=", + "dev": true + }, + "split": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.0.tgz", + "integrity": "sha1-xDlc5oOrzSVLwo/h2rtuXCfc/64=", + "dev": true, + "requires": { + "through": "2" + } + }, + "sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" + }, + "stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "requires": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "stream-combiner2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", + "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=", + "requires": { + "duplexer2": "~0.1.0", + "readable-stream": "^2.0.2" + } + }, + "stream-http": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.2.0.tgz", + "integrity": "sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A==", + "requires": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "xtend": "^4.0.2" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "stream-read": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/stream-read/-/stream-read-1.1.2.tgz", + "integrity": "sha1-MTcRDXqoC6VOS4KcTNM8oQa5Vk0=", + "dev": true, + "requires": { + "dezalgo": "^1.0.1" + } + }, + "stream-splicer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz", + "integrity": "sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==", + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.2" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string.prototype.trim": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.5.tgz", + "integrity": "sha512-Lnh17webJVsD6ECeovpVN17RlAKjmz4rF9S+8Y45CkMc/ufVpTkU3vZIyIC7sllQ1FCvObZnnCdNs/HXTUOTlg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + }, + "stylus": { + "version": "0.54.8", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.54.8.tgz", + "integrity": "sha512-vr54Or4BZ7pJafo2mpf0ZcwA74rpuYCZbxrHBsH8kbcXOwSfvBFwsRfpGO5OD5fhG5HDCFW737PKaawI7OqEAg==", + "requires": { + "css-parse": "~2.0.0", + "debug": "~3.1.0", + "glob": "^7.1.6", + "mkdirp": "~1.0.4", + "safer-buffer": "^2.1.2", + "sax": "~1.2.4", + "semver": "^6.3.0", + "source-map": "^0.7.3" + }, + "dependencies": { + "css-parse": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/css-parse/-/css-parse-2.0.0.tgz", + "integrity": "sha1-pGjuZnwW2BzPBcWMONKpfHgNv9Q=", + "requires": { + "css": "^2.0.0" + } + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + } + } + }, + "subarg": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz", + "integrity": "sha1-9izxdYHplrSPyWVpn1TAauJouNI=", + "requires": { + "minimist": "^1.1.0" + } + }, + "sumchecker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-2.0.2.tgz", + "integrity": "sha1-D0LBDl0F2l1C7qPlbDOZo31sWz4=", + "dev": true, + "requires": { + "debug": "^2.2.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "superagent": { + "version": "3.8.3", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-3.8.3.tgz", + "integrity": "sha512-GLQtLMCoEIK4eDv6OGtkOoSMt3D+oq0y3dsxMuYuDvaNUvuT8eFBuLmfR0iYYzHC1e8hpzC6ZsxbuP6DIalMFA==", + "requires": { + "component-emitter": "^1.2.0", + "cookiejar": "^2.1.0", + "debug": "^3.1.0", + "extend": "^3.0.0", + "form-data": "^2.3.1", + "formidable": "^1.2.0", + "methods": "^1.1.1", + "mime": "^1.4.1", + "qs": "^6.5.1", + "readable-stream": "^2.3.5" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "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" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, + "symbol-observable": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", + "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==" + }, + "syntax-error": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz", + "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==", + "requires": { + "acorn-node": "^1.2.0" + } + }, + "tap-out": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tap-out/-/tap-out-2.1.0.tgz", + "integrity": "sha512-LJE+TBoVbOWhwdz4+FQk40nmbIuxJLqaGvj3WauQw3NYYU5TdjoV3C0x/yq37YAvVyi+oeBXmWnxWSjJ7IEyUw==", + "dev": true, + "requires": { + "re-emitter": "1.1.3", + "readable-stream": "2.2.9", + "split": "1.0.0", + "trim": "0.0.1" + }, + "dependencies": { + "process-nextick-args": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", + "dev": true + }, + "readable-stream": { + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.9.tgz", + "integrity": "sha1-z3jsb0ptHrQ9JkiMrJfwQudLf8g=", + "dev": true, + "requires": { + "buffer-shims": "~1.0.0", + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "~1.0.0", + "process-nextick-args": "~1.0.6", + "string_decoder": "~1.0.0", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "tap-parser": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tap-parser/-/tap-parser-0.2.1.tgz", + "integrity": "sha1-jh6CPyEU7iHQMuLzHk+2QqKW9Qs=", + "dev": true, + "requires": { + "split": "~0.1.2" + }, + "dependencies": { + "split": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/split/-/split-0.1.2.tgz", + "integrity": "sha1-8HEHRMRT1VH8cUPq2YPaYBTjNsw=", + "dev": true, + "requires": { + "through": "1" + } + }, + "through": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/through/-/through-1.1.2.tgz", + "integrity": "sha1-NEpUJaN3MxTKfg62US+6+vdsC/4=", + "dev": true + } + } + }, + "tap-spec": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/tap-spec/-/tap-spec-5.0.0.tgz", + "integrity": "sha512-zMDVJiE5I6Y4XGjlueGXJIX2YIkbDN44broZlnypT38Hj/czfOXrszHNNJBF/DXR8n+x6gbfSx68x04kIEHdrw==", + "dev": true, + "requires": { + "chalk": "^1.0.0", + "duplexer": "^0.1.1", + "figures": "^1.4.0", + "lodash": "^4.17.10", + "pretty-ms": "^2.1.0", + "repeat-string": "^1.5.2", + "tap-out": "^2.1.0", + "through2": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "tape": { + "version": "4.15.0", + "resolved": "https://registry.npmjs.org/tape/-/tape-4.15.0.tgz", + "integrity": "sha512-SfRmG2I8QGGgJE/MCiLH8c11L5XxyUXxwK9xLRD0uiK5fehRkkSZGmR6Y1pxOt8vJ19m3sY+POTQpiaVv45/LQ==", + "dev": true, + "requires": { + "call-bind": "~1.0.2", + "deep-equal": "~1.1.1", + "defined": "~1.0.0", + "dotignore": "~0.1.2", + "for-each": "~0.3.3", + "glob": "~7.2.0", + "has": "~1.0.3", + "inherits": "~2.0.4", + "is-regex": "~1.1.4", + "minimist": "~1.2.5", + "object-inspect": "~1.12.0", + "resolve": "~1.22.0", + "resumer": "~0.0.0", + "string.prototype.trim": "~1.2.5", + "through": "~2.3.8" + } + }, + "tape-run": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/tape-run/-/tape-run-6.0.1.tgz", + "integrity": "sha512-j6k5NbHL6Ww2E3uxng7pZPr5uNFWkVuZd1u5ZWW2QunofLl08nASxmzmrj0Tphvtse6rKO9FA1ibruzY2a1IGA==", + "dev": true, + "requires": { + "@juliangruber/tap-finished": "0.0.2", + "browser-run": "^6.0.0", + "optimist": "~0.6.1", + "through": "~2.3.4", + "throughout": "0.0.0" + } + }, + "temp-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", + "integrity": "sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=", + "dev": true + }, + "tempy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/tempy/-/tempy-0.1.0.tgz", + "integrity": "sha1-hSdBPNBxAINPzJy7gkK+lboOH+4=", + "dev": true, + "requires": { + "pify": "^2.3.0", + "temp-dir": "^1.0.0", + "unique-string": "^1.0.0" + } + }, + "throttleit": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-0.0.2.tgz", + "integrity": "sha1-z+34jmDADdlpe2H90qg0OptoDq8=", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "throughout": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/throughout/-/throughout-0.0.0.tgz", + "integrity": "sha1-2pNVJyMaeUTapg061HoyQprxqME=", + "dev": true, + "requires": { + "duplexer": "~0.0.2", + "through": "~2.3.4" + }, + "dependencies": { + "duplexer": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.0.4.tgz", + "integrity": "sha1-r8t/H4uNdPggcmFx1dZKyeSo/yA=", + "dev": true + } + } + }, + "timers-browserify": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz", + "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=", + "requires": { + "process": "~0.11.0" + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" + }, + "tosource": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/tosource/-/tosource-1.0.0.tgz", + "integrity": "sha1-QtiN0RZhi88A1hBt1URvNCeQL/E=" + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + } + } + }, + "trim": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", + "integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0=", + "dev": true + }, + "trumpet": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/trumpet/-/trumpet-1.7.2.tgz", + "integrity": "sha1-sCxp5GXRcfVeRJJL+bW90gl0yDA=", + "dev": true, + "requires": { + "duplexer2": "~0.0.2", + "html-select": "^2.3.5", + "html-tokenize": "^1.1.1", + "inherits": "^2.0.0", + "readable-stream": "^1.0.27-1", + "through2": "^1.0.0" + }, + "dependencies": { + "duplexer2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", + "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", + "dev": true, + "requires": { + "readable-stream": "~1.1.9" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + }, + "through2": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/through2/-/through2-1.1.1.tgz", + "integrity": "sha1-CEfLxESfNAVXTb3M2buEG4OsNUU=", + "dev": true, + "requires": { + "readable-stream": ">=1.1.13-1 <1.2.0-0", + "xtend": ">=4.0.0 <4.1.0-0" + } + } + } + }, + "tty-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", + "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "uglify-js": { + "version": "3.15.1", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.1.tgz", + "integrity": "sha512-FAGKF12fWdkpvNJZENacOH0e/83eG6JyVQyanIJaBXCN1J11TUQv1T1/z8S+Z0CG0ZPk1nPcreF/c7lrTd0TEQ==", + "dev": true + }, + "umd": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.3.tgz", + "integrity": "sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==" + }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } + }, + "undeclared-identifiers": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz", + "integrity": "sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==", + "requires": { + "acorn-node": "^1.3.0", + "dash-ast": "^1.0.0", + "get-assigned-identifiers": "^1.2.0", + "simple-concat": "^1.0.0", + "xtend": "^4.0.1" + } + }, + "unicode-canonical-property-names-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", + "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==" + }, + "unicode-match-property-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", + "requires": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", + "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==" + }, + "unicode-property-aliases-ecmascript": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", + "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==" + }, + "unique-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", + "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=", + "dev": true, + "requires": { + "crypto-random-string": "^1.0.0" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + } + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + } + } + }, + "url-join": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", + "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==", + "dev": true + }, + "util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.4.tgz", + "integrity": "sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==", + "requires": { + "inherits": "2.0.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + } + } + }, + "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=" + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + }, + "dependencies": { + "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=", + "dev": true + } + } + }, + "vm-browserify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", + "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" + }, + "wordwrap": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", + "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", + "dev": true + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "ws": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", + "requires": { + "async-limiter": "~1.0.0" + } + }, + "xhr-write-stream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/xhr-write-stream/-/xhr-write-stream-0.1.2.tgz", + "integrity": "sha1-41eEjg0Dm0Ef3Vs7+BvkfuXOJqo=", + "dev": true, + "requires": { + "concat-stream": "~0.1.0", + "ordered-emitter": "~0.1.0" + }, + "dependencies": { + "concat-stream": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-0.1.1.tgz", + "integrity": "sha1-1/TieLkM/E8PPvd/5MA7QOs/eQA=", + "dev": true + } + } + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + }, + "yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" + }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "dev": true, + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + } + } +} diff --git a/uebersicht-code/server/release/package.json b/uebersicht-code/server/release/package.json new file mode 120000 index 0000000..4e26811 --- /dev/null +++ b/uebersicht-code/server/release/package.json @@ -0,0 +1 @@ +../package.json \ No newline at end of file diff --git a/uebersicht-code/server/release/public/.babelrc b/uebersicht-code/server/release/public/.babelrc new file mode 100755 index 0000000..4ccd658 --- /dev/null +++ b/uebersicht-code/server/release/public/.babelrc @@ -0,0 +1,20 @@ +{ + "presets": [ + "@babel/preset-react", + [ + "@babel/preset-env", + { + "targets": [ + "Explorer 11", + "last 5 Safari versions", + ], + "useBuiltIns": "usage", + "corejs": "2", + "modules": "commonjs" + } + ] + ], + "plugins": [ + "@babel/plugin-proposal-object-rest-spread" + ] +} diff --git a/uebersicht-code/server/release/public/.pydio b/uebersicht-code/server/release/public/.pydio new file mode 100644 index 0000000..96a691d --- /dev/null +++ b/uebersicht-code/server/release/public/.pydio @@ -0,0 +1 @@ +f43bff2f-1229-4bc5-99fd-61244f6aaaf6 \ No newline at end of file diff --git a/uebersicht-code/server/release/public/index.html b/uebersicht-code/server/release/public/index.html new file mode 100755 index 0000000..bfa5e99 --- /dev/null +++ b/uebersicht-code/server/release/public/index.html @@ -0,0 +1,16 @@ + + + + Übersicht + + + + + + + + + +
+ + diff --git a/uebersicht-code/server/release/public/main.css b/uebersicht-code/server/release/public/main.css new file mode 100755 index 0000000..55ade06 --- /dev/null +++ b/uebersicht-code/server/release/public/main.css @@ -0,0 +1,22 @@ +body, +html { + background: transparent; + padding: 0; + margin: 0; + height: 100%; + width: 100%; + overflow: hidden; +} + +#uebersicht { + position: absolute; + height: 100%; + width: 100%; + padding: 0; + margin: 0; + overflow: hidden; +} + +.widget { + position: absolute; +} diff --git a/uebersicht-code/server/server.coffee b/uebersicht-code/server/server.coffee new file mode 100755 index 0000000..8c30c36 --- /dev/null +++ b/uebersicht-code/server/server.coffee @@ -0,0 +1,41 @@ +parseArgs = require 'minimist' +UebersichtServer = require './src/app.coffee' +cors_proxy = require 'cors-anywhere' +path = require 'path' + +handleError = (err) -> + console.log(err.message || err) + throw err + +try + args = parseArgs process.argv.slice(2) + widgetPath = path.resolve(__dirname, args.d ? args.dir ? './widgets') + port = args.p ? args.port ? 41416 + settingsPath = path.resolve(__dirname, args.s ? args.settings ? './settings') + publicPath = path.resolve(__dirname, './public') + options = + loginShell: args['login-shell'] + + server = UebersichtServer( + Number(port), + widgetPath, + settingsPath, + publicPath, + options, + -> console.log 'server started on port', port + ) + server.on 'close', handleError + server.on 'error', handleError + + cors_host = '127.0.0.1' + cors_port = port + 1 + cors_proxy.createServer( + originWhitelist: ['http://127.0.0.1:' + port] + requireHeader: ['origin'] + removeHeaders: ['cookie'] + ).listen(cors_port, cors_host, -> + console.log 'CORS Anywhere on port', cors_port + ) + +catch e + handleError e diff --git a/uebersicht-code/server/settings/.pydio b/uebersicht-code/server/settings/.pydio new file mode 100644 index 0000000..01b3ef3 --- /dev/null +++ b/uebersicht-code/server/settings/.pydio @@ -0,0 +1 @@ +8fa7f9cc-9151-42bf-bd0d-b2dd84d7c529 \ No newline at end of file diff --git a/uebersicht-code/server/settings/WidgetSettings.json b/uebersicht-code/server/settings/WidgetSettings.json new file mode 100755 index 0000000..cf4b244 --- /dev/null +++ b/uebersicht-code/server/settings/WidgetSettings.json @@ -0,0 +1 @@ +{"top-jsx":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"index-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"top-cpu-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"circle-ci-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"top-mem-widget-index-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"Playbox-widget-index-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"simple-clock-widget-index-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"Eva-widget-index-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"GettingStarted-jsx":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]}} \ No newline at end of file diff --git a/uebersicht-code/server/spec/.pydio b/uebersicht-code/server/spec/.pydio new file mode 100644 index 0000000..121e6d6 --- /dev/null +++ b/uebersicht-code/server/spec/.pydio @@ -0,0 +1 @@ +53020e3e-873e-430a-87dd-1ec10c273ad9 \ No newline at end of file diff --git a/uebersicht-code/server/spec/backend/.pydio b/uebersicht-code/server/spec/backend/.pydio new file mode 100644 index 0000000..b8795b9 --- /dev/null +++ b/uebersicht-code/server/spec/backend/.pydio @@ -0,0 +1 @@ +4eca1fdb-0cf9-45cc-8990-38c4f95d5c6a \ No newline at end of file diff --git a/uebersicht-code/server/spec/backend/SharedSocket_spec.js b/uebersicht-code/server/spec/backend/SharedSocket_spec.js new file mode 100755 index 0000000..5c6e175 --- /dev/null +++ b/uebersicht-code/server/spec/backend/SharedSocket_spec.js @@ -0,0 +1,20 @@ +var test = require('tape'); +var WebSocket = require('ws'); + +var server = new WebSocket.Server({ port: 8890 }); +var sharedSocket = require('../../src/SharedSocket'); +var url = 'ws://localhost:8890'; + +test('subscribing listeners', (t) => { + sharedSocket.onMessage((message) => { + t.equal(message, 'yay'); + sharedSocket.close(); + server.close(() => t.end()); + }); + + sharedSocket.open(url); + + server.on('connection', (ws) => { + ws.send('yay'); + }); +}); diff --git a/uebersicht-code/server/spec/backend/WidgetBundler_spec.js b/uebersicht-code/server/spec/backend/WidgetBundler_spec.js new file mode 100755 index 0000000..c37f77f --- /dev/null +++ b/uebersicht-code/server/spec/backend/WidgetBundler_spec.js @@ -0,0 +1,82 @@ +const test = require('tape'); +const path = require('path'); +const fs = require('fs'); + +const WidgetBundler = require('../../src/WidgetBundler.js'); +const fixturePath = path.resolve(__dirname, '../test_widgets'); +const bundler = WidgetBundler(); +var callback = () => {}; + +test('bundling widgets', (t) => { + const action = { + type: 'added', + filePath: path.join(fixturePath, 'widget-1.coffee'), + id: 'widget-1', + }; + + callback = (event) => { + t.equal(event.type, 'added', 'it emits an "added" event'); + t.equal(typeof event.widget, 'object', 'it emits a widget object'); + t.equal(event.widget.id, 'widget-1', 'the widget object has an id'); + t.equal( + event.widget.filePath, + action.filePath, + 'the widget object contains the original file path', + ); + t.equal( + typeof event.widget.body, + 'string', + 'it also contains a string with the widget source code', + ); + + const widget = eval(event.widget.body)('widget-1'); + t.equal( + widget.command, + 'foo', + 'the source evals to a require function which returns the widget by id', + ); + callback = () => {}; + t.end(); + }; + + bundler.push(action, (event) => callback(event)); +}); + +test('watching widgets', (t) => { + callback = (event) => { + t.equal(event.type, 'added', 'it emits another "added" event'); + t.equal(event.widget.id, 'widget-1', 'for the correct widget'); + t.equal(typeof event.widget.body, 'string', 'with the widget source code'); + t.end(); + }; + + fs.utimes( + path.join(fixturePath, 'widget-1.coffee'), + Date.now(), + Date.now(), + () => {}, + ); +}); + +test('removing widgets', (t) => { + const action = { + type: 'removed', + filePath: path.join(fixturePath, 'widget-1.coffee'), + id: 'widget-1', + }; + + callback = (event) => { + t.equal(event.type, 'removed', 'it emits a "removed" event'); + t.equal(event.id, 'widget-1', 'for the correct widget'); + callback = () => {}; + t.end(); + }; + + bundler.push(action, (event) => callback(event)); +}); + +test('closing', (t) => { + bundler.close(); + t.pass('it closes'); + t.end(); +}); diff --git a/uebersicht-code/server/spec/backend/bundleWidget_spec.js b/uebersicht-code/server/spec/backend/bundleWidget_spec.js new file mode 100755 index 0000000..3e1029d --- /dev/null +++ b/uebersicht-code/server/spec/backend/bundleWidget_spec.js @@ -0,0 +1,78 @@ +const test = require('tape'); +const path = require('path'); +const bundleWidget = require('../../src/bundleWidget'); + +const testDir = path.resolve(__dirname, path.join('..', 'test_widgets')); + +test('bundling coffeescript widgets', (t) => { + const widgetPath = path.join(testDir, 'widget-1.coffee'); + const bundle = bundleWidget('widget-id', widgetPath); + + t.plan(2); + t.ok( + bundle.constructor.name === 'Browserify', + 'it returns a browserify bundle', + ); + bundle.bundle((err, src) => { + t.ok( + !err && src && src.indexOf('command') > -1, + 'the source code it generates looks ok', + ); + bundle.close(); + }); +}); + +test('bundling javascript widgets', (t) => { + const widgetPath = path.join(testDir, 'widget-2.js'); + const bundle = bundleWidget('other-widget-id', widgetPath); + + t.plan(2); + t.ok( + bundle.constructor.name === 'Browserify', + 'it returns a browserify bundle', + ); + bundle.bundle((err, src) => { + t.ok( + !err && src && src.indexOf('command') > -1, + 'the source code looks ok', + ); + bundle.close(); + }); +}); + +test('bundling jsx widgets', (t) => { + const widgetPath = path.join(testDir, 'widget-3.jsx'); + const bundle = bundleWidget('widget-3', widgetPath); + + t.plan(2); + t.ok( + bundle.constructor.name === 'Browserify', + 'it returns a browserify bundle', + ); + bundle.bundle((err, src) => { + t.ok( + !err && src && src.indexOf('command') > -1, + 'the source code looks ok', + ); + bundle.close(); + }); +}); + +test('bundling widgets with syntax errors', (t) => { + const widgetPath = path.join(testDir, 'broken-widget.coffee'); + const bundle = bundleWidget('broken', widgetPath); + + t.plan(2); + t.ok( + bundle.constructor.name === 'Browserify', + 'it returns a browserify bundle', + ); + bundle.bundle((err, src) => { + t.equal( + err && err.message, + 'unexpected indentation while parsing file: ' + widgetPath, + 'it spits out an error when bundling', + ); + bundle.close(); + }); +}); diff --git a/uebersicht-code/server/spec/backend/command_server_spec.js b/uebersicht-code/server/spec/backend/command_server_spec.js new file mode 100755 index 0000000..6565985 --- /dev/null +++ b/uebersicht-code/server/spec/backend/command_server_spec.js @@ -0,0 +1,94 @@ +var test = require('tape'); +var connect = require('connect'); +var path = require('path'); + +var httpGet = require('../helpers/httpGet'); +var httpPost = require('../helpers/httpPost'); +var commandServer = require('../../src/command_server.coffee'); + +var workingDir = path.resolve(__dirname, path.join('..', 'test_widgets')); +var server = connect().use(commandServer(workingDir)).listen(8887); + +var url = 'http://localhost:8887/run/'; + +test('responding to POST /run/', (t) => { + t.plan(3); + + httpPost(url, 'echo', (res) => { + t.equal(res.statusCode, 200, 'it reponds'); + }); + + httpPost('http://localhost:8887/foo/', 'echo', (res) => { + t.equal(res.statusCode, 404, 'it ignores requests to other paths'); + }); + + httpGet(url, (res) => { + t.equal(res.statusCode, 404, 'it ignores GET requests'); + }); +}); + +test('running commands', (t) => { + t.plan(2); + + httpPost(url, 'echo "yay"', (res, body) => { + t.equal(body, 'yay\n', 'it runs commands'); + }); + + httpPost(url, 'pwd', (res, body) => { + t.equal( + body, + workingDir + '\n', + 'it runs commands in the supplied working dir', + ); + }); +}); + +test('shell type', (t) => { + httpPost(url, 'echo $(shopt | grep login_shell)', (res, body) => { + t.equal(body, 'login_shell off\n', 'it is not a login shell'); + t.end(); + }); +}); + +test('running broken commands', (t) => { + t.plan(2); + + httpPost(url, 'fake-command', (res, body) => { + t.equal(res.statusCode, 500, 'it responds with a 500 code'); + t.equal( + body, + 'bash: line 1: fake-command: command not found\n', + 'it responds with an error message', + ); + }); +}); + +test('forwarding stderr', (t) => { + t.plan(2); + + httpPost(url, 'echo "yay" >&2', (res, body) => { + t.equal(res.statusCode, 500, 'it responds with a 500 code'); + t.equal(body, 'yay\n', 'it sends stderr along'); + }); +}); + +test('closing', (t) => { + server.close(); + t.pass('it closes'); + t.end(); +}); + +test('using a login shell', (t) => { + server = connect().use(commandServer(workingDir, true)).listen(8887); + + httpPost(url, 'echo $(shopt | grep login_shell)', (res, body) => { + const lines = body.trim().split('\n'); + t.equal( + lines[lines.length - 1], + 'login_shell on', + 'it indeed runs in a login shell', + ); + server.close(); + t.end(); + }); +}); diff --git a/uebersicht-code/server/spec/backend/directory_watcher_spec.js b/uebersicht-code/server/spec/backend/directory_watcher_spec.js new file mode 100755 index 0000000..f4ab578 --- /dev/null +++ b/uebersicht-code/server/spec/backend/directory_watcher_spec.js @@ -0,0 +1,116 @@ +var test = require('tape'); +var path = require('path'); +var fs = require('fs'); +var execSync = require('child_process').execSync; + +var DirWatcher = require('../../src/directory_watcher.coffee'); +var fixturePath = path.resolve(__dirname, '../test_widgets'); +var newWidgetPath = path.join(fixturePath, 'new-widget.coffee'); + +var stopWatching; +var callback; + +const throwError = (err) => { + if (err) throw err; +}; + +test('files that are already present in the widget dir', (t) => { + t.timeoutAfter(300); + var expectedWidgets = [ + path.join(fixturePath, 'widget-1.coffee'), + path.join(fixturePath, 'widget-2.js'), + path.join(fixturePath, 'some-dir.widget', 'index-1.coffee'), + path.join(fixturePath, 'broken-widget.coffee'), + path.join(fixturePath, 'invalid-widget.coffee'), + ]; + + callback = (event) => { + if (event.type !== 'added') { + return; + } + var idx = expectedWidgets.indexOf(event.filePath); + if (idx > -1) { + expectedWidgets.splice(idx, 1); + } + + if (expectedWidgets.length === 0) { + callback = () => {}; + t.pass('it emits an event for all widgets already in the folder'); + t.end(); + } + }; + + stopWatching = DirWatcher(fixturePath, (event) => callback(event)); +}); + +test('adding files', (t) => { + t.timeoutAfter(300); + callback = (event) => { + if (event.type === 'added' && event.filePath === newWidgetPath) { + callback = () => {}; + t.pass('it emits an event for new files'); + t.equal(event.rootPath, fixturePath, 'the event includes the root path'); + t.end(); + } + }; + fs.writeFile(newWidgetPath, "command: ''", throwError); +}); + +test('removing files', (t) => { + t.timeoutAfter(300); + callback = (event) => { + if (event.type === 'removed' && event.filePath === newWidgetPath) { + callback = () => {}; + t.pass('it emits a removed event when a widget file is removed'); + t.equal(event.rootPath, fixturePath, 'the event includes the root path'); + t.end(); + } + }; + fs.unlink(newWidgetPath, throwError); +}); + +test('adding folders', (t) => { + t.timeoutAfter(300); + var aWidgetFolder = path.resolve(__dirname, '../tmp2'); + if (fs.existsSync(aWidgetFolder)) { + execSync('rm -rf ' + aWidgetFolder); + } + + fs.mkdirSync(aWidgetFolder); + fs.writeFileSync(path.join(aWidgetFolder, 'widget.js'), "command: 'yay'"); + + var expectedPath = path.join(fixturePath, 'another', 'widget.js'); + callback = (event) => { + if (event.type === 'added' && event.filePath === expectedPath) { + callback = () => {}; + t.pass('it emits an event when a subfolder containing a widget is added'); + t.end(); + } + }; + fs.rename(aWidgetFolder, path.join(fixturePath, 'another'), throwError); +}); + +test('removing folders', (t) => { + t.timeoutAfter(300); + var expectedPath = path.join(fixturePath, 'another', 'widget.js'); + callback = (event) => { + if (event.type === 'removed' && event.filePath === expectedPath) { + callback = () => {}; + t.pass( + 'it emits a removed event when a subfolder containing a ' + + 'widget is removed', + ); + t.end(); + } + }; + + var newPath = path.resolve(__dirname, '../tmp3'); + fs.renameSync(path.join(fixturePath, 'another'), newPath); + execSync('rm -rf ' + newPath); +}); + +test('stopping', (t) => { + stopWatching(); + t.pass('it can be stopped'); + t.end(); +}); diff --git a/uebersicht-code/server/spec/backend/dispatch_spec.js b/uebersicht-code/server/spec/backend/dispatch_spec.js new file mode 100755 index 0000000..7123889 --- /dev/null +++ b/uebersicht-code/server/spec/backend/dispatch_spec.js @@ -0,0 +1,33 @@ +var test = require('tape'); +var WebSocket = require('ws'); + +var server = new WebSocket.Server({ port: 8888 }); +var url = 'ws://localhost:8888'; +var sharedSocket = require('../../src/SharedSocket'); +var dispatch = require('../../src/dispatch'); + +test('queuing up messages', (t) => { + expectedMessages = ['a', 'b']; + + server.on('connection', (ws) => { + ws.on('message', (message) => { + parsed = JSON.parse(message); + + var idx = expectedMessages.indexOf(parsed); + if (idx > -1) { + expectedMessages.splice(idx, 1); + } + + if (expectedMessages.length === 0) { + t.pass('it queues up messages and sends them once the socket opens'); + server.close(() => t.end()); + } + }); + }); + + dispatch('a'); + dispatch('b'); + sharedSocket.open(url); +}); + + diff --git a/uebersicht-code/server/spec/backend/listen_spec.js b/uebersicht-code/server/spec/backend/listen_spec.js new file mode 100755 index 0000000..d8091da --- /dev/null +++ b/uebersicht-code/server/spec/backend/listen_spec.js @@ -0,0 +1,26 @@ +var test = require('tape'); +var WebSocket = require('ws'); + +var server = new WebSocket.Server({ port: 8889 }); +var sharedSocket = require('../../src/SharedSocket'); +var listen = require('../../src/listen'); + +test('listen', (t) => { + sharedSocket.open('ws://localhost:8889'); + + listen((message) => { + t.looseEqual( + message, + { type: 'YASS', payload: 'yay' }, + 'it calls listeners with deserialized messages' + ); + server.close(() => t.end()); + }); + + server.on('connection', (ws) => { + ws.send(JSON.stringify({ + type: 'YASS', + payload: 'yay', + })); + }); +}); diff --git a/uebersicht-code/server/spec/backend/reducer_spec.js b/uebersicht-code/server/spec/backend/reducer_spec.js new file mode 100755 index 0000000..4bff1cd --- /dev/null +++ b/uebersicht-code/server/spec/backend/reducer_spec.js @@ -0,0 +1,115 @@ +var test = require('tape'); +var reduce = require('../../src/reducer'); + + +test('WIDGET_ADDED', (t) => { + var action = { + type: 'WIDGET_ADDED', + payload: { id: 'foo', error: 'oh no', filePath: '/foo/' }, + }; + var newState = reduce({ widgets: {} }, action); + + t.looseEqual( + newState.widgets, + { foo: { id: 'foo', error: 'oh no', filePath: '/foo/' } }, + 'it adds new widgets' + ); + + t.ok( + typeof newState.settings === 'object', + 'it creates a new settings hash if none exists' + ); + + t.looseEqual( + newState.settings.foo, { + showOnAllScreens: true, + showOnMainScreen: false, + showOnSelectedScreens: false, + hidden: false, + screens: [], + }, + 'it initializes settings for a widget' + ); + + action = { + type: 'WIDGET_ADDED', + payload: { id: 'foo', body: 'yay', filePath: '/foo/' }, + }; + newState = reduce(newState, action); + + t.looseEqual( + newState.widgets, + { foo: { id: 'foo', body: 'yay', filePath: '/foo/' } }, + 'it updates existing widgets' + ); + + t.end(); +}); + +test('WIDGET_REMOVED', (t) => { + var action = { type: 'WIDGET_REMOVED', payload: 'foo' }; + var state = { widgets: {} }; + var newState = reduce(state, action); + t.equal(state, newState, 'it ignores non existing widgets'); + + newState = reduce({ + widgets: { foo: {}, bar: {}}, + }, action); + t.looseEqual(newState.widgets, {bar: {}}, 'it removes existing widgets'); + t.end(); +}); + + +test('WIDGET_SETTINGS_CHANGED', (t) => { + var action = { + type: 'WIDGET_SETTINGS_CHANGED', + payload: { id: 'foo', settings: { a: 'b' } }, + }; + + newState = reduce({ settings: {} }, action); + t.looseEqual( + newState.settings, + { foo: { a: 'b' } }, + 'it applies new settings' + ); + + newState = reduce({ settings: { bar: {} } }, action); + t.looseEqual( + newState.settings, + { foo: { a: 'b' }, bar: {}}, + 'it merges with existing settings' + ); + + t.end(); +}); + +test('WIDGET_SET_TO_HIDE / SHOW', (t) => { + var action = { type: 'WIDGET_SET_TO_HIDE', payload: 'bar' }; + var state = { + settings: { + foo: { hidden: false, some: 'other', stuff: 1 }, + bar: { hidden: false, many: 'other', things: 42 }, + }, + }; + var newState = reduce(state, action); + t.looseEqual( + state.settings, + { + foo: { hidden: false, some: 'other', stuff: 1 }, + bar: { hidden: false, many: 'other', things: 42 }, + }, + 'it hides widgets' + ); + + action = { type: 'WIDGET_SET_TO_SHOW', payload: 'bar' }; + newState = reduce(newState, action); + t.looseEqual( + state.settings, + { + foo: { hidden: false, some: 'other', stuff: 1 }, + bar: { hidden: false, many: 'other', things: 42 }, + }, + 'it shows widgets' + ); + t.end(); +}); diff --git a/uebersicht-code/server/spec/backend/resolveWidget_spec.js b/uebersicht-code/server/spec/backend/resolveWidget_spec.js new file mode 100755 index 0000000..67939c5 --- /dev/null +++ b/uebersicht-code/server/spec/backend/resolveWidget_spec.js @@ -0,0 +1,102 @@ +const test = require('tape'); +const resolveWidget = require('../../src/resolveWidget.js'); + +test('resolving widget actions from file events', (t) => { + const action = resolveWidget({ + type: 'added', + filePath: '/widget/dir/widget File name.js', + rootPath: '/widget/dir/', + }); + + t.plan(3); + t.equal(action.id, 'widget_File_name-js', 'it derives a widget id'); + t.equal( + action.filePath, '/widget/dir/widget File name.js', + 'it contains the original file path' + ); + + const action2 = resolveWidget({ + type: 'removed', + filePath: '/widget/dir/widget File name.js', + rootPath: '/widget/dir/', + }); + + t.ok( + action.type === 'added' && action2.type === 'removed', + 'it passes on the action type' + ); +}); + +test('separating widgets from non-wigets', (t) => { + var action = resolveWidget({ + filePath: '/widget/dir/file.js', + rootPath: '/widget/dir/', + }); + t.ok(!!action, 'it accepts js files'); + + action = resolveWidget({ + filePath: '/widget/dir/file.coffee', + rootPath: '/widget/dir/', + }); + t.ok(!!action, 'it accepts coffee files'); + + action = resolveWidget({ + filePath: '/widget/dir/file.jsx', + rootPath: '/widget/dir/', + }); + t.ok(!!action, 'it accepts jsx files'); + + action = resolveWidget({ + filePath: '/widget/dir/file.txt', + rootPath: '/widget/dir/', + }); + t.ok(!action, 'it ignores other files'); + + action = resolveWidget({ + filePath: '/widget/dir/node_modules/file.js', + rootPath: '/widget/dir/', + }); + t.ok(!action, 'it ignores files inside node_modules'); + + action = resolveWidget({ + filePath: '/widget/dir/src/file.js', + rootPath: '/widget/dir/', + }); + t.ok(!action, 'it ignores files inside a src dir'); + + action = resolveWidget({ + filePath: '/widget/dir/lib/file.js', + rootPath: '/widget/dir/', + }); + t.ok(!action, 'it ignores files inside a lib dir'); + + action = resolveWidget({ + filePath: '/widget/dir/some/other/dir/file.js', + rootPath: '/widget/dir/', + }); + t.ok(!!action, 'it detects widgets in any other dir'); + + t.end(); +}); + +test('deriving widget ids', (t) => { + var action = resolveWidget({ + type: 'added', + filePath: '/widget/dir/spaces in the Name.js', + rootPath: '/widget/dir/', + }); + t.equal( + action.id, 'spaces_in____the__Name-js', 'it replaces spaces with underscores' + ); + + action = resolveWidget({ + type: 'added', + filePath: '/widget/dir/some-dir/widget.js', + rootPath: '/widget/dir/', + }); + t.equal( + action.id, 'some-dir-widget-js', 'it replaces slashes with dashes' + ); + + t.end(); +}); diff --git a/uebersicht-code/server/spec/backend/validateWidget_spec.js b/uebersicht-code/server/spec/backend/validateWidget_spec.js new file mode 100755 index 0000000..9543c8c --- /dev/null +++ b/uebersicht-code/server/spec/backend/validateWidget_spec.js @@ -0,0 +1,36 @@ +var test = require('tape'); +var validateWidget = require('../../src/validateWidget'); + +test('checking for empty implementations', (t) => { + var issues = validateWidget(); + t.ok( + issues.indexOf('empty implementation') > -1, + 'it does not allow them' + ); + + t.end(); +}); + +test('checking for commands', (t) => { + var issues = validateWidget({}); + t.ok( + issues.indexOf('no command given') > -1, + 'it complains if when there is no command' + ); + + issues = validateWidget({ refreshFrequency: false }); + t.ok( + issues.indexOf('no command given') === -1, + 'it allows no commands when refreshFrequency is false' + ); + + t.end(); +}); + +test('valid widgets', (t) => { + var issues = validateWidget({ + command: 'yay' + }); + t.ok(issues.length === 0, 'it finds no issues'); + t.end(); +}); diff --git a/uebersicht-code/server/spec/backend/widgetify_spec.js b/uebersicht-code/server/spec/backend/widgetify_spec.js new file mode 100755 index 0000000..6858490 --- /dev/null +++ b/uebersicht-code/server/spec/backend/widgetify_spec.js @@ -0,0 +1,83 @@ +var test = require('tape'); +var widgetify = require('../../src/widgetify'); +var through = require('through2'); + +function grabOutput(then) { + var output = ''; + return through( + (chunk, enc, next) => { output += chunk; next(); }, + (next) => { then(output); next(); } + ); +} + +test('transforming valid widgets', (t) => { + var transform = widgetify('path/', { id: 'foo' }); + var src = ` + var color = '#ff'; + var stuff = 1+2; + color = color + 'f'; + ({ + foo: 14, + style: 'color: ' + color, + refreshFrequency: '2s' + }) + `; + + transform.pipe( grabOutput((transformed) => { + const module = {}; + new Function('module', transformed)(module); + + t.ok( + typeof module.exports === 'object', + 'it assigns the last object expression to module.exports' + ); + t.equal( + module.exports.id, 'foo', + 'it adds the widget id' + ); + t.equal( + module.exports.refreshFrequency, 2000, + 'it parses string refresh frequencies' + ); + t.equal( + module.exports.css, '#foo {\n color: #fff;\n}\n', + 'it parses and scopes styles, including interpolated variables' + ); + t.equal( + module.exports.style, undefined, + 'it cleans up the style property' + ); + + t.end(); + })); + + transform.write(src); + transform.end(); +}); + +test('transforming a widget with a syntax error', (t) => { + var transform = widgetify('path/', { id: 'foo' }); + var src = ` + ({ + foo: 14, + style: 'color: ' + color, + refreshFrequency: '2s' + }) + `; + + transform + .on('error', (e) => { + t.pass('it emits an error'); + t.ok( + e.name === 'ReferenceError' && e.message === 'color is not defined', + 'the error looks ok' + ); + t.end(); + }) + .pipe(grabOutput((transformed) => { + t.ok(!transformed, 'and there is no outout'); + })); + + transform.write(src); + transform.end(); +}); diff --git a/uebersicht-code/server/spec/frontend/.pydio b/uebersicht-code/server/spec/frontend/.pydio new file mode 100644 index 0000000..91bd141 --- /dev/null +++ b/uebersicht-code/server/spec/frontend/.pydio @@ -0,0 +1 @@ +0a8f99dc-3af2-4fb0-8999-8ba5fba7c2f9 \ No newline at end of file diff --git a/uebersicht-code/server/spec/frontend/render_spec.js b/uebersicht-code/server/spec/frontend/render_spec.js new file mode 100755 index 0000000..88e6eab --- /dev/null +++ b/uebersicht-code/server/spec/frontend/render_spec.js @@ -0,0 +1,195 @@ +var test = require('tape'); + +var render = require('../../src/render'); +var domEl = document.createElement('div'); +document.body.appendChild(domEl); // needed to use selectors + +function buildWidget(id) { + return { + id: id, + implementation: {id: id, refreshFrequency: false}, + mtime: new Date(), + }; +} + +var state = { + widgets: { + foo: buildWidget('foo'), + bar: buildWidget('bar'), + }, + settings: {}, + screens: ['123'], +}; + +test('rendering a clean slate', (t) => { + render(state, '123', domEl); + t.equal(domEl.childNodes.length, 2, 'it renders 2 widgets'); + t.ok(!!domEl.querySelector('#foo'), 'it renders widget foo'); + t.ok(!!domEl.querySelector('#bar'), 'it renders widget bar'); + t.end(); +}); + +test('rendering new widgets', (t) => { + state.widgets.baz = buildWidget('baz'); + + render(state, '123', domEl); + t.equal(domEl.childNodes.length, 3, 'it renders 3 widgets'); + t.ok(!!domEl.querySelector('#foo'), 'it renders widget foo'); + t.ok(!!domEl.querySelector('#bar'), 'it renders widget bar'); + t.ok(!!domEl.querySelector('#baz'), 'it renders widget baz'); + t.end(); +}); + +test('destroying removed widgets', (t) => { + delete state.widgets.bar; + + render(state, '123', domEl); + t.equal(domEl.childNodes.length, 2, 'it leaves 2'); + t.ok(!!domEl.querySelector('#foo'), 'it does not remove widget foo'); + t.ok(!!domEl.querySelector('#baz'), 'it does not remove widget baz'); + t.end(); +}); + +test('rendering widgets that are visible on all screens', (t) => { + state.settings.baz = { + showOnAllScreens: true, + }; + + render(state, '123', domEl); + t.equal(domEl.childNodes.length, 2, 'it renders them'); + + render(state, '678', domEl); + t.equal(domEl.childNodes.length, 2, 'it renders them on any screen'); + + t.end(); +}); + +test('rendering widgets that are pinned to the main screen', (t) => { + state.settings.baz = { + showOnAllScreens: false, + showOnMainScreen: true, + }; + + render(state, '123', domEl); + t.equal( + domEl.childNodes.length, + 2, + 'it renders them if current screen is main', + ); + + render(state, '156', domEl); + t.equal( + domEl.childNodes.length, + 1, + 'it does not render them if current screen is mot main', + ); + t.end(); +}); + +test('rendering widgets that are pinned to selected screens', (t) => { + state.settings.baz = { + showOnAllScreens: false, + showOnMainScreen: false, + showOnSelectedScreens: true, + }; + + render(state, '123', domEl); + t.equal( + domEl.childNodes.length, + 1, + 'it does not render them if no screen is selected', + ); + + state.settings.baz.screens = ['567']; + render(state, '123', domEl); + t.equal( + domEl.childNodes.length, + 1, + 'it does not render them if current screen is not in selected screens', + ); + + state.settings.baz.screens = ['567', '123']; + render(state, '123', domEl); + t.equal( + domEl.childNodes.length, + 2, + 'it renders them if current screen is in selected screens', + ); + + t.end(); +}); + +test('performance when re-rendering', (t) => { + var prevNode = domEl.querySelector('#foo'); + render(state, '123', domEl); + var newNode = domEl.querySelector('#foo'); + + t.ok( + prevNode === newNode, + 'it does not re-render nodes if it does not need to', + ); + + prevNode = domEl.querySelector('#foo'); + + // new mtime + state.widgets.foo = buildWidget('foo'); + render(state, '123', domEl); + newNode = domEl.querySelector('#foo'); + + t.ok(prevNode !== newNode, 'it does re-render nodes when it has to'); + + t.end(); +}); + +test('rendering background widgets', (t) => { + var state = { + widgets: { + foo: buildWidget('foo'), + }, + settings: {foo: {inBackground: true, showOnAllScreens: true}}, + screens: ['123'], + }; + + render(state, '123', domEl); + t.equal( + domEl.childNodes.length, + 1, + 'it renders them if window.isBackground is not set', + ); + + window.isBackground = false; + render(state, '123', domEl); + t.equal( + domEl.childNodes.length, + 0, + 'it does not render them if window.background is false', + ); + + window.isBackground = true; + render(state, '123', domEl); + t.equal( + domEl.childNodes.length, + 1, + 'it renders them if window.background is true', + ); + + window.isBackground = false; + + var state = { + widgets: { + foo: buildWidget('foo'), + }, + settings: {foo: {showOnAllScreens: true}}, + screens: ['123'], + }; + + render(state, '123', domEl); + t.equal( + domEl.childNodes.length, + 1, + 'it renders them in foreground if setting is undefined', + ); + + window.isBackground = undefined; + t.end(); +}); diff --git a/uebersicht-code/server/spec/frontend/widget_spec.js b/uebersicht-code/server/spec/frontend/widget_spec.js new file mode 100755 index 0000000..9911bbc --- /dev/null +++ b/uebersicht-code/server/spec/frontend/widget_spec.js @@ -0,0 +1,412 @@ +var test = require('tape'); +var sinon = require('sinon'); +var tosource = require('tosource'); +var Widget = require('../../src/Widget.js'); + +function makeFakeServer() { + var server = sinon.fakeServer.create(); + server.respondToRun = function respondToRun(body) { + server.respondWith('POST', '/run/', [ + status, + { 'Content-Type': 'text/plain' }, + body, + ]); + }; + + return server; +} + +function buildWidget(impl) { + return Widget({implementation: impl}); +} + +test('widget creation', (t) => { + var widget = buildWidget({ command: '', id: 'foo', css: 'background: red' }); + var el = widget.create(); + + t.ok( + el && el.tagName === 'DIV', + 'it creates a wrapper dom element for a widget' + ); + + t.ok( + !!el.querySelector('#foo'), + 'it creates an element for the widget itself' + ); + + var style = el.querySelector('style'); + t.ok(!!style, "it includes a style tag for the widget's css"); + t.ok( + style.innerHTML.indexOf('background: red') > -1, + "the tag includes the widget's style" + ); + + widget.destroy(); + t.end(); +}); + +test('defaults', (t) => { + var implementation = buildWidget({ command: '', id: 'foo', css: '' }) + .implementation(); + + t.equal( + implementation.refreshFrequency, 1000, + 'it sets the refresh frequency to 1s' + ); + + t.equal( + typeof implementation.render, 'function', + 'it provides a default render function' + ); + + t.ok( + implementation.render('stuff') === 'stuff', + 'the default render method returns what is passed to it' + ); + + t.equal( + typeof implementation.afterRender, 'function', + 'it provides a default afterRender function' + ); + + implementation = buildWidget({ + id: 'foo', + command: '', + css: '', + refreshFrequency: 42, + render: () => 'render!', + afterRender: () => 'afterRender!', + }).implementation(); + + t.equal( + implementation.refreshFrequency, 42, + "it doesn't override the refreshFrequency" + ); + + t.equal( + implementation.render(), 'render!', + "it doesn't override the render method" + ); + + t.equal( + implementation.afterRender(), 'afterRender!', + "it doesn't override the afterRender method" + ); + + t.end(); +}); + +test('internal api', (t) => { + var api = buildWidget({ command: '', id: 'foo', css: '' }) + .internalApi(); + + t.equal(typeof api.start, 'function', 'it has a start method'); + t.equal(typeof api.stop, 'function', 'it has a stop method'); + t.equal(typeof api.refresh, 'function', 'it has a refresh method'); + t.equal(typeof api.run, 'function', 'it has a run method'); + t.end(); +}); + +test('running commands', (t) => { + var clock = sinon.useFakeTimers(); + var instance = buildWidget({ id: 'foo', command: 'command', css: ''}); + var widget = instance.implementation(); + var server = makeFakeServer(); + + server.respondToRun('some output'); + server.autoRespond = true; + server.respondImmediately = true; + var requests = server.requests; + + instance.create(); + + t.equal( + server.requests[0].requestBody, 'command', + 'it sends the command to the server' + ); + + clock.tick(1000); + t.ok( + requests.length === 2 && requests[1].requestBody === 'command', + 'for every tick' + ); + + widget.command = 'new command'; + clock.tick(1000); + t.equal( + requests[2].requestBody, 'new command', + 'when updating command it sends the new command to the server' + ); + + t.end(); + instance.destroy(); + clock.restore(); +}); + +test('manually running commands', (t) => { + var widget = buildWidget({ id: 'foo', command: '', css: ''}).internalApi(); + var server = makeFakeServer(); + server.respondToRun('some output'); + + widget.run('some command', (err, output) => { + t.equal(null, err, 'sends no errors'); + t.equal(output, 'some output', 'it responds with the output'); + server.restore(); + t.end(); + }); + + t.equal( + server.requests[0].requestBody, 'some command', + 'it sends the command to the server' + ); + + server.respond(); +}); + +test('standard rendering', (t) => { + var clock = sinon.useFakeTimers(); + var instance = buildWidget({ + id: 'foo', + command: '', + refreshFrequency: 100, + numRenders: 0, + render(out) { + this.numRenders++; + return `rendered ${this.numRenders} ${out}`; + }, + }); + + var server = makeFakeServer(); + server.respondToRun('Hello World!'); + server.autoRespond = true; + server.respondImmediately = true; + + var domEl = instance.create(); + var contentEl = domEl.querySelector('.widget'); + t.equal( + contentEl.textContent, 'rendered 1 Hello World!', + 'it does an initial render' + ); + + clock.tick(100); + t.equal( + contentEl.textContent, 'rendered 2 Hello World!', + 'it renders after the first tick' + ); + + clock.tick(100); + t.equal( + contentEl.textContent, 'rendered 3 Hello World!', + 'it renders after the second tick' + ); + + var internalApi = instance.internalApi(); + internalApi.stop(); + clock.tick(100); + clock.tick(100); + t.equal( + contentEl.textContent, 'rendered 3 Hello World!', + 'it pauses when stopped' + ); + + internalApi.start(); + t.equal( + contentEl.textContent, 'rendered 4 Hello World!', + 'it resumes when started' + ); + + t.equal( + contentEl.textContent, 'rendered 4 Hello World!', + 'it continues rendering' + ); + + instance.destroy(); + server.restore(); + clock.restore(); + t.end(); +}); + +test('rendering when refreshFrequency is false', (t) => { + var clock = sinon.useFakeTimers(); + var instance = buildWidget({ + id: 'foo', + refreshFrequency: false, + numRenders: 0, + render(out) { + this.numRenders++; + return `rendered ${this.numRenders} times`; + }, + }); + + var server = makeFakeServer(); + server.respondToRun(''); + server.autoRespond = true; + server.respondImmediately = true; + + var domEl = instance.create(); + var contentEl = domEl.querySelector('.widget'); + t.equal( + contentEl.textContent, 'rendered 1 times', + 'it does an initial render' + ); + + clock.tick(1000); + clock.tick(1000); + t.equal( + contentEl.textContent, 'rendered 1 times', + 'it does\'t render after that' + ); + + clock.restore(); + instance.destroy(); + server.restore(); + t.end(); +}); + +test('refreshing manually', (t) => { + var instance = buildWidget({ + id: 'bar', + refreshFrequency: false, + command: 'refresh me', + css: '', + }); + var domEl = instance.create(); + var server = makeFakeServer(); + var internalApi = instance.internalApi(); + + server.respondToRun('some output'); + internalApi.start(); + + internalApi.refresh(); + t.equal(server.requests[0].requestBody, 'refresh me'); + + server.respond(); + t.equal( + domEl.textContent.replace(/^\s+/g, ''), 'some output', + 'it renders the output to the DOM' + ); + + instance.destroy(); + server.restore(); + t.end(); +}); + +test('afterRender hook', (t) => { + var server = makeFakeServer(); + var clock = sinon.useFakeTimers(); + + server.respondToRun('Hello World!'); + server.autoRespond = true; + + var instance = buildWidget({ + id: 'fred', + command: '', + refreshFrequency: 100, + numCalls: 0, + afterRender(el) { + this.numCalls++; + el.innerHTML = `called ${this.numCalls} times`; + }, + }); + + var domEl = instance.create(); + clock.tick(300); + t.equal( + domEl.querySelector('.widget').textContent, 'called 3 times', + 'it get\'s called after every render, with the content dom element' + ); + + instance.destroy(); + server.restore(); + clock.restore(); + t.end(); +}); + +test('update', (t) => { + var instance = buildWidget({ + id: 'fred', + command: '', + refreshFrequency: false, + update(output, el) { + el.innerHTML = `content: ${el.textContent}, output: ${output}`; + }, + }); + + var server = makeFakeServer(); + server.respondToRun('stuff'); + server.autoRespond = true; + server.respondImmediately = true; + + var domEl = instance.create(); + var contentEl = domEl.querySelector('.widget'); + t.equal( + contentEl.textContent, 'content: stuff, output: stuff', + 'it calls update after rendering, with the output and widget dom el' + ); + + instance.destroy(); + server.restore(); + t.end(); +}); + +test('error handling', (t) => { + var instance = buildWidget({ + id: 'foo', + refreshFrequency: false, + render() { throw new Error('something went sorry'); }, + update() { throw new Error('should not call update when render fails'); }, + }); + + var domEl = instance.create(); + t.equal( + domEl.querySelector('.widget').textContent, 'something went sorry\n', + 'it catches and renders errors in render()' + ); + + instance.destroy(); + instance = buildWidget({ + id: 'foo', + refreshFrequency: false, + update() { throw new Error('ohoh'); }, + }); + + domEl = instance.create(); + t.equal( + domEl.querySelector('.widget').textContent, 'ohoh\n', + 'it catches and renders errors in update()' + ); + + instance.destroy(); + instance = buildWidget({ + id: 'foo', + command: 'yay', + refreshFrequency: 100, + }); + + var clock = sinon.useFakeTimers(); + var server = sinon.fakeServer.create({ respondImmediately: true }); + server.respondWith('POST', '/run/', [ 500, {}, 'oh noez!']); + server.respondImmediately = true; + + domEl = instance.create(); + server.respond(); + + t.equal( + domEl.querySelector('.widget').textContent, 'oh noez!\n', + 'it renders command errors' + ); + + server.respondWith('POST', '/run/', [ 200, {}, 'all good']); + clock.tick(100); + server.respond(); + + t.equal( + domEl.querySelector('.widget').textContent, 'all good', + 'it recovers from command errors' + ); + + clock.restore(); + server.restore(); + instance.destroy(); + t.end(); +}); diff --git a/uebersicht-code/server/spec/helpers/.pydio b/uebersicht-code/server/spec/helpers/.pydio new file mode 100644 index 0000000..81c475a --- /dev/null +++ b/uebersicht-code/server/spec/helpers/.pydio @@ -0,0 +1 @@ +11e03a6d-84be-4539-a4b3-5cd819ff4112 \ No newline at end of file diff --git a/uebersicht-code/server/spec/helpers/httpGet.js b/uebersicht-code/server/spec/helpers/httpGet.js new file mode 100755 index 0000000..2ae219d --- /dev/null +++ b/uebersicht-code/server/spec/helpers/httpGet.js @@ -0,0 +1,12 @@ +http = require('http'); + +module.exports = function httpGet(url, callback) { + var buffer = ''; + + http.get(url, function(res) { + res.setEncoding('utf8'); + res.on('data', (chunk) => buffer += chunk ); + res.on('end', () => callback(res, buffer) ); + }); +}; + diff --git a/uebersicht-code/server/spec/helpers/httpPost.js b/uebersicht-code/server/spec/helpers/httpPost.js new file mode 100755 index 0000000..64116d4 --- /dev/null +++ b/uebersicht-code/server/spec/helpers/httpPost.js @@ -0,0 +1,18 @@ +var http = require('http'); +var URL = require('url'); + +module.exports = function httpPost(url, postData, callback) { + var options = URL.parse(url); + options.method = 'POST'; + options.headers = { 'Content-Length': postData.length }; + + var req = http.request(options, (res) => { + var buffer = ''; + res.setEncoding('utf8'); + res.on('data', (chunk) => buffer += chunk); + res.on('end', () => callback(res, buffer)); + }); + + req.write(postData); + req.end(); +}; diff --git a/uebersicht-code/server/spec/test_files/.pydio b/uebersicht-code/server/spec/test_files/.pydio new file mode 100644 index 0000000..9232984 --- /dev/null +++ b/uebersicht-code/server/spec/test_files/.pydio @@ -0,0 +1 @@ +f57a5179-eb69-450a-b864-836643c3a65b \ No newline at end of file diff --git a/uebersicht-code/server/spec/test_files/WidgetSettings.json b/uebersicht-code/server/spec/test_files/WidgetSettings.json new file mode 100755 index 0000000..5dc44f4 --- /dev/null +++ b/uebersicht-code/server/spec/test_files/WidgetSettings.json @@ -0,0 +1 @@ +{"spec-test_widgets-broken-widget-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"spec-test_widgets-widget-2-js":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"spec-test_widgets-widget-1-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"spec-test_widgets-invalid-widget-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]},"spec-test_widgets-some-dir-widget-index-1-coffee":{"showOnAllScreens":true,"showOnMainScreen":false,"showOnSelectedScreens":false,"hidden":false,"screens":[]}} \ No newline at end of file diff --git a/uebersicht-code/server/spec/test_widgets/.pydio b/uebersicht-code/server/spec/test_widgets/.pydio new file mode 100644 index 0000000..26f990a --- /dev/null +++ b/uebersicht-code/server/spec/test_widgets/.pydio @@ -0,0 +1 @@ +126b9e6a-6167-4ab9-8404-6c546f66fba6 \ No newline at end of file diff --git a/uebersicht-code/server/spec/test_widgets/broken-widget.coffee b/uebersicht-code/server/spec/test_widgets/broken-widget.coffee new file mode 100755 index 0000000..bd86846 --- /dev/null +++ b/uebersicht-code/server/spec/test_widgets/broken-widget.coffee @@ -0,0 +1,5 @@ +command: "" + +render: -> + 'this is a broken widget' + 'unexpected indentation' diff --git a/uebersicht-code/server/spec/test_widgets/garbage.exe b/uebersicht-code/server/spec/test_widgets/garbage.exe new file mode 100755 index 0000000..e69de29 diff --git a/uebersicht-code/server/spec/test_widgets/invalid-widget.coffee b/uebersicht-code/server/spec/test_widgets/invalid-widget.coffee new file mode 100755 index 0000000..c8988c2 --- /dev/null +++ b/uebersicht-code/server/spec/test_widgets/invalid-widget.coffee @@ -0,0 +1,3 @@ +refreshFrequency: 1000 + +render: (output) -> output diff --git a/uebersicht-code/server/spec/test_widgets/some-dir.widget/.pydio b/uebersicht-code/server/spec/test_widgets/some-dir.widget/.pydio new file mode 100644 index 0000000..d4421ea --- /dev/null +++ b/uebersicht-code/server/spec/test_widgets/some-dir.widget/.pydio @@ -0,0 +1 @@ +3d8f802f-b31a-4e65-b7df-87a88645cd2c \ No newline at end of file diff --git a/uebersicht-code/server/spec/test_widgets/some-dir.widget/index-1.coffee b/uebersicht-code/server/spec/test_widgets/some-dir.widget/index-1.coffee new file mode 100755 index 0000000..4d801e9 --- /dev/null +++ b/uebersicht-code/server/spec/test_widgets/some-dir.widget/index-1.coffee @@ -0,0 +1,2 @@ +command: "do stuff" +refreshFrequency: 3000 diff --git a/uebersicht-code/server/spec/test_widgets/test.jpg b/uebersicht-code/server/spec/test_widgets/test.jpg new file mode 100755 index 0000000..67db0cf Binary files /dev/null and b/uebersicht-code/server/spec/test_widgets/test.jpg differ diff --git a/uebersicht-code/server/spec/test_widgets/widget-1.coffee b/uebersicht-code/server/spec/test_widgets/widget-1.coffee new file mode 100755 index 0000000..1f465c1 --- /dev/null +++ b/uebersicht-code/server/spec/test_widgets/widget-1.coffee @@ -0,0 +1,14 @@ +command: "foo" + +refreshFrequency: 1000 + +style: """ + bottom: 10px + left: 100px + + div + font-size: 12px +""" + +render: (output) -> + output diff --git a/uebersicht-code/server/spec/test_widgets/widget-2.js b/uebersicht-code/server/spec/test_widgets/widget-2.js new file mode 100755 index 0000000..960c05b --- /dev/null +++ b/uebersicht-code/server/spec/test_widgets/widget-2.js @@ -0,0 +1,2 @@ +command: "bar", +refreshFrequency: 1020 diff --git a/uebersicht-code/server/spec/test_widgets/widget-3.jsx b/uebersicht-code/server/spec/test_widgets/widget-3.jsx new file mode 100755 index 0000000..6357675 --- /dev/null +++ b/uebersicht-code/server/spec/test_widgets/widget-3.jsx @@ -0,0 +1,13 @@ +export const command = "echo Hello World!" + +export const refreshFrequency = 5000 // ms + +export const render = ({ output }) => ( +

{output}

+) + +export const className = ` + left: 20px + top: 20px + color: #fff +` diff --git a/uebersicht-code/server/src/.pydio b/uebersicht-code/server/src/.pydio new file mode 100644 index 0000000..4dbc9ab --- /dev/null +++ b/uebersicht-code/server/src/.pydio @@ -0,0 +1 @@ +4e7c972d-b67e-4e30-8bc1-415c8586ba61 \ No newline at end of file diff --git a/uebersicht-code/server/src/ClassicWidget.coffee b/uebersicht-code/server/src/ClassicWidget.coffee new file mode 100755 index 0000000..bbb7fab --- /dev/null +++ b/uebersicht-code/server/src/ClassicWidget.coffee @@ -0,0 +1,142 @@ +$ = require('jquery') +window.jQuery = $ + +Timer = require('./Timer') +runCommand = require('./runCommand') +runShellCommand = require('./runShellCommand') + +defaults = + id: 'widget' + refreshFrequency: 1000 + render: (output) -> output + afterRender: -> + +# This is a wrapper (something like a base class), around the +# specific implementation of a widget. +module.exports = ClassicWidget = (widgetObject) -> + api = {} + internalApi = {} + + el = null + contentEl = null + timer = null + started = false + rendered = false + mounted = false + commandLoop = null + implementation = {} + currentError = null + + init = (widget) -> + currentError = if widget.error then JSON.parse(widget.error) else null + implementation = widget.implementation || {} + implementation.id == widget.id + + implementation[k] ?= v for k, v of defaults + implementation[k] ||= v for k, v of internalApi + + commandLoop = Timer().map (done) -> + runCommand implementation, (err, output) -> + redraw(err, output) + done(implementation.refreshFrequency) + + api + + # renders and returns the widget's dom element + api.create = -> + el = document.createElement 'div' + contentEl = document.createElement 'div' + contentEl.id = implementation.id + contentEl.className = 'widget' + el.innerHTML = "\n" + el.appendChild(contentEl) + + start() + el + + api.destroy = -> + stop() + return unless el? + el.parentNode?.removeChild(el) + el = null + contentEl = null + rendered = false + + api.update = (newImplementation) -> + parentEl = el.parentNode + api.destroy() + init(newImplementation) + parentEl.appendChild(api.create()) + + api.domEl = -> el + + api.isRendered = -> + !!el + + api.internalApi = -> + internalApi + + api.implementation = -> + implementation + + api.forceRefresh = -> + internalApi.refresh() + + # starts the widget refresh cycle + internalApi.start = start = -> + return redraw(currentError) if currentError + commandLoop.start() + + # stops the widget refresh cycle + internalApi.stop = stop = -> + commandLoop.stop() + + # run widget command and redraw the widget + internalApi.refresh = refresh = -> + return redraw() unless implementation.command? + commandLoop.forceTick() + + # runs command in the shell and calls callback with the result (err, stdout) + internalApi.run = run = (command, callback) -> + runShellCommand(command, callback) + + redraw = (error, output) -> + if error + contentEl.style.fontFamily = 'monospace' + contentEl.style.fontSize = '12px' + contentEl.style.whiteSpace = 'pre' + contentEl.style.background = '#fff' + contentEl.style.padding = '20px' + contentEl.innerHTML = error.message + '\n' + (error.lines || '') + console.error "#{implementation.id}:", error + return rendered = false + else + contentEl.style.fontFamily = '' + contentEl.style.fontSize = '' + contentEl.style.whiteSpace = '' + contentEl.style.background = '' + contentEl.style.padding = '' + + try + renderOutput output + catch e + redraw(e) + + renderOutput = (output) -> + if implementation.update? and rendered + implementation.update(output, contentEl) + else + contentEl.innerHTML = implementation.render(output) + loadScripts(contentEl) + + implementation.afterRender(contentEl) + rendered = true + implementation.update(output, contentEl) if implementation.update? + + loadScripts = (domEl) -> + for script in domEl.getElementsByTagName('script') + s = document.createElement('script') + s.src = script.src + domEl.replaceChild s, script + + init(widgetObject) diff --git a/uebersicht-code/server/src/ErrorDetails/.pydio b/uebersicht-code/server/src/ErrorDetails/.pydio new file mode 100644 index 0000000..b16606c --- /dev/null +++ b/uebersicht-code/server/src/ErrorDetails/.pydio @@ -0,0 +1 @@ +1785b276-85d2-4dbe-beda-c235f170d0ee \ No newline at end of file diff --git a/uebersicht-code/server/src/ErrorDetails/ErrorLine.js b/uebersicht-code/server/src/ErrorDetails/ErrorLine.js new file mode 100755 index 0000000..ce91076 --- /dev/null +++ b/uebersicht-code/server/src/ErrorDetails/ErrorLine.js @@ -0,0 +1,33 @@ +const codeLine = { + padding: '0 10px', + position: 'relative', +}; +const lineNum = { + color: '#787878', + padding: '0 10px', + borderRight: '0.5px solid #ddd', +}; + +const marker = { + background: 'rgba(255, 0, 0, 0.3)', + fontStyle: 'normal', +}; + +function slice(line, col) { + return [ + line.slice(0, col), + html('em', {style: marker, key: 'marker'}, line.slice(col, col + 1)), + line.slice(col + 1), + ]; +} + +module.exports = function ErrorLine(props) { + const style = { + background: props.hasError ? 'rgba(255, 0, 0, 0.2)' : '', + }; + const content = props.hasError ? slice(props.line, props.column) : props.line; + return html('tr', {key: props.key, style: style}, [ + html('td', {style: lineNum, key: props.key + '-0'}, props.lineNum), + html('td', {style: codeLine, key: props.key + '-1'}, content), + ]); +}; diff --git a/uebersicht-code/server/src/ErrorDetails/index.js b/uebersicht-code/server/src/ErrorDetails/index.js new file mode 100755 index 0000000..d40f947 --- /dev/null +++ b/uebersicht-code/server/src/ErrorDetails/index.js @@ -0,0 +1,38 @@ +const ErrorLine = require('./ErrorLine.js'); + +const style = { + background: '#fff', + padding: '20px 30px', + fontSize: '12px', + fontFamily: 'monospace', +}; +const message = { + fontSize: '12px', + color: 'red', + marginBottom: 20, + whiteSpace: 'pre', +}; +const code = { + lineHeight: '1.5', + whiteSpace: 'pre', + fontFamily: 'monospace', +}; +const table = { + borderCollapse: 'collapse', +}; + +module.exports = function ErrorDetails(props) { + const {lines, line, column} = props; + return html('div', {style: style}, + html('h1', {style: message, key: 'h1'}, props.message), + html('p', {key: 'p'}, 'in ' + props.path + ':'), + html('table', {style: table, key: 'table'}, + html('tbody', {style: code}, + (lines || []).map((l, i) => { + const args = {key: i, hasError: l.lineNum === line, column: column}; + return ErrorLine(Object.assign({}, l, args)); + }) + ) + ) + ); +}; diff --git a/uebersicht-code/server/src/MessageBus.js b/uebersicht-code/server/src/MessageBus.js new file mode 100755 index 0000000..c60644b --- /dev/null +++ b/uebersicht-code/server/src/MessageBus.js @@ -0,0 +1,25 @@ +'use strict'; + +const WebSocket = require('ws'); + +module.exports = function MessageBus(options) { + const wss = new WebSocket.Server(options); + + function broadcast(data) { + wss.clients.forEach((client) => { + if (client.readyState === WebSocket.OPEN) { + client.send(data); + } + }); + } + + wss.on('connection', function connection(ws) { + ws.on('message', broadcast); + }); + + wss.on('error', function handleError(err) { + console.error(err); + }); + + return wss; +}; diff --git a/uebersicht-code/server/src/Settings.js b/uebersicht-code/server/src/Settings.js new file mode 100755 index 0000000..6ad56fd --- /dev/null +++ b/uebersicht-code/server/src/Settings.js @@ -0,0 +1,41 @@ +'use strict'; + +const path = require('path'); +const fs = require('fs'); + +module.exports = function Settings(settingsDirPath) { + const api = {}; + let settings; + const settingsFile = path.join(settingsDirPath, 'WidgetSettings.json'); + + initSettingsFile(settingsDirPath); + + function initSettingsFile(dirPath) { + if (!fs.existsSync(dirPath)) { + fs.mkdirSync(dirPath); + } + } + + api.load = function load() { + let persistedSettings = {}; + try { + persistedSettings = require(settingsFile); + } catch (e) { /* do nothing */ } + + return persistedSettings; + }; + + api.persist = function persist(newSettings) { + if (newSettings !== settings) { + fs.writeFile(settingsFile, JSON.stringify(newSettings), (err) => { + if (err) { + console.log(err); + } else { + settings = newSettings; + } + }); + } + }; + + return api; +}; diff --git a/uebersicht-code/server/src/SharedSocket.js b/uebersicht-code/server/src/SharedSocket.js new file mode 100755 index 0000000..1028919 --- /dev/null +++ b/uebersicht-code/server/src/SharedSocket.js @@ -0,0 +1,66 @@ +'use strict'; + +const WebSocket = typeof window !== 'undefined' + ? window.WebSocket + : require('ws'); + +let ws = null; +let isOpen = false; + +const messageListeners = []; +const openListeners = []; + +function handleWSOpen() { + isOpen = true; + openListeners.forEach((f) => f()); +} + +function handleWSCosed() { + isOpen = false; +} + +function handleMessage(data) { + messageListeners.forEach((f) => f(data)); +} + +function handleError(err) { + console.error(err); +} + +exports.open = function open(url) { + ws = new WebSocket(url, ['ws'], {origin: 'Übersicht'}); + + if (ws.on) { + ws.on('open', handleWSOpen); + ws.on('close', handleWSCosed); + ws.on('message', handleMessage); + ws.on('error', handleError); + } else { + ws.onopen = handleWSOpen; + ws.onclose = handleWSCosed; + ws.onmessage = (e) => handleMessage(e.data); + ws.onerror = handleError; + } +}; + +exports.close = function close() { + ws.close(); + ws = null; +}; + +exports.isOpen = function() { + return ws && isOpen; +}; + +exports.onMessage = function onMessage(listener) { + messageListeners.push(listener); +}; + +exports.onOpen = function onOpen(listener) { + openListeners.push(listener); +}; + +exports.send = function send(data) { + ws.send(data); +}; + diff --git a/uebersicht-code/server/src/StateServer.js b/uebersicht-code/server/src/StateServer.js new file mode 100755 index 0000000..08309f6 --- /dev/null +++ b/uebersicht-code/server/src/StateServer.js @@ -0,0 +1,10 @@ +'use strict'; + +// middleware to serve the current state +module.exports = (store) => (req, res, next) => { + if (req.url === '/state/') { + res.end(JSON.stringify(store.getState())); + } else { + next(); + } +}; diff --git a/uebersicht-code/server/src/Timer.js b/uebersicht-code/server/src/Timer.js new file mode 100755 index 0000000..1bcc5b7 --- /dev/null +++ b/uebersicht-code/server/src/Timer.js @@ -0,0 +1,49 @@ +function scheduleTick(tick, duration) { + if (duration !== false) { + return setTimeout(tick, duration); + } +} + +module.exports = function Timer() { + const api = {}; + let callback = (done) => done(); + let started = false; + let timer; + + function loop() { + clearTimeout(timer); + if (started) { + callback((nextTickDuration) => { + timer = scheduleTick(loop, nextTickDuration); + }); + } + } + + api.start = function start() { + if (!started) { + started = true; + loop(); + } + return api; + }; + + api.stop = function stop() { + if (started) { + started = false; + clearTimeout(timer); + } + return api; + }; + + api.map = function map(cb) { + callback = cb; + return api; + }; + + api.forceTick = function tick() { + callback(() => {}); + return api; + }; + + return api; +}; diff --git a/uebersicht-code/server/src/VirtualDomWidget.js b/uebersicht-code/server/src/VirtualDomWidget.js new file mode 100755 index 0000000..b2e8804 --- /dev/null +++ b/uebersicht-code/server/src/VirtualDomWidget.js @@ -0,0 +1,161 @@ +const css = require('emotion').css; +const RenderLoop = require('./RenderLoop'); +const Timer = require('./Timer'); +const runShellCommand = require('./runShellCommand'); +const ReactDom = require('react-dom'); +const html = require('react').createElement; +const ErrorDetails = require('./ErrorDetails'); +window.html = html; + +const defaults = { + id: 'widget', + refreshFrequency: 1000, + init: function init() {}, + render: function render(props) { + return html('div', null, props.error ? String(props.error) : props.output); + }, + updateState: function updateState(event) { + return {error: event.error, output: event.output}; + }, + initialState: {output: ''}, +}; + +module.exports = function VirtualDomWidget(widgetObject) { + const api = {}; + let implementation; + let contentEl; + let commandLoop; + let renderLoop; + let currentError; + + function init(widget) { + currentError = widget.error ? JSON.parse(widget.error) : undefined; + implementation = Object.create(defaults); + Object.assign(implementation, widget.implementation || {}, {id: widget.id}); + return api; + } + + function start() { + if (currentError) { + renderErrorDetails(currentError); + return; + } + if (renderLoop) { + renderLoop.update(renderLoop.state); // force redraw + } else { + renderLoop = RenderLoop(implementation.initialState, render); + } + run(); + } + + function run() { + implementation.init(dispatch); + if (!implementation.command) return; + commandLoop = Timer() + .start() + .map((done) => { + execWidgetCommand() + .then(commandCompleted) + .catch(commandErrored) + .then(() => done(implementation.refreshFrequency)); + }); + } + + function commandCompleted(output) { + dispatch({type: 'UB/COMMAND_RAN', output}); + } + + function commandErrored(error) { + dispatch({type: 'UB/COMMAND_RAN', error}); + } + + const runCommandFunction = (command) => { + try { + return command.apply(implementation, [dispatch]); + } catch (err) { + handleError(err); + } + }; + + function execWidgetCommand() { + const {command} = implementation; + if (typeof command === 'function') + return Promise.resolve(runCommandFunction(command)); + else if (typeof command === 'string') return runShellCommand(command); + else return Promise.resolve(); + } + + function dispatch(event) { + try { + const nextState = implementation.updateState(event, renderLoop.state); + renderLoop.update(nextState); + } catch (err) { + handleError(err); + } + } + + function fetchErrorDetails(err) { + return fetch( + `/widgets/${widgetObject.id}?line=${err.line}&column=${err.column}`, + ).then((res) => res.json()); + } + + function render(state) { + try { + ReactDom.render(implementation.render(state, dispatch), contentEl); + } catch (err) { + handleError(err); + } + } + + function handleError(err) { + currentError = err; + commandLoop && commandLoop.stop(); + fetchErrorDetails(err).then((details) => { + if (err !== currentError) return; + renderErrorDetails(Object.assign({message: err.message}, details)); + }); + } + + function renderErrorDetails(details) { + ReactDom.render(html(ErrorDetails, details), contentEl); + } + + api.create = function create() { + contentEl = document.createElement('div'); + contentEl.id = implementation.id; + contentEl.classList.add('widget'); + if (implementation.className) { + contentEl.classList.add(css(implementation.className)); + } + document.body.appendChild(contentEl); + start(); + return contentEl; + }; + + api.destroy = function destroy() { + commandLoop && commandLoop.stop(); + if (contentEl && contentEl.parentNode) { + contentEl.parentNode.removeChild(contentEl); + } + renderLoop = null; + contentEl = null; + currentError = null; + }; + + api.update = function update(newImplementation) { + commandLoop && commandLoop.stop(); + contentEl.classList.remove(css(implementation.className)); + init(newImplementation); + if (implementation.className) { + contentEl.classList.add(css(implementation.className)); + } + start(); + }; + + api.forceRefresh = function forceRefresh() { + commandLoop.forceTick(); + }; + + return init(widgetObject); +}; diff --git a/uebersicht-code/server/src/Widget.js b/uebersicht-code/server/src/Widget.js new file mode 100755 index 0000000..9bcbca2 --- /dev/null +++ b/uebersicht-code/server/src/Widget.js @@ -0,0 +1,14 @@ +var ClassicWidget = require('./ClassicWidget.coffee'); +var VirtualDomWidget = require('./VirtualDomWidget'); + +module.exports = function Widget(widget) { + var api; + + if (/\.jsx$/.test(widget.filePath)) { + api = VirtualDomWidget(widget); + } else { + api = ClassicWidget(widget); + } + + return api; +}; diff --git a/uebersicht-code/server/src/WidgetBundler.js b/uebersicht-code/server/src/WidgetBundler.js new file mode 100755 index 0000000..afefdad --- /dev/null +++ b/uebersicht-code/server/src/WidgetBundler.js @@ -0,0 +1,106 @@ +'use strict'; + +const bundleWidget = require('./bundleWidget'); +const fs = require('fs'); + +module.exports = function WidgetBundler() { + const api = {}; + const bundles = {}; + + api.push = function push(action, callback) { + if (action && action.type) { + action.type === 'added' + ? addWidget(action.id, action.filePath, callback) + : removeWidget(action.id, action.filePath, callback) + ; + } + }; + + api.close = function close() { + for (var id in bundles) { + bundles[id].close(); + delete bundles[id]; + } + }; + + api.get = function get(id) { + return bundles[id].widget.body; + }; + + function addWidget(id, filePath, emit) { + if (!bundles[id]) { + bundles[id] = WidgetBundle(id, filePath, (widget) => { + emit({type: 'added', widget: widget}); + }); + } + } + + function removeWidget(id, filePath, emit) { + if (bundles[id]) { + bundles[id].close(); + delete bundles[id]; + emit({type: 'removed', id: id}); + } + } + + function WidgetBundle(id, filePath, callback) { + const bundle = bundleWidget(id, filePath); + const buildWidget = (paths = []) => { + const widget = { + id: id, + filePath: filePath, + }; + + fs.access(filePath, fs.R_OK, (couldNotRead) => { + if (couldNotRead) return; + bundle.bundle((err, srcBuffer) => { + if (err) { + widget.error = errorJSON(filePath, err); + } else { + widget.body = srcBuffer.toString(); + } + + widget.mtime = fs.statSync(paths[0] || filePath).mtime; + bundle.widget = widget; + callback(widget); + }); + }); + }; + + bundle.on('update', buildWidget); + buildWidget(); + return bundle; + } + + function errorJSON(filePath, error) { + if (!error._babel) { + return JSON.stringify({ + line: error.line, + column: error.column, + path: filePath, + lines: error.annotated, + message: error.message, + }); + } + return JSON.stringify({ + line: error.loc.line, + column: error.loc.column, + lines: parseCodeFrame(error.codeFrame), + path: filePath, + message: error.message, + }); + } + + function parseCodeFrame(codeFrame) { + return codeFrame + .split('\n') + .map(l => { + const [num, line] = l.split('|', 2); + const lineNum = parseInt(num.replace(/^>/, ''), 10); + return isNaN(lineNum) ? undefined : {lineNum: lineNum, line: line}; + }) + .filter(i => i); + } + + return api; +}; diff --git a/uebersicht-code/server/src/WidgetSettings.json b/uebersicht-code/server/src/WidgetSettings.json new file mode 100755 index 0000000..e69de29 diff --git a/uebersicht-code/server/src/actions.js b/uebersicht-code/server/src/actions.js new file mode 100755 index 0000000..465df64 --- /dev/null +++ b/uebersicht-code/server/src/actions.js @@ -0,0 +1,38 @@ +'use strict'; + +function addWidget(widget) { + const {id, filePath, error, mtime} = widget; + return { + type: 'WIDGET_ADDED', + payload: {id, filePath, error, mtime}, + }; +} + +exports.showWidget = function showWidget(id, impl) { + return { + type: 'WIDGET_LOADED', + id: id, + payload: impl, + }; +}; + +function removeWidget(id) { + return { + type: 'WIDGET_REMOVED', + payload: id, + }; +} + +exports.applyWidgetSettings = function applyWidgetSettings(id, settings) { + return { + type: 'WIDGET_SETTINGS_CHANGED', + payload: { id: id, settings: settings }, + }; +}; + +exports.get = function(widgetEvent) { + switch (widgetEvent.type) { + case 'added': return addWidget(widgetEvent.widget); + case 'removed': return removeWidget(widgetEvent.id); + }; +}; diff --git a/uebersicht-code/server/src/app.coffee b/uebersicht-code/server/src/app.coffee new file mode 100755 index 0000000..32e4160 --- /dev/null +++ b/uebersicht-code/server/src/app.coffee @@ -0,0 +1,114 @@ +connect = require 'connect' +http = require 'http' +serveStatic = require 'serve-static' +path = require 'path' +fs = require 'fs' +redux = require 'redux' + +MessageBus = require('./MessageBus') +watchDir = require('./directory_watcher.coffee') +WidgetBundler = require('./WidgetBundler.js') +Settings = require('./Settings') +StateServer = require('./StateServer') +ensureSameOrigin = require('./ensureSameOrigin') +disallowIFraming = require('./disallowIFraming') +CommandServer = require('./command_server.coffee') +serveWidgets = require('./serveWidgets') +serveClient = require('./serveClient') +serveCss = require('./serveCss') +sharedSocket = require('./SharedSocket') +actions = require('./actions') +reducer = require('./reducer') +resolveWidget = require('./resolveWidget') + +dispatchToRemote = require('./dispatch') +listenToRemote = require('./listen') + +module.exports = (port, widgetPath, settingsPath, publicPath, options, callback) -> + console.log("port ========== :", port); + console.log("widgetPath ========== :", widgetPath); + console.log("settingsPath ========== :", settingsPath); + console.log("publicPath ========== :", publicPath); + console.log("options ========== :", options); + options ||= {} + + # global store for app state + store = redux.createStore( + reducer, + { widgets: {}, settings: {}, screens: [] } + ) + + # listen to remote actions + listenToRemote (action) -> + store.dispatch(action) + + # follow symlink if widgetDirectory is one + if fs.lstatSync(widgetPath).isSymbolicLink() + widgetPath = fs.readlinkSync(widgetPath) + widgetPath = widgetPath.normalize() + + bundler = WidgetBundler(widgetPath) + # TODO: use a stream/generator/promise pattern instead of nested callbacks + stopWatchingDir = watchDir(widgetPath, (fileEvent) -> + if (fileEvent.filePath.replace(fileEvent.rootPath, '') == '/main.css') + dispatchToRemote({type: 'MASTER_STYLE_CHANGED'}) + return + bundler.push(resolveWidget(fileEvent), (widgetEvent) -> + action = actions.get(widgetEvent) + if (action) + store.dispatch(action) + dispatchToRemote(action) + ) + ) + + # load and replay settings + settings = Settings(settingsPath) + + for id, value of settings.load() + action = actions.applyWidgetSettings(id, value) + store.dispatch(action) + dispatchToRemote(action) + + store.subscribe -> + settings.persist(store.getState().settings) + + # set up the server + host = "127.0.0.1" + messageBus = null + allowedOrigin = "http://#{host}:#{port}" + middleware = connect() + .use(disallowIFraming) + .use(ensureSameOrigin(allowedOrigin)) + .use(CommandServer(widgetPath, options.loginShell)) + .use(StateServer(store)) + .use(serveWidgets(bundler, widgetPath)) + .use(serveStatic(publicPath)) + .use(serveStatic(widgetPath)) + .use(serveCss(widgetPath)) + .use(serveClient(publicPath)) + + server = http.createServer(middleware) + server.keepAliveTimeout = 35000 + server.listen port, host, (err) -> + try + return server.emit('error', err) if err + messageBus = MessageBus( + server: server, + verifyClient: (info) -> + info.origin == allowedOrigin || info.origin == 'Übersicht' + ) + sharedSocket.open("ws://#{host}:#{port}") + callback?() + catch e + server.emit('error', e) + + # api + close: (cb) -> + stopWatchingDir() + bundler.close() + server.close() + sharedSocket.close() + messageBus.close(cb) + + on: (ev, handler) -> + server.on(ev, handler) diff --git a/uebersicht-code/server/src/bundleWidget.js b/uebersicht-code/server/src/bundleWidget.js new file mode 100755 index 0000000..bda5c88 --- /dev/null +++ b/uebersicht-code/server/src/bundleWidget.js @@ -0,0 +1,61 @@ +const browserify = require('browserify'); +const watchify = require('./watchify'); +const widgetify = require('./widgetify'); +const coffeeify = require('coffeeify'); +const babelify = require('babelify'); +const jsxTransform = require('@babel/preset-react'); +const restSpreadTransform = require('@babel/plugin-proposal-object-rest-spread'); +const emotion = require('babel-plugin-emotion'); +const envPreset = require('@babel/preset-env'); +const through = require('through2'); + +function wrapJSWidget() { + let start = true; + function write(chunk, enc, next) { + if (start) { + this.push('({'); + start = false; + } + next(null, chunk); + } + function end(next) { + this.push('})'); + next(); + } + + return through(write, end); +} + +module.exports = function bundleWidget(id, filePath) { + const isJsxWidget = filePath.match(/\.jsx$/); + const bundle = browserify(filePath, { + detectGlobals: false, + cache: {}, + packageCache: {}, + debug: isJsxWidget, + }); + + bundle.plugin(watchify); + bundle.require(filePath, {expose: id}); + bundle.external('uebersicht'); + + if (filePath.match(/\.coffee$/)) { + bundle.transform(coffeeify, { + bare: true, + header: false, + }); + bundle.transform(widgetify, {id: id}); + } else if (isJsxWidget) { + bundle.transform(babelify, { + presets: [ + [envPreset, {targets: 'last 4 Safari versions', modules: 'commonjs'}], + [jsxTransform, {pragma: 'html'}], + ], + plugins: [restSpreadTransform, emotion], + }); + } else { + bundle.transform(wrapJSWidget); + bundle.transform(widgetify, {id: id}); + } + return bundle; +}; diff --git a/uebersicht-code/server/src/command_server.coffee b/uebersicht-code/server/src/command_server.coffee new file mode 100755 index 0000000..00a799f --- /dev/null +++ b/uebersicht-code/server/src/command_server.coffee @@ -0,0 +1,41 @@ +# middleware to serve the results of shell commands +# Listens to POST /run/ +{spawn} = require('child_process') +module.exports = (workingDir, useLoginShell) -> + args = if useLoginShell then ['-l'] else [] + # the Connect middleware + (req, res, next) -> + return next() unless req.method == 'POST' and req.url == '/run/' + shell = spawn 'bash', args, cwd: workingDir + + command = '' + req.on 'data', (chunk) -> shell.stdin.write chunk + + req.on 'end', -> + setStatusOnce = (status) -> + res.writeHead status + setStatusOnce = -> + + shell.stderr.on 'data', (d) -> + setStatusOnce 500 + res.write d + + shell.stdout.on 'data', (d) -> + setStatusOnce 200 + res.write d + + shell.on 'error', (err) -> + setStatusOnce 500 + res.write err.message + + shell.on 'close', -> + setStatusOnce 200 + res.end() + + shell.stdin.write '\n' + shell.stdin.end() + + + + + diff --git a/uebersicht-code/server/src/detectWidgetHover.js b/uebersicht-code/server/src/detectWidgetHover.js new file mode 100755 index 0000000..9900c45 --- /dev/null +++ b/uebersicht-code/server/src/detectWidgetHover.js @@ -0,0 +1,26 @@ +module.exports = (containerEl) => { + let insideWidget = false; + + const checkHover = (e) => { + if (insideWidget && containerEl === e.target) { + insideWidget = false; + window.webkit.messageHandlers.uebersicht.postMessage('widgetLeave'); + } else if (!insideWidget && containerEl !== e.target) { + insideWidget = true; + window.webkit.messageHandlers.uebersicht.postMessage('widgetEnter'); + } + }; + + const checkHoverRecursive = () => { + window.addEventListener( + 'mousemove', + (e) => { + checkHover(e); + setTimeout(checkHoverRecursive, 32); + }, + {once: true}, + ); + }; + + checkHoverRecursive(); +}; diff --git a/uebersicht-code/server/src/directory_watcher.coffee b/uebersicht-code/server/src/directory_watcher.coffee new file mode 100755 index 0000000..7923200 --- /dev/null +++ b/uebersicht-code/server/src/directory_watcher.coffee @@ -0,0 +1,73 @@ +paths = require 'path' +fs = require 'fs' +fsevents = require('fsevents') + +module.exports = (directoryPath, callback) -> + api = {} + foundPaths = {} + closed = true + stopWatching = null; + + init = -> + if !fs.existsSync(directoryPath) + throw new Error "could not find #{directoryPath}" + + closed = false + stopWatching = fsevents.watch(directoryPath, (filePath, flags, id) -> + return if closed + info = fsevents.getInfo(filePath, flags, id); + switch info.event + when 'modified', 'created' + findFiles filePath, info.type, registerFile + when 'deleted' + unregisterFiles filePath + when 'moved' + unregisterFiles filePath + findFiles filePath, info.type, registerFile + ) + + console.log 'watching', directoryPath + + findFiles directoryPath, 'directory', registerFile + close + + close = -> + closed = true + stopWatching?() + + registerFile = (filePath) -> + filePath = filePath.normalize() + foundPaths[filePath] = true + callback({ + type: 'added', + filePath: filePath.normalize(), + rootPath: directoryPath, + }) + + unregisterFiles = (path) -> + path = path.normalize() + for filePath in Object.keys(foundPaths) when filePath.indexOf(path) == 0 + callback({type: 'removed', filePath: filePath, rootPath: directoryPath}) + + # recursively walks the directory tree and calls onFound for every file it + # finds + findFiles = (path, type, onFound) -> + if type == 'file' + onFound path + else + fs.readdir path, (err, subPaths) -> + return console.log err if err + for subPath in subPaths + fullPath = paths.join(path, subPath) + getPathType fullPath, (p, t) -> findFiles(p, t, onFound) + + # get type of path as either 'file' or 'directory' + # callback gets called with (path, type) where path is the path passed in, + # for convenience + getPathType = (path, callback) -> + fs.stat path, (err, stat) -> + return console.log err if err + type = if stat.isDirectory() then 'directory' else 'file' + callback path, type + + init() diff --git a/uebersicht-code/server/src/disallowIFraming.js b/uebersicht-code/server/src/disallowIFraming.js new file mode 100755 index 0000000..bf5b3dd --- /dev/null +++ b/uebersicht-code/server/src/disallowIFraming.js @@ -0,0 +1,4 @@ +module.exports = function disallowIFraming(req, res, next) { + res.setHeader('X-Frame-Options', 'sameorigin'); + next(); +}; diff --git a/uebersicht-code/server/src/dispatch.js b/uebersicht-code/server/src/dispatch.js new file mode 100755 index 0000000..c9a4889 --- /dev/null +++ b/uebersicht-code/server/src/dispatch.js @@ -0,0 +1,21 @@ +'use strict'; + +const ws = require('./SharedSocket'); +const queuedMessages = []; + +function drainQueuedMessages() { + queuedMessages.forEach((m) => ws.send(m)); + queuedMessages.length = 0; +} + +ws.onOpen(drainQueuedMessages); + +module.exports = function dispatch(message) { + const serializedMessage = JSON.stringify(message); + + if (ws.isOpen()) { + ws.send(serializedMessage); + } else { + queuedMessages.push(serializedMessage); + } +}; diff --git a/uebersicht-code/server/src/ensureSameOrigin.js b/uebersicht-code/server/src/ensureSameOrigin.js new file mode 100755 index 0000000..07cd9e9 --- /dev/null +++ b/uebersicht-code/server/src/ensureSameOrigin.js @@ -0,0 +1,12 @@ +module.exports = function ensureSameOrgin(origin) { + const fromSameOrigin = (req) => { + return req.method == 'GET' || + (req.headers.origin && req.headers.origin === origin); + } + + return ((req, res, next) => { + if (fromSameOrigin(req)) return next(); + res.writeHead(403); + res.end(); + }) +} diff --git a/uebersicht-code/server/src/listen.js b/uebersicht-code/server/src/listen.js new file mode 100755 index 0000000..f62304a --- /dev/null +++ b/uebersicht-code/server/src/listen.js @@ -0,0 +1,17 @@ +'use strict'; + +const ws = require('./SharedSocket'); +const listeners = []; + +ws.onMessage(function handleMessage(data) { + let message; + try { message = JSON.parse(data); } catch (e) { null; } + + if (message) { + listeners.forEach((f) => f(message)); + } +}); + +module.exports = function listen(callback) { + listeners.push(callback); +}; diff --git a/uebersicht-code/server/src/reducer.js b/uebersicht-code/server/src/reducer.js new file mode 100755 index 0000000..b03b50c --- /dev/null +++ b/uebersicht-code/server/src/reducer.js @@ -0,0 +1,162 @@ +'use strict'; + +const defaultSettings = { + showOnAllScreens: true, + showOnMainScreen: false, + showOnSelectedScreens: false, + hidden: false, + screens: [], +}; + +const handlers = { + WIDGET_ADDED: (state, action) => { + const widget = action.payload; + const newWidgets = Object.assign({}, state.widgets, { + [widget.id]: widget, + }); + + const settings = state.settings || {}; + const newSettings = settings[widget.id] + ? state.settings + : Object.assign({}, settings, {[widget.id]: defaultSettings}); + + return Object.assign({}, state, { + widgets: newWidgets, + settings: newSettings, + }); + }, + + WIDGET_LOADED: (state, action) => { + if (!state.widgets[action.id]) { + return state; + } + const widget = Object.assign({}, state.widgets[action.id], { + implementation: action.payload, + }); + const newWidgets = Object.assign({}, state.widgets, {[widget.id]: widget}); + return Object.assign({}, state, {widgets: newWidgets}); + }, + + WIDGET_REMOVED: (state, action) => { + const id = action.payload; + + if (!state.widgets[id]) { + return state; + } + + const newWidgets = Object.assign({}, state.widgets); + delete newWidgets[id]; + + return Object.assign({}, state, {widgets: newWidgets}); + }, + + WIDGET_SETTINGS_CHANGED: (state, action) => { + const newSettings = Object.assign({}, state.settings, { + [action.payload.id]: action.payload.settings, + }); + + return Object.assign({}, state, {settings: newSettings}); + }, + + WIDGET_SET_TO_ALL_SCREENS: (state, action) => { + return updateSettings(state, action.payload, { + showOnAllScreens: true, + showOnSelectedScreens: false, + showOnMainScreen: false, + hidden: false, + screens: [], + }); + }, + + WIDGET_SET_TO_SELECTED_SCREENS: (state, action) => { + return updateSettings(state, action.payload, { + showOnSelectedScreens: true, + showOnAllScreens: false, + showOnMainScreen: false, + hidden: false, + }); + }, + + WIDGET_SET_TO_MAIN_SCREEN: (state, action) => { + return updateSettings(state, action.payload, { + showOnSelectedScreens: false, + showOnAllScreens: false, + showOnMainScreen: true, + hidden: false, + screens: [], + }); + }, + + WIDGET_SET_TO_HIDE: (state, action) => { + return updateSettings(state, action.payload, { + hidden: true, + }); + }, + + WIDGET_SET_TO_SHOW: (state, action) => { + return updateSettings(state, action.payload, { + hidden: false, + }); + }, + + WIDGET_SET_TO_BACKGROUND: (state, action) => { + return updateSettings(state, action.payload, { + inBackground: true, + }); + }, + + WIDGET_SET_TO_FOREGROUND: (state, action) => { + return updateSettings(state, action.payload, { + inBackground: false, + }); + }, + + SCREEN_SELECTED_FOR_WIDGET: (state, action) => { + const settings = state.settings[action.payload.id]; + const newScreens = (settings.screens || []).slice(); + + if (newScreens.indexOf(action.payload.screenId) === -1) { + newScreens.push(action.payload.screenId); + } + + return updateSettings(state, action.payload.id, { + screens: newScreens, + }); + }, + + SCREEN_DESELECTED_FOR_WIDGET: (state, action) => { + const newScreens = (state.settings[action.payload.id].screens || []).filter( + (s) => s !== action.payload.screenId, + ); + + return updateSettings(state, action.payload.id, { + screens: newScreens, + }); + }, + + SCREENS_DID_CHANGE: (state, action) => { + return Object.assign({}, state, { + screens: action.payload, + }); + }, +}; + +function updateSettings(state, widgetId, patch) { + const widgetSettings = state.settings[widgetId]; + const newSettings = Object.assign({}, state.settings, { + [widgetId]: Object.assign({}, widgetSettings, patch), + }); + + return Object.assign({}, state, {settings: newSettings}); +} + +module.exports = function reduce(state, action) { + let newState; + const handler = handlers[action.type]; + if (handler) { + newState = handler(state, action); + } else { + newState = state; + } + return newState; +}; diff --git a/uebersicht-code/server/src/render.js b/uebersicht-code/server/src/render.js new file mode 100755 index 0000000..8c891e9 --- /dev/null +++ b/uebersicht-code/server/src/render.js @@ -0,0 +1,77 @@ +var Widget = require('./Widget'); +var rendered = {}; + +function isVisibleOnScreen(widgetId, screenId, state) { + var settings = state.settings[widgetId] || {}; + var isVisible = false; + + if (settings.hidden) { + isVisible = false; + } else if ( + settings.showOnAllScreens || + settings.showOnAllScreens === undefined + ) { + isVisible = true; + } else if (settings.showOnMainScreen) { + isVisible = state.screens.indexOf(screenId) === 0; + } else if (settings.showOnSelectedScreens) { + isVisible = (settings.screens || []).indexOf(screenId) !== -1; + } + + return isVisible; +} + +function isInBackground(widgetId, state) { + const settings = state.settings[widgetId] || {}; + return settings.inBackground === true; +} + +function renderWidget(widget, domEl) { + var prevRendered = rendered[widget.id]; + + if (prevRendered && prevRendered.widget.mtime === widget.mtime) { + return; + } else if (prevRendered) { + prevRendered.instance.update(widget); + prevRendered.widget = widget; + } else { + var instance = Widget(widget); + domEl.appendChild(instance.create()); + rendered[widget.id] = { + instance: instance, + widget: widget, + }; + } +} + +function destroyWidget(id) { + rendered[id].instance.destroy(); + delete rendered[id]; +} + +function render(state, screen, domEl, dispatch) { + const remaining = Object.keys(rendered); + + for (var id in state.widgets) { + const widget = state.widgets[id]; + + if (!isVisibleOnScreen(id, screen.id, state)) continue; + + if ( + screen.layer && + (screen.layer === 'background') != isInBackground(id, state) + ) + continue; + + if (widget.error || widget.implementation) + renderWidget(widget, domEl, dispatch); + + const idx = remaining.indexOf(widget.id); + if (idx > -1) remaining.splice(idx, 1); + } + + remaining.forEach((obsolete) => destroyWidget(obsolete)); +} + +render.rendered = rendered; +module.exports = render; diff --git a/uebersicht-code/server/src/renderLoop.js b/uebersicht-code/server/src/renderLoop.js new file mode 100755 index 0000000..00097db --- /dev/null +++ b/uebersicht-code/server/src/renderLoop.js @@ -0,0 +1,45 @@ +var raf = require('raf'); + +module.exports = function RenderLoop(initialState, render) { + var currentState = null; + var redrawScheduled = false; + var inRenderingTransaction = false; + + var loop = { + state: initialState, + update: update, + }; + + function update(state) { + if (inRenderingTransaction) { + throw Error("can't update while rendering"); + } + + if (currentState === null && !redrawScheduled) { + redrawScheduled = true; + raf(redraw); + } + + currentState = state; + loop.state = currentState; + return loop; + } + + function redraw() { + redrawScheduled = false; + if (currentState === null) { + return; + } + + inRenderingTransaction = true; + try { + render(currentState); + } catch (err) { + console.error(err); + } + inRenderingTransaction = false; + currentState = null; + } + + return update(initialState); +}; diff --git a/uebersicht-code/server/src/resolveWidget.js b/uebersicht-code/server/src/resolveWidget.js new file mode 100755 index 0000000..85949fc --- /dev/null +++ b/uebersicht-code/server/src/resolveWidget.js @@ -0,0 +1,33 @@ +'use strict'; + +function isWidgetPath(filePath) { + return ( + filePath.indexOf('/node_modules/') === -1 && + filePath.indexOf('/src/') === -1 && + filePath.indexOf('/lib/') === -1 && + /\.coffee$|\.js$|\.jsx$/.test(filePath) + ); +} + +function widgetId(filePath, rootPath) { + const fileParts = filePath + .replace(rootPath, '') + .split(/\/+/) + .filter((part) => !!part); + + return fileParts.join('-') + .replace(/\./g, '-') + .replace(/\s/g, '_'); +} + +module.exports = function resolveWidget(fileEvent) { + if (!isWidgetPath(fileEvent.filePath)) { + return undefined; + } + + return { + id: widgetId(fileEvent.filePath, fileEvent.rootPath), + filePath: fileEvent.filePath, + type: fileEvent.type, + }; +}; diff --git a/uebersicht-code/server/src/runCommand.js b/uebersicht-code/server/src/runCommand.js new file mode 100755 index 0000000..28b9124 --- /dev/null +++ b/uebersicht-code/server/src/runCommand.js @@ -0,0 +1,15 @@ +'use strict'; + +const runShellCommand = require('./runShellCommand'); + +module.exports = function runCommand(widget, callback, dispatch) { + const {command, refreshFrequency} = widget; + + if (typeof command === 'function') { + command.apply(widget, [callback]); + } else if (typeof command === 'string') { + runShellCommand(command, callback).timeout(refreshFrequency); + } else { + callback(); + } +}; diff --git a/uebersicht-code/server/src/runShellCommand.js b/uebersicht-code/server/src/runShellCommand.js new file mode 100755 index 0000000..3e448c7 --- /dev/null +++ b/uebersicht-code/server/src/runShellCommand.js @@ -0,0 +1,22 @@ +const post = require('superagent').post; + +function wrapError(err, res) { + return err ? new Error((res || {}).text || 'error running command') : null; +} + +function isKeepAliveError(err) { + return err && err.message.indexOf('Request has been terminated') === 0; +} + +module.exports = function runShellCommand(command, callback) { + const request = post('/run/') + .retry(2, isKeepAliveError) + .send(command); + return callback + ? request.end((err, res) => callback(wrapError(err, res), (res || {}).text)) + : request + .catch((err) => { + throw wrapError(err, err.response); + }) + .then((res) => res.text); +}; diff --git a/uebersicht-code/server/src/serveClient.js b/uebersicht-code/server/src/serveClient.js new file mode 100755 index 0000000..237ef7d --- /dev/null +++ b/uebersicht-code/server/src/serveClient.js @@ -0,0 +1,14 @@ +'use strict'; + +const fs = require('fs'); +const path = require('path'); +const stream = require('stream'); + +module.exports = (publicDir) => { + const indexHTML = fs.readFileSync(path.join(publicDir, 'index.html')); + return function serveClient(req, res, next) { + const bufferStream = new stream.PassThrough(); + bufferStream.pipe(res); + bufferStream.end(indexHTML); + }; +}; diff --git a/uebersicht-code/server/src/serveCss.js b/uebersicht-code/server/src/serveCss.js new file mode 100755 index 0000000..57be633 --- /dev/null +++ b/uebersicht-code/server/src/serveCss.js @@ -0,0 +1,15 @@ +const fs = require('fs'); +const path = require('path'); +const urls = require('url'); + +module.exports = (widgetsDir) => (req, res, next) => { + const url = urls.parse(req.url); + if (url.pathname !== '/userMain.css') return next(); + + fs.ReadStream(path.join(widgetsDir, 'main.css')) + .on('error', (err) => { + if (err.code !== 'ENOENT') throw err; + res.end(''); + }) + .pipe(res); +}; diff --git a/uebersicht-code/server/src/serveWidgets.js b/uebersicht-code/server/src/serveWidgets.js new file mode 100755 index 0000000..bf9a145 --- /dev/null +++ b/uebersicht-code/server/src/serveWidgets.js @@ -0,0 +1,79 @@ +const URL = require('url'); +const fs = require('fs'); +const SourceMapConsumer = require('source-map').SourceMapConsumer; +const convert = require('convert-source-map'); +const {Transform} = require('stream'); +const byline = require('byline'); +const path = require('path'); + +// middleware to serve widget bundles +module.exports = (bundler, widgetPath) => (req, res, next) => { + const url = URL.parse(req.url, true); + const match = url.pathname.match(/\/widgets\/(.+)$/); + if (match) { + const code = bundler.get(match[1]); + if (!code) { + res.writeHead(404); + return res.end(); + } + return url.search + ? codeLines(code, widgetPath, url.query, res) + : res.end(code); + } + + return next(); +}; + +function asErrorJSON(codeLocation, padding) { + const lineNum = codeLocation.line; + let i = 0; + let lines = []; + return new Transform({ + transform(line, _, next) { + if (i >= lineNum - padding && i < lineNum + padding) { + lines.push({lineNum: i + 1, line: line.toString()}); + } + i++; + next(); + }, + flush(done) { + done(null, JSON.stringify({ + line: codeLocation.line, + column: codeLocation.column, + lines: lines, + path: codeLocation.path, + })); + }, + }); +} + +function codeLines(source, widgetDir, options, res) { + const padding = 5; + const lineNum = Number(options.line) || 0; + const column = Number(options.column) || 0; + const converter = convert.fromSource(source); + + if (!converter) { + res.writeHead(404); + res.end('could not find sourcemap comment'); + return; + } + + SourceMapConsumer.with(converter.toObject(), null, (smc) => { + var origpos = smc.originalPositionFor({ line: lineNum, column: column }); + if (!origpos.source) { + res.writeHead(404); + res.end('no match found for line ' + lineNum + ':' + column + '\n'); + return; + } + + origpos.path = path.relative(widgetDir, origpos.source); + byline(fs.createReadStream(origpos.source), {keepEmptyLines: true}) + .pipe(asErrorJSON(origpos, padding)) + .pipe(res) + .on('error', err => { + res.writeHead(500); + res.end(err.message); + }); + }); +} diff --git a/uebersicht-code/server/src/uebersicht.js b/uebersicht-code/server/src/uebersicht.js new file mode 100755 index 0000000..dde6714 --- /dev/null +++ b/uebersicht-code/server/src/uebersicht.js @@ -0,0 +1,7 @@ +import run from './runShellCommand'; +import request from 'superagent'; +import {css} from 'emotion'; +import styled from '@emotion/styled'; +import React from 'react'; + +export {run, request, css, styled, React}; diff --git a/uebersicht-code/server/src/validateWidget.js b/uebersicht-code/server/src/validateWidget.js new file mode 100755 index 0000000..3af77b6 --- /dev/null +++ b/uebersicht-code/server/src/validateWidget.js @@ -0,0 +1,23 @@ +'use strict'; + +function validateHasCommand(impl, issues, message) { + if (impl.refreshFrequency === false) { + return; + } + + if (typeof impl.command !== 'string' && impl.command !== 'function') { + issues.push(message); + } +} + +module.exports = function validateWidget(impl) { + const issues = []; + + if (impl) { + validateHasCommand(impl, issues, 'no command given'); + } else { + issues.push('empty implementation'); + } + + return issues; +}; diff --git a/uebersicht-code/server/src/watchify.js b/uebersicht-code/server/src/watchify.js new file mode 100755 index 0000000..564edfe --- /dev/null +++ b/uebersicht-code/server/src/watchify.js @@ -0,0 +1,180 @@ +var through = require('through2'); +var path = require('path'); +var fs = require('fs'); + +module.exports = watchify; +module.exports.args = { + cache: {}, packageCache: {} +}; + +function watchify (b, opts) { + if (!opts) opts = {}; + var cache = b._options.cache; + var pkgcache = b._options.packageCache; + var delay = typeof opts.delay === 'number' ? opts.delay : 0; + var changingDeps = {}; + var pending = false; + var updating = false; + var mtimes = {}; + + var wopts = {persistent: true}; + if (opts.ignoreWatch) { + wopts.ignored = opts.ignoreWatch !== true + ? opts.ignoreWatch + : '**/node_modules/**'; + } + if (opts.poll || typeof opts.poll === 'number') { + wopts.usePolling = true; + wopts.interval = opts.poll !== true + ? opts.poll + : undefined; + } + + if (cache) { + b.on('reset', collect); + collect(); + } + + function collect () { + b.pipeline.get('deps').push(through.obj(function(row, enc, next) { + var file = row.expose ? b._expose[row.id] : row.file; + cache[file] = { + source: row.source, + deps: Object.assign({}, row.deps) + }; + this.push(row); + next(); + })); + } + + b.on('file', function (file) { + watchFile(file); + }); + + b.on('package', function (pkg) { + var file = path.join(pkg.__dirname, 'package.json'); + if (fs.existsSync(file)) { + watchFile(file); + } + if (pkgcache) pkgcache[file] = pkg; + }); + + b.on('reset', reset); + reset(); + + function reset () { + var time = null; + var bytes = 0; + b.pipeline.get('record').on('end', function () { + time = Date.now(); + }); + + b.pipeline.get('wrap').push(through(write, end)); + function write (buf, enc, next) { + bytes += buf.length; + this.push(buf); + next(); + } + function end () { + var delta = Date.now() - time; + b.emit('time', delta); + b.emit('bytes', bytes); + b.emit('log', bytes + ' bytes written (' + + (delta / 1000).toFixed(2) + ' seconds)' + ); + this.push(null); + } + } + + var fwatchers = {}; + var fwatcherFiles = {}; + var ignoredFiles = {}; + + b.on('transform', function (tr, mfile) { + tr.on('file', function (dep) { + watchFile(mfile, dep); + }); + }); + b.on('bundle', function (bundle) { + updating = true; + bundle.on('error', onend); + bundle.on('end', onend); + function onend () { updating = false } + }); + + function watchFile (file, dep) { + dep = dep || file; + if (!fwatchers[file]) fwatchers[file] = []; + if (!fwatcherFiles[file]) fwatcherFiles[file] = []; + if (fwatcherFiles[file].indexOf(dep) >= 0) return; + + var w = b._watcher(dep, wopts); + w.setMaxListeners(0); + w.on('error', b.emit.bind(b, 'error')); + w.on('change', function () { + invalidate(file); + }); + fwatchers[file].push(w); + fwatcherFiles[file].push(dep); + } + + function getMTime(filePath) { + var mtime; + + try { + fs.statSync(filePath).mtime.getTime(); + } catch (e) { + if (e.code === 'ENOENT') { + mtime = new Date().getTime(); + } else { + throw(e); + } + } + + return mtime; + } + + function invalidate (id) { + var mtime = getMTime(id); + if ((mtimes[id] || 0) >= mtime) return; + mtimes[id] = mtime; + + if (cache) delete cache[id]; + if (pkgcache) delete pkgcache[id]; + changingDeps[id] = true; + + if (!updating && fwatchers[id]) { + fwatchers[id].forEach(function (w) { + w.close(); + }); + delete fwatchers[id]; + delete fwatcherFiles[id]; + } + + // wait for the disk/editor to quiet down first: + if (pending) clearTimeout(pending); + pending = setTimeout(notify, delay); + } + + function notify () { + if (updating) { + pending = setTimeout(notify, delay); + } else { + pending = false; + b.emit('update', Object.keys(changingDeps)); + changingDeps = {}; + } + } + + b.close = function () { + Object.keys(fwatchers).forEach(function (id) { + fwatchers[id].forEach(function (w) { w.close() }); + }); + }; + + b._watcher = function (file, opts) { + return fs.watch(file, opts); + }; + + return b; +} diff --git a/uebersicht-code/server/src/widgetify.js b/uebersicht-code/server/src/widgetify.js new file mode 100755 index 0000000..1256056 --- /dev/null +++ b/uebersicht-code/server/src/widgetify.js @@ -0,0 +1,132 @@ +var through = require('through2'); +var esprima = require('esprima'); +var escodegen = require('escodegen'); +var stylus = require('stylus'); +var nib = require('nib'); +var ms = require('ms'); + +function addExports(node) { + var widgetObjectExp = node.expression; + + node.expression = { + type: 'AssignmentExpression', + operator: '=', + left: { type: 'Identifier', name: 'module.exports' }, + right: widgetObjectExp, + }; +} + +function addId(widgetObjectExp, widetId) { + var idProperty = { + type: 'Property', + key: { type: 'Identifier', name: 'id' }, + value: { type: 'Literal', value: widetId }, + computed: false, + }; + + widgetObjectExp.properties.push(idProperty); +} + +function flattenStyle(styleProp, tree) { + var preface = { + type: 'Program', + body: tree.body.slice(0, -1), + }; + + preface.body.push({ + type: 'ExpressionStatement', + expression: styleProp.value, + }); + + return eval(escodegen.generate(preface)); +} + +function parseStyle(styleProp, widetId, tree) { + var styleString; + + if (styleProp.value.type === 'Literal') { + styleString = styleProp.value.value; + } else { + styleString = flattenStyle(styleProp, tree); + } + + if (typeof styleString !== 'string') { + return; + } + + var scopedStyle = '#' + widetId + + '\n ' + + styleString.replace(/\n/g, '\n '); + + var css = stylus(scopedStyle) + .import('nib') + .use(nib()) + .render(); + + styleProp.key.name = 'css'; + styleProp.value.type = 'Literal'; + styleProp.value.value = css; +} + +function parseRefreshFrequency(prop) { + if (typeof prop.value.value === 'string') { + prop.value.value = ms(prop.value.value); + } +} + +function parseWidgetProperty(prop, widgetId, tree) { + switch (prop.key.name) { + case 'style': parseStyle(prop, widgetId, tree); break; + case 'refreshFrequency': parseRefreshFrequency(prop); break; + } +} + +function modifyAST(tree, widgetId) { + var widgetObjectExp = getWidgetObjectExpression(tree); + + if (widgetObjectExp) { + widgetObjectExp.properties.map(function(prop) { + parseWidgetProperty(prop, widgetId, tree); + }); + addId(widgetObjectExp, widgetId); + addExports(tree.body[tree.body.length - 1]); + } + + return tree; +} + +function getWidgetObjectExpression(tree) { + var lastStatement = tree.body[tree.body.length - 1]; + + if (lastStatement && lastStatement.type === 'ExpressionStatement' ) { + var widgetObjectExp = lastStatement.expression; + if (widgetObjectExp.type === 'ObjectExpression') { + return widgetObjectExp; + } + } + + return undefined; +} + +module.exports = function(file, options) { + var widgetId = options.id; + var src = ''; + + function write(buf, enc, next) { src += buf; next(); } + function end(next) { + var tree; + try { + tree = esprima.parse(src); + if (tree) { + this.push(escodegen.generate(modifyAST(tree, widgetId))); + } + } catch (e) { + this.emit('error', e); + } + + next(); + } + + return through(write, end); +}; + diff --git a/uebersicht-code/server/widgets/.pydio b/uebersicht-code/server/widgets/.pydio new file mode 100644 index 0000000..a40e58f --- /dev/null +++ b/uebersicht-code/server/widgets/.pydio @@ -0,0 +1 @@ +4fa758e9-532d-45cc-b203-d99026f2950b \ No newline at end of file diff --git a/uebersicht-code/server/widgets/GettingStarted.jsx b/uebersicht-code/server/widgets/GettingStarted.jsx new file mode 100644 index 0000000..429e0b5 --- /dev/null +++ b/uebersicht-code/server/widgets/GettingStarted.jsx @@ -0,0 +1,60 @@ +import { css, run } from "uebersicht" + +export const command = "ls -a" + +export const refreshFrequency = 100000 // ms + +export const className = css` + left: 40px; + top: 50px; +` +const hello = css` + font-size: 40px; + color: #fff; +` + +const liclass = css` + color: #fff; +` + +// 定义变量 +export const initialState = { + count: 2, + list: [ + { id: 1, title: '你好1' }, + { id: 2, title: '你好2' }, + { id: 3, title: '你好3' }, + ] +}; + +// 初始化函数 +export const init = (dispatch) => { + console.log("init run....") +} + +// 更新数据状态,刷新页面 +export const updateState = (event, previousState) => { + console.log("event: ", event); + console.log("previousState: ", previousState); + return Object.assign(previousState,event); +} + +export const render = ({ output, count, list }, dispatch) => ( +
+

测试:{count}

+

你好世界{output}

+
    + { + list.map((e,i) => { + return
  • {e.title}
  • + }) + } +
+ +
+) diff --git a/uebersicht-code/server/widgets/logo.png b/uebersicht-code/server/widgets/logo.png new file mode 100644 index 0000000..332d5df Binary files /dev/null and b/uebersicht-code/server/widgets/logo.png differ diff --git a/打包配置/.pydio b/打包配置/.pydio new file mode 100644 index 0000000..d5d4a7c --- /dev/null +++ b/打包配置/.pydio @@ -0,0 +1 @@ +ae17a5a8-5ef7-47f8-9699-7e30bf5bfecc \ No newline at end of file diff --git a/打包配置/2xMixsss.png b/打包配置/2xMixsss.png new file mode 100644 index 0000000..15e8969 Binary files /dev/null and b/打包配置/2xMixsss.png differ diff --git a/打包配置/AppIcon.icns b/打包配置/AppIcon.icns new file mode 100644 index 0000000..0fa3123 Binary files /dev/null and b/打包配置/AppIcon.icns differ